From 3a1c37d1908260e60ff309c13df20e34c91e2a56 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 20:16:30 +0000 Subject: [PATCH 01/17] Update generated code for v2063 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/event_types.rb | 3 - ...ling_meter_error_report_triggered_event.rb | 10 +- .../v1_billing_meter_no_meter_found_event.rb | 10 +- .../v2_billing_bill_setting_updated_event.rb | 61 - ...ustomer_capability_status_updated_event.rb | 2 +- ...erchant_capability_status_updated_event.rb | 2 +- ...cipient_capability_status_updated_event.rb | 2 +- ..._storer_capability_status_updated_event.rb | 2 +- .../v2_core_account_link_returned_event.rb | 2 +- .../v2_core_account_person_created_event.rb | 2 +- .../v2_core_account_person_deleted_event.rb | 2 +- .../v2_core_account_person_updated_event.rb | 2 +- ...gement_inbound_transfer_available_event.rb | 2 +- ...agement_received_credit_available_event.rb | 2 +- lib/stripe/params.rb | 1 + .../params/account_capability_list_params.rb | 2 +- .../account_capability_retrieve_params.rb | 2 +- .../account_capability_update_params.rb | 2 +- lib/stripe/params/account_create_params.rb | 297 +- lib/stripe/params/account_delete_params.rb | 2 +- .../account_external_account_create_params.rb | 8 +- .../account_external_account_delete_params.rb | 2 +- .../account_external_account_list_params.rb | 2 +- ...ccount_external_account_retrieve_params.rb | 2 +- .../account_external_account_update_params.rb | 6 +- .../params/account_link_create_params.rb | 4 +- lib/stripe/params/account_list_params.rb | 4 +- .../account_login_link_create_params.rb | 2 +- .../params/account_notice_list_params.rb | 2 +- .../params/account_notice_retrieve_params.rb | 2 +- .../params/account_notice_update_params.rb | 4 +- .../params/account_person_create_params.rb | 38 +- .../params/account_person_delete_params.rb | 2 +- .../params/account_person_list_params.rb | 4 +- .../params/account_person_retrieve_params.rb | 2 +- .../params/account_person_update_params.rb | 38 +- lib/stripe/params/account_persons_params.rb | 4 +- lib/stripe/params/account_reject_params.rb | 2 +- .../params/account_retrieve_current_params.rb | 2 +- lib/stripe/params/account_retrieve_params.rb | 2 +- .../params/account_session_create_params.rb | 128 +- lib/stripe/params/account_update_params.rb | 285 +- .../params/apple_pay_domain_create_params.rb | 2 +- .../params/apple_pay_domain_delete_params.rb | 2 +- .../params/apple_pay_domain_list_params.rb | 2 +- .../apple_pay_domain_retrieve_params.rb | 2 +- .../params/application_fee_list_params.rb | 4 +- .../application_fee_refund_create_params.rb | 2 +- .../application_fee_refund_list_params.rb | 2 +- .../application_fee_refund_retrieve_params.rb | 2 +- .../application_fee_refund_update_params.rb | 2 +- .../params/application_fee_retrieve_params.rb | 2 +- .../params/apps/secret_create_params.rb | 4 +- .../params/apps/secret_delete_where_params.rb | 4 +- lib/stripe/params/apps/secret_find_params.rb | 4 +- lib/stripe/params/apps/secret_list_params.rb | 4 +- lib/stripe/params/balance_retrieve_params.rb | 2 +- .../balance_settings_retrieve_params.rb | 2 +- .../params/balance_settings_update_params.rb | 10 +- .../params/balance_transaction_list_params.rb | 4 +- .../balance_transaction_retrieve_params.rb | 2 +- .../params/billing/alert_activate_params.rb | 2 +- .../params/billing/alert_archive_params.rb | 2 +- .../params/billing/alert_create_params.rb | 6 +- .../params/billing/alert_deactivate_params.rb | 2 +- .../params/billing/alert_list_params.rb | 2 +- .../params/billing/alert_retrieve_params.rb | 2 +- .../analytics/meter_usage_retrieve_params.rb | 4 +- .../credit_balance_summary_retrieve_params.rb | 8 +- .../credit_balance_transaction_list_params.rb | 2 +- ...dit_balance_transaction_retrieve_params.rb | 2 +- .../billing/credit_grant_create_params.rb | 14 +- .../billing/credit_grant_expire_params.rb | 2 +- .../billing/credit_grant_list_params.rb | 2 +- .../billing/credit_grant_retrieve_params.rb | 2 +- .../billing/credit_grant_update_params.rb | 2 +- .../billing/credit_grant_void_grant_params.rb | 2 +- .../params/billing/meter_create_params.rb | 8 +- .../params/billing/meter_deactivate_params.rb | 2 +- .../meter_event_adjustment_create_params.rb | 4 +- .../billing/meter_event_create_params.rb | 2 +- .../meter_event_summary_list_params.rb | 2 +- .../params/billing/meter_list_params.rb | 2 +- .../params/billing/meter_reactivate_params.rb | 2 +- .../params/billing/meter_retrieve_params.rb | 2 +- .../params/billing/meter_update_params.rb | 2 +- .../configuration_create_params.rb | 33 +- .../configuration_list_params.rb | 2 +- .../configuration_retrieve_params.rb | 2 +- .../configuration_update_params.rb | 33 +- .../billing_portal/session_create_params.rb | 24 +- .../capital/financing_offer_list_params.rb | 4 +- .../financing_offer_mark_delivered_params.rb | 2 +- .../financing_offer_retrieve_params.rb | 2 +- .../financing_summary_retrieve_params.rb | 2 +- .../financing_transaction_list_params.rb | 2 +- .../financing_transaction_retrieve_params.rb | 2 +- lib/stripe/params/charge_capture_params.rb | 62 +- lib/stripe/params/charge_create_params.rb | 12 +- lib/stripe/params/charge_list_params.rb | 4 +- lib/stripe/params/charge_retrieve_params.rb | 2 +- lib/stripe/params/charge_search_params.rb | 2 +- lib/stripe/params/charge_update_params.rb | 66 +- .../params/checkout/session_create_params.rb | 271 +- .../params/checkout/session_expire_params.rb | 2 +- .../checkout/session_line_item_list_params.rb | 2 +- .../session_list_line_items_params.rb | 2 +- .../params/checkout/session_list_params.rb | 6 +- .../checkout/session_retrieve_params.rb | 2 +- .../params/checkout/session_update_params.rb | 52 +- .../params/climate/order_cancel_params.rb | 2 +- .../params/climate/order_create_params.rb | 4 +- .../params/climate/order_list_params.rb | 2 +- .../params/climate/order_retrieve_params.rb | 2 +- .../params/climate/order_update_params.rb | 4 +- .../params/climate/product_list_params.rb | 2 +- .../params/climate/product_retrieve_params.rb | 2 +- .../params/climate/supplier_list_params.rb | 2 +- .../climate/supplier_retrieve_params.rb | 2 +- .../confirmation_token_create_params.rb | 140 +- .../confirmation_token_retrieve_params.rb | 2 +- lib/stripe/params/country_spec_list_params.rb | 2 +- .../params/country_spec_retrieve_params.rb | 2 +- lib/stripe/params/coupon_create_params.rb | 8 +- lib/stripe/params/coupon_delete_params.rb | 2 +- lib/stripe/params/coupon_list_params.rb | 4 +- lib/stripe/params/coupon_retrieve_params.rb | 2 +- lib/stripe/params/coupon_update_params.rb | 4 +- .../params/credit_note_create_params.rb | 29 +- .../credit_note_line_item_list_params.rb | 2 +- lib/stripe/params/credit_note_list_params.rb | 4 +- ...dit_note_list_preview_line_items_params.rb | 29 +- .../credit_note_preview_lines_list_params.rb | 29 +- .../params/credit_note_preview_params.rb | 29 +- .../params/credit_note_retrieve_params.rb | 2 +- .../params/credit_note_update_params.rb | 2 +- .../credit_note_void_credit_note_params.rb | 2 +- ...tomer_balance_transaction_create_params.rb | 2 +- ...ustomer_balance_transaction_list_params.rb | 2 +- ...mer_balance_transaction_retrieve_params.rb | 2 +- ...tomer_balance_transaction_update_params.rb | 2 +- .../customer_cash_balance_retrieve_params.rb | 2 +- ...er_cash_balance_transaction_list_params.rb | 2 +- ...ash_balance_transaction_retrieve_params.rb | 2 +- .../customer_cash_balance_update_params.rb | 4 +- ...omer_create_funding_instructions_params.rb | 6 +- lib/stripe/params/customer_create_params.rb | 22 +- .../params/customer_delete_discount_params.rb | 2 +- lib/stripe/params/customer_delete_params.rb | 2 +- .../customer_fund_cash_balance_params.rb | 2 +- ...omer_funding_instructions_create_params.rb | 6 +- lib/stripe/params/customer_list_params.rb | 4 +- .../customer_list_payment_methods_params.rb | 2 +- .../customer_payment_method_list_params.rb | 2 +- ...customer_payment_method_retrieve_params.rb | 2 +- .../customer_payment_source_create_params.rb | 2 +- .../customer_payment_source_delete_params.rb | 2 +- .../customer_payment_source_list_params.rb | 2 +- ...customer_payment_source_retrieve_params.rb | 2 +- .../customer_payment_source_update_params.rb | 6 +- .../customer_payment_source_verify_params.rb | 2 +- lib/stripe/params/customer_retrieve_params.rb | 2 +- ...customer_retrieve_payment_method_params.rb | 2 +- lib/stripe/params/customer_search_params.rb | 2 +- .../params/customer_session_create_params.rb | 12 +- .../params/customer_tax_id_create_params.rb | 2 +- .../params/customer_tax_id_delete_params.rb | 2 +- .../params/customer_tax_id_list_params.rb | 2 +- .../params/customer_tax_id_retrieve_params.rb | 2 +- lib/stripe/params/customer_update_params.rb | 20 +- lib/stripe/params/dispute_close_params.rb | 2 +- lib/stripe/params/dispute_list_params.rb | 4 +- lib/stripe/params/dispute_retrieve_params.rb | 2 +- lib/stripe/params/dispute_update_params.rb | 18 +- .../active_entitlement_list_params.rb | 2 +- .../active_entitlement_retrieve_params.rb | 2 +- .../entitlements/feature_create_params.rb | 2 +- .../entitlements/feature_list_params.rb | 2 +- .../entitlements/feature_retrieve_params.rb | 2 +- .../entitlements/feature_update_params.rb | 2 +- .../params/ephemeral_key_create_params.rb | 2 +- .../params/ephemeral_key_delete_params.rb | 2 +- lib/stripe/params/event_list_params.rb | 4 +- lib/stripe/params/event_retrieve_params.rb | 2 +- .../params/exchange_rate_list_params.rb | 2 +- .../params/exchange_rate_retrieve_params.rb | 2 +- .../params/external_account_create_params.rb | 8 +- .../params/external_account_delete_params.rb | 2 +- .../params/external_account_list_params.rb | 2 +- .../external_account_retrieve_params.rb | 2 +- .../params/external_account_update_params.rb | 6 +- lib/stripe/params/file_create_params.rb | 4 +- lib/stripe/params/file_link_create_params.rb | 2 +- lib/stripe/params/file_link_list_params.rb | 4 +- .../params/file_link_retrieve_params.rb | 2 +- lib/stripe/params/file_link_update_params.rb | 2 +- lib/stripe/params/file_list_params.rb | 4 +- lib/stripe/params/file_retrieve_params.rb | 2 +- .../account_disconnect_params.rb | 2 +- .../account_inferred_balance_list_params.rb | 2 +- .../account_list_owners_params.rb | 2 +- .../account_list_params.rb | 4 +- .../account_owner_list_params.rb | 2 +- .../account_refresh_account_params.rb | 2 +- .../account_refresh_params.rb | 2 +- .../account_retrieve_params.rb | 2 +- .../account_subscribe_params.rb | 2 +- .../account_unsubscribe_params.rb | 2 +- .../institution_list_params.rb | 2 +- .../institution_retrieve_params.rb | 2 +- .../session_create_params.rb | 10 +- .../session_retrieve_params.rb | 2 +- .../transaction_list_params.rb | 6 +- .../transaction_retrieve_params.rb | 2 +- .../forwarding/request_create_params.rb | 6 +- .../params/forwarding/request_list_params.rb | 4 +- .../forwarding/request_retrieve_params.rb | 2 +- lib/stripe/params/fx_quote_create_params.rb | 8 +- lib/stripe/params/fx_quote_list_params.rb | 2 +- lib/stripe/params/fx_quote_retrieve_params.rb | 2 +- .../verification_report_list_params.rb | 4 +- .../verification_report_retrieve_params.rb | 2 +- .../verification_session_cancel_params.rb | 2 +- .../verification_session_create_params.rb | 10 +- .../verification_session_list_params.rb | 4 +- .../verification_session_redact_params.rb | 2 +- .../verification_session_retrieve_params.rb | 2 +- .../verification_session_update_params.rb | 8 +- lib/stripe/params/invoice_add_lines_params.rb | 22 +- .../params/invoice_attach_payment_params.rb | 4 +- lib/stripe/params/invoice_create_params.rb | 84 +- .../params/invoice_create_preview_params.rb | 200 +- lib/stripe/params/invoice_delete_params.rb | 2 +- .../params/invoice_finalize_invoice_params.rb | 2 +- .../params/invoice_item_create_params.rb | 14 +- .../params/invoice_item_delete_params.rb | 2 +- lib/stripe/params/invoice_item_list_params.rb | 4 +- .../params/invoice_item_retrieve_params.rb | 2 +- .../params/invoice_item_update_params.rb | 14 +- .../params/invoice_line_item_list_params.rb | 2 +- .../params/invoice_line_item_update_params.rb | 20 +- lib/stripe/params/invoice_list_params.rb | 6 +- .../invoice_mark_uncollectible_params.rb | 2 +- lib/stripe/params/invoice_pay_params.rb | 2 +- .../params/invoice_payment_list_params.rb | 4 +- .../params/invoice_payment_retrieve_params.rb | 2 +- .../params/invoice_remove_lines_params.rb | 4 +- ...voice_rendering_template_archive_params.rb | 2 +- .../invoice_rendering_template_list_params.rb | 2 +- ...oice_rendering_template_retrieve_params.rb | 2 +- ...ice_rendering_template_unarchive_params.rb | 2 +- lib/stripe/params/invoice_retrieve_params.rb | 2 +- lib/stripe/params/invoice_search_params.rb | 2 +- .../params/invoice_send_invoice_params.rb | 2 +- .../params/invoice_update_lines_params.rb | 22 +- lib/stripe/params/invoice_update_params.rb | 82 +- .../params/invoice_void_invoice_params.rb | 2 +- .../issuing/authorization_approve_params.rb | 2 +- .../issuing/authorization_capture_params.rb | 26 +- .../issuing/authorization_create_params.rb | 34 +- .../issuing/authorization_decline_params.rb | 2 +- .../issuing/authorization_expire_params.rb | 2 +- .../authorization_finalize_amount_params.rb | 16 +- .../issuing/authorization_increment_params.rb | 2 +- .../issuing/authorization_list_params.rb | 4 +- .../issuing/authorization_respond_params.rb | 2 +- .../issuing/authorization_retrieve_params.rb | 2 +- .../issuing/authorization_reverse_params.rb | 2 +- .../issuing/authorization_update_params.rb | 2 +- .../params/issuing/card_create_params.rb | 16 +- .../issuing/card_deliver_card_params.rb | 2 +- .../params/issuing/card_fail_card_params.rb | 2 +- lib/stripe/params/issuing/card_list_params.rb | 4 +- .../params/issuing/card_retrieve_params.rb | 2 +- .../params/issuing/card_return_card_params.rb | 2 +- .../params/issuing/card_ship_card_params.rb | 2 +- .../params/issuing/card_submit_card_params.rb | 2 +- .../params/issuing/card_update_params.rb | 16 +- .../issuing/cardholder_create_params.rb | 24 +- .../params/issuing/cardholder_list_params.rb | 4 +- .../issuing/cardholder_retrieve_params.rb | 2 +- .../issuing/cardholder_update_params.rb | 24 +- ...edit_underwriting_record_correct_params.rb | 18 +- ...g_record_create_from_application_params.rb | 6 +- ...ord_create_from_proactive_review_params.rb | 14 +- .../credit_underwriting_record_list_params.rb | 2 +- ...erwriting_record_report_decision_params.rb | 10 +- ...dit_underwriting_record_retrieve_params.rb | 2 +- .../params/issuing/dispute_create_params.rb | 22 +- .../params/issuing/dispute_list_params.rb | 4 +- .../params/issuing/dispute_retrieve_params.rb | 2 +- .../dispute_settlement_detail_list_params.rb | 2 +- ...spute_settlement_detail_retrieve_params.rb | 2 +- .../params/issuing/dispute_submit_params.rb | 2 +- .../params/issuing/dispute_update_params.rb | 20 +- .../fraud_liability_debit_list_params.rb | 4 +- .../fraud_liability_debit_retrieve_params.rb | 2 +- .../personalization_design_activate_params.rb | 2 +- .../personalization_design_create_params.rb | 6 +- ...ersonalization_design_deactivate_params.rb | 2 +- .../personalization_design_list_params.rb | 4 +- .../personalization_design_reject_params.rb | 4 +- .../personalization_design_retrieve_params.rb | 2 +- .../personalization_design_update_params.rb | 6 +- .../issuing/physical_bundle_list_params.rb | 2 +- .../physical_bundle_retrieve_params.rb | 2 +- .../params/issuing/token_list_params.rb | 4 +- .../params/issuing/token_retrieve_params.rb | 2 +- .../params/issuing/token_update_params.rb | 2 +- ...transaction_create_force_capture_params.rb | 28 +- ...ansaction_create_unlinked_refund_params.rb | 28 +- .../params/issuing/transaction_list_params.rb | 4 +- .../issuing/transaction_refund_params.rb | 2 +- .../issuing/transaction_retrieve_params.rb | 2 +- .../issuing/transaction_update_params.rb | 2 +- lib/stripe/params/mandate_list_params.rb | 2 +- lib/stripe/params/mandate_retrieve_params.rb | 2 +- lib/stripe/params/margin_create_params.rb | 2 +- lib/stripe/params/margin_list_params.rb | 2 +- lib/stripe/params/margin_retrieve_params.rb | 2 +- lib/stripe/params/margin_update_params.rb | 2 +- lib/stripe/params/order_cancel_params.rb | 2 +- lib/stripe/params/order_create_params.rb | 98 +- .../params/order_line_item_list_params.rb | 2 +- .../params/order_list_line_items_params.rb | 2 +- lib/stripe/params/order_list_params.rb | 2 +- lib/stripe/params/order_reopen_params.rb | 2 +- lib/stripe/params/order_retrieve_params.rb | 2 +- lib/stripe/params/order_submit_params.rb | 2 +- lib/stripe/params/order_update_params.rb | 98 +- .../payment_attempt_record_list_params.rb | 7 +- .../payment_attempt_record_retrieve_params.rb | 2 +- ...nt_amount_details_line_item_list_params.rb | 2 +- ...nt_intent_apply_customer_balance_params.rb | 2 +- .../params/payment_intent_cancel_params.rb | 2 +- .../params/payment_intent_capture_params.rb | 88 +- .../params/payment_intent_confirm_params.rb | 398 +- .../params/payment_intent_create_params.rb | 402 +- ...t_intent_decrement_authorization_params.rb | 10 +- ...t_intent_increment_authorization_params.rb | 36 +- .../params/payment_intent_list_params.rb | 4 +- .../params/payment_intent_retrieve_params.rb | 2 +- .../params/payment_intent_search_params.rb | 2 +- .../payment_intent_trigger_action_params.rb | 4 +- .../params/payment_intent_update_params.rb | 396 +- ...ment_intent_verify_microdeposits_params.rb | 2 +- .../params/payment_link_create_params.rb | 127 +- .../payment_link_line_item_list_params.rb | 2 +- .../payment_link_list_line_items_params.rb | 2 +- lib/stripe/params/payment_link_list_params.rb | 2 +- .../params/payment_link_retrieve_params.rb | 2 +- .../params/payment_link_update_params.rb | 109 +- .../params/payment_method_attach_params.rb | 2 +- ...ment_method_configuration_create_params.rb | 280 +- ...ayment_method_configuration_list_params.rb | 2 +- ...nt_method_configuration_retrieve_params.rb | 2 +- ...ment_method_configuration_update_params.rb | 280 +- .../params/payment_method_create_params.rb | 130 +- .../params/payment_method_detach_params.rb | 2 +- .../payment_method_domain_create_params.rb | 2 +- .../payment_method_domain_list_params.rb | 2 +- .../payment_method_domain_retrieve_params.rb | 2 +- .../payment_method_domain_update_params.rb | 2 +- .../payment_method_domain_validate_params.rb | 2 +- .../params/payment_method_list_params.rb | 2 +- .../params/payment_method_retrieve_params.rb | 2 +- .../params/payment_method_update_params.rb | 14 +- ..._report_payment_attempt_canceled_params.rb | 2 +- ...rd_report_payment_attempt_failed_params.rb | 2 +- ...eport_payment_attempt_guaranteed_params.rb | 2 +- ...rt_payment_attempt_informational_params.rb | 8 +- ...nt_record_report_payment_attempt_params.rb | 18 +- .../payment_record_report_payment_params.rb | 26 +- .../payment_record_report_refund_params.rb | 79 + .../params/payment_record_retrieve_params.rb | 2 +- lib/stripe/params/payout_cancel_params.rb | 2 +- lib/stripe/params/payout_create_params.rb | 2 +- lib/stripe/params/payout_list_params.rb | 6 +- lib/stripe/params/payout_retrieve_params.rb | 2 +- lib/stripe/params/payout_reverse_params.rb | 2 +- lib/stripe/params/payout_update_params.rb | 2 +- lib/stripe/params/plan_create_params.rb | 8 +- lib/stripe/params/plan_delete_params.rb | 2 +- lib/stripe/params/plan_list_params.rb | 4 +- lib/stripe/params/plan_retrieve_params.rb | 2 +- lib/stripe/params/plan_update_params.rb | 2 +- lib/stripe/params/price_create_params.rb | 18 +- lib/stripe/params/price_list_params.rb | 6 +- lib/stripe/params/price_retrieve_params.rb | 2 +- lib/stripe/params/price_search_params.rb | 2 +- lib/stripe/params/price_update_params.rb | 10 +- .../privacy/redaction_job_cancel_params.rb | 2 +- .../privacy/redaction_job_create_params.rb | 4 +- .../privacy/redaction_job_list_params.rb | 2 +- .../privacy/redaction_job_retrieve_params.rb | 2 +- .../privacy/redaction_job_run_params.rb | 2 +- .../privacy/redaction_job_update_params.rb | 2 +- .../privacy/redaction_job_validate_params.rb | 2 +- ...action_job_validation_error_list_params.rb | 2 +- lib/stripe/params/product_create_params.rb | 18 +- lib/stripe/params/product_delete_params.rb | 2 +- .../params/product_feature_create_params.rb | 2 +- .../params/product_feature_delete_params.rb | 2 +- .../params/product_feature_list_params.rb | 2 +- .../params/product_feature_retrieve_params.rb | 2 +- lib/stripe/params/product_list_params.rb | 4 +- lib/stripe/params/product_retrieve_params.rb | 2 +- lib/stripe/params/product_search_params.rb | 2 +- lib/stripe/params/product_update_params.rb | 6 +- .../params/promotion_code_create_params.rb | 8 +- .../params/promotion_code_list_params.rb | 4 +- .../params/promotion_code_retrieve_params.rb | 2 +- .../params/promotion_code_update_params.rb | 6 +- lib/stripe/params/quote_accept_params.rb | 2 +- lib/stripe/params/quote_cancel_params.rb | 2 +- ...computed_upfront_line_items_list_params.rb | 2 +- lib/stripe/params/quote_create_params.rb | 126 +- .../params/quote_finalize_quote_params.rb | 2 +- .../params/quote_line_item_list_params.rb | 2 +- lib/stripe/params/quote_line_list_params.rb | 2 +- ...list_computed_upfront_line_items_params.rb | 2 +- .../params/quote_list_line_items_params.rb | 2 +- lib/stripe/params/quote_list_lines_params.rb | 2 +- lib/stripe/params/quote_list_params.rb | 2 +- ...quote_list_preview_invoice_lines_params.rb | 2 +- lib/stripe/params/quote_mark_draft_params.rb | 2 +- lib/stripe/params/quote_mark_stale_params.rb | 2 +- lib/stripe/params/quote_pdf_params.rb | 2 +- .../quote_preview_invoice_list_params.rb | 2 +- ...eview_subscription_schedule_list_params.rb | 2 +- lib/stripe/params/quote_reestimate_params.rb | 2 +- lib/stripe/params/quote_retrieve_params.rb | 2 +- lib/stripe/params/quote_update_params.rb | 120 +- .../radar/early_fraud_warning_list_params.rb | 4 +- .../early_fraud_warning_retrieve_params.rb | 2 +- .../params/radar/value_list_create_params.rb | 2 +- .../params/radar/value_list_delete_params.rb | 2 +- .../radar/value_list_item_create_params.rb | 2 +- .../radar/value_list_item_delete_params.rb | 2 +- .../radar/value_list_item_list_params.rb | 4 +- .../radar/value_list_item_retrieve_params.rb | 2 +- .../params/radar/value_list_list_params.rb | 4 +- .../radar/value_list_retrieve_params.rb | 2 +- .../params/radar/value_list_update_params.rb | 2 +- lib/stripe/params/refund_cancel_params.rb | 2 +- lib/stripe/params/refund_create_params.rb | 2 +- lib/stripe/params/refund_expire_params.rb | 2 +- lib/stripe/params/refund_list_params.rb | 4 +- lib/stripe/params/refund_retrieve_params.rb | 2 +- lib/stripe/params/refund_update_params.rb | 2 +- .../reporting/report_run_create_params.rb | 4 +- .../reporting/report_run_list_params.rb | 4 +- .../reporting/report_run_retrieve_params.rb | 2 +- .../reporting/report_type_list_params.rb | 2 +- .../reporting/report_type_retrieve_params.rb | 2 +- lib/stripe/params/review_approve_params.rb | 2 +- lib/stripe/params/review_list_params.rb | 4 +- lib/stripe/params/review_retrieve_params.rb | 2 +- .../params/setup_attempt_list_params.rb | 4 +- .../params/setup_intent_cancel_params.rb | 2 +- .../params/setup_intent_confirm_params.rb | 196 +- .../params/setup_intent_create_params.rb | 204 +- lib/stripe/params/setup_intent_list_params.rb | 4 +- .../params/setup_intent_retrieve_params.rb | 2 +- .../params/setup_intent_update_params.rb | 192 +- ...etup_intent_verify_microdeposits_params.rb | 2 +- .../params/shipping_rate_create_params.rb | 12 +- .../params/shipping_rate_list_params.rb | 4 +- .../params/shipping_rate_retrieve_params.rb | 2 +- .../params/shipping_rate_update_params.rb | 6 +- .../sigma/scheduled_query_run_list_params.rb | 2 +- .../scheduled_query_run_retrieve_params.rb | 2 +- lib/stripe/params/source_create_params.rb | 26 +- lib/stripe/params/source_detach_params.rb | 2 +- lib/stripe/params/source_retrieve_params.rb | 2 +- .../params/source_transaction_list_params.rb | 2 +- lib/stripe/params/source_update_params.rb | 22 +- lib/stripe/params/source_verify_params.rb | 2 +- .../subscription_attach_cadence_params.rb | 2 +- .../params/subscription_cancel_params.rb | 4 +- .../params/subscription_create_params.rb | 114 +- .../subscription_delete_discount_params.rb | 2 +- .../params/subscription_item_create_params.rb | 16 +- .../params/subscription_item_delete_params.rb | 2 +- .../params/subscription_item_list_params.rb | 2 +- .../subscription_item_retrieve_params.rb | 2 +- .../params/subscription_item_update_params.rb | 14 +- lib/stripe/params/subscription_list_params.rb | 10 +- .../params/subscription_migrate_params.rb | 6 +- .../params/subscription_resume_params.rb | 2 +- .../params/subscription_retrieve_params.rb | 2 +- .../subscription_schedule_amend_params.rb | 74 +- .../subscription_schedule_cancel_params.rb | 2 +- .../subscription_schedule_create_params.rb | 82 +- .../subscription_schedule_list_params.rb | 10 +- .../subscription_schedule_release_params.rb | 2 +- .../subscription_schedule_retrieve_params.rb | 2 +- .../subscription_schedule_update_params.rb | 78 +- .../params/subscription_search_params.rb | 2 +- .../params/subscription_update_params.rb | 110 +- .../params/tax/association_find_params.rb | 2 +- .../params/tax/calculation_create_params.rb | 16 +- .../tax/calculation_line_item_list_params.rb | 2 +- .../tax/calculation_list_line_items_params.rb | 2 +- .../params/tax/calculation_retrieve_params.rb | 2 +- lib/stripe/params/tax/form_list_params.rb | 4 +- lib/stripe/params/tax/form_pdf_params.rb | 2 +- lib/stripe/params/tax/form_retrieve_params.rb | 2 +- .../params/tax/registration_create_params.rb | 326 +- .../params/tax/registration_list_params.rb | 2 +- .../tax/registration_retrieve_params.rb | 2 +- .../params/tax/registration_update_params.rb | 2 +- .../params/tax/settings_retrieve_params.rb | 2 +- .../params/tax/settings_update_params.rb | 8 +- ...nsaction_create_from_calculation_params.rb | 2 +- .../tax/transaction_create_reversal_params.rb | 6 +- .../tax/transaction_line_item_list_params.rb | 2 +- .../tax/transaction_list_line_items_params.rb | 2 +- .../params/tax/transaction_retrieve_params.rb | 2 +- lib/stripe/params/tax_code_list_params.rb | 2 +- lib/stripe/params/tax_code_retrieve_params.rb | 2 +- lib/stripe/params/tax_id_create_params.rb | 4 +- lib/stripe/params/tax_id_delete_params.rb | 2 +- lib/stripe/params/tax_id_list_params.rb | 4 +- lib/stripe/params/tax_id_retrieve_params.rb | 2 +- lib/stripe/params/tax_rate_create_params.rb | 2 +- lib/stripe/params/tax_rate_list_params.rb | 4 +- lib/stripe/params/tax_rate_retrieve_params.rb | 2 +- lib/stripe/params/tax_rate_update_params.rb | 2 +- .../terminal/configuration_create_params.rb | 87 +- .../terminal/configuration_delete_params.rb | 2 +- .../terminal/configuration_list_params.rb | 2 +- .../terminal/configuration_retrieve_params.rb | 2 +- .../terminal/configuration_update_params.rb | 87 +- .../connection_token_create_params.rb | 2 +- .../params/terminal/location_create_params.rb | 8 +- .../params/terminal/location_delete_params.rb | 2 +- .../params/terminal/location_list_params.rb | 2 +- .../terminal/location_retrieve_params.rb | 2 +- .../params/terminal/location_update_params.rb | 8 +- .../terminal/onboarding_link_create_params.rb | 6 +- .../terminal/reader_cancel_action_params.rb | 2 +- .../terminal/reader_collect_inputs_params.rb | 26 +- .../reader_collect_payment_method_params.rb | 10 +- .../reader_collected_data_retrieve_params.rb | 2 +- .../reader_confirm_payment_intent_params.rb | 8 +- .../params/terminal/reader_create_params.rb | 2 +- .../params/terminal/reader_delete_params.rb | 2 +- .../params/terminal/reader_list_params.rb | 2 +- .../reader_present_payment_method_params.rb | 10 +- .../reader_process_payment_intent_params.rb | 10 +- .../reader_process_setup_intent_params.rb | 8 +- .../terminal/reader_refund_payment_params.rb | 6 +- .../params/terminal/reader_retrieve_params.rb | 2 +- .../reader_set_reader_display_params.rb | 18 +- .../reader_succeed_input_collection_params.rb | 2 +- .../reader_timeout_input_collection_params.rb | 2 +- .../params/terminal/reader_update_params.rb | 2 +- .../confirmation_token_create_params.rb | 140 +- .../customer_fund_cash_balance_params.rb | 2 +- .../issuing/authorization_capture_params.rb | 26 +- .../issuing/authorization_create_params.rb | 34 +- .../issuing/authorization_expire_params.rb | 2 +- .../authorization_finalize_amount_params.rb | 16 +- .../issuing/authorization_increment_params.rb | 2 +- .../issuing/authorization_respond_params.rb | 2 +- .../issuing/authorization_reverse_params.rb | 2 +- .../issuing/card_deliver_card_params.rb | 2 +- .../issuing/card_fail_card_params.rb | 2 +- .../issuing/card_return_card_params.rb | 2 +- .../issuing/card_ship_card_params.rb | 2 +- .../issuing/card_submit_card_params.rb | 2 +- .../personalization_design_activate_params.rb | 2 +- ...ersonalization_design_deactivate_params.rb | 2 +- .../personalization_design_reject_params.rb | 4 +- ...transaction_create_force_capture_params.rb | 28 +- ...ansaction_create_unlinked_refund_params.rb | 28 +- .../issuing/transaction_refund_params.rb | 2 +- .../test_helpers/refund_expire_params.rb | 2 +- .../reader_present_payment_method_params.rb | 10 +- .../reader_succeed_input_collection_params.rb | 2 +- .../reader_timeout_input_collection_params.rb | 2 +- .../test_helpers/test_clock_advance_params.rb | 2 +- .../test_helpers/test_clock_create_params.rb | 2 +- .../test_helpers/test_clock_delete_params.rb | 2 +- .../test_helpers/test_clock_list_params.rb | 2 +- .../test_clock_retrieve_params.rb | 2 +- .../treasury/inbound_transfer_fail_params.rb | 4 +- ...transfer_return_inbound_transfer_params.rb | 2 +- .../inbound_transfer_succeed_params.rb | 2 +- .../treasury/outbound_payment_fail_params.rb | 2 +- .../treasury/outbound_payment_post_params.rb | 2 +- ..._payment_return_outbound_payment_params.rb | 4 +- .../outbound_payment_update_params.rb | 8 +- .../treasury/outbound_transfer_fail_params.rb | 2 +- .../treasury/outbound_transfer_post_params.rb | 2 +- ...ransfer_return_outbound_transfer_params.rb | 4 +- .../outbound_transfer_update_params.rb | 8 +- .../treasury/received_credit_create_params.rb | 10 +- .../treasury/received_debit_create_params.rb | 10 +- lib/stripe/params/token_create_params.rb | 109 +- lib/stripe/params/token_retrieve_params.rb | 2 +- lib/stripe/params/topup_cancel_params.rb | 2 +- lib/stripe/params/topup_create_params.rb | 2 +- lib/stripe/params/topup_list_params.rb | 6 +- lib/stripe/params/topup_retrieve_params.rb | 2 +- lib/stripe/params/topup_update_params.rb | 2 +- lib/stripe/params/transfer_create_params.rb | 2 +- lib/stripe/params/transfer_list_params.rb | 4 +- lib/stripe/params/transfer_retrieve_params.rb | 2 +- .../params/transfer_reversal_create_params.rb | 2 +- .../params/transfer_reversal_list_params.rb | 2 +- .../transfer_reversal_retrieve_params.rb | 2 +- .../params/transfer_reversal_update_params.rb | 2 +- lib/stripe/params/transfer_update_params.rb | 2 +- .../treasury/credit_reversal_create_params.rb | 2 +- .../treasury/credit_reversal_list_params.rb | 2 +- .../credit_reversal_retrieve_params.rb | 2 +- .../treasury/debit_reversal_create_params.rb | 2 +- .../treasury/debit_reversal_list_params.rb | 2 +- .../debit_reversal_retrieve_params.rb | 2 +- .../financial_account_close_params.rb | 4 +- .../financial_account_create_params.rb | 32 +- ...ancial_account_features_retrieve_params.rb | 2 +- ...inancial_account_features_update_params.rb | 28 +- .../treasury/financial_account_list_params.rb | 4 +- ...ancial_account_retrieve_features_params.rb | 2 +- .../financial_account_retrieve_params.rb | 2 +- ...inancial_account_update_features_params.rb | 28 +- .../financial_account_update_params.rb | 34 +- .../inbound_transfer_cancel_params.rb | 2 +- .../inbound_transfer_create_params.rb | 2 +- .../treasury/inbound_transfer_fail_params.rb | 4 +- .../treasury/inbound_transfer_list_params.rb | 2 +- .../inbound_transfer_retrieve_params.rb | 2 +- ...transfer_return_inbound_transfer_params.rb | 2 +- .../inbound_transfer_succeed_params.rb | 2 +- .../outbound_payment_cancel_params.rb | 2 +- .../outbound_payment_create_params.rb | 16 +- .../treasury/outbound_payment_fail_params.rb | 2 +- .../treasury/outbound_payment_list_params.rb | 4 +- .../treasury/outbound_payment_post_params.rb | 2 +- .../outbound_payment_retrieve_params.rb | 2 +- ..._payment_return_outbound_payment_params.rb | 4 +- .../outbound_payment_update_params.rb | 8 +- .../outbound_transfer_cancel_params.rb | 2 +- .../outbound_transfer_create_params.rb | 12 +- .../treasury/outbound_transfer_fail_params.rb | 2 +- .../treasury/outbound_transfer_list_params.rb | 2 +- .../treasury/outbound_transfer_post_params.rb | 2 +- .../outbound_transfer_retrieve_params.rb | 2 +- ...ransfer_return_outbound_transfer_params.rb | 4 +- .../outbound_transfer_update_params.rb | 8 +- .../treasury/received_credit_create_params.rb | 10 +- .../treasury/received_credit_list_params.rb | 4 +- .../received_credit_retrieve_params.rb | 2 +- .../treasury/received_debit_create_params.rb | 10 +- .../treasury/received_debit_list_params.rb | 2 +- .../received_debit_retrieve_params.rb | 2 +- .../treasury/transaction_entry_list_params.rb | 6 +- .../transaction_entry_retrieve_params.rb | 2 +- .../treasury/transaction_list_params.rb | 8 +- .../treasury/transaction_retrieve_params.rb | 2 +- .../v2/billing/bill_setting_create_params.rb | 10 +- .../v2/billing/bill_setting_list_params.rb | 2 +- .../billing/bill_setting_retrieve_params.rb | 2 +- .../v2/billing/bill_setting_update_params.rb | 10 +- .../bill_settings/version_list_params.rb | 2 +- .../bill_settings/version_retrieve_params.rb | 2 +- .../v2/billing/cadence_cancel_params.rb | 2 +- .../v2/billing/cadence_create_params.rb | 28 +- .../params/v2/billing/cadence_list_params.rb | 4 +- .../v2/billing/cadence_retrieve_params.rb | 2 +- .../v2/billing/cadence_update_params.rb | 10 +- .../collection_setting_create_params.rb | 30 +- .../billing/collection_setting_list_params.rb | 2 +- .../collection_setting_retrieve_params.rb | 2 +- .../collection_setting_update_params.rb | 30 +- .../version_list_params.rb | 2 +- .../version_retrieve_params.rb | 2 +- .../meter_event_adjustment_create_params.rb | 4 +- .../v2/billing/meter_event_create_params.rb | 2 +- .../meter_event_session_create_params.rb | 2 +- .../meter_event_stream_create_params.rb | 4 +- .../v2/billing/profile_create_params.rb | 2 +- .../params/v2/billing/profile_list_params.rb | 2 +- .../v2/billing/profile_retrieve_params.rb | 2 +- .../v2/billing/profile_update_params.rb | 2 +- .../params/v2/core/account_close_params.rb | 2 +- .../params/v2/core/account_create_params.rb | 286 +- .../v2/core/account_link_create_params.rb | 12 +- .../params/v2/core/account_list_params.rb | 2 +- .../params/v2/core/account_retrieve_params.rb | 2 +- .../params/v2/core/account_update_params.rb | 286 +- .../v2/core/accounts/person_create_params.rb | 46 +- .../v2/core/accounts/person_delete_params.rb | 2 +- .../v2/core/accounts/person_list_params.rb | 2 +- .../core/accounts/person_retrieve_params.rb | 2 +- .../v2/core/accounts/person_update_params.rb | 46 +- .../core/event_destination_create_params.rb | 6 +- .../core/event_destination_delete_params.rb | 2 +- .../core/event_destination_disable_params.rb | 2 +- .../core/event_destination_enable_params.rb | 2 +- .../v2/core/event_destination_list_params.rb | 2 +- .../v2/core/event_destination_ping_params.rb | 2 +- .../core/event_destination_retrieve_params.rb | 2 +- .../core/event_destination_update_params.rb | 4 +- .../params/v2/core/event_list_params.rb | 2 +- .../params/v2/core/event_retrieve_params.rb | 2 +- ...cknowledge_confirmation_of_payee_params.rb | 2 +- .../vault/gb_bank_account_archive_params.rb | 2 +- .../vault/gb_bank_account_create_params.rb | 4 +- ...t_initiate_confirmation_of_payee_params.rb | 2 +- .../vault/gb_bank_account_retrieve_params.rb | 2 +- .../vault/us_bank_account_archive_params.rb | 2 +- .../vault/us_bank_account_create_params.rb | 2 +- .../vault/us_bank_account_retrieve_params.rb | 2 +- .../vault/us_bank_account_update_params.rb | 2 +- .../adjustment_list_params.rb | 2 +- .../adjustment_retrieve_params.rb | 2 +- .../financial_account_close_params.rb | 4 +- .../financial_account_create_params.rb | 4 +- .../financial_account_list_params.rb | 2 +- .../financial_account_retrieve_params.rb | 2 +- .../financial_address_create_params.rb | 2 +- .../financial_address_list_params.rb | 2 +- .../financial_address_retrieve_params.rb | 2 +- .../inbound_transfer_create_params.rb | 6 +- .../inbound_transfer_list_params.rb | 2 +- .../inbound_transfer_retrieve_params.rb | 2 +- .../outbound_payment_cancel_params.rb | 2 +- .../outbound_payment_create_params.rb | 10 +- .../outbound_payment_list_params.rb | 2 +- .../outbound_payment_quote_create_params.rb | 8 +- .../outbound_payment_quote_retrieve_params.rb | 2 +- .../outbound_payment_retrieve_params.rb | 2 +- .../outbound_setup_intent_cancel_params.rb | 2 +- .../outbound_setup_intent_create_params.rb | 8 +- .../outbound_setup_intent_list_params.rb | 2 +- .../outbound_setup_intent_retrieve_params.rb | 2 +- .../outbound_setup_intent_update_params.rb | 8 +- .../outbound_transfer_cancel_params.rb | 2 +- .../outbound_transfer_create_params.rb | 8 +- .../outbound_transfer_list_params.rb | 2 +- .../outbound_transfer_retrieve_params.rb | 2 +- .../payout_method_archive_params.rb | 2 +- .../payout_method_list_params.rb | 4 +- .../payout_method_retrieve_params.rb | 2 +- .../payout_method_unarchive_params.rb | 2 +- ...thods_bank_account_spec_retrieve_params.rb | 2 +- .../received_credit_list_params.rb | 2 +- .../received_credit_retrieve_params.rb | 2 +- .../received_debit_list_params.rb | 2 +- .../received_debit_retrieve_params.rb | 2 +- .../transaction_entry_list_params.rb | 2 +- .../transaction_entry_retrieve_params.rb | 2 +- .../transaction_list_params.rb | 2 +- .../transaction_retrieve_params.rb | 2 +- .../off_session_payment_cancel_params.rb | 2 +- .../off_session_payment_capture_params.rb | 4 +- .../off_session_payment_create_params.rb | 24 +- .../off_session_payment_list_params.rb | 2 +- .../off_session_payment_retrieve_params.rb | 2 +- .../financial_address_credit_params.rb | 2 +- ...l_address_generate_microdeposits_params.rb | 2 +- .../params/webhook_endpoint_create_params.rb | 2 +- .../params/webhook_endpoint_delete_params.rb | 2 +- .../params/webhook_endpoint_list_params.rb | 2 +- .../webhook_endpoint_retrieve_params.rb | 2 +- .../params/webhook_endpoint_update_params.rb | 2 +- lib/stripe/resources.rb | 1 - lib/stripe/resources/account.rb | 118 +- lib/stripe/resources/account_notice.rb | 4 +- lib/stripe/resources/account_session.rb | 90 +- lib/stripe/resources/application_fee.rb | 2 +- lib/stripe/resources/apps/secret.rb | 2 +- lib/stripe/resources/balance.rb | 36 +- lib/stripe/resources/balance_settings.rb | 8 +- lib/stripe/resources/balance_transaction.rb | 2 +- lib/stripe/resources/bank_account.rb | 8 +- lib/stripe/resources/billing/alert.rb | 4 +- .../billing/credit_balance_summary.rb | 10 +- .../billing/credit_balance_transaction.rb | 16 +- lib/stripe/resources/billing/credit_grant.rb | 10 +- lib/stripe/resources/billing/meter.rb | 8 +- .../billing/meter_event_adjustment.rb | 2 +- .../resources/billing_portal/configuration.rb | 26 +- .../resources/billing_portal/session.rb | 22 +- lib/stripe/resources/capability.rb | 12 +- .../resources/capital/financing_offer.rb | 4 +- .../resources/capital/financing_summary.rb | 4 +- .../capital/financing_transaction.rb | 4 +- lib/stripe/resources/card.rb | 2 +- lib/stripe/resources/cash_balance.rb | 2 +- lib/stripe/resources/charge.rb | 235 +- lib/stripe/resources/checkout/session.rb | 246 +- lib/stripe/resources/climate/order.rb | 6 +- lib/stripe/resources/climate/product.rb | 2 +- lib/stripe/resources/climate/supplier.rb | 2 +- lib/stripe/resources/confirmation_token.rb | 204 +- lib/stripe/resources/country_spec.rb | 6 +- lib/stripe/resources/coupon.rb | 6 +- lib/stripe/resources/credit_note.rb | 34 +- lib/stripe/resources/credit_note_line_item.rb | 10 +- lib/stripe/resources/customer.rb | 16 +- .../customer_cash_balance_transaction.rb | 22 +- lib/stripe/resources/customer_session.rb | 10 +- lib/stripe/resources/discount.rb | 2 +- lib/stripe/resources/dispute.rb | 36 +- lib/stripe/resources/event.rb | 12 +- .../financial_connections/account.rb | 16 +- .../financial_connections/institution.rb | 10 +- .../financial_connections/session.rb | 12 +- .../financial_connections/transaction.rb | 2 +- lib/stripe/resources/forwarding/request.rb | 10 +- lib/stripe/resources/funding_instructions.rb | 40 +- lib/stripe/resources/fx_quote.rb | 10 +- .../resources/identity/verification_report.rb | 36 +- .../identity/verification_session.rb | 26 +- lib/stripe/resources/invoice.rb | 100 +- lib/stripe/resources/invoice_item.rb | 14 +- lib/stripe/resources/invoice_line_item.rb | 32 +- lib/stripe/resources/invoice_payment.rb | 4 +- lib/stripe/resources/issuing/authorization.rb | 38 +- lib/stripe/resources/issuing/card.rb | 20 +- lib/stripe/resources/issuing/cardholder.rb | 24 +- .../issuing/credit_underwriting_record.rb | 16 +- lib/stripe/resources/issuing/dispute.rb | 20 +- .../issuing/dispute_settlement_detail.rb | 2 +- .../issuing/personalization_design.rb | 6 +- .../resources/issuing/physical_bundle.rb | 2 +- lib/stripe/resources/issuing/token.rb | 12 +- lib/stripe/resources/issuing/transaction.rb | 32 +- lib/stripe/resources/line_item.rb | 10 +- lib/stripe/resources/mandate.rb | 48 +- lib/stripe/resources/order.rb | 78 +- .../resources/payment_attempt_record.rb | 207 +- lib/stripe/resources/payment_intent.rb | 316 +- ...payment_intent_amount_details_line_item.rb | 12 +- lib/stripe/resources/payment_link.rb | 123 +- lib/stripe/resources/payment_method.rb | 186 +- .../resources/payment_method_configuration.rb | 296 +- lib/stripe/resources/payment_method_domain.rb | 24 +- lib/stripe/resources/payment_record.rb | 229 +- lib/stripe/resources/payout.rb | 6 +- lib/stripe/resources/person.rb | 40 +- lib/stripe/resources/plan.rb | 4 +- lib/stripe/resources/price.rb | 16 +- lib/stripe/resources/privacy/redaction_job.rb | 2 +- .../privacy/redaction_job_validation_error.rb | 2 +- lib/stripe/resources/product.rb | 4 +- lib/stripe/resources/promotion_code.rb | 6 +- lib/stripe/resources/quote.rb | 102 +- lib/stripe/resources/quote_line.rb | 56 +- lib/stripe/resources/quote_preview_invoice.rb | 102 +- .../quote_preview_subscription_schedule.rb | 74 +- lib/stripe/resources/refund.rb | 76 +- lib/stripe/resources/reporting/report_run.rb | 2 +- lib/stripe/resources/review.rb | 4 +- lib/stripe/resources/setup_attempt.rb | 66 +- lib/stripe/resources/setup_intent.rb | 66 +- lib/stripe/resources/shipping_rate.rb | 10 +- .../resources/sigma/scheduled_query_run.rb | 2 +- lib/stripe/resources/source.rb | 60 +- .../resources/source_mandate_notification.rb | 6 +- lib/stripe/resources/source_transaction.rb | 10 +- lib/stripe/resources/subscription.rb | 84 +- lib/stripe/resources/subscription_item.rb | 4 +- lib/stripe/resources/subscription_schedule.rb | 72 +- lib/stripe/resources/tax/association.rb | 6 +- lib/stripe/resources/tax/calculation.rb | 24 +- .../resources/tax/calculation_line_item.rb | 6 +- lib/stripe/resources/tax/form.rb | 22 +- lib/stripe/resources/tax/registration.rb | 280 +- lib/stripe/resources/tax/settings.rb | 12 +- lib/stripe/resources/tax/transaction.rb | 20 +- .../resources/tax/transaction_line_item.rb | 2 +- lib/stripe/resources/tax_id.rb | 4 +- lib/stripe/resources/tax_rate.rb | 2 +- .../resources/terminal/configuration.rb | 86 +- lib/stripe/resources/terminal/location.rb | 6 +- .../resources/terminal/onboarding_link.rb | 4 +- lib/stripe/resources/terminal/reader.rb | 106 +- .../terminal/reader_collected_data.rb | 2 +- .../resources/test_helpers/test_clock.rb | 4 +- .../resources/treasury/credit_reversal.rb | 2 +- .../resources/treasury/debit_reversal.rb | 4 +- .../resources/treasury/financial_account.rb | 12 +- .../treasury/financial_account_features.rb | 44 +- .../resources/treasury/inbound_transfer.rb | 14 +- .../resources/treasury/outbound_payment.rb | 22 +- .../resources/treasury/outbound_transfer.rb | 24 +- .../resources/treasury/received_credit.rb | 20 +- .../resources/treasury/received_debit.rb | 18 +- lib/stripe/resources/treasury/transaction.rb | 6 +- .../resources/treasury/transaction_entry.rb | 4 +- .../resources/v2/billing/bill_setting.rb | 8 +- .../v2/billing/bill_setting_version.rb | 8 +- lib/stripe/resources/v2/billing/cadence.rb | 68 +- .../v2/billing/collection_setting.rb | 28 +- .../v2/billing/collection_setting_version.rb | 28 +- .../v2/billing/meter_event_adjustment.rb | 2 +- lib/stripe/resources/v2/core/account.rb | 440 +- lib/stripe/resources/v2/core/account_link.rb | 10 +- .../resources/v2/core/account_person.rb | 44 +- lib/stripe/resources/v2/core/event.rb | 4 +- .../resources/v2/core/event_destination.rb | 8 +- .../v2/core/vault/gb_bank_account.rb | 8 +- .../v2/money_management/adjustment.rb | 2 +- .../v2/money_management/financial_account.rb | 12 +- .../v2/money_management/financial_address.rb | 8 +- .../v2/money_management/inbound_transfer.rb | 12 +- .../v2/money_management/outbound_payment.rb | 18 +- .../outbound_payment_quote.rb | 12 +- .../money_management/outbound_setup_intent.rb | 4 +- .../v2/money_management/outbound_transfer.rb | 16 +- .../v2/money_management/payout_method.rb | 6 +- .../payout_methods_bank_account_spec.rb | 6 +- .../v2/money_management/received_credit.rb | 18 +- .../v2/money_management/received_debit.rb | 10 +- .../v2/money_management/transaction.rb | 6 +- .../v2/money_management/transaction_entry.rb | 6 +- .../v2/payments/off_session_payment.rb | 18 +- lib/stripe/services/payment_record_service.rb | 12 + lib/stripe/services/payout_service.rb | 2 +- .../services/terminal/reader_service.rb | 16 +- rbi/stripe.rbi | 19865 ++++++++-------- .../params/account_capability_list_params.rbi | 2 +- .../account_capability_retrieve_params.rbi | 2 +- .../account_capability_update_params.rbi | 2 +- rbi/stripe/params/account_create_params.rbi | 309 +- rbi/stripe/params/account_delete_params.rbi | 2 +- ...account_external_account_create_params.rbi | 8 +- ...account_external_account_delete_params.rbi | 2 +- .../account_external_account_list_params.rbi | 2 +- ...count_external_account_retrieve_params.rbi | 2 +- ...account_external_account_update_params.rbi | 6 +- .../params/account_link_create_params.rbi | 4 +- rbi/stripe/params/account_list_params.rbi | 4 +- .../account_login_link_create_params.rbi | 2 +- .../params/account_notice_list_params.rbi | 2 +- .../params/account_notice_retrieve_params.rbi | 2 +- .../params/account_notice_update_params.rbi | 4 +- .../params/account_person_create_params.rbi | 38 +- .../params/account_person_delete_params.rbi | 2 +- .../params/account_person_list_params.rbi | 4 +- .../params/account_person_retrieve_params.rbi | 2 +- .../params/account_person_update_params.rbi | 38 +- rbi/stripe/params/account_persons_params.rbi | 4 +- rbi/stripe/params/account_reject_params.rbi | 2 +- .../account_retrieve_current_params.rbi | 2 +- rbi/stripe/params/account_retrieve_params.rbi | 2 +- .../params/account_session_create_params.rbi | 128 +- rbi/stripe/params/account_update_params.rbi | 297 +- .../params/apple_pay_domain_create_params.rbi | 2 +- .../params/apple_pay_domain_delete_params.rbi | 2 +- .../params/apple_pay_domain_list_params.rbi | 2 +- .../apple_pay_domain_retrieve_params.rbi | 2 +- .../params/application_fee_list_params.rbi | 4 +- .../application_fee_refund_create_params.rbi | 2 +- .../application_fee_refund_list_params.rbi | 2 +- ...application_fee_refund_retrieve_params.rbi | 2 +- .../application_fee_refund_update_params.rbi | 2 +- .../application_fee_retrieve_params.rbi | 2 +- .../params/apps/secret_create_params.rbi | 4 +- .../apps/secret_delete_where_params.rbi | 4 +- rbi/stripe/params/apps/secret_find_params.rbi | 4 +- rbi/stripe/params/apps/secret_list_params.rbi | 4 +- rbi/stripe/params/balance_retrieve_params.rbi | 2 +- .../balance_settings_retrieve_params.rbi | 2 +- .../params/balance_settings_update_params.rbi | 10 +- .../balance_transaction_list_params.rbi | 4 +- .../balance_transaction_retrieve_params.rbi | 2 +- .../params/billing/alert_activate_params.rbi | 2 +- .../params/billing/alert_archive_params.rbi | 2 +- .../params/billing/alert_create_params.rbi | 6 +- .../billing/alert_deactivate_params.rbi | 2 +- .../params/billing/alert_list_params.rbi | 2 +- .../params/billing/alert_retrieve_params.rbi | 2 +- .../analytics/meter_usage_retrieve_params.rbi | 4 +- ...credit_balance_summary_retrieve_params.rbi | 8 +- ...credit_balance_transaction_list_params.rbi | 2 +- ...it_balance_transaction_retrieve_params.rbi | 2 +- .../billing/credit_grant_create_params.rbi | 20 +- .../billing/credit_grant_expire_params.rbi | 2 +- .../billing/credit_grant_list_params.rbi | 2 +- .../billing/credit_grant_retrieve_params.rbi | 2 +- .../billing/credit_grant_update_params.rbi | 2 +- .../credit_grant_void_grant_params.rbi | 2 +- .../params/billing/meter_create_params.rbi | 8 +- .../billing/meter_deactivate_params.rbi | 2 +- .../meter_event_adjustment_create_params.rbi | 4 +- .../billing/meter_event_create_params.rbi | 2 +- .../meter_event_summary_list_params.rbi | 2 +- .../params/billing/meter_list_params.rbi | 2 +- .../billing/meter_reactivate_params.rbi | 2 +- .../params/billing/meter_retrieve_params.rbi | 2 +- .../params/billing/meter_update_params.rbi | 2 +- .../configuration_create_params.rbi | 39 +- .../configuration_list_params.rbi | 2 +- .../configuration_retrieve_params.rbi | 2 +- .../configuration_update_params.rbi | 39 +- .../billing_portal/session_create_params.rbi | 24 +- .../capital/financing_offer_list_params.rbi | 4 +- .../financing_offer_mark_delivered_params.rbi | 2 +- .../financing_offer_retrieve_params.rbi | 2 +- .../financing_summary_retrieve_params.rbi | 2 +- .../financing_transaction_list_params.rbi | 2 +- .../financing_transaction_retrieve_params.rbi | 2 +- rbi/stripe/params/charge_capture_params.rbi | 62 +- rbi/stripe/params/charge_create_params.rbi | 12 +- rbi/stripe/params/charge_list_params.rbi | 4 +- rbi/stripe/params/charge_retrieve_params.rbi | 2 +- rbi/stripe/params/charge_search_params.rbi | 2 +- rbi/stripe/params/charge_update_params.rbi | 66 +- .../params/checkout/session_create_params.rbi | 277 +- .../params/checkout/session_expire_params.rbi | 2 +- .../session_line_item_list_params.rbi | 2 +- .../session_list_line_items_params.rbi | 2 +- .../params/checkout/session_list_params.rbi | 6 +- .../checkout/session_retrieve_params.rbi | 2 +- .../params/checkout/session_update_params.rbi | 52 +- .../params/climate/order_cancel_params.rbi | 2 +- .../params/climate/order_create_params.rbi | 4 +- .../params/climate/order_list_params.rbi | 2 +- .../params/climate/order_retrieve_params.rbi | 2 +- .../params/climate/order_update_params.rbi | 4 +- .../params/climate/product_list_params.rbi | 2 +- .../climate/product_retrieve_params.rbi | 2 +- .../params/climate/supplier_list_params.rbi | 2 +- .../climate/supplier_retrieve_params.rbi | 2 +- .../confirmation_token_create_params.rbi | 140 +- .../confirmation_token_retrieve_params.rbi | 2 +- .../params/country_spec_list_params.rbi | 2 +- .../params/country_spec_retrieve_params.rbi | 2 +- rbi/stripe/params/coupon_create_params.rbi | 8 +- rbi/stripe/params/coupon_delete_params.rbi | 2 +- rbi/stripe/params/coupon_list_params.rbi | 4 +- rbi/stripe/params/coupon_retrieve_params.rbi | 2 +- rbi/stripe/params/coupon_update_params.rbi | 4 +- .../params/credit_note_create_params.rbi | 42 +- .../credit_note_line_item_list_params.rbi | 2 +- rbi/stripe/params/credit_note_list_params.rbi | 4 +- ...it_note_list_preview_line_items_params.rbi | 42 +- .../credit_note_preview_lines_list_params.rbi | 42 +- .../params/credit_note_preview_params.rbi | 42 +- .../params/credit_note_retrieve_params.rbi | 2 +- .../params/credit_note_update_params.rbi | 2 +- .../credit_note_void_credit_note_params.rbi | 2 +- ...omer_balance_transaction_create_params.rbi | 2 +- ...stomer_balance_transaction_list_params.rbi | 2 +- ...er_balance_transaction_retrieve_params.rbi | 2 +- ...omer_balance_transaction_update_params.rbi | 2 +- .../customer_cash_balance_retrieve_params.rbi | 2 +- ...r_cash_balance_transaction_list_params.rbi | 2 +- ...sh_balance_transaction_retrieve_params.rbi | 2 +- .../customer_cash_balance_update_params.rbi | 4 +- ...mer_create_funding_instructions_params.rbi | 6 +- rbi/stripe/params/customer_create_params.rbi | 22 +- .../customer_delete_discount_params.rbi | 2 +- rbi/stripe/params/customer_delete_params.rbi | 2 +- .../customer_fund_cash_balance_params.rbi | 2 +- ...mer_funding_instructions_create_params.rbi | 6 +- rbi/stripe/params/customer_list_params.rbi | 4 +- .../customer_list_payment_methods_params.rbi | 2 +- .../customer_payment_method_list_params.rbi | 2 +- ...ustomer_payment_method_retrieve_params.rbi | 2 +- .../customer_payment_source_create_params.rbi | 2 +- .../customer_payment_source_delete_params.rbi | 2 +- .../customer_payment_source_list_params.rbi | 2 +- ...ustomer_payment_source_retrieve_params.rbi | 2 +- .../customer_payment_source_update_params.rbi | 6 +- .../customer_payment_source_verify_params.rbi | 2 +- .../params/customer_retrieve_params.rbi | 2 +- ...ustomer_retrieve_payment_method_params.rbi | 2 +- rbi/stripe/params/customer_search_params.rbi | 2 +- .../params/customer_session_create_params.rbi | 12 +- .../params/customer_tax_id_create_params.rbi | 2 +- .../params/customer_tax_id_delete_params.rbi | 2 +- .../params/customer_tax_id_list_params.rbi | 2 +- .../customer_tax_id_retrieve_params.rbi | 2 +- rbi/stripe/params/customer_update_params.rbi | 20 +- rbi/stripe/params/dispute_close_params.rbi | 2 +- rbi/stripe/params/dispute_list_params.rbi | 4 +- rbi/stripe/params/dispute_retrieve_params.rbi | 2 +- rbi/stripe/params/dispute_update_params.rbi | 18 +- .../active_entitlement_list_params.rbi | 2 +- .../active_entitlement_retrieve_params.rbi | 2 +- .../entitlements/feature_create_params.rbi | 2 +- .../entitlements/feature_list_params.rbi | 2 +- .../entitlements/feature_retrieve_params.rbi | 2 +- .../entitlements/feature_update_params.rbi | 2 +- .../params/ephemeral_key_create_params.rbi | 2 +- .../params/ephemeral_key_delete_params.rbi | 2 +- rbi/stripe/params/event_list_params.rbi | 4 +- rbi/stripe/params/event_retrieve_params.rbi | 2 +- .../params/exchange_rate_list_params.rbi | 2 +- .../params/exchange_rate_retrieve_params.rbi | 2 +- .../params/external_account_create_params.rbi | 8 +- .../params/external_account_delete_params.rbi | 2 +- .../params/external_account_list_params.rbi | 2 +- .../external_account_retrieve_params.rbi | 2 +- .../params/external_account_update_params.rbi | 6 +- rbi/stripe/params/file_create_params.rbi | 4 +- rbi/stripe/params/file_link_create_params.rbi | 2 +- rbi/stripe/params/file_link_list_params.rbi | 4 +- .../params/file_link_retrieve_params.rbi | 2 +- rbi/stripe/params/file_link_update_params.rbi | 2 +- rbi/stripe/params/file_list_params.rbi | 4 +- rbi/stripe/params/file_retrieve_params.rbi | 2 +- .../account_disconnect_params.rbi | 2 +- .../account_inferred_balance_list_params.rbi | 2 +- .../account_list_owners_params.rbi | 2 +- .../account_list_params.rbi | 4 +- .../account_owner_list_params.rbi | 2 +- .../account_refresh_account_params.rbi | 2 +- .../account_refresh_params.rbi | 2 +- .../account_retrieve_params.rbi | 2 +- .../account_subscribe_params.rbi | 2 +- .../account_unsubscribe_params.rbi | 2 +- .../institution_list_params.rbi | 2 +- .../institution_retrieve_params.rbi | 2 +- .../session_create_params.rbi | 10 +- .../session_retrieve_params.rbi | 2 +- .../transaction_list_params.rbi | 6 +- .../transaction_retrieve_params.rbi | 2 +- .../forwarding/request_create_params.rbi | 6 +- .../params/forwarding/request_list_params.rbi | 4 +- .../forwarding/request_retrieve_params.rbi | 2 +- rbi/stripe/params/fx_quote_create_params.rbi | 8 +- rbi/stripe/params/fx_quote_list_params.rbi | 2 +- .../params/fx_quote_retrieve_params.rbi | 2 +- .../verification_report_list_params.rbi | 4 +- .../verification_report_retrieve_params.rbi | 2 +- .../verification_session_cancel_params.rbi | 2 +- .../verification_session_create_params.rbi | 10 +- .../verification_session_list_params.rbi | 4 +- .../verification_session_redact_params.rbi | 2 +- .../verification_session_retrieve_params.rbi | 2 +- .../verification_session_update_params.rbi | 8 +- .../params/invoice_add_lines_params.rbi | 22 +- .../params/invoice_attach_payment_params.rbi | 4 +- rbi/stripe/params/invoice_create_params.rbi | 84 +- .../params/invoice_create_preview_params.rbi | 200 +- rbi/stripe/params/invoice_delete_params.rbi | 2 +- .../invoice_finalize_invoice_params.rbi | 2 +- .../params/invoice_item_create_params.rbi | 14 +- .../params/invoice_item_delete_params.rbi | 2 +- .../params/invoice_item_list_params.rbi | 4 +- .../params/invoice_item_retrieve_params.rbi | 2 +- .../params/invoice_item_update_params.rbi | 14 +- .../params/invoice_line_item_list_params.rbi | 2 +- .../invoice_line_item_update_params.rbi | 20 +- rbi/stripe/params/invoice_list_params.rbi | 6 +- .../invoice_mark_uncollectible_params.rbi | 2 +- rbi/stripe/params/invoice_pay_params.rbi | 2 +- .../params/invoice_payment_list_params.rbi | 4 +- .../invoice_payment_retrieve_params.rbi | 2 +- .../params/invoice_remove_lines_params.rbi | 4 +- ...oice_rendering_template_archive_params.rbi | 2 +- ...invoice_rendering_template_list_params.rbi | 2 +- ...ice_rendering_template_retrieve_params.rbi | 2 +- ...ce_rendering_template_unarchive_params.rbi | 2 +- rbi/stripe/params/invoice_retrieve_params.rbi | 2 +- rbi/stripe/params/invoice_search_params.rbi | 2 +- .../params/invoice_send_invoice_params.rbi | 2 +- .../params/invoice_update_lines_params.rbi | 22 +- rbi/stripe/params/invoice_update_params.rbi | 82 +- .../params/invoice_void_invoice_params.rbi | 2 +- .../issuing/authorization_approve_params.rbi | 2 +- .../issuing/authorization_capture_params.rbi | 26 +- .../issuing/authorization_create_params.rbi | 34 +- .../issuing/authorization_decline_params.rbi | 2 +- .../issuing/authorization_expire_params.rbi | 2 +- .../authorization_finalize_amount_params.rbi | 16 +- .../authorization_increment_params.rbi | 2 +- .../issuing/authorization_list_params.rbi | 4 +- .../issuing/authorization_respond_params.rbi | 2 +- .../issuing/authorization_retrieve_params.rbi | 2 +- .../issuing/authorization_reverse_params.rbi | 2 +- .../issuing/authorization_update_params.rbi | 2 +- .../params/issuing/card_create_params.rbi | 16 +- .../issuing/card_deliver_card_params.rbi | 2 +- .../params/issuing/card_fail_card_params.rbi | 2 +- .../params/issuing/card_list_params.rbi | 4 +- .../params/issuing/card_retrieve_params.rbi | 2 +- .../issuing/card_return_card_params.rbi | 2 +- .../params/issuing/card_ship_card_params.rbi | 2 +- .../issuing/card_submit_card_params.rbi | 2 +- .../params/issuing/card_update_params.rbi | 16 +- .../issuing/cardholder_create_params.rbi | 24 +- .../params/issuing/cardholder_list_params.rbi | 4 +- .../issuing/cardholder_retrieve_params.rbi | 2 +- .../issuing/cardholder_update_params.rbi | 24 +- ...dit_underwriting_record_correct_params.rbi | 18 +- ..._record_create_from_application_params.rbi | 6 +- ...rd_create_from_proactive_review_params.rbi | 14 +- ...credit_underwriting_record_list_params.rbi | 2 +- ...rwriting_record_report_decision_params.rbi | 10 +- ...it_underwriting_record_retrieve_params.rbi | 2 +- .../params/issuing/dispute_create_params.rbi | 22 +- .../params/issuing/dispute_list_params.rbi | 4 +- .../issuing/dispute_retrieve_params.rbi | 2 +- .../dispute_settlement_detail_list_params.rbi | 2 +- ...pute_settlement_detail_retrieve_params.rbi | 2 +- .../params/issuing/dispute_submit_params.rbi | 2 +- .../params/issuing/dispute_update_params.rbi | 20 +- .../fraud_liability_debit_list_params.rbi | 4 +- .../fraud_liability_debit_retrieve_params.rbi | 2 +- ...personalization_design_activate_params.rbi | 2 +- .../personalization_design_create_params.rbi | 6 +- ...rsonalization_design_deactivate_params.rbi | 2 +- .../personalization_design_list_params.rbi | 4 +- .../personalization_design_reject_params.rbi | 4 +- ...personalization_design_retrieve_params.rbi | 2 +- .../personalization_design_update_params.rbi | 6 +- .../issuing/physical_bundle_list_params.rbi | 2 +- .../physical_bundle_retrieve_params.rbi | 2 +- .../params/issuing/token_list_params.rbi | 4 +- .../params/issuing/token_retrieve_params.rbi | 2 +- .../params/issuing/token_update_params.rbi | 2 +- ...ransaction_create_force_capture_params.rbi | 28 +- ...nsaction_create_unlinked_refund_params.rbi | 28 +- .../issuing/transaction_list_params.rbi | 4 +- .../issuing/transaction_refund_params.rbi | 2 +- .../issuing/transaction_retrieve_params.rbi | 2 +- .../issuing/transaction_update_params.rbi | 2 +- rbi/stripe/params/mandate_list_params.rbi | 2 +- rbi/stripe/params/mandate_retrieve_params.rbi | 2 +- rbi/stripe/params/margin_create_params.rbi | 2 +- rbi/stripe/params/margin_list_params.rbi | 2 +- rbi/stripe/params/margin_retrieve_params.rbi | 2 +- rbi/stripe/params/margin_update_params.rbi | 2 +- rbi/stripe/params/order_cancel_params.rbi | 2 +- rbi/stripe/params/order_create_params.rbi | 98 +- .../params/order_line_item_list_params.rbi | 2 +- .../params/order_list_line_items_params.rbi | 2 +- rbi/stripe/params/order_list_params.rbi | 2 +- rbi/stripe/params/order_reopen_params.rbi | 2 +- rbi/stripe/params/order_retrieve_params.rbi | 2 +- rbi/stripe/params/order_submit_params.rbi | 2 +- rbi/stripe/params/order_update_params.rbi | 98 +- .../payment_attempt_record_list_params.rbi | 11 +- ...payment_attempt_record_retrieve_params.rbi | 2 +- ...t_amount_details_line_item_list_params.rbi | 2 +- ...t_intent_apply_customer_balance_params.rbi | 2 +- .../params/payment_intent_cancel_params.rbi | 2 +- .../params/payment_intent_capture_params.rbi | 88 +- .../params/payment_intent_confirm_params.rbi | 398 +- .../params/payment_intent_create_params.rbi | 402 +- ..._intent_decrement_authorization_params.rbi | 10 +- ..._intent_increment_authorization_params.rbi | 36 +- .../params/payment_intent_list_params.rbi | 4 +- .../params/payment_intent_retrieve_params.rbi | 2 +- .../params/payment_intent_search_params.rbi | 2 +- .../payment_intent_trigger_action_params.rbi | 4 +- .../params/payment_intent_update_params.rbi | 396 +- ...ent_intent_verify_microdeposits_params.rbi | 2 +- .../params/payment_link_create_params.rbi | 146 +- .../payment_link_line_item_list_params.rbi | 2 +- .../payment_link_list_line_items_params.rbi | 2 +- .../params/payment_link_list_params.rbi | 2 +- .../params/payment_link_retrieve_params.rbi | 2 +- .../params/payment_link_update_params.rbi | 128 +- .../params/payment_method_attach_params.rbi | 2 +- ...ent_method_configuration_create_params.rbi | 300 +- ...yment_method_configuration_list_params.rbi | 2 +- ...t_method_configuration_retrieve_params.rbi | 2 +- ...ent_method_configuration_update_params.rbi | 300 +- .../params/payment_method_create_params.rbi | 130 +- .../params/payment_method_detach_params.rbi | 2 +- .../payment_method_domain_create_params.rbi | 2 +- .../payment_method_domain_list_params.rbi | 2 +- .../payment_method_domain_retrieve_params.rbi | 2 +- .../payment_method_domain_update_params.rbi | 2 +- .../payment_method_domain_validate_params.rbi | 2 +- .../params/payment_method_list_params.rbi | 2 +- .../params/payment_method_retrieve_params.rbi | 2 +- .../params/payment_method_update_params.rbi | 14 +- ...report_payment_attempt_canceled_params.rbi | 2 +- ...d_report_payment_attempt_failed_params.rbi | 2 +- ...port_payment_attempt_guaranteed_params.rbi | 2 +- ...t_payment_attempt_informational_params.rbi | 8 +- ...t_record_report_payment_attempt_params.rbi | 18 +- .../payment_record_report_payment_params.rbi | 26 +- .../payment_record_report_refund_params.rbi | 113 + .../params/payment_record_retrieve_params.rbi | 2 +- rbi/stripe/params/payout_cancel_params.rbi | 2 +- rbi/stripe/params/payout_create_params.rbi | 2 +- rbi/stripe/params/payout_list_params.rbi | 6 +- rbi/stripe/params/payout_retrieve_params.rbi | 2 +- rbi/stripe/params/payout_reverse_params.rbi | 2 +- rbi/stripe/params/payout_update_params.rbi | 2 +- rbi/stripe/params/plan_create_params.rbi | 8 +- rbi/stripe/params/plan_delete_params.rbi | 2 +- rbi/stripe/params/plan_list_params.rbi | 4 +- rbi/stripe/params/plan_retrieve_params.rbi | 2 +- rbi/stripe/params/plan_update_params.rbi | 2 +- rbi/stripe/params/price_create_params.rbi | 18 +- rbi/stripe/params/price_list_params.rbi | 6 +- rbi/stripe/params/price_retrieve_params.rbi | 2 +- rbi/stripe/params/price_search_params.rbi | 2 +- rbi/stripe/params/price_update_params.rbi | 10 +- .../privacy/redaction_job_cancel_params.rbi | 2 +- .../privacy/redaction_job_create_params.rbi | 4 +- .../privacy/redaction_job_list_params.rbi | 2 +- .../privacy/redaction_job_retrieve_params.rbi | 2 +- .../privacy/redaction_job_run_params.rbi | 2 +- .../privacy/redaction_job_update_params.rbi | 2 +- .../privacy/redaction_job_validate_params.rbi | 2 +- ...ction_job_validation_error_list_params.rbi | 2 +- rbi/stripe/params/product_create_params.rbi | 18 +- rbi/stripe/params/product_delete_params.rbi | 2 +- .../params/product_feature_create_params.rbi | 2 +- .../params/product_feature_delete_params.rbi | 2 +- .../params/product_feature_list_params.rbi | 2 +- .../product_feature_retrieve_params.rbi | 2 +- rbi/stripe/params/product_list_params.rbi | 4 +- rbi/stripe/params/product_retrieve_params.rbi | 2 +- rbi/stripe/params/product_search_params.rbi | 2 +- rbi/stripe/params/product_update_params.rbi | 6 +- .../params/promotion_code_create_params.rbi | 8 +- .../params/promotion_code_list_params.rbi | 4 +- .../params/promotion_code_retrieve_params.rbi | 2 +- .../params/promotion_code_update_params.rbi | 6 +- rbi/stripe/params/quote_accept_params.rbi | 2 +- rbi/stripe/params/quote_cancel_params.rbi | 2 +- ...omputed_upfront_line_items_list_params.rbi | 2 +- rbi/stripe/params/quote_create_params.rbi | 126 +- .../params/quote_finalize_quote_params.rbi | 2 +- .../params/quote_line_item_list_params.rbi | 2 +- rbi/stripe/params/quote_line_list_params.rbi | 2 +- ...ist_computed_upfront_line_items_params.rbi | 2 +- .../params/quote_list_line_items_params.rbi | 2 +- rbi/stripe/params/quote_list_lines_params.rbi | 2 +- rbi/stripe/params/quote_list_params.rbi | 2 +- ...uote_list_preview_invoice_lines_params.rbi | 2 +- rbi/stripe/params/quote_mark_draft_params.rbi | 2 +- rbi/stripe/params/quote_mark_stale_params.rbi | 2 +- rbi/stripe/params/quote_pdf_params.rbi | 2 +- .../quote_preview_invoice_list_params.rbi | 2 +- ...view_subscription_schedule_list_params.rbi | 2 +- rbi/stripe/params/quote_reestimate_params.rbi | 2 +- rbi/stripe/params/quote_retrieve_params.rbi | 2 +- rbi/stripe/params/quote_update_params.rbi | 120 +- .../radar/early_fraud_warning_list_params.rbi | 4 +- .../early_fraud_warning_retrieve_params.rbi | 2 +- .../params/radar/value_list_create_params.rbi | 2 +- .../params/radar/value_list_delete_params.rbi | 2 +- .../radar/value_list_item_create_params.rbi | 2 +- .../radar/value_list_item_delete_params.rbi | 2 +- .../radar/value_list_item_list_params.rbi | 4 +- .../radar/value_list_item_retrieve_params.rbi | 2 +- .../params/radar/value_list_list_params.rbi | 4 +- .../radar/value_list_retrieve_params.rbi | 2 +- .../params/radar/value_list_update_params.rbi | 2 +- rbi/stripe/params/refund_cancel_params.rbi | 2 +- rbi/stripe/params/refund_create_params.rbi | 2 +- rbi/stripe/params/refund_expire_params.rbi | 2 +- rbi/stripe/params/refund_list_params.rbi | 4 +- rbi/stripe/params/refund_retrieve_params.rbi | 2 +- rbi/stripe/params/refund_update_params.rbi | 2 +- .../reporting/report_run_create_params.rbi | 4 +- .../reporting/report_run_list_params.rbi | 4 +- .../reporting/report_run_retrieve_params.rbi | 2 +- .../reporting/report_type_list_params.rbi | 2 +- .../reporting/report_type_retrieve_params.rbi | 2 +- rbi/stripe/params/review_approve_params.rbi | 2 +- rbi/stripe/params/review_list_params.rbi | 4 +- rbi/stripe/params/review_retrieve_params.rbi | 2 +- .../params/setup_attempt_list_params.rbi | 4 +- .../params/setup_intent_cancel_params.rbi | 2 +- .../params/setup_intent_confirm_params.rbi | 196 +- .../params/setup_intent_create_params.rbi | 210 +- .../params/setup_intent_list_params.rbi | 4 +- .../params/setup_intent_retrieve_params.rbi | 2 +- .../params/setup_intent_update_params.rbi | 198 +- ...tup_intent_verify_microdeposits_params.rbi | 2 +- .../params/shipping_rate_create_params.rbi | 12 +- .../params/shipping_rate_list_params.rbi | 4 +- .../params/shipping_rate_retrieve_params.rbi | 2 +- .../params/shipping_rate_update_params.rbi | 6 +- .../sigma/scheduled_query_run_list_params.rbi | 2 +- .../scheduled_query_run_retrieve_params.rbi | 2 +- rbi/stripe/params/source_create_params.rbi | 26 +- rbi/stripe/params/source_detach_params.rbi | 2 +- rbi/stripe/params/source_retrieve_params.rbi | 2 +- .../params/source_transaction_list_params.rbi | 2 +- rbi/stripe/params/source_update_params.rbi | 22 +- rbi/stripe/params/source_verify_params.rbi | 2 +- .../subscription_attach_cadence_params.rbi | 2 +- .../params/subscription_cancel_params.rbi | 4 +- .../params/subscription_create_params.rbi | 114 +- .../subscription_delete_discount_params.rbi | 2 +- .../subscription_item_create_params.rbi | 16 +- .../subscription_item_delete_params.rbi | 2 +- .../params/subscription_item_list_params.rbi | 2 +- .../subscription_item_retrieve_params.rbi | 2 +- .../subscription_item_update_params.rbi | 14 +- .../params/subscription_list_params.rbi | 10 +- .../params/subscription_migrate_params.rbi | 6 +- .../params/subscription_resume_params.rbi | 2 +- .../params/subscription_retrieve_params.rbi | 2 +- .../subscription_schedule_amend_params.rbi | 74 +- .../subscription_schedule_cancel_params.rbi | 2 +- .../subscription_schedule_create_params.rbi | 82 +- .../subscription_schedule_list_params.rbi | 10 +- .../subscription_schedule_release_params.rbi | 2 +- .../subscription_schedule_retrieve_params.rbi | 2 +- .../subscription_schedule_update_params.rbi | 78 +- .../params/subscription_search_params.rbi | 2 +- .../params/subscription_update_params.rbi | 110 +- .../params/tax/association_find_params.rbi | 2 +- .../params/tax/calculation_create_params.rbi | 16 +- .../tax/calculation_line_item_list_params.rbi | 2 +- .../calculation_list_line_items_params.rbi | 2 +- .../tax/calculation_retrieve_params.rbi | 2 +- rbi/stripe/params/tax/form_list_params.rbi | 4 +- rbi/stripe/params/tax/form_pdf_params.rbi | 2 +- .../params/tax/form_retrieve_params.rbi | 2 +- .../params/tax/registration_create_params.rbi | 326 +- .../params/tax/registration_list_params.rbi | 2 +- .../tax/registration_retrieve_params.rbi | 2 +- .../params/tax/registration_update_params.rbi | 2 +- .../params/tax/settings_retrieve_params.rbi | 2 +- .../params/tax/settings_update_params.rbi | 8 +- ...saction_create_from_calculation_params.rbi | 2 +- .../transaction_create_reversal_params.rbi | 6 +- .../tax/transaction_line_item_list_params.rbi | 2 +- .../transaction_list_line_items_params.rbi | 2 +- .../tax/transaction_retrieve_params.rbi | 2 +- rbi/stripe/params/tax_code_list_params.rbi | 2 +- .../params/tax_code_retrieve_params.rbi | 2 +- rbi/stripe/params/tax_id_create_params.rbi | 4 +- rbi/stripe/params/tax_id_delete_params.rbi | 2 +- rbi/stripe/params/tax_id_list_params.rbi | 4 +- rbi/stripe/params/tax_id_retrieve_params.rbi | 2 +- rbi/stripe/params/tax_rate_create_params.rbi | 2 +- rbi/stripe/params/tax_rate_list_params.rbi | 4 +- .../params/tax_rate_retrieve_params.rbi | 2 +- rbi/stripe/params/tax_rate_update_params.rbi | 2 +- .../terminal/configuration_create_params.rbi | 103 +- .../terminal/configuration_delete_params.rbi | 2 +- .../terminal/configuration_list_params.rbi | 2 +- .../configuration_retrieve_params.rbi | 2 +- .../terminal/configuration_update_params.rbi | 103 +- .../connection_token_create_params.rbi | 2 +- .../terminal/location_create_params.rbi | 8 +- .../terminal/location_delete_params.rbi | 2 +- .../params/terminal/location_list_params.rbi | 2 +- .../terminal/location_retrieve_params.rbi | 2 +- .../terminal/location_update_params.rbi | 8 +- .../onboarding_link_create_params.rbi | 6 +- .../terminal/reader_cancel_action_params.rbi | 2 +- .../terminal/reader_collect_inputs_params.rbi | 26 +- .../reader_collect_payment_method_params.rbi | 10 +- .../reader_collected_data_retrieve_params.rbi | 2 +- .../reader_confirm_payment_intent_params.rbi | 8 +- .../params/terminal/reader_create_params.rbi | 2 +- .../params/terminal/reader_delete_params.rbi | 2 +- .../params/terminal/reader_list_params.rbi | 2 +- .../reader_present_payment_method_params.rbi | 10 +- .../reader_process_payment_intent_params.rbi | 10 +- .../reader_process_setup_intent_params.rbi | 8 +- .../terminal/reader_refund_payment_params.rbi | 6 +- .../terminal/reader_retrieve_params.rbi | 2 +- .../reader_set_reader_display_params.rbi | 18 +- ...reader_succeed_input_collection_params.rbi | 2 +- ...reader_timeout_input_collection_params.rbi | 2 +- .../params/terminal/reader_update_params.rbi | 2 +- .../confirmation_token_create_params.rbi | 140 +- .../customer_fund_cash_balance_params.rbi | 2 +- .../issuing/authorization_capture_params.rbi | 26 +- .../issuing/authorization_create_params.rbi | 34 +- .../issuing/authorization_expire_params.rbi | 2 +- .../authorization_finalize_amount_params.rbi | 16 +- .../authorization_increment_params.rbi | 2 +- .../issuing/authorization_respond_params.rbi | 2 +- .../issuing/authorization_reverse_params.rbi | 2 +- .../issuing/card_deliver_card_params.rbi | 2 +- .../issuing/card_fail_card_params.rbi | 2 +- .../issuing/card_return_card_params.rbi | 2 +- .../issuing/card_ship_card_params.rbi | 2 +- .../issuing/card_submit_card_params.rbi | 2 +- ...personalization_design_activate_params.rbi | 2 +- ...rsonalization_design_deactivate_params.rbi | 2 +- .../personalization_design_reject_params.rbi | 4 +- ...ransaction_create_force_capture_params.rbi | 28 +- ...nsaction_create_unlinked_refund_params.rbi | 28 +- .../issuing/transaction_refund_params.rbi | 2 +- .../test_helpers/refund_expire_params.rbi | 2 +- .../reader_present_payment_method_params.rbi | 10 +- ...reader_succeed_input_collection_params.rbi | 2 +- ...reader_timeout_input_collection_params.rbi | 2 +- .../test_clock_advance_params.rbi | 2 +- .../test_helpers/test_clock_create_params.rbi | 2 +- .../test_helpers/test_clock_delete_params.rbi | 2 +- .../test_helpers/test_clock_list_params.rbi | 2 +- .../test_clock_retrieve_params.rbi | 2 +- .../treasury/inbound_transfer_fail_params.rbi | 4 +- ...ransfer_return_inbound_transfer_params.rbi | 2 +- .../inbound_transfer_succeed_params.rbi | 2 +- .../treasury/outbound_payment_fail_params.rbi | 2 +- .../treasury/outbound_payment_post_params.rbi | 2 +- ...payment_return_outbound_payment_params.rbi | 4 +- .../outbound_payment_update_params.rbi | 8 +- .../outbound_transfer_fail_params.rbi | 2 +- .../outbound_transfer_post_params.rbi | 2 +- ...ansfer_return_outbound_transfer_params.rbi | 4 +- .../outbound_transfer_update_params.rbi | 8 +- .../received_credit_create_params.rbi | 10 +- .../treasury/received_debit_create_params.rbi | 10 +- rbi/stripe/params/token_create_params.rbi | 121 +- rbi/stripe/params/token_retrieve_params.rbi | 2 +- rbi/stripe/params/topup_cancel_params.rbi | 2 +- rbi/stripe/params/topup_create_params.rbi | 2 +- rbi/stripe/params/topup_list_params.rbi | 6 +- rbi/stripe/params/topup_retrieve_params.rbi | 2 +- rbi/stripe/params/topup_update_params.rbi | 2 +- rbi/stripe/params/transfer_create_params.rbi | 2 +- rbi/stripe/params/transfer_list_params.rbi | 4 +- .../params/transfer_retrieve_params.rbi | 2 +- .../transfer_reversal_create_params.rbi | 2 +- .../params/transfer_reversal_list_params.rbi | 2 +- .../transfer_reversal_retrieve_params.rbi | 2 +- .../transfer_reversal_update_params.rbi | 2 +- rbi/stripe/params/transfer_update_params.rbi | 2 +- .../credit_reversal_create_params.rbi | 2 +- .../treasury/credit_reversal_list_params.rbi | 2 +- .../credit_reversal_retrieve_params.rbi | 2 +- .../treasury/debit_reversal_create_params.rbi | 2 +- .../treasury/debit_reversal_list_params.rbi | 2 +- .../debit_reversal_retrieve_params.rbi | 2 +- .../financial_account_close_params.rbi | 4 +- .../financial_account_create_params.rbi | 32 +- ...ncial_account_features_retrieve_params.rbi | 2 +- ...nancial_account_features_update_params.rbi | 28 +- .../financial_account_list_params.rbi | 4 +- ...ncial_account_retrieve_features_params.rbi | 2 +- .../financial_account_retrieve_params.rbi | 2 +- ...nancial_account_update_features_params.rbi | 28 +- .../financial_account_update_params.rbi | 34 +- .../inbound_transfer_cancel_params.rbi | 2 +- .../inbound_transfer_create_params.rbi | 2 +- .../treasury/inbound_transfer_fail_params.rbi | 4 +- .../treasury/inbound_transfer_list_params.rbi | 2 +- .../inbound_transfer_retrieve_params.rbi | 2 +- ...ransfer_return_inbound_transfer_params.rbi | 2 +- .../inbound_transfer_succeed_params.rbi | 2 +- .../outbound_payment_cancel_params.rbi | 2 +- .../outbound_payment_create_params.rbi | 16 +- .../treasury/outbound_payment_fail_params.rbi | 2 +- .../treasury/outbound_payment_list_params.rbi | 4 +- .../treasury/outbound_payment_post_params.rbi | 2 +- .../outbound_payment_retrieve_params.rbi | 2 +- ...payment_return_outbound_payment_params.rbi | 4 +- .../outbound_payment_update_params.rbi | 8 +- .../outbound_transfer_cancel_params.rbi | 2 +- .../outbound_transfer_create_params.rbi | 12 +- .../outbound_transfer_fail_params.rbi | 2 +- .../outbound_transfer_list_params.rbi | 2 +- .../outbound_transfer_post_params.rbi | 2 +- .../outbound_transfer_retrieve_params.rbi | 2 +- ...ansfer_return_outbound_transfer_params.rbi | 4 +- .../outbound_transfer_update_params.rbi | 8 +- .../received_credit_create_params.rbi | 10 +- .../treasury/received_credit_list_params.rbi | 4 +- .../received_credit_retrieve_params.rbi | 2 +- .../treasury/received_debit_create_params.rbi | 10 +- .../treasury/received_debit_list_params.rbi | 2 +- .../received_debit_retrieve_params.rbi | 2 +- .../transaction_entry_list_params.rbi | 6 +- .../transaction_entry_retrieve_params.rbi | 2 +- .../treasury/transaction_list_params.rbi | 8 +- .../treasury/transaction_retrieve_params.rbi | 2 +- .../v2/billing/bill_setting_create_params.rbi | 10 +- .../v2/billing/bill_setting_list_params.rbi | 2 +- .../billing/bill_setting_retrieve_params.rbi | 2 +- .../v2/billing/bill_setting_update_params.rbi | 10 +- .../bill_settings/version_list_params.rbi | 2 +- .../bill_settings/version_retrieve_params.rbi | 2 +- .../v2/billing/cadence_cancel_params.rbi | 2 +- .../v2/billing/cadence_create_params.rbi | 28 +- .../params/v2/billing/cadence_list_params.rbi | 4 +- .../v2/billing/cadence_retrieve_params.rbi | 2 +- .../v2/billing/cadence_update_params.rbi | 10 +- .../collection_setting_create_params.rbi | 30 +- .../collection_setting_list_params.rbi | 2 +- .../collection_setting_retrieve_params.rbi | 2 +- .../collection_setting_update_params.rbi | 30 +- .../version_list_params.rbi | 2 +- .../version_retrieve_params.rbi | 2 +- .../meter_event_adjustment_create_params.rbi | 4 +- .../v2/billing/meter_event_create_params.rbi | 2 +- .../meter_event_session_create_params.rbi | 2 +- .../meter_event_stream_create_params.rbi | 4 +- .../v2/billing/profile_create_params.rbi | 2 +- .../params/v2/billing/profile_list_params.rbi | 2 +- .../v2/billing/profile_retrieve_params.rbi | 2 +- .../v2/billing/profile_update_params.rbi | 2 +- .../params/v2/core/account_close_params.rbi | 2 +- .../params/v2/core/account_create_params.rbi | 298 +- .../v2/core/account_link_create_params.rbi | 12 +- .../params/v2/core/account_list_params.rbi | 2 +- .../v2/core/account_retrieve_params.rbi | 2 +- .../params/v2/core/account_update_params.rbi | 298 +- .../v2/core/accounts/person_create_params.rbi | 46 +- .../v2/core/accounts/person_delete_params.rbi | 2 +- .../v2/core/accounts/person_list_params.rbi | 2 +- .../core/accounts/person_retrieve_params.rbi | 2 +- .../v2/core/accounts/person_update_params.rbi | 46 +- .../core/event_destination_create_params.rbi | 6 +- .../core/event_destination_delete_params.rbi | 2 +- .../core/event_destination_disable_params.rbi | 2 +- .../core/event_destination_enable_params.rbi | 2 +- .../v2/core/event_destination_list_params.rbi | 2 +- .../v2/core/event_destination_ping_params.rbi | 2 +- .../event_destination_retrieve_params.rbi | 2 +- .../core/event_destination_update_params.rbi | 4 +- .../params/v2/core/event_list_params.rbi | 2 +- .../params/v2/core/event_retrieve_params.rbi | 2 +- ...knowledge_confirmation_of_payee_params.rbi | 2 +- .../vault/gb_bank_account_archive_params.rbi | 2 +- .../vault/gb_bank_account_create_params.rbi | 4 +- ..._initiate_confirmation_of_payee_params.rbi | 2 +- .../vault/gb_bank_account_retrieve_params.rbi | 2 +- .../vault/us_bank_account_archive_params.rbi | 2 +- .../vault/us_bank_account_create_params.rbi | 2 +- .../vault/us_bank_account_retrieve_params.rbi | 2 +- .../vault/us_bank_account_update_params.rbi | 2 +- .../adjustment_list_params.rbi | 2 +- .../adjustment_retrieve_params.rbi | 2 +- .../financial_account_close_params.rbi | 4 +- .../financial_account_create_params.rbi | 4 +- .../financial_account_list_params.rbi | 2 +- .../financial_account_retrieve_params.rbi | 2 +- .../financial_address_create_params.rbi | 2 +- .../financial_address_list_params.rbi | 2 +- .../financial_address_retrieve_params.rbi | 2 +- .../inbound_transfer_create_params.rbi | 12 +- .../inbound_transfer_list_params.rbi | 2 +- .../inbound_transfer_retrieve_params.rbi | 2 +- .../outbound_payment_cancel_params.rbi | 2 +- .../outbound_payment_create_params.rbi | 16 +- .../outbound_payment_list_params.rbi | 2 +- .../outbound_payment_quote_create_params.rbi | 14 +- ...outbound_payment_quote_retrieve_params.rbi | 2 +- .../outbound_payment_retrieve_params.rbi | 2 +- .../outbound_setup_intent_cancel_params.rbi | 2 +- .../outbound_setup_intent_create_params.rbi | 8 +- .../outbound_setup_intent_list_params.rbi | 2 +- .../outbound_setup_intent_retrieve_params.rbi | 2 +- .../outbound_setup_intent_update_params.rbi | 8 +- .../outbound_transfer_cancel_params.rbi | 2 +- .../outbound_transfer_create_params.rbi | 14 +- .../outbound_transfer_list_params.rbi | 2 +- .../outbound_transfer_retrieve_params.rbi | 2 +- .../payout_method_archive_params.rbi | 2 +- .../payout_method_list_params.rbi | 4 +- .../payout_method_retrieve_params.rbi | 2 +- .../payout_method_unarchive_params.rbi | 2 +- ...hods_bank_account_spec_retrieve_params.rbi | 2 +- .../received_credit_list_params.rbi | 2 +- .../received_credit_retrieve_params.rbi | 2 +- .../received_debit_list_params.rbi | 2 +- .../received_debit_retrieve_params.rbi | 2 +- .../transaction_entry_list_params.rbi | 2 +- .../transaction_entry_retrieve_params.rbi | 2 +- .../transaction_list_params.rbi | 2 +- .../transaction_retrieve_params.rbi | 2 +- .../off_session_payment_cancel_params.rbi | 2 +- .../off_session_payment_capture_params.rbi | 4 +- .../off_session_payment_create_params.rbi | 30 +- .../off_session_payment_list_params.rbi | 2 +- .../off_session_payment_retrieve_params.rbi | 2 +- .../financial_address_credit_params.rbi | 8 +- ..._address_generate_microdeposits_params.rbi | 2 +- .../params/webhook_endpoint_create_params.rbi | 2 +- .../params/webhook_endpoint_delete_params.rbi | 2 +- .../params/webhook_endpoint_list_params.rbi | 2 +- .../webhook_endpoint_retrieve_params.rbi | 2 +- .../params/webhook_endpoint_update_params.rbi | 2 +- rbi/stripe/resources/account.rbi | 151 +- rbi/stripe/resources/account_link.rbi | 2 +- rbi/stripe/resources/account_notice.rbi | 8 +- rbi/stripe/resources/account_session.rbi | 92 +- rbi/stripe/resources/apple_pay_domain.rbi | 8 +- rbi/stripe/resources/application_fee.rbi | 16 +- .../resources/application_fee_refund.rbi | 4 +- rbi/stripe/resources/apps/secret.rbi | 10 +- rbi/stripe/resources/balance.rbi | 36 +- rbi/stripe/resources/balance_settings.rbi | 8 +- rbi/stripe/resources/balance_transaction.rbi | 6 +- rbi/stripe/resources/bank_account.rbi | 12 +- rbi/stripe/resources/billing/alert.rbi | 24 +- .../resources/billing/alert_triggered.rbi | 2 +- .../billing/analytics/meter_usage.rbi | 2 +- .../billing/credit_balance_summary.rbi | 12 +- .../billing/credit_balance_transaction.rbi | 26 +- rbi/stripe/resources/billing/credit_grant.rbi | 28 +- rbi/stripe/resources/billing/meter.rbi | 22 +- rbi/stripe/resources/billing/meter_event.rbi | 2 +- .../billing/meter_event_adjustment.rbi | 4 +- .../billing_portal/configuration.rbi | 34 +- .../resources/billing_portal/session.rbi | 26 +- rbi/stripe/resources/capability.rbi | 14 +- .../resources/capital/financing_offer.rbi | 10 +- .../resources/capital/financing_summary.rbi | 4 +- .../capital/financing_transaction.rbi | 6 +- rbi/stripe/resources/card.rbi | 6 +- rbi/stripe/resources/cash_balance.rbi | 2 +- rbi/stripe/resources/charge.rbi | 289 +- rbi/stripe/resources/checkout/session.rbi | 293 +- rbi/stripe/resources/climate/order.rbi | 20 +- rbi/stripe/resources/climate/product.rbi | 6 +- rbi/stripe/resources/climate/supplier.rbi | 4 +- rbi/stripe/resources/confirmation_token.rbi | 212 +- .../resources/connect_collection_transfer.rbi | 2 +- rbi/stripe/resources/country_spec.rbi | 8 +- rbi/stripe/resources/coupon.rbi | 16 +- rbi/stripe/resources/credit_note.rbi | 70 +- .../resources/credit_note_line_item.rbi | 18 +- rbi/stripe/resources/customer.rbi | 62 +- .../customer_balance_transaction.rbi | 8 +- .../customer_cash_balance_transaction.rbi | 36 +- rbi/stripe/resources/customer_session.rbi | 14 +- rbi/stripe/resources/discount.rbi | 8 +- rbi/stripe/resources/dispute.rbi | 68 +- .../entitlements/active_entitlement.rbi | 4 +- .../active_entitlement_summary.rbi | 2 +- rbi/stripe/resources/entitlements/feature.rbi | 6 +- rbi/stripe/resources/ephemeral_key.rbi | 4 +- rbi/stripe/resources/event.rbi | 14 +- rbi/stripe/resources/exchange_rate.rbi | 2 +- rbi/stripe/resources/file.rbi | 6 +- rbi/stripe/resources/file_link.rbi | 8 +- .../financial_connections/account.rbi | 46 +- .../account_ownership.rbi | 2 +- .../financial_connections/institution.rbi | 12 +- .../financial_connections/session.rbi | 20 +- .../financial_connections/transaction.rbi | 4 +- rbi/stripe/resources/forwarding/request.rbi | 14 +- rbi/stripe/resources/funding_instructions.rbi | 40 +- rbi/stripe/resources/fx_quote.rbi | 14 +- .../identity/verification_report.rbi | 38 +- .../identity/verification_session.rbi | 42 +- rbi/stripe/resources/invoice.rbi | 208 +- rbi/stripe/resources/invoice_item.rbi | 38 +- rbi/stripe/resources/invoice_line_item.rbi | 50 +- rbi/stripe/resources/invoice_payment.rbi | 14 +- .../resources/invoice_rendering_template.rbi | 10 +- .../resources/issuing/authorization.rbi | 60 +- rbi/stripe/resources/issuing/card.rbi | 34 +- rbi/stripe/resources/issuing/cardholder.rbi | 34 +- .../issuing/credit_underwriting_record.rbi | 30 +- rbi/stripe/resources/issuing/dispute.rbi | 56 +- .../issuing/dispute_settlement_detail.rbi | 4 +- .../issuing/fraud_liability_debit.rbi | 4 +- .../issuing/personalization_design.rbi | 16 +- .../resources/issuing/physical_bundle.rbi | 4 +- rbi/stripe/resources/issuing/token.rbi | 18 +- rbi/stripe/resources/issuing/transaction.rbi | 50 +- rbi/stripe/resources/line_item.rbi | 18 +- rbi/stripe/resources/mandate.rbi | 52 +- rbi/stripe/resources/margin.rbi | 6 +- rbi/stripe/resources/order.rbi | 120 +- .../resources/payment_attempt_record.rbi | 223 +- rbi/stripe/resources/payment_intent.rbi | 384 +- ...ayment_intent_amount_details_line_item.rbi | 12 +- rbi/stripe/resources/payment_link.rbi | 149 +- rbi/stripe/resources/payment_method.rbi | 210 +- .../payment_method_configuration.rbi | 302 +- .../resources/payment_method_domain.rbi | 34 +- rbi/stripe/resources/payment_record.rbi | 257 +- rbi/stripe/resources/payout.rbi | 32 +- rbi/stripe/resources/person.rbi | 48 +- rbi/stripe/resources/plan.rbi | 16 +- rbi/stripe/resources/price.rbi | 28 +- .../resources/privacy/redaction_job.rbi | 20 +- .../redaction_job_validation_error.rbi | 2 +- rbi/stripe/resources/product.rbi | 22 +- rbi/stripe/resources/product_feature.rbi | 2 +- rbi/stripe/resources/promotion_code.rbi | 16 +- rbi/stripe/resources/quote.rbi | 196 +- rbi/stripe/resources/quote_line.rbi | 96 +- .../resources/quote_preview_invoice.rbi | 158 +- .../quote_preview_subscription_schedule.rbi | 138 +- .../resources/radar/early_fraud_warning.rbi | 6 +- rbi/stripe/resources/radar/value_list.rbi | 12 +- .../resources/radar/value_list_item.rbi | 8 +- rbi/stripe/resources/refund.rbi | 98 +- rbi/stripe/resources/reporting/report_run.rbi | 8 +- .../resources/reporting/report_type.rbi | 2 +- rbi/stripe/resources/reversal.rbi | 8 +- rbi/stripe/resources/review.rbi | 14 +- rbi/stripe/resources/setup_attempt.rbi | 100 +- rbi/stripe/resources/setup_intent.rbi | 107 +- rbi/stripe/resources/shipping_rate.rbi | 18 +- .../resources/sigma/scheduled_query_run.rbi | 6 +- rbi/stripe/resources/source.rbi | 68 +- .../resources/source_mandate_notification.rbi | 8 +- rbi/stripe/resources/source_transaction.rbi | 10 +- rbi/stripe/resources/subscription.rbi | 152 +- rbi/stripe/resources/subscription_item.rbi | 22 +- .../resources/subscription_schedule.rbi | 154 +- rbi/stripe/resources/tax/association.rbi | 8 +- rbi/stripe/resources/tax/calculation.rbi | 32 +- .../resources/tax/calculation_line_item.rbi | 6 +- rbi/stripe/resources/tax/form.rbi | 28 +- rbi/stripe/resources/tax/registration.rbi | 286 +- rbi/stripe/resources/tax/settings.rbi | 12 +- rbi/stripe/resources/tax/transaction.rbi | 30 +- .../resources/tax/transaction_line_item.rbi | 2 +- rbi/stripe/resources/tax_code.rbi | 2 +- rbi/stripe/resources/tax_id.rbi | 20 +- rbi/stripe/resources/tax_rate.rbi | 8 +- .../resources/terminal/configuration.rbi | 105 +- .../resources/terminal/connection_token.rbi | 2 +- rbi/stripe/resources/terminal/location.rbi | 16 +- .../resources/terminal/onboarding_link.rbi | 6 +- rbi/stripe/resources/terminal/reader.rbi | 167 +- .../terminal/reader_collected_data.rbi | 2 +- .../resources/test_helpers/test_clock.rbi | 16 +- rbi/stripe/resources/token.rbi | 6 +- rbi/stripe/resources/topup.rbi | 14 +- rbi/stripe/resources/transfer.rbi | 16 +- .../resources/treasury/credit_reversal.rbi | 8 +- .../resources/treasury/debit_reversal.rbi | 10 +- .../resources/treasury/financial_account.rbi | 32 +- .../treasury/financial_account_features.rbi | 44 +- .../resources/treasury/inbound_transfer.rbi | 26 +- .../resources/treasury/outbound_payment.rbi | 36 +- .../resources/treasury/outbound_transfer.rbi | 38 +- .../resources/treasury/received_credit.rbi | 32 +- .../resources/treasury/received_debit.rbi | 22 +- rbi/stripe/resources/treasury/transaction.rbi | 26 +- .../resources/treasury/transaction_entry.rbi | 24 +- .../resources/v2/billing/bill_setting.rbi | 8 +- .../v2/billing/bill_setting_version.rbi | 8 +- rbi/stripe/resources/v2/billing/cadence.rbi | 68 +- .../v2/billing/collection_setting.rbi | 28 +- .../v2/billing/collection_setting_version.rbi | 28 +- .../v2/billing/meter_event_adjustment.rbi | 2 +- rbi/stripe/resources/v2/core/account.rbi | 444 +- rbi/stripe/resources/v2/core/account_link.rbi | 10 +- .../resources/v2/core/account_person.rbi | 44 +- rbi/stripe/resources/v2/core/event.rbi | 4 +- .../resources/v2/core/event_destination.rbi | 8 +- .../v2/core/vault/gb_bank_account.rbi | 8 +- ...ancial_address_generated_microdeposits.rbi | 2 +- .../v2/money_management/adjustment.rbi | 4 +- .../v2/money_management/financial_account.rbi | 18 +- .../v2/money_management/financial_address.rbi | 8 +- .../v2/money_management/inbound_transfer.rbi | 18 +- .../v2/money_management/outbound_payment.rbi | 24 +- .../outbound_payment_quote.rbi | 20 +- .../outbound_setup_intent.rbi | 6 +- .../v2/money_management/outbound_transfer.rbi | 22 +- .../v2/money_management/payout_method.rbi | 6 +- .../payout_methods_bank_account_spec.rbi | 6 +- .../v2/money_management/received_credit.rbi | 20 +- .../v2/money_management/received_debit.rbi | 12 +- .../v2/money_management/transaction.rbi | 14 +- .../v2/money_management/transaction_entry.rbi | 12 +- .../v2/payments/off_session_payment.rbi | 22 +- rbi/stripe/resources/webhook_endpoint.rbi | 10 +- .../services/account_capability_service.rbi | 6 +- .../account_external_account_service.rbi | 10 +- rbi/stripe/services/account_link_service.rbi | 2 +- .../services/account_login_link_service.rbi | 2 +- .../services/account_notice_service.rbi | 6 +- .../services/account_person_service.rbi | 10 +- rbi/stripe/services/account_service.rbi | 14 +- .../services/account_session_service.rbi | 2 +- .../services/apple_pay_domain_service.rbi | 8 +- .../application_fee_refund_service.rbi | 8 +- .../services/application_fee_service.rbi | 4 +- rbi/stripe/services/apps/secret_service.rbi | 8 +- rbi/stripe/services/balance_service.rbi | 2 +- .../services/balance_settings_service.rbi | 4 +- .../services/balance_transaction_service.rbi | 4 +- rbi/stripe/services/billing/alert_service.rbi | 12 +- .../billing/analytics/meter_usage_service.rbi | 2 +- .../credit_balance_summary_service.rbi | 2 +- .../credit_balance_transaction_service.rbi | 4 +- .../services/billing/credit_grant_service.rbi | 12 +- .../meter_event_adjustment_service.rbi | 2 +- .../services/billing/meter_event_service.rbi | 2 +- .../billing/meter_event_summary_service.rbi | 2 +- rbi/stripe/services/billing/meter_service.rbi | 12 +- .../billing_portal/configuration_service.rbi | 8 +- .../billing_portal/session_service.rbi | 2 +- .../capital/financing_offer_service.rbi | 6 +- .../capital/financing_summary_service.rbi | 2 +- .../capital/financing_transaction_service.rbi | 4 +- rbi/stripe/services/charge_service.rbi | 12 +- .../checkout/session_line_item_service.rbi | 2 +- .../services/checkout/session_service.rbi | 10 +- rbi/stripe/services/climate/order_service.rbi | 10 +- .../services/climate/product_service.rbi | 4 +- .../services/climate/supplier_service.rbi | 4 +- .../services/confirmation_token_service.rbi | 2 +- rbi/stripe/services/country_spec_service.rbi | 4 +- rbi/stripe/services/coupon_service.rbi | 10 +- .../credit_note_line_item_service.rbi | 2 +- .../credit_note_preview_lines_service.rbi | 2 +- rbi/stripe/services/credit_note_service.rbi | 12 +- .../customer_balance_transaction_service.rbi | 8 +- .../customer_cash_balance_service.rbi | 4 +- ...tomer_cash_balance_transaction_service.rbi | 4 +- .../customer_funding_instructions_service.rbi | 2 +- .../customer_payment_method_service.rbi | 4 +- .../customer_payment_source_service.rbi | 12 +- rbi/stripe/services/customer_service.rbi | 14 +- .../services/customer_session_service.rbi | 2 +- .../services/customer_tax_id_service.rbi | 8 +- rbi/stripe/services/dispute_service.rbi | 8 +- .../active_entitlement_service.rbi | 4 +- .../services/entitlements/feature_service.rbi | 8 +- rbi/stripe/services/ephemeral_key_service.rbi | 4 +- rbi/stripe/services/event_service.rbi | 4 +- rbi/stripe/services/exchange_rate_service.rbi | 4 +- .../services/external_account_service.rbi | 10 +- rbi/stripe/services/file_link_service.rbi | 8 +- rbi/stripe/services/file_service.rbi | 6 +- .../account_inferred_balance_service.rbi | 2 +- .../account_owner_service.rbi | 2 +- .../financial_connections/account_service.rbi | 12 +- .../institution_service.rbi | 4 +- .../financial_connections/session_service.rbi | 4 +- .../transaction_service.rbi | 4 +- .../services/forwarding/request_service.rbi | 6 +- rbi/stripe/services/fx_quote_service.rbi | 6 +- .../identity/verification_report_service.rbi | 4 +- .../identity/verification_session_service.rbi | 12 +- rbi/stripe/services/invoice_item_service.rbi | 10 +- .../services/invoice_line_item_service.rbi | 4 +- .../services/invoice_payment_service.rbi | 4 +- .../invoice_rendering_template_service.rbi | 8 +- rbi/stripe/services/invoice_service.rbi | 32 +- .../issuing/authorization_service.rbi | 10 +- rbi/stripe/services/issuing/card_service.rbi | 8 +- .../services/issuing/cardholder_service.rbi | 8 +- .../credit_underwriting_record_service.rbi | 12 +- .../services/issuing/dispute_service.rbi | 10 +- .../dispute_settlement_detail_service.rbi | 4 +- .../issuing/fraud_liability_debit_service.rbi | 4 +- .../personalization_design_service.rbi | 8 +- .../issuing/physical_bundle_service.rbi | 4 +- rbi/stripe/services/issuing/token_service.rbi | 6 +- .../services/issuing/transaction_service.rbi | 6 +- rbi/stripe/services/mandate_service.rbi | 4 +- rbi/stripe/services/margin_service.rbi | 8 +- .../services/order_line_item_service.rbi | 2 +- rbi/stripe/services/order_service.rbi | 14 +- .../payment_attempt_record_service.rbi | 4 +- ...ntent_amount_details_line_item_service.rbi | 2 +- .../services/payment_intent_service.rbi | 26 +- .../payment_link_line_item_service.rbi | 2 +- rbi/stripe/services/payment_link_service.rbi | 8 +- .../payment_method_configuration_service.rbi | 8 +- .../payment_method_domain_service.rbi | 10 +- .../services/payment_method_service.rbi | 12 +- .../services/payment_record_service.rbi | 21 +- rbi/stripe/services/payout_service.rbi | 14 +- rbi/stripe/services/plan_service.rbi | 10 +- rbi/stripe/services/price_service.rbi | 10 +- .../privacy/redaction_job_service.rbi | 14 +- ...redaction_job_validation_error_service.rbi | 2 +- .../services/product_feature_service.rbi | 8 +- rbi/stripe/services/product_service.rbi | 12 +- .../services/promotion_code_service.rbi | 8 +- ...te_computed_upfront_line_items_service.rbi | 2 +- .../services/quote_line_item_service.rbi | 2 +- rbi/stripe/services/quote_line_service.rbi | 2 +- .../quote_preview_invoice_service.rbi | 2 +- ..._preview_subscription_schedule_service.rbi | 2 +- rbi/stripe/services/quote_service.rbi | 22 +- .../radar/early_fraud_warning_service.rbi | 4 +- .../radar/value_list_item_service.rbi | 8 +- .../services/radar/value_list_service.rbi | 10 +- rbi/stripe/services/refund_service.rbi | 10 +- .../services/reporting/report_run_service.rbi | 6 +- .../reporting/report_type_service.rbi | 4 +- rbi/stripe/services/review_service.rbi | 6 +- rbi/stripe/services/setup_attempt_service.rbi | 2 +- rbi/stripe/services/setup_intent_service.rbi | 14 +- rbi/stripe/services/shipping_rate_service.rbi | 8 +- .../sigma/scheduled_query_run_service.rbi | 4 +- rbi/stripe/services/source_service.rbi | 10 +- .../services/source_transaction_service.rbi | 2 +- .../services/subscription_item_service.rbi | 10 +- .../subscription_schedule_service.rbi | 14 +- rbi/stripe/services/subscription_service.rbi | 20 +- .../services/tax/association_service.rbi | 2 +- .../tax/calculation_line_item_service.rbi | 2 +- .../services/tax/calculation_service.rbi | 4 +- rbi/stripe/services/tax/form_service.rbi | 4 +- .../services/tax/registration_service.rbi | 8 +- rbi/stripe/services/tax/settings_service.rbi | 4 +- .../tax/transaction_line_item_service.rbi | 2 +- .../services/tax/transaction_service.rbi | 6 +- rbi/stripe/services/tax_code_service.rbi | 4 +- rbi/stripe/services/tax_id_service.rbi | 8 +- rbi/stripe/services/tax_rate_service.rbi | 8 +- .../terminal/configuration_service.rbi | 10 +- .../terminal/connection_token_service.rbi | 2 +- .../services/terminal/location_service.rbi | 10 +- .../terminal/onboarding_link_service.rbi | 2 +- .../reader_collected_data_service.rbi | 2 +- .../services/terminal/reader_service.rbi | 42 +- .../confirmation_token_service.rbi | 2 +- .../test_helpers/customer_service.rbi | 2 +- .../issuing/authorization_service.rbi | 14 +- .../test_helpers/issuing/card_service.rbi | 10 +- .../personalization_design_service.rbi | 6 +- .../issuing/transaction_service.rbi | 6 +- .../services/test_helpers/refund_service.rbi | 2 +- .../test_helpers/terminal/reader_service.rbi | 6 +- .../test_helpers/test_clock_service.rbi | 10 +- .../treasury/inbound_transfer_service.rbi | 6 +- .../treasury/outbound_payment_service.rbi | 8 +- .../treasury/outbound_transfer_service.rbi | 8 +- .../treasury/received_credit_service.rbi | 2 +- .../treasury/received_debit_service.rbi | 2 +- rbi/stripe/services/token_service.rbi | 4 +- rbi/stripe/services/topup_service.rbi | 10 +- .../services/transfer_reversal_service.rbi | 8 +- rbi/stripe/services/transfer_service.rbi | 8 +- .../treasury/credit_reversal_service.rbi | 6 +- .../treasury/debit_reversal_service.rbi | 6 +- .../financial_account_features_service.rbi | 4 +- .../treasury/financial_account_service.rbi | 10 +- .../treasury/inbound_transfer_service.rbi | 8 +- .../treasury/outbound_payment_service.rbi | 8 +- .../treasury/outbound_transfer_service.rbi | 8 +- .../treasury/received_credit_service.rbi | 4 +- .../treasury/received_debit_service.rbi | 4 +- .../treasury/transaction_entry_service.rbi | 4 +- .../services/treasury/transaction_service.rbi | 4 +- .../v2/billing/bill_setting_service.rbi | 8 +- .../billing/bill_settings/version_service.rbi | 4 +- .../services/v2/billing/cadence_service.rbi | 10 +- .../v2/billing/collection_setting_service.rbi | 8 +- .../collection_settings/version_service.rbi | 4 +- .../meter_event_adjustment_service.rbi | 2 +- .../v2/billing/meter_event_service.rbi | 2 +- .../billing/meter_event_session_service.rbi | 2 +- .../services/v2/billing/profile_service.rbi | 8 +- .../services/v2/core/account_link_service.rbi | 2 +- .../services/v2/core/account_service.rbi | 10 +- .../v2/core/accounts/person_service.rbi | 10 +- .../v2/core/event_destination_service.rbi | 16 +- rbi/stripe/services/v2/core/event_service.rbi | 4 +- .../v2/core/vault/gb_bank_account_service.rbi | 10 +- .../v2/core/vault/us_bank_account_service.rbi | 8 +- .../money_management/adjustment_service.rbi | 4 +- .../financial_account_service.rbi | 8 +- .../financial_address_service.rbi | 6 +- .../inbound_transfer_service.rbi | 6 +- .../outbound_payment_quote_service.rbi | 4 +- .../outbound_payment_service.rbi | 8 +- .../outbound_setup_intent_service.rbi | 10 +- .../outbound_transfer_service.rbi | 8 +- .../payout_method_service.rbi | 8 +- ...yout_methods_bank_account_spec_service.rbi | 2 +- .../received_credit_service.rbi | 4 +- .../received_debit_service.rbi | 4 +- .../transaction_entry_service.rbi | 4 +- .../money_management/transaction_service.rbi | 4 +- .../payments/off_session_payment_service.rbi | 10 +- .../financial_address_service.rbi | 4 +- .../services/webhook_endpoint_service.rbi | 10 +- 2075 files changed, 29089 insertions(+), 26674 deletions(-) delete mode 100644 lib/stripe/events/v2_billing_bill_setting_updated_event.rb create mode 100644 lib/stripe/params/payment_record_report_refund_params.rb create mode 100644 rbi/stripe/params/payment_record_report_refund_params.rbi diff --git a/API_VERSION b/API_VERSION index ab54b76b3..5dfc08cca 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -2025-09-30.preview \ No newline at end of file +ba149b24c66b147d536610f6a5d0b1baf0d4070a \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index f0bb0d526..9c91a64a2 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2028 \ No newline at end of file +v2063 \ No newline at end of file diff --git a/lib/stripe/event_types.rb b/lib/stripe/event_types.rb index 2750faa04..052799dab 100644 --- a/lib/stripe/event_types.rb +++ b/lib/stripe/event_types.rb @@ -8,7 +8,6 @@ def self.v2_event_types_to_classes Events::V1BillingMeterErrorReportTriggeredEvent.lookup_type => Events::V1BillingMeterErrorReportTriggeredEvent, Events::V1BillingMeterNoMeterFoundEvent.lookup_type => Events::V1BillingMeterNoMeterFoundEvent, - Events::V2BillingBillSettingUpdatedEvent.lookup_type => Events::V2BillingBillSettingUpdatedEvent, Events::V2CoreAccountClosedEvent.lookup_type => Events::V2CoreAccountClosedEvent, Events::V2CoreAccountCreatedEvent.lookup_type => Events::V2CoreAccountCreatedEvent, Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.lookup_type => @@ -134,8 +133,6 @@ def self.event_notification_types_to_classes Events::V1BillingMeterErrorReportTriggeredEventNotification, Events::V1BillingMeterNoMeterFoundEventNotification.lookup_type => Events::V1BillingMeterNoMeterFoundEventNotification, - Events::V2BillingBillSettingUpdatedEventNotification.lookup_type => - Events::V2BillingBillSettingUpdatedEventNotification, Events::V2CoreAccountClosedEventNotification.lookup_type => Events::V2CoreAccountClosedEventNotification, Events::V2CoreAccountCreatedEventNotification.lookup_type => diff --git a/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb b/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb index 450480dd3..b19391881 100644 --- a/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +++ b/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb @@ -9,11 +9,11 @@ def self.lookup_type "v1.billing.meter.error_report_triggered" end - class V1BillingMeterErrorReportTriggeredEventData < Stripe::StripeObject - class Reason < Stripe::StripeObject - class ErrorType < Stripe::StripeObject - class SampleError < Stripe::StripeObject - class Request < Stripe::StripeObject + class V1BillingMeterErrorReportTriggeredEventData < ::Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class ErrorType < ::Stripe::StripeObject + class SampleError < ::Stripe::StripeObject + class Request < ::Stripe::StripeObject # The request idempotency key. attr_reader :identifier diff --git a/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb b/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb index 4e671dc72..fdbf96524 100644 --- a/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +++ b/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb @@ -9,11 +9,11 @@ def self.lookup_type "v1.billing.meter.no_meter_found" end - class V1BillingMeterNoMeterFoundEventData < Stripe::StripeObject - class Reason < Stripe::StripeObject - class ErrorType < Stripe::StripeObject - class SampleError < Stripe::StripeObject - class Request < Stripe::StripeObject + class V1BillingMeterNoMeterFoundEventData < ::Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class ErrorType < ::Stripe::StripeObject + class SampleError < ::Stripe::StripeObject + class Request < ::Stripe::StripeObject # The request idempotency key. attr_reader :identifier diff --git a/lib/stripe/events/v2_billing_bill_setting_updated_event.rb b/lib/stripe/events/v2_billing_bill_setting_updated_event.rb deleted file mode 100644 index 2a8072ae2..000000000 --- a/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +++ /dev/null @@ -1,61 +0,0 @@ -# File generated from our OpenAPI spec -# frozen_string_literal: true - -module Stripe - module Events - # This event occurs when a bill setting is updated. - class V2BillingBillSettingUpdatedEvent < Stripe::V2::Core::Event - def self.lookup_type - "v2.billing.bill_setting.updated" - end - - class V2BillingBillSettingUpdatedEventData < Stripe::StripeObject - # Timestamp of when the object was updated. - attr_reader :updated - - def self.inner_class_types - @inner_class_types = {} - end - - def self.field_remappings - @field_remappings = {} - end - end - - def self.inner_class_types - @inner_class_types = { data: V2BillingBillSettingUpdatedEventData } - end - attr_reader :data, :related_object - - # Retrieves the related object from the API. Makes an API request on every call. - def fetch_related_object - _request( - method: :get, - path: related_object.url, - base_address: :api, - opts: { stripe_context: context } - ) - end - end - - # This event occurs when a bill setting is updated. - class V2BillingBillSettingUpdatedEventNotification < Stripe::V2::Core::EventNotification - def self.lookup_type - "v2.billing.bill_setting.updated" - end - - attr_reader :related_object - - # Retrieves the BillSetting related to this EventNotification from the Stripe API. Makes an API request on every call. - def fetch_related_object - resp = @client.raw_request( - :get, - related_object.url, - opts: { stripe_context: context }, - usage: ["fetch_related_object"] - ) - @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url)) - end - end - end -end diff --git a/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb b/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb index 4010f6c39..250c5ef33 100644 --- a/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +++ b/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account[configuration.customer].capability_status_updated" end - class V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventData < Stripe::StripeObject + class V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventData < ::Stripe::StripeObject # Open Enum. The capability which had its status updated. attr_reader :updated_capability diff --git a/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb b/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb index aecb7fa40..9c735ded5 100644 --- a/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +++ b/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account[configuration.merchant].capability_status_updated" end - class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData < Stripe::StripeObject + class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData < ::Stripe::StripeObject # Open Enum. The capability which had its status updated. attr_reader :updated_capability diff --git a/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb b/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb index e9fb18e7f..ec8cc0b42 100644 --- a/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +++ b/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account[configuration.recipient].capability_status_updated" end - class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData < Stripe::StripeObject + class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData < ::Stripe::StripeObject # Open Enum. The capability which had its status updated. attr_reader :updated_capability diff --git a/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb b/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb index 2dfbcb9a2..2c42a23e5 100644 --- a/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +++ b/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account[configuration.storer].capability_status_updated" end - class V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventData < Stripe::StripeObject + class V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventData < ::Stripe::StripeObject # Open Enum. The capability which had its status updated. attr_reader :updated_capability diff --git a/lib/stripe/events/v2_core_account_link_returned_event.rb b/lib/stripe/events/v2_core_account_link_returned_event.rb index bf042eec3..01678b443 100644 --- a/lib/stripe/events/v2_core_account_link_returned_event.rb +++ b/lib/stripe/events/v2_core_account_link_returned_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account_link.returned" end - class V2CoreAccountLinkReturnedEventData < Stripe::StripeObject + class V2CoreAccountLinkReturnedEventData < ::Stripe::StripeObject # Open Enum. The use case type of the account link that has been completed. attr_reader :use_case # The ID of the v2 account. diff --git a/lib/stripe/events/v2_core_account_person_created_event.rb b/lib/stripe/events/v2_core_account_person_created_event.rb index 9ba10c981..ff7bc4f89 100644 --- a/lib/stripe/events/v2_core_account_person_created_event.rb +++ b/lib/stripe/events/v2_core_account_person_created_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account_person.created" end - class V2CoreAccountPersonCreatedEventData < Stripe::StripeObject + class V2CoreAccountPersonCreatedEventData < ::Stripe::StripeObject # The ID of the v2 account. attr_reader :account_id diff --git a/lib/stripe/events/v2_core_account_person_deleted_event.rb b/lib/stripe/events/v2_core_account_person_deleted_event.rb index a9c90a45b..8b429c72c 100644 --- a/lib/stripe/events/v2_core_account_person_deleted_event.rb +++ b/lib/stripe/events/v2_core_account_person_deleted_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account_person.deleted" end - class V2CoreAccountPersonDeletedEventData < Stripe::StripeObject + class V2CoreAccountPersonDeletedEventData < ::Stripe::StripeObject # The ID of the v2 account. attr_reader :account_id diff --git a/lib/stripe/events/v2_core_account_person_updated_event.rb b/lib/stripe/events/v2_core_account_person_updated_event.rb index 89f38fac6..6996dbdb1 100644 --- a/lib/stripe/events/v2_core_account_person_updated_event.rb +++ b/lib/stripe/events/v2_core_account_person_updated_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.core.account_person.updated" end - class V2CoreAccountPersonUpdatedEventData < Stripe::StripeObject + class V2CoreAccountPersonUpdatedEventData < ::Stripe::StripeObject # The ID of the v2 account. attr_reader :account_id diff --git a/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb b/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb index 064bab5e5..65a7575f8 100644 --- a/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +++ b/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.money_management.inbound_transfer.available" end - class V2MoneyManagementInboundTransferAvailableEventData < Stripe::StripeObject + class V2MoneyManagementInboundTransferAvailableEventData < ::Stripe::StripeObject # The transaction ID of the received credit. attr_reader :transaction_id diff --git a/lib/stripe/events/v2_money_management_received_credit_available_event.rb b/lib/stripe/events/v2_money_management_received_credit_available_event.rb index 6382b1c05..08a3aa684 100644 --- a/lib/stripe/events/v2_money_management_received_credit_available_event.rb +++ b/lib/stripe/events/v2_money_management_received_credit_available_event.rb @@ -9,7 +9,7 @@ def self.lookup_type "v2.money_management.received_credit.available" end - class V2MoneyManagementReceivedCreditAvailableEventData < Stripe::StripeObject + class V2MoneyManagementReceivedCreditAvailableEventData < ::Stripe::StripeObject # The transaction ID of the received credit. attr_reader :transaction_id diff --git a/lib/stripe/params.rb b/lib/stripe/params.rb index 30f991be9..a4371de81 100644 --- a/lib/stripe/params.rb +++ b/lib/stripe/params.rb @@ -359,6 +359,7 @@ require "stripe/params/payment_record_report_payment_attempt_informational_params" require "stripe/params/payment_record_report_payment_attempt_params" require "stripe/params/payment_record_report_payment_params" +require "stripe/params/payment_record_report_refund_params" require "stripe/params/payment_record_retrieve_params" require "stripe/params/payout_cancel_params" require "stripe/params/payout_create_params" diff --git a/lib/stripe/params/account_capability_list_params.rb b/lib/stripe/params/account_capability_list_params.rb index ae7a0b01d..085751b39 100644 --- a/lib/stripe/params/account_capability_list_params.rb +++ b/lib/stripe/params/account_capability_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountCapabilityListParams < Stripe::RequestParams + class AccountCapabilityListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_capability_retrieve_params.rb b/lib/stripe/params/account_capability_retrieve_params.rb index dad6951b8..b3db97b7b 100644 --- a/lib/stripe/params/account_capability_retrieve_params.rb +++ b/lib/stripe/params/account_capability_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountCapabilityRetrieveParams < Stripe::RequestParams + class AccountCapabilityRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_capability_update_params.rb b/lib/stripe/params/account_capability_update_params.rb index ffd309ada..459fe7648 100644 --- a/lib/stripe/params/account_capability_update_params.rb +++ b/lib/stripe/params/account_capability_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountCapabilityUpdateParams < Stripe::RequestParams + class AccountCapabilityUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays. diff --git a/lib/stripe/params/account_create_params.rb b/lib/stripe/params/account_create_params.rb index 975e4b823..dced7913e 100644 --- a/lib/stripe/params/account_create_params.rb +++ b/lib/stripe/params/account_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object. @@ -38,8 +38,8 @@ def initialize( end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -54,7 +54,7 @@ def initialize(amount: nil, currency: nil, fiscal_year_end: nil) end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -66,7 +66,7 @@ def initialize(amount: nil, currency: nil) end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -150,8 +150,8 @@ def initialize( end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -160,7 +160,7 @@ def initialize(requested: nil) end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -169,7 +169,7 @@ def initialize(requested: nil) end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -178,7 +178,7 @@ def initialize(requested: nil) end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -187,7 +187,7 @@ def initialize(requested: nil) end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -196,7 +196,7 @@ def initialize(requested: nil) end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -205,7 +205,7 @@ def initialize(requested: nil) end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -214,7 +214,7 @@ def initialize(requested: nil) end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -223,7 +223,7 @@ def initialize(requested: nil) end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -232,7 +232,7 @@ def initialize(requested: nil) end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -241,7 +241,7 @@ def initialize(requested: nil) end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -250,7 +250,7 @@ def initialize(requested: nil) end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -259,7 +259,7 @@ def initialize(requested: nil) end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -268,7 +268,7 @@ def initialize(requested: nil) end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -277,7 +277,7 @@ def initialize(requested: nil) end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -286,7 +286,7 @@ def initialize(requested: nil) end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -295,7 +295,7 @@ def initialize(requested: nil) end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -304,7 +304,7 @@ def initialize(requested: nil) end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -313,7 +313,7 @@ def initialize(requested: nil) end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -322,7 +322,7 @@ def initialize(requested: nil) end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -331,7 +331,7 @@ def initialize(requested: nil) end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -340,7 +340,7 @@ def initialize(requested: nil) end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -349,7 +349,7 @@ def initialize(requested: nil) end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -358,7 +358,7 @@ def initialize(requested: nil) end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -367,7 +367,7 @@ def initialize(requested: nil) end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -376,7 +376,7 @@ def initialize(requested: nil) end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -385,7 +385,7 @@ def initialize(requested: nil) end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -394,7 +394,7 @@ def initialize(requested: nil) end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -403,7 +403,7 @@ def initialize(requested: nil) end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -412,7 +412,7 @@ def initialize(requested: nil) end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -421,7 +421,7 @@ def initialize(requested: nil) end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -430,7 +430,7 @@ def initialize(requested: nil) end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -439,7 +439,7 @@ def initialize(requested: nil) end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -448,7 +448,7 @@ def initialize(requested: nil) end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -457,7 +457,7 @@ def initialize(requested: nil) end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -466,7 +466,7 @@ def initialize(requested: nil) end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -475,7 +475,7 @@ def initialize(requested: nil) end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -484,7 +484,7 @@ def initialize(requested: nil) end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -493,7 +493,7 @@ def initialize(requested: nil) end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -502,7 +502,7 @@ def initialize(requested: nil) end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -511,7 +511,7 @@ def initialize(requested: nil) end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -520,7 +520,7 @@ def initialize(requested: nil) end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -529,7 +529,7 @@ def initialize(requested: nil) end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -538,7 +538,7 @@ def initialize(requested: nil) end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -547,7 +547,7 @@ def initialize(requested: nil) end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -556,7 +556,7 @@ def initialize(requested: nil) end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -565,7 +565,7 @@ def initialize(requested: nil) end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -574,7 +574,7 @@ def initialize(requested: nil) end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -583,7 +583,7 @@ def initialize(requested: nil) end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -592,7 +592,7 @@ def initialize(requested: nil) end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -601,7 +601,7 @@ def initialize(requested: nil) end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -610,7 +610,7 @@ def initialize(requested: nil) end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -619,7 +619,7 @@ def initialize(requested: nil) end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -628,7 +628,7 @@ def initialize(requested: nil) end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -637,7 +637,7 @@ def initialize(requested: nil) end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -646,7 +646,7 @@ def initialize(requested: nil) end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -655,7 +655,7 @@ def initialize(requested: nil) end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -664,7 +664,7 @@ def initialize(requested: nil) end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -673,7 +673,7 @@ def initialize(requested: nil) end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -682,7 +682,7 @@ def initialize(requested: nil) end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -691,7 +691,7 @@ def initialize(requested: nil) end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -700,7 +700,7 @@ def initialize(requested: nil) end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -709,7 +709,7 @@ def initialize(requested: nil) end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -718,7 +718,7 @@ def initialize(requested: nil) end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -727,7 +727,7 @@ def initialize(requested: nil) end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -736,7 +736,7 @@ def initialize(requested: nil) end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -745,7 +745,7 @@ def initialize(requested: nil) end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -754,7 +754,7 @@ def initialize(requested: nil) end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -763,7 +763,7 @@ def initialize(requested: nil) end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -772,7 +772,7 @@ def initialize(requested: nil) end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -781,7 +781,7 @@ def initialize(requested: nil) end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -790,7 +790,7 @@ def initialize(requested: nil) end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -799,7 +799,7 @@ def initialize(requested: nil) end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -808,7 +808,7 @@ def initialize(requested: nil) end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -1118,7 +1118,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field address_city @@ -1185,7 +1185,7 @@ def initialize( end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field currency @@ -1200,8 +1200,8 @@ def initialize(object: nil, currency: nil, token: nil) end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1232,7 +1232,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1267,7 +1267,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1302,7 +1302,7 @@ def initialize( end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. attr_accessor :date # The IP address from which the directorship declaration attestation was made. @@ -1317,7 +1317,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. attr_accessor :date # The IP address from which the beneficial owner attestation was made. @@ -1332,7 +1332,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. attr_accessor :day # The month of registration, between 1 and 12. @@ -1347,8 +1347,23 @@ def initialize(day: nil, month: nil, year: nil) end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + attr_accessor :date + # The IP address from which the representative declaration attestation was made. + attr_accessor :ip + # The user agent of the browser from which the representative declaration attestation was made. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1400,6 +1415,8 @@ def initialize(document: nil) attr_accessor :registration_date # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). attr_accessor :registration_number + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_accessor :representative_declaration # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. attr_accessor :structure # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) @@ -1429,6 +1446,7 @@ def initialize( phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -1452,6 +1470,7 @@ def initialize( @phone = phone @registration_date = registration_date @registration_number = registration_number + @representative_declaration = representative_declaration @structure = structure @tax_id = tax_id @tax_id_registrar = tax_id_registrar @@ -1460,8 +1479,8 @@ def initialize( end end - class Controller < Stripe::RequestParams - class Application < Stripe::RequestParams + class Controller < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). attr_accessor :loss_liable # Whether the controller owns onboarding for this account. @@ -1476,7 +1495,7 @@ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil) end end - class Dashboard < Stripe::RequestParams + class Dashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. attr_accessor :type @@ -1485,7 +1504,7 @@ def initialize(type: nil) end end - class Fees < Stripe::RequestParams + class Fees < ::Stripe::RequestParams # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). attr_accessor :payer @@ -1494,7 +1513,7 @@ def initialize(payer: nil) end end - class Losses < Stripe::RequestParams + class Losses < ::Stripe::RequestParams # A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`. attr_accessor :payments @@ -1503,7 +1522,7 @@ def initialize(payments: nil) end end - class StripeDashboard < Stripe::RequestParams + class StripeDashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. attr_accessor :type @@ -1541,8 +1560,8 @@ def initialize( end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1551,7 +1570,7 @@ def initialize(files: nil) end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1560,7 +1579,7 @@ def initialize(files: nil) end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1569,7 +1588,7 @@ def initialize(files: nil) end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1578,7 +1597,7 @@ def initialize(files: nil) end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1587,7 +1606,7 @@ def initialize(files: nil) end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1596,7 +1615,7 @@ def initialize(files: nil) end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1605,7 +1624,7 @@ def initialize(files: nil) end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1614,7 +1633,7 @@ def initialize(files: nil) end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1664,7 +1683,7 @@ def initialize( end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. attr_accessor :payments_pricing @@ -1673,8 +1692,8 @@ def initialize(payments_pricing: nil) end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1705,7 +1724,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1740,7 +1759,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1775,7 +1794,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1790,7 +1809,7 @@ def initialize(day: nil, month: nil, year: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1821,7 +1840,7 @@ def initialize( end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. attr_accessor :director # Whether the person has significant responsibility to control, manage, or direct the organization. @@ -1848,8 +1867,8 @@ def initialize( end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1861,7 +1880,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1980,8 +1999,8 @@ def initialize( end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. attr_accessor :pause_requested @@ -1991,7 +2010,7 @@ def initialize(pause_requested: nil) end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. attr_accessor :pause_requested @@ -2011,8 +2030,8 @@ def initialize(charges: nil, payouts: nil) end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. attr_accessor :display_name @@ -2021,7 +2040,7 @@ def initialize(display_name: nil) end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name attr_accessor :account_holder_name # Bank BCA business account number @@ -2033,7 +2052,7 @@ def initialize(account_holder_name: nil, business_account_number: nil) end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. attr_accessor :icon # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. @@ -2051,7 +2070,7 @@ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil) end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. attr_accessor :payout_destination # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts. @@ -2063,8 +2082,8 @@ def initialize(payout_destination: nil, payout_destination_selector: nil) end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -2086,8 +2105,8 @@ def initialize(tos_acceptance: nil) end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_accessor :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -2120,7 +2139,7 @@ def initialize( end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. attr_accessor :hosted_payment_method_save @@ -2129,7 +2148,7 @@ def initialize(hosted_payment_method_save: nil) end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). attr_accessor :statement_descriptor # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). @@ -2148,8 +2167,8 @@ def initialize( end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). attr_accessor :delay_days # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. @@ -2193,7 +2212,7 @@ def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. attr_accessor :consented_to_paperless_delivery @@ -2202,8 +2221,8 @@ def initialize(consented_to_paperless_delivery: nil) end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -2274,7 +2293,7 @@ def initialize( end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. attr_accessor :date # The IP address from which the account representative accepted their service agreement. diff --git a/lib/stripe/params/account_delete_params.rb b/lib/stripe/params/account_delete_params.rb index 0209220b9..0f4de2cf6 100644 --- a/lib/stripe/params/account_delete_params.rb +++ b/lib/stripe/params/account_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class AccountDeleteParams < Stripe::RequestParams; end + class AccountDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/account_external_account_create_params.rb b/lib/stripe/params/account_external_account_create_params.rb index 67b5c2433..9b205c372 100644 --- a/lib/stripe/params/account_external_account_create_params.rb +++ b/lib/stripe/params/account_external_account_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object. @@ -38,7 +38,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field address_city @@ -101,7 +101,7 @@ def initialize( end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field currency diff --git a/lib/stripe/params/account_external_account_delete_params.rb b/lib/stripe/params/account_external_account_delete_params.rb index f77098a6e..ccbd91ef7 100644 --- a/lib/stripe/params/account_external_account_delete_params.rb +++ b/lib/stripe/params/account_external_account_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class AccountExternalAccountDeleteParams < Stripe::RequestParams; end + class AccountExternalAccountDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/account_external_account_list_params.rb b/lib/stripe/params/account_external_account_list_params.rb index cf89c9468..629ef21f2 100644 --- a/lib/stripe/params/account_external_account_list_params.rb +++ b/lib/stripe/params/account_external_account_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountExternalAccountListParams < Stripe::RequestParams + class AccountExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/account_external_account_retrieve_params.rb b/lib/stripe/params/account_external_account_retrieve_params.rb index dfa4bd01e..f7ce7a8c5 100644 --- a/lib/stripe/params/account_external_account_retrieve_params.rb +++ b/lib/stripe/params/account_external_account_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountExternalAccountRetrieveParams < Stripe::RequestParams + class AccountExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_external_account_update_params.rb b/lib/stripe/params/account_external_account_update_params.rb index 4502f65e9..58fe23e50 100644 --- a/lib/stripe/params/account_external_account_update_params.rb +++ b/lib/stripe/params/account_external_account_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class AccountExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class AccountExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files diff --git a/lib/stripe/params/account_link_create_params.rb b/lib/stripe/params/account_link_create_params.rb index 458b2f3b7..fe0f5b85e 100644 --- a/lib/stripe/params/account_link_create_params.rb +++ b/lib/stripe/params/account_link_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountLinkCreateParams < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`. attr_accessor :fields # Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. diff --git a/lib/stripe/params/account_list_params.rb b/lib/stripe/params/account_list_params.rb index a6ca766db..cdaf6d69e 100644 --- a/lib/stripe/params/account_list_params.rb +++ b/lib/stripe/params/account_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/account_login_link_create_params.rb b/lib/stripe/params/account_login_link_create_params.rb index bf9615a88..a851f82f9 100644 --- a/lib/stripe/params/account_login_link_create_params.rb +++ b/lib/stripe/params/account_login_link_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountLoginLinkCreateParams < Stripe::RequestParams + class AccountLoginLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_notice_list_params.rb b/lib/stripe/params/account_notice_list_params.rb index ff818a6eb..0f80b7460 100644 --- a/lib/stripe/params/account_notice_list_params.rb +++ b/lib/stripe/params/account_notice_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountNoticeListParams < Stripe::RequestParams + class AccountNoticeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/account_notice_retrieve_params.rb b/lib/stripe/params/account_notice_retrieve_params.rb index 47e72d98e..aba933901 100644 --- a/lib/stripe/params/account_notice_retrieve_params.rb +++ b/lib/stripe/params/account_notice_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountNoticeRetrieveParams < Stripe::RequestParams + class AccountNoticeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_notice_update_params.rb b/lib/stripe/params/account_notice_update_params.rb index 862fd6c42..d381b5b5f 100644 --- a/lib/stripe/params/account_notice_update_params.rb +++ b/lib/stripe/params/account_notice_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountNoticeUpdateParams < Stripe::RequestParams - class Email < Stripe::RequestParams + class AccountNoticeUpdateParams < ::Stripe::RequestParams + class Email < ::Stripe::RequestParams # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. attr_accessor :plain_text # Email address of the recipient. diff --git a/lib/stripe/params/account_person_create_params.rb b/lib/stripe/params/account_person_create_params.rb index 50c2644ed..d60a9dbd1 100644 --- a/lib/stripe/params/account_person_create_params.rb +++ b/lib/stripe/params/account_person_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class AccountPersonCreateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonCreateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -26,7 +26,7 @@ def initialize(account: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -50,7 +50,7 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -85,7 +85,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -120,7 +120,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -135,8 +135,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -145,7 +145,7 @@ def initialize(files: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -154,7 +154,7 @@ def initialize(files: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -176,7 +176,7 @@ def initialize(company_authorization: nil, passport: nil, visa: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -200,7 +200,7 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. attr_accessor :authorizer # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -239,8 +239,8 @@ def initialize( end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity attr_accessor :ethnicity # Please specify your origin, when other is selected. @@ -252,7 +252,7 @@ def initialize(ethnicity: nil, ethnicity_other: nil) end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. attr_accessor :race # Please specify your race, when other is selected. @@ -277,8 +277,8 @@ def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -290,7 +290,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. diff --git a/lib/stripe/params/account_person_delete_params.rb b/lib/stripe/params/account_person_delete_params.rb index c59095802..45d0d85c4 100644 --- a/lib/stripe/params/account_person_delete_params.rb +++ b/lib/stripe/params/account_person_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class AccountPersonDeleteParams < Stripe::RequestParams; end + class AccountPersonDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/account_person_list_params.rb b/lib/stripe/params/account_person_list_params.rb index 0239a86ec..0f25d5caf 100644 --- a/lib/stripe/params/account_person_list_params.rb +++ b/lib/stripe/params/account_person_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountPersonListParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonListParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. attr_accessor :authorizer # A filter on the list of people returned based on whether these people are directors of the account's company. diff --git a/lib/stripe/params/account_person_retrieve_params.rb b/lib/stripe/params/account_person_retrieve_params.rb index c156c7410..22c9145af 100644 --- a/lib/stripe/params/account_person_retrieve_params.rb +++ b/lib/stripe/params/account_person_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountPersonRetrieveParams < Stripe::RequestParams + class AccountPersonRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_person_update_params.rb b/lib/stripe/params/account_person_update_params.rb index 39effcd1d..880c4cccc 100644 --- a/lib/stripe/params/account_person_update_params.rb +++ b/lib/stripe/params/account_person_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class AccountPersonUpdateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonUpdateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -26,7 +26,7 @@ def initialize(account: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -50,7 +50,7 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -85,7 +85,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -120,7 +120,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -135,8 +135,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -145,7 +145,7 @@ def initialize(files: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -154,7 +154,7 @@ def initialize(files: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -176,7 +176,7 @@ def initialize(company_authorization: nil, passport: nil, visa: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -200,7 +200,7 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. attr_accessor :authorizer # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -239,8 +239,8 @@ def initialize( end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity attr_accessor :ethnicity # Please specify your origin, when other is selected. @@ -252,7 +252,7 @@ def initialize(ethnicity: nil, ethnicity_other: nil) end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. attr_accessor :race # Please specify your race, when other is selected. @@ -277,8 +277,8 @@ def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -290,7 +290,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. diff --git a/lib/stripe/params/account_persons_params.rb b/lib/stripe/params/account_persons_params.rb index 67a52df9b..ed31fe894 100644 --- a/lib/stripe/params/account_persons_params.rb +++ b/lib/stripe/params/account_persons_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountPersonsParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonsParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. attr_accessor :authorizer # A filter on the list of people returned based on whether these people are directors of the account's company. diff --git a/lib/stripe/params/account_reject_params.rb b/lib/stripe/params/account_reject_params.rb index 289a34361..e145ec645 100644 --- a/lib/stripe/params/account_reject_params.rb +++ b/lib/stripe/params/account_reject_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountRejectParams < Stripe::RequestParams + class AccountRejectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`. diff --git a/lib/stripe/params/account_retrieve_current_params.rb b/lib/stripe/params/account_retrieve_current_params.rb index ee5a62928..fc5fc06b6 100644 --- a/lib/stripe/params/account_retrieve_current_params.rb +++ b/lib/stripe/params/account_retrieve_current_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountRetrieveCurrentParams < Stripe::RequestParams + class AccountRetrieveCurrentParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_retrieve_params.rb b/lib/stripe/params/account_retrieve_params.rb index a7c8a84c6..f511c8d0f 100644 --- a/lib/stripe/params/account_retrieve_params.rb +++ b/lib/stripe/params/account_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/account_session_create_params.rb b/lib/stripe/params/account_session_create_params.rb index 8459ce3be..2264c24fc 100644 --- a/lib/stripe/params/account_session_create_params.rb +++ b/lib/stripe/params/account_session_create_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class AccountSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class AccountManagement < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class AccountManagement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -27,8 +27,8 @@ def initialize(enabled: nil, features: nil) end end - class AccountOnboarding < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -50,8 +50,8 @@ def initialize(enabled: nil, features: nil) end end - class AppInstall < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppInstall < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. attr_accessor :allowed_apps @@ -70,8 +70,8 @@ def initialize(enabled: nil, features: nil) end end - class AppViewport < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppViewport < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. attr_accessor :allowed_apps @@ -90,8 +90,8 @@ def initialize(enabled: nil, features: nil) end end - class Balances < Stripe::RequestParams - class Features < Stripe::RequestParams + class Balances < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`. @@ -128,8 +128,8 @@ def initialize(enabled: nil, features: nil) end end - class CapitalFinancing < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancing < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -141,8 +141,8 @@ def initialize(enabled: nil, features: nil) end end - class CapitalFinancingApplication < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingApplication < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -154,8 +154,8 @@ def initialize(enabled: nil, features: nil) end end - class CapitalFinancingPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -167,8 +167,8 @@ def initialize(enabled: nil, features: nil) end end - class CapitalOverview < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalOverview < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -180,8 +180,8 @@ def initialize(enabled: nil, features: nil) end end - class DisputesList < Stripe::RequestParams - class Features < Stripe::RequestParams + class DisputesList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_accessor :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -214,8 +214,8 @@ def initialize(enabled: nil, features: nil) end end - class Documents < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class Documents < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -227,8 +227,8 @@ def initialize(enabled: nil, features: nil) end end - class ExportTaxTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ExportTaxTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -240,8 +240,8 @@ def initialize(enabled: nil, features: nil) end end - class FinancialAccount < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccount < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -274,8 +274,8 @@ def initialize(enabled: nil, features: nil) end end - class FinancialAccountTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccountTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card spend dispute management features. attr_accessor :card_spend_dispute_management @@ -294,8 +294,8 @@ def initialize(enabled: nil, features: nil) end end - class InstantPayoutsPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams + class InstantPayoutsPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -324,8 +324,8 @@ def initialize(enabled: nil, features: nil) end end - class IssuingCard < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCard < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. attr_accessor :card_management # Whether to allow card spend dispute management features. @@ -358,8 +358,8 @@ def initialize(enabled: nil, features: nil) end end - class IssuingCardsList < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCardsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. attr_accessor :card_management # Whether to allow card spend dispute management features. @@ -396,8 +396,8 @@ def initialize(enabled: nil, features: nil) end end - class NotificationBanner < Stripe::RequestParams - class Features < Stripe::RequestParams + class NotificationBanner < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -419,8 +419,8 @@ def initialize(enabled: nil, features: nil) end end - class PaymentDetails < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_accessor :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -453,8 +453,8 @@ def initialize(enabled: nil, features: nil) end end - class PaymentDisputes < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDisputes < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. attr_accessor :destination_on_behalf_of_charge_management # Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default. @@ -483,8 +483,8 @@ def initialize(enabled: nil, features: nil) end end - class PaymentMethodSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PaymentMethodSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -496,8 +496,8 @@ def initialize(enabled: nil, features: nil) end end - class Payments < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_accessor :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -530,8 +530,8 @@ def initialize(enabled: nil, features: nil) end end - class PayoutDetails < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -543,8 +543,8 @@ def initialize(enabled: nil, features: nil) end end - class Payouts < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_accessor :disable_stripe_user_authentication # Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`. @@ -581,8 +581,8 @@ def initialize(enabled: nil, features: nil) end end - class PayoutsList < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -594,8 +594,8 @@ def initialize(enabled: nil, features: nil) end end - class ProductTaxCodeSelector < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ProductTaxCodeSelector < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -607,8 +607,8 @@ def initialize(enabled: nil, features: nil) end end - class Recipients < Stripe::RequestParams - class Features < Stripe::RequestParams + class Recipients < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow sending money. attr_accessor :send_money @@ -627,8 +627,8 @@ def initialize(enabled: nil, features: nil) end end - class ReportingChart < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ReportingChart < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -640,8 +640,8 @@ def initialize(enabled: nil, features: nil) end end - class TaxRegistrations < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxRegistrations < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -653,8 +653,8 @@ def initialize(enabled: nil, features: nil) end end - class TaxSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. @@ -666,8 +666,8 @@ def initialize(enabled: nil, features: nil) end end - class TaxThresholdMonitoring < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxThresholdMonitoring < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. attr_accessor :enabled # An empty list, because this embedded component has no features. diff --git a/lib/stripe/params/account_update_params.rb b/lib/stripe/params/account_update_params.rb index 79f98ff18..ae7d05d65 100644 --- a/lib/stripe/params/account_update_params.rb +++ b/lib/stripe/params/account_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class AccountUpdateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object. @@ -38,8 +38,8 @@ def initialize( end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -54,7 +54,7 @@ def initialize(amount: nil, currency: nil, fiscal_year_end: nil) end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -66,7 +66,7 @@ def initialize(amount: nil, currency: nil) end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -150,8 +150,8 @@ def initialize( end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -160,7 +160,7 @@ def initialize(requested: nil) end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -169,7 +169,7 @@ def initialize(requested: nil) end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -178,7 +178,7 @@ def initialize(requested: nil) end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -187,7 +187,7 @@ def initialize(requested: nil) end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -196,7 +196,7 @@ def initialize(requested: nil) end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -205,7 +205,7 @@ def initialize(requested: nil) end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -214,7 +214,7 @@ def initialize(requested: nil) end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -223,7 +223,7 @@ def initialize(requested: nil) end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -232,7 +232,7 @@ def initialize(requested: nil) end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -241,7 +241,7 @@ def initialize(requested: nil) end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -250,7 +250,7 @@ def initialize(requested: nil) end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -259,7 +259,7 @@ def initialize(requested: nil) end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -268,7 +268,7 @@ def initialize(requested: nil) end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -277,7 +277,7 @@ def initialize(requested: nil) end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -286,7 +286,7 @@ def initialize(requested: nil) end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -295,7 +295,7 @@ def initialize(requested: nil) end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -304,7 +304,7 @@ def initialize(requested: nil) end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -313,7 +313,7 @@ def initialize(requested: nil) end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -322,7 +322,7 @@ def initialize(requested: nil) end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -331,7 +331,7 @@ def initialize(requested: nil) end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -340,7 +340,7 @@ def initialize(requested: nil) end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -349,7 +349,7 @@ def initialize(requested: nil) end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -358,7 +358,7 @@ def initialize(requested: nil) end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -367,7 +367,7 @@ def initialize(requested: nil) end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -376,7 +376,7 @@ def initialize(requested: nil) end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -385,7 +385,7 @@ def initialize(requested: nil) end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -394,7 +394,7 @@ def initialize(requested: nil) end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -403,7 +403,7 @@ def initialize(requested: nil) end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -412,7 +412,7 @@ def initialize(requested: nil) end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -421,7 +421,7 @@ def initialize(requested: nil) end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -430,7 +430,7 @@ def initialize(requested: nil) end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -439,7 +439,7 @@ def initialize(requested: nil) end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -448,7 +448,7 @@ def initialize(requested: nil) end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -457,7 +457,7 @@ def initialize(requested: nil) end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -466,7 +466,7 @@ def initialize(requested: nil) end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -475,7 +475,7 @@ def initialize(requested: nil) end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -484,7 +484,7 @@ def initialize(requested: nil) end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -493,7 +493,7 @@ def initialize(requested: nil) end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -502,7 +502,7 @@ def initialize(requested: nil) end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -511,7 +511,7 @@ def initialize(requested: nil) end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -520,7 +520,7 @@ def initialize(requested: nil) end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -529,7 +529,7 @@ def initialize(requested: nil) end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -538,7 +538,7 @@ def initialize(requested: nil) end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -547,7 +547,7 @@ def initialize(requested: nil) end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -556,7 +556,7 @@ def initialize(requested: nil) end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -565,7 +565,7 @@ def initialize(requested: nil) end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -574,7 +574,7 @@ def initialize(requested: nil) end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -583,7 +583,7 @@ def initialize(requested: nil) end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -592,7 +592,7 @@ def initialize(requested: nil) end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -601,7 +601,7 @@ def initialize(requested: nil) end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -610,7 +610,7 @@ def initialize(requested: nil) end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -619,7 +619,7 @@ def initialize(requested: nil) end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -628,7 +628,7 @@ def initialize(requested: nil) end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -637,7 +637,7 @@ def initialize(requested: nil) end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -646,7 +646,7 @@ def initialize(requested: nil) end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -655,7 +655,7 @@ def initialize(requested: nil) end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -664,7 +664,7 @@ def initialize(requested: nil) end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -673,7 +673,7 @@ def initialize(requested: nil) end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -682,7 +682,7 @@ def initialize(requested: nil) end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -691,7 +691,7 @@ def initialize(requested: nil) end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -700,7 +700,7 @@ def initialize(requested: nil) end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -709,7 +709,7 @@ def initialize(requested: nil) end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -718,7 +718,7 @@ def initialize(requested: nil) end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -727,7 +727,7 @@ def initialize(requested: nil) end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -736,7 +736,7 @@ def initialize(requested: nil) end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -745,7 +745,7 @@ def initialize(requested: nil) end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -754,7 +754,7 @@ def initialize(requested: nil) end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -763,7 +763,7 @@ def initialize(requested: nil) end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -772,7 +772,7 @@ def initialize(requested: nil) end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -781,7 +781,7 @@ def initialize(requested: nil) end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -790,7 +790,7 @@ def initialize(requested: nil) end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -799,7 +799,7 @@ def initialize(requested: nil) end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -808,7 +808,7 @@ def initialize(requested: nil) end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. attr_accessor :requested @@ -1118,7 +1118,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field address_city @@ -1185,7 +1185,7 @@ def initialize( end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field currency @@ -1200,8 +1200,8 @@ def initialize(object: nil, currency: nil, token: nil) end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1232,7 +1232,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1267,7 +1267,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1302,7 +1302,7 @@ def initialize( end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. attr_accessor :date # The IP address from which the directorship declaration attestation was made. @@ -1317,7 +1317,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. attr_accessor :date # The IP address from which the beneficial owner attestation was made. @@ -1332,7 +1332,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. attr_accessor :day # The month of registration, between 1 and 12. @@ -1347,8 +1347,23 @@ def initialize(day: nil, month: nil, year: nil) end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + attr_accessor :date + # The IP address from which the representative declaration attestation was made. + attr_accessor :ip + # The user agent of the browser from which the representative declaration attestation was made. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1400,6 +1415,8 @@ def initialize(document: nil) attr_accessor :registration_date # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). attr_accessor :registration_number + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_accessor :representative_declaration # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. attr_accessor :structure # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) @@ -1429,6 +1446,7 @@ def initialize( phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -1452,6 +1470,7 @@ def initialize( @phone = phone @registration_date = registration_date @registration_number = registration_number + @representative_declaration = representative_declaration @structure = structure @tax_id = tax_id @tax_id_registrar = tax_id_registrar @@ -1460,8 +1479,8 @@ def initialize( end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1470,7 +1489,7 @@ def initialize(files: nil) end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1479,7 +1498,7 @@ def initialize(files: nil) end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1488,7 +1507,7 @@ def initialize(files: nil) end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1497,7 +1516,7 @@ def initialize(files: nil) end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1506,7 +1525,7 @@ def initialize(files: nil) end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1515,7 +1534,7 @@ def initialize(files: nil) end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1524,7 +1543,7 @@ def initialize(files: nil) end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1533,7 +1552,7 @@ def initialize(files: nil) end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -1583,7 +1602,7 @@ def initialize( end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. attr_accessor :payments_pricing @@ -1592,8 +1611,8 @@ def initialize(payments_pricing: nil) end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1624,7 +1643,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1659,7 +1678,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1694,7 +1713,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1709,7 +1728,7 @@ def initialize(day: nil, month: nil, year: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1740,7 +1759,7 @@ def initialize( end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. attr_accessor :director # Whether the person has significant responsibility to control, manage, or direct the organization. @@ -1767,8 +1786,8 @@ def initialize( end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1780,7 +1799,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1899,8 +1918,8 @@ def initialize( end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. attr_accessor :pause_requested @@ -1910,7 +1929,7 @@ def initialize(pause_requested: nil) end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. attr_accessor :pause_requested @@ -1930,8 +1949,8 @@ def initialize(charges: nil, payouts: nil) end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. attr_accessor :display_name @@ -1940,7 +1959,7 @@ def initialize(display_name: nil) end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name attr_accessor :account_holder_name # Bank BCA business account number @@ -1952,7 +1971,7 @@ def initialize(account_holder_name: nil, business_account_number: nil) end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. attr_accessor :icon # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. @@ -1970,7 +1989,7 @@ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil) end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. attr_accessor :payout_destination # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts. @@ -1982,8 +2001,8 @@ def initialize(payout_destination: nil, payout_destination_selector: nil) end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -2005,8 +2024,8 @@ def initialize(tos_acceptance: nil) end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_accessor :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -2039,7 +2058,7 @@ def initialize( end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. attr_accessor :default_account_tax_ids # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. @@ -2051,7 +2070,7 @@ def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil) end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). attr_accessor :statement_descriptor # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). @@ -2070,8 +2089,8 @@ def initialize( end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). attr_accessor :delay_days # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. @@ -2115,7 +2134,7 @@ def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. attr_accessor :consented_to_paperless_delivery @@ -2124,8 +2143,8 @@ def initialize(consented_to_paperless_delivery: nil) end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -2196,7 +2215,7 @@ def initialize( end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. attr_accessor :date # The IP address from which the account representative accepted their service agreement. diff --git a/lib/stripe/params/apple_pay_domain_create_params.rb b/lib/stripe/params/apple_pay_domain_create_params.rb index e607cfe42..1030db3e8 100644 --- a/lib/stripe/params/apple_pay_domain_create_params.rb +++ b/lib/stripe/params/apple_pay_domain_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplePayDomainCreateParams < Stripe::RequestParams + class ApplePayDomainCreateParams < ::Stripe::RequestParams # Attribute for param field domain_name attr_accessor :domain_name # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/apple_pay_domain_delete_params.rb b/lib/stripe/params/apple_pay_domain_delete_params.rb index 8e49ce0bd..c0a514167 100644 --- a/lib/stripe/params/apple_pay_domain_delete_params.rb +++ b/lib/stripe/params/apple_pay_domain_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class ApplePayDomainDeleteParams < Stripe::RequestParams; end + class ApplePayDomainDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/apple_pay_domain_list_params.rb b/lib/stripe/params/apple_pay_domain_list_params.rb index 035a6bc08..1618d31d0 100644 --- a/lib/stripe/params/apple_pay_domain_list_params.rb +++ b/lib/stripe/params/apple_pay_domain_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplePayDomainListParams < Stripe::RequestParams + class ApplePayDomainListParams < ::Stripe::RequestParams # Attribute for param field domain_name attr_accessor :domain_name # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/apple_pay_domain_retrieve_params.rb b/lib/stripe/params/apple_pay_domain_retrieve_params.rb index a432f1c1d..601ebcc5b 100644 --- a/lib/stripe/params/apple_pay_domain_retrieve_params.rb +++ b/lib/stripe/params/apple_pay_domain_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplePayDomainRetrieveParams < Stripe::RequestParams + class ApplePayDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/application_fee_list_params.rb b/lib/stripe/params/application_fee_list_params.rb index 9dec623fb..38d99275a 100644 --- a/lib/stripe/params/application_fee_list_params.rb +++ b/lib/stripe/params/application_fee_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ApplicationFeeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/application_fee_refund_create_params.rb b/lib/stripe/params/application_fee_refund_create_params.rb index 54cc82e59..1cf0fc9ce 100644 --- a/lib/stripe/params/application_fee_refund_create_params.rb +++ b/lib/stripe/params/application_fee_refund_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeRefundCreateParams < Stripe::RequestParams + class ApplicationFeeRefundCreateParams < ::Stripe::RequestParams # A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. attr_accessor :amount # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/application_fee_refund_list_params.rb b/lib/stripe/params/application_fee_refund_list_params.rb index f7c256e9c..ba113aaf8 100644 --- a/lib/stripe/params/application_fee_refund_list_params.rb +++ b/lib/stripe/params/application_fee_refund_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeRefundListParams < Stripe::RequestParams + class ApplicationFeeRefundListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/application_fee_refund_retrieve_params.rb b/lib/stripe/params/application_fee_refund_retrieve_params.rb index 5ba70a26f..6128749e6 100644 --- a/lib/stripe/params/application_fee_refund_retrieve_params.rb +++ b/lib/stripe/params/application_fee_refund_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeRefundRetrieveParams < Stripe::RequestParams + class ApplicationFeeRefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/application_fee_refund_update_params.rb b/lib/stripe/params/application_fee_refund_update_params.rb index 5d213bd54..5d4722432 100644 --- a/lib/stripe/params/application_fee_refund_update_params.rb +++ b/lib/stripe/params/application_fee_refund_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeRefundUpdateParams < Stripe::RequestParams + class ApplicationFeeRefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/application_fee_retrieve_params.rb b/lib/stripe/params/application_fee_retrieve_params.rb index 8544ba963..e9e2f7d79 100644 --- a/lib/stripe/params/application_fee_retrieve_params.rb +++ b/lib/stripe/params/application_fee_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ApplicationFeeRetrieveParams < Stripe::RequestParams + class ApplicationFeeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/apps/secret_create_params.rb b/lib/stripe/params/apps/secret_create_params.rb index cfb6cd7b1..b07fa4bbe 100644 --- a/lib/stripe/params/apps/secret_create_params.rb +++ b/lib/stripe/params/apps/secret_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Apps - class SecretCreateParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretCreateParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. attr_accessor :type # The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`. diff --git a/lib/stripe/params/apps/secret_delete_where_params.rb b/lib/stripe/params/apps/secret_delete_where_params.rb index 465443153..f246a46cd 100644 --- a/lib/stripe/params/apps/secret_delete_where_params.rb +++ b/lib/stripe/params/apps/secret_delete_where_params.rb @@ -3,8 +3,8 @@ module Stripe module Apps - class SecretDeleteWhereParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretDeleteWhereParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. attr_accessor :type # The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`. diff --git a/lib/stripe/params/apps/secret_find_params.rb b/lib/stripe/params/apps/secret_find_params.rb index 6baa78c6d..322f03702 100644 --- a/lib/stripe/params/apps/secret_find_params.rb +++ b/lib/stripe/params/apps/secret_find_params.rb @@ -3,8 +3,8 @@ module Stripe module Apps - class SecretFindParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretFindParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. attr_accessor :type # The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`. diff --git a/lib/stripe/params/apps/secret_list_params.rb b/lib/stripe/params/apps/secret_list_params.rb index f95dbcf7d..c434f681a 100644 --- a/lib/stripe/params/apps/secret_list_params.rb +++ b/lib/stripe/params/apps/secret_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Apps - class SecretListParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretListParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. attr_accessor :type # The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`. diff --git a/lib/stripe/params/balance_retrieve_params.rb b/lib/stripe/params/balance_retrieve_params.rb index ec77dabe9..10eff0f3b 100644 --- a/lib/stripe/params/balance_retrieve_params.rb +++ b/lib/stripe/params/balance_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class BalanceRetrieveParams < Stripe::RequestParams + class BalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/balance_settings_retrieve_params.rb b/lib/stripe/params/balance_settings_retrieve_params.rb index 453371e72..0a8cba694 100644 --- a/lib/stripe/params/balance_settings_retrieve_params.rb +++ b/lib/stripe/params/balance_settings_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class BalanceSettingsRetrieveParams < Stripe::RequestParams + class BalanceSettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/balance_settings_update_params.rb b/lib/stripe/params/balance_settings_update_params.rb index e5adec0ca..9ed21810b 100644 --- a/lib/stripe/params/balance_settings_update_params.rb +++ b/lib/stripe/params/balance_settings_update_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class BalanceSettingsUpdateParams < Stripe::RequestParams - class Payments < Stripe::RequestParams - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class BalanceSettingsUpdateParams < ::Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. attr_accessor :interval # The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`. @@ -33,7 +33,7 @@ def initialize(minimum_balance_by_currency: nil, schedule: nil, statement_descri end end - class SettlementTiming < Stripe::RequestParams + class SettlementTiming < ::Stripe::RequestParams # Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](/connect/manage-payout-schedule). attr_accessor :delay_days_override diff --git a/lib/stripe/params/balance_transaction_list_params.rb b/lib/stripe/params/balance_transaction_list_params.rb index 8f668ef48..d2b78aaf2 100644 --- a/lib/stripe/params/balance_transaction_list_params.rb +++ b/lib/stripe/params/balance_transaction_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class BalanceTransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class BalanceTransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/balance_transaction_retrieve_params.rb b/lib/stripe/params/balance_transaction_retrieve_params.rb index d99059705..7b9634af0 100644 --- a/lib/stripe/params/balance_transaction_retrieve_params.rb +++ b/lib/stripe/params/balance_transaction_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class BalanceTransactionRetrieveParams < Stripe::RequestParams + class BalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/alert_activate_params.rb b/lib/stripe/params/billing/alert_activate_params.rb index f2eaf0b22..dec27e35b 100644 --- a/lib/stripe/params/billing/alert_activate_params.rb +++ b/lib/stripe/params/billing/alert_activate_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class AlertActivateParams < Stripe::RequestParams + class AlertActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/alert_archive_params.rb b/lib/stripe/params/billing/alert_archive_params.rb index 32ec30f6e..3aac388f1 100644 --- a/lib/stripe/params/billing/alert_archive_params.rb +++ b/lib/stripe/params/billing/alert_archive_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class AlertArchiveParams < Stripe::RequestParams + class AlertArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/alert_create_params.rb b/lib/stripe/params/billing/alert_create_params.rb index 2c670f9d4..953174e65 100644 --- a/lib/stripe/params/billing/alert_create_params.rb +++ b/lib/stripe/params/billing/alert_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Billing - class AlertCreateParams < Stripe::RequestParams - class UsageThreshold < Stripe::RequestParams - class Filter < Stripe::RequestParams + class AlertCreateParams < ::Stripe::RequestParams + class UsageThreshold < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams # Limit the scope to this usage alert only to this customer. attr_accessor :customer # What type of filter is being applied to this usage alert. diff --git a/lib/stripe/params/billing/alert_deactivate_params.rb b/lib/stripe/params/billing/alert_deactivate_params.rb index dc17a8953..4200e05f4 100644 --- a/lib/stripe/params/billing/alert_deactivate_params.rb +++ b/lib/stripe/params/billing/alert_deactivate_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class AlertDeactivateParams < Stripe::RequestParams + class AlertDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/alert_list_params.rb b/lib/stripe/params/billing/alert_list_params.rb index 49a867a9b..c812b1b56 100644 --- a/lib/stripe/params/billing/alert_list_params.rb +++ b/lib/stripe/params/billing/alert_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class AlertListParams < Stripe::RequestParams + class AlertListParams < ::Stripe::RequestParams # Filter results to only include this type of alert. attr_accessor :alert_type # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/billing/alert_retrieve_params.rb b/lib/stripe/params/billing/alert_retrieve_params.rb index f6f421ec1..c7dae1c25 100644 --- a/lib/stripe/params/billing/alert_retrieve_params.rb +++ b/lib/stripe/params/billing/alert_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class AlertRetrieveParams < Stripe::RequestParams + class AlertRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb b/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb index 9ab06eeb3..df019fbff 100644 --- a/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +++ b/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb @@ -4,8 +4,8 @@ module Stripe module Billing module Analytics - class MeterUsageRetrieveParams < Stripe::RequestParams - class Meter < Stripe::RequestParams + class MeterUsageRetrieveParams < ::Stripe::RequestParams + class Meter < ::Stripe::RequestParams # Key-value pairs used to filter usage events by meter dimension values. If specified, usage will be filtered for matching usage events. attr_accessor :dimension_filters # List of meter dimension keys to group by. If specified, usage events will be grouped by the given meter dimension key's values. diff --git a/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb b/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb index 3fced0d07..3d2bd7741 100644 --- a/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +++ b/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb @@ -3,10 +3,10 @@ module Stripe module Billing - class CreditBalanceSummaryRetrieveParams < Stripe::RequestParams - class Filter < Stripe::RequestParams - class ApplicabilityScope < Stripe::RequestParams - class Price < Stripe::RequestParams + class CreditBalanceSummaryRetrieveParams < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams + class ApplicabilityScope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. attr_accessor :id diff --git a/lib/stripe/params/billing/credit_balance_transaction_list_params.rb b/lib/stripe/params/billing/credit_balance_transaction_list_params.rb index 81101a810..667d79227 100644 --- a/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +++ b/lib/stripe/params/billing/credit_balance_transaction_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditBalanceTransactionListParams < Stripe::RequestParams + class CreditBalanceTransactionListParams < ::Stripe::RequestParams # The credit grant for which to fetch credit balance transactions. attr_accessor :credit_grant # The customer for which to fetch credit balance transactions. diff --git a/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb b/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb index 82c6fb64f..fe4c65a6b 100644 --- a/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +++ b/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditBalanceTransactionRetrieveParams < Stripe::RequestParams + class CreditBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/credit_grant_create_params.rb b/lib/stripe/params/billing/credit_grant_create_params.rb index 7fc6d497b..71428a5af 100644 --- a/lib/stripe/params/billing/credit_grant_create_params.rb +++ b/lib/stripe/params/billing/credit_grant_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Billing - class CreditGrantCreateParams < Stripe::RequestParams - class Amount < Stripe::RequestParams - class Monetary < Stripe::RequestParams + class CreditGrantCreateParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams + class Monetary < ::Stripe::RequestParams # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter. attr_accessor :currency # A positive integer representing the amount of the credit grant. @@ -27,9 +27,9 @@ def initialize(monetary: nil, type: nil) end end - class ApplicabilityConfig < Stripe::RequestParams - class Scope < Stripe::RequestParams - class Price < Stripe::RequestParams + class ApplicabilityConfig < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. attr_accessor :id @@ -58,7 +58,7 @@ def initialize(scope: nil) attr_accessor :amount # Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. attr_accessor :applicability_config - # The category of this credit grant. + # The category of this credit grant. It defaults to `paid` if not specified. attr_accessor :category # ID of the customer to receive the billing credits. attr_accessor :customer diff --git a/lib/stripe/params/billing/credit_grant_expire_params.rb b/lib/stripe/params/billing/credit_grant_expire_params.rb index ba95d8a22..000b57dcb 100644 --- a/lib/stripe/params/billing/credit_grant_expire_params.rb +++ b/lib/stripe/params/billing/credit_grant_expire_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditGrantExpireParams < Stripe::RequestParams + class CreditGrantExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/credit_grant_list_params.rb b/lib/stripe/params/billing/credit_grant_list_params.rb index c0d0f1248..1f086651c 100644 --- a/lib/stripe/params/billing/credit_grant_list_params.rb +++ b/lib/stripe/params/billing/credit_grant_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditGrantListParams < Stripe::RequestParams + class CreditGrantListParams < ::Stripe::RequestParams # Only return credit grants for this customer. attr_accessor :customer # Only return credit grants for this account. diff --git a/lib/stripe/params/billing/credit_grant_retrieve_params.rb b/lib/stripe/params/billing/credit_grant_retrieve_params.rb index 814aa7c7b..4eb5cb5cd 100644 --- a/lib/stripe/params/billing/credit_grant_retrieve_params.rb +++ b/lib/stripe/params/billing/credit_grant_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditGrantRetrieveParams < Stripe::RequestParams + class CreditGrantRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/credit_grant_update_params.rb b/lib/stripe/params/billing/credit_grant_update_params.rb index 79c081fad..41d142877 100644 --- a/lib/stripe/params/billing/credit_grant_update_params.rb +++ b/lib/stripe/params/billing/credit_grant_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditGrantUpdateParams < Stripe::RequestParams + class CreditGrantUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The time when the billing credits created by this credit grant expire. If set to empty, the billing credits never expire. diff --git a/lib/stripe/params/billing/credit_grant_void_grant_params.rb b/lib/stripe/params/billing/credit_grant_void_grant_params.rb index 22bf5a4d4..d1ed11759 100644 --- a/lib/stripe/params/billing/credit_grant_void_grant_params.rb +++ b/lib/stripe/params/billing/credit_grant_void_grant_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class CreditGrantVoidGrantParams < Stripe::RequestParams + class CreditGrantVoidGrantParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/meter_create_params.rb b/lib/stripe/params/billing/meter_create_params.rb index 4864e1682..a329de014 100644 --- a/lib/stripe/params/billing/meter_create_params.rb +++ b/lib/stripe/params/billing/meter_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Billing - class MeterCreateParams < Stripe::RequestParams - class CustomerMapping < Stripe::RequestParams + class MeterCreateParams < ::Stripe::RequestParams + class CustomerMapping < ::Stripe::RequestParams # The key in the meter event payload to use for mapping the event to a customer. attr_accessor :event_payload_key # The method for mapping a meter event to a customer. Must be `by_id`. @@ -16,7 +16,7 @@ def initialize(event_payload_key: nil, type: nil) end end - class DefaultAggregation < Stripe::RequestParams + class DefaultAggregation < ::Stripe::RequestParams # Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window. attr_accessor :formula @@ -25,7 +25,7 @@ def initialize(formula: nil) end end - class ValueSettings < Stripe::RequestParams + class ValueSettings < ::Stripe::RequestParams # The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a `bytes_used` field, then set the event_payload_key to "bytes_used". attr_accessor :event_payload_key diff --git a/lib/stripe/params/billing/meter_deactivate_params.rb b/lib/stripe/params/billing/meter_deactivate_params.rb index 7ccca6f94..af248be78 100644 --- a/lib/stripe/params/billing/meter_deactivate_params.rb +++ b/lib/stripe/params/billing/meter_deactivate_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterDeactivateParams < Stripe::RequestParams + class MeterDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/meter_event_adjustment_create_params.rb b/lib/stripe/params/billing/meter_event_adjustment_create_params.rb index ad349d43d..343524baf 100644 --- a/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +++ b/lib/stripe/params/billing/meter_event_adjustment_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. attr_accessor :identifier diff --git a/lib/stripe/params/billing/meter_event_create_params.rb b/lib/stripe/params/billing/meter_event_create_params.rb index 613452b06..9374c6ee6 100644 --- a/lib/stripe/params/billing/meter_event_create_params.rb +++ b/lib/stripe/params/billing/meter_event_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. attr_accessor :event_name # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/billing/meter_event_summary_list_params.rb b/lib/stripe/params/billing/meter_event_summary_list_params.rb index 62b6a7434..250cb55bb 100644 --- a/lib/stripe/params/billing/meter_event_summary_list_params.rb +++ b/lib/stripe/params/billing/meter_event_summary_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterEventSummaryListParams < Stripe::RequestParams + class MeterEventSummaryListParams < ::Stripe::RequestParams # The customer for which to fetch event summaries. attr_accessor :customer # The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries. diff --git a/lib/stripe/params/billing/meter_list_params.rb b/lib/stripe/params/billing/meter_list_params.rb index 9ade0ef4c..4c31821f1 100644 --- a/lib/stripe/params/billing/meter_list_params.rb +++ b/lib/stripe/params/billing/meter_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterListParams < Stripe::RequestParams + class MeterListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/billing/meter_reactivate_params.rb b/lib/stripe/params/billing/meter_reactivate_params.rb index 65ce09646..2d862adf9 100644 --- a/lib/stripe/params/billing/meter_reactivate_params.rb +++ b/lib/stripe/params/billing/meter_reactivate_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterReactivateParams < Stripe::RequestParams + class MeterReactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/meter_retrieve_params.rb b/lib/stripe/params/billing/meter_retrieve_params.rb index a64ac4223..18605a9fc 100644 --- a/lib/stripe/params/billing/meter_retrieve_params.rb +++ b/lib/stripe/params/billing/meter_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterRetrieveParams < Stripe::RequestParams + class MeterRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing/meter_update_params.rb b/lib/stripe/params/billing/meter_update_params.rb index f33daa718..8c730643e 100644 --- a/lib/stripe/params/billing/meter_update_params.rb +++ b/lib/stripe/params/billing/meter_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Billing - class MeterUpdateParams < Stripe::RequestParams + class MeterUpdateParams < ::Stripe::RequestParams # The meter’s name. Not visible to the customer. attr_accessor :display_name # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/billing_portal/configuration_create_params.rb b/lib/stripe/params/billing_portal/configuration_create_params.rb index 618166a9e..e4bc38203 100644 --- a/lib/stripe/params/billing_portal/configuration_create_params.rb +++ b/lib/stripe/params/billing_portal/configuration_create_params.rb @@ -3,8 +3,8 @@ module Stripe module BillingPortal - class ConfigurationCreateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. attr_accessor :headline # A link to the business’s publicly available privacy policy. @@ -19,8 +19,8 @@ def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. attr_accessor :allowed_updates # Whether the feature is enabled. @@ -32,7 +32,7 @@ def initialize(allowed_updates: nil, enabled: nil) end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled @@ -41,17 +41,20 @@ def initialize(enabled: nil) end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + attr_accessor :payment_method_configuration - def initialize(enabled: nil) + def initialize(enabled: nil, payment_method_configuration: nil) @enabled = enabled + @payment_method_configuration = payment_method_configuration end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled # Which cancellation reasons will be given as options to the customer. @@ -79,9 +82,9 @@ def initialize(cancellation_reason: nil, enabled: nil, mode: nil, proration_beha end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. attr_accessor :enabled # The maximum quantity that can be set for the product. @@ -109,8 +112,8 @@ def initialize(adjustable_quantity: nil, prices: nil, product: nil) end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. attr_accessor :type @@ -180,7 +183,7 @@ def initialize( end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. attr_accessor :enabled diff --git a/lib/stripe/params/billing_portal/configuration_list_params.rb b/lib/stripe/params/billing_portal/configuration_list_params.rb index 99bd031d0..ef785b51b 100644 --- a/lib/stripe/params/billing_portal/configuration_list_params.rb +++ b/lib/stripe/params/billing_portal/configuration_list_params.rb @@ -3,7 +3,7 @@ module Stripe module BillingPortal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations). attr_accessor :active # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/billing_portal/configuration_retrieve_params.rb b/lib/stripe/params/billing_portal/configuration_retrieve_params.rb index ef387d943..a846f6921 100644 --- a/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +++ b/lib/stripe/params/billing_portal/configuration_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module BillingPortal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/billing_portal/configuration_update_params.rb b/lib/stripe/params/billing_portal/configuration_update_params.rb index 9d277adf9..0a28ddca2 100644 --- a/lib/stripe/params/billing_portal/configuration_update_params.rb +++ b/lib/stripe/params/billing_portal/configuration_update_params.rb @@ -3,8 +3,8 @@ module Stripe module BillingPortal - class ConfigurationUpdateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. attr_accessor :headline # A link to the business’s publicly available privacy policy. @@ -19,8 +19,8 @@ def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. attr_accessor :allowed_updates # Whether the feature is enabled. @@ -32,7 +32,7 @@ def initialize(allowed_updates: nil, enabled: nil) end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled @@ -41,17 +41,20 @@ def initialize(enabled: nil) end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + attr_accessor :payment_method_configuration - def initialize(enabled: nil) + def initialize(enabled: nil, payment_method_configuration: nil) @enabled = enabled + @payment_method_configuration = payment_method_configuration end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. attr_accessor :enabled # Which cancellation reasons will be given as options to the customer. @@ -79,9 +82,9 @@ def initialize(cancellation_reason: nil, enabled: nil, mode: nil, proration_beha end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. attr_accessor :enabled # The maximum quantity that can be set for the product. @@ -109,8 +112,8 @@ def initialize(adjustable_quantity: nil, prices: nil, product: nil) end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. attr_accessor :type @@ -180,7 +183,7 @@ def initialize( end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. # # Set to `false` to deactivate the `login_page.url`. diff --git a/lib/stripe/params/billing_portal/session_create_params.rb b/lib/stripe/params/billing_portal/session_create_params.rb index a14d05640..a6dae98a8 100644 --- a/lib/stripe/params/billing_portal/session_create_params.rb +++ b/lib/stripe/params/billing_portal/session_create_params.rb @@ -3,10 +3,10 @@ module Stripe module BillingPortal - class SessionCreateParams < Stripe::RequestParams - class FlowData < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class FlowData < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the flow is completed. attr_accessor :custom_message @@ -15,7 +15,7 @@ def initialize(custom_message: nil) end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the flow is completed. attr_accessor :return_url @@ -37,9 +37,9 @@ def initialize(hosted_confirmation: nil, redirect: nil, type: nil) end end - class SubscriptionCancel < Stripe::RequestParams - class Retention < Stripe::RequestParams - class CouponOffer < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class Retention < ::Stripe::RequestParams + class CouponOffer < ::Stripe::RequestParams # The ID of the coupon to be offered. attr_accessor :coupon @@ -68,7 +68,7 @@ def initialize(retention: nil, subscription: nil) end end - class SubscriptionUpdate < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams # The ID of the subscription to be updated. attr_accessor :subscription @@ -77,8 +77,8 @@ def initialize(subscription: nil) end end - class SubscriptionUpdateConfirm < Stripe::RequestParams - class Discount < Stripe::RequestParams + class SubscriptionUpdateConfirm < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # The ID of the coupon to apply to this subscription update. attr_accessor :coupon # The ID of a promotion code to apply to this subscription update. @@ -90,7 +90,7 @@ def initialize(coupon: nil, promotion_code: nil) end end - class Item < Stripe::RequestParams + class Item < ::Stripe::RequestParams # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. attr_accessor :id # The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). diff --git a/lib/stripe/params/capital/financing_offer_list_params.rb b/lib/stripe/params/capital/financing_offer_list_params.rb index b32238e14..8c5257640 100644 --- a/lib/stripe/params/capital/financing_offer_list_params.rb +++ b/lib/stripe/params/capital/financing_offer_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Capital - class FinancingOfferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancingOfferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb b/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb index 0d6bab4c6..0a7d06815 100644 --- a/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +++ b/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb @@ -3,7 +3,7 @@ module Stripe module Capital - class FinancingOfferMarkDeliveredParams < Stripe::RequestParams + class FinancingOfferMarkDeliveredParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/capital/financing_offer_retrieve_params.rb b/lib/stripe/params/capital/financing_offer_retrieve_params.rb index d2bd215f8..205f41fcc 100644 --- a/lib/stripe/params/capital/financing_offer_retrieve_params.rb +++ b/lib/stripe/params/capital/financing_offer_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Capital - class FinancingOfferRetrieveParams < Stripe::RequestParams + class FinancingOfferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/capital/financing_summary_retrieve_params.rb b/lib/stripe/params/capital/financing_summary_retrieve_params.rb index 1ea814f61..cc4d67881 100644 --- a/lib/stripe/params/capital/financing_summary_retrieve_params.rb +++ b/lib/stripe/params/capital/financing_summary_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Capital - class FinancingSummaryRetrieveParams < Stripe::RequestParams + class FinancingSummaryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/capital/financing_transaction_list_params.rb b/lib/stripe/params/capital/financing_transaction_list_params.rb index 49e6528fc..8ba21f33e 100644 --- a/lib/stripe/params/capital/financing_transaction_list_params.rb +++ b/lib/stripe/params/capital/financing_transaction_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Capital - class FinancingTransactionListParams < Stripe::RequestParams + class FinancingTransactionListParams < ::Stripe::RequestParams # For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge. attr_accessor :charge # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/capital/financing_transaction_retrieve_params.rb b/lib/stripe/params/capital/financing_transaction_retrieve_params.rb index a1b3f99f1..bd65de6ed 100644 --- a/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +++ b/lib/stripe/params/capital/financing_transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Capital - class FinancingTransactionRetrieveParams < Stripe::RequestParams + class FinancingTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/charge_capture_params.rb b/lib/stripe/params/charge_capture_params.rb index 3b56b6bfe..a1189cd9a 100644 --- a/lib/stripe/params/charge_capture_params.rb +++ b/lib/stripe/params/charge_capture_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class ChargeCaptureParams < Stripe::RequestParams - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class ChargeCaptureParams < ::Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -14,8 +14,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -40,7 +40,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -52,7 +52,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -67,7 +67,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -98,7 +98,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -230,8 +230,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -262,7 +262,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -271,8 +271,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -338,8 +338,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -348,8 +348,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -374,7 +374,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -383,7 +383,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -459,8 +459,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -491,7 +491,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -500,8 +500,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -526,7 +526,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -624,8 +624,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -634,7 +634,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -708,7 +708,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. attr_accessor :amount diff --git a/lib/stripe/params/charge_create_params.rb b/lib/stripe/params/charge_create_params.rb index ee6ae13e9..00f9b6c54 100644 --- a/lib/stripe/params/charge_create_params.rb +++ b/lib/stripe/params/charge_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ChargeCreateParams < Stripe::RequestParams - class Destination < Stripe::RequestParams + class ChargeCreateParams < ::Stripe::RequestParams + class Destination < ::Stripe::RequestParams # ID of an existing, connected Stripe account. attr_accessor :account # The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount. @@ -15,7 +15,7 @@ def initialize(account: nil, amount: nil) end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -24,8 +24,8 @@ def initialize(session: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -75,7 +75,7 @@ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_numbe end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. attr_accessor :amount # ID of an existing, connected Stripe account. diff --git a/lib/stripe/params/charge_list_params.rb b/lib/stripe/params/charge_list_params.rb index fd71d40a8..eae91434f 100644 --- a/lib/stripe/params/charge_list_params.rb +++ b/lib/stripe/params/charge_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ChargeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ChargeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/charge_retrieve_params.rb b/lib/stripe/params/charge_retrieve_params.rb index a3104f335..b25f2e9e6 100644 --- a/lib/stripe/params/charge_retrieve_params.rb +++ b/lib/stripe/params/charge_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ChargeRetrieveParams < Stripe::RequestParams + class ChargeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/charge_search_params.rb b/lib/stripe/params/charge_search_params.rb index 9c07e471c..0fbd71e2a 100644 --- a/lib/stripe/params/charge_search_params.rb +++ b/lib/stripe/params/charge_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ChargeSearchParams < Stripe::RequestParams + class ChargeSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/charge_update_params.rb b/lib/stripe/params/charge_update_params.rb index 4cb4e5783..3d6694834 100644 --- a/lib/stripe/params/charge_update_params.rb +++ b/lib/stripe/params/charge_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ChargeUpdateParams < Stripe::RequestParams - class FraudDetails < Stripe::RequestParams + class ChargeUpdateParams < ::Stripe::RequestParams + class FraudDetails < ::Stripe::RequestParams # Either `safe` or `fraudulent`. attr_accessor :user_report @@ -12,9 +12,9 @@ def initialize(user_report: nil) end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -23,8 +23,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -49,7 +49,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -61,7 +61,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -76,7 +76,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -107,7 +107,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -239,8 +239,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -271,7 +271,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -280,8 +280,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -347,8 +347,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -357,8 +357,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -383,7 +383,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -392,7 +392,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -468,8 +468,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -500,7 +500,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -509,8 +509,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -535,7 +535,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -633,8 +633,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -643,7 +643,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -717,8 +717,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/checkout/session_create_params.rb b/lib/stripe/params/checkout/session_create_params.rb index eb0536bec..a2f2bee8c 100644 --- a/lib/stripe/params/checkout/session_create_params.rb +++ b/lib/stripe/params/checkout/session_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Checkout - class SessionCreateParams < Stripe::RequestParams - class AdaptivePricing < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AdaptivePricing < ::Stripe::RequestParams # If set to `true`, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing). attr_accessor :enabled @@ -13,8 +13,8 @@ def initialize(enabled: nil) end end - class AfterExpiration < Stripe::RequestParams - class Recovery < Stripe::RequestParams + class AfterExpiration < ::Stripe::RequestParams + class Recovery < ::Stripe::RequestParams # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` attr_accessor :allow_promotion_codes # If `true`, a recovery URL will be generated to recover this Checkout Session if it @@ -35,8 +35,8 @@ def initialize(recovery: nil) end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -60,8 +60,8 @@ def initialize(enabled: nil, liability: nil) end end - class BrandingSettings < Stripe::RequestParams - class Icon < Stripe::RequestParams + class BrandingSettings < ::Stripe::RequestParams + class Icon < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. attr_accessor :file # The type of image for the icon. Must be one of `file` or `url`. @@ -76,7 +76,7 @@ def initialize(file: nil, type: nil, url: nil) end end - class Logo < Stripe::RequestParams + class Logo < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. attr_accessor :file # The type of image for the logo. Must be one of `file` or `url`. @@ -124,8 +124,8 @@ def initialize( end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. attr_accessor :position @@ -151,9 +151,9 @@ def initialize(payment_method_reuse_agreement: nil, promotions: nil, terms_of_se end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. attr_accessor :label # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. @@ -175,7 +175,7 @@ def initialize(default_value: nil, options: nil) end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. attr_accessor :custom # The type of the label. @@ -187,7 +187,7 @@ def initialize(custom: nil, type: nil) end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -202,7 +202,7 @@ def initialize(default_value: nil, maximum_length: nil, minimum_length: nil) end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -250,8 +250,8 @@ def initialize( end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -260,7 +260,7 @@ def initialize(message: nil) end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -269,7 +269,7 @@ def initialize(message: nil) end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -278,7 +278,7 @@ def initialize(message: nil) end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -308,7 +308,7 @@ def initialize( end end - class CustomerUpdate < Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # Describes whether Checkout saves the billing address onto `customer.address`. # To always collect a full billing address, use `billing_address_collection`. Defaults to `never`. attr_accessor :address @@ -325,8 +325,8 @@ def initialize(address: nil, name: nil, shipping: nil) end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). attr_accessor :amount_off # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed). @@ -370,9 +370,9 @@ def initialize(coupon: nil, coupon_data: nil, promotion_code: nil) end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -384,7 +384,7 @@ def initialize(name: nil, value: nil) end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -396,7 +396,7 @@ def initialize(account: nil, type: nil) end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for this invoice. @@ -451,8 +451,8 @@ def initialize(enabled: nil, invoice_data: nil) end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. attr_accessor :enabled # The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999. @@ -467,8 +467,8 @@ def initialize(enabled: nil, maximum: nil, minimum: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -499,7 +499,7 @@ def initialize( end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -577,8 +577,8 @@ def initialize( end end - class NameCollection < Stripe::RequestParams - class Business < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams # Enable business name collection on the Checkout Session. Defaults to `false`. attr_accessor :enabled # Whether the customer is required to provide a business name before completing the Checkout Session. Defaults to `false`. @@ -590,7 +590,7 @@ def initialize(enabled: nil, optional: nil) end end - class Individual < Stripe::RequestParams + class Individual < ::Stripe::RequestParams # Enable individual name collection on the Checkout Session. Defaults to `false`. attr_accessor :enabled # Whether the customer is required to provide their name before completing the Checkout Session. Defaults to `false`. @@ -612,8 +612,8 @@ def initialize(business: nil, individual: nil) end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. attr_accessor :enabled # The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. @@ -641,9 +641,9 @@ def initialize(adjustable_quantity: nil, price: nil, quantity: nil) end end - class PaymentIntentData < Stripe::RequestParams - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -693,7 +693,7 @@ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_numbe end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount # If specified, successful charges will be attributed to the destination @@ -785,7 +785,7 @@ def initialize( end end - class PaymentMethodData < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams # Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout. attr_accessor :allow_redisplay @@ -794,9 +794,9 @@ def initialize(allow_redisplay: nil) end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -856,7 +856,7 @@ def initialize( end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -874,7 +874,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -892,7 +892,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -907,7 +907,7 @@ def initialize(setup_future_usage: nil) end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method @@ -916,7 +916,7 @@ def initialize(capture_method: nil) end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -934,7 +934,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -952,8 +952,8 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -981,7 +981,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -996,7 +996,7 @@ def initialize(setup_future_usage: nil) end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method @@ -1005,7 +1005,7 @@ def initialize(capture_method: nil) end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1023,8 +1023,8 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams # Setting to true enables installments for this Checkout Session. # Setting to false will prevent any installment plan from applying to a payment. attr_accessor :enabled @@ -1034,7 +1034,7 @@ def initialize(enabled: nil) end end - class Restrictions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. attr_accessor :brands_blocked @@ -1102,7 +1102,7 @@ def initialize( end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1120,9 +1120,9 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -1165,7 +1165,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class DemoPay < Stripe::RequestParams + class DemoPay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1180,7 +1180,7 @@ def initialize(setup_future_usage: nil) end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1195,7 +1195,7 @@ def initialize(setup_future_usage: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1210,7 +1210,7 @@ def initialize(setup_future_usage: nil) end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1225,7 +1225,7 @@ def initialize(setup_future_usage: nil) end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1240,7 +1240,7 @@ def initialize(setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1255,7 +1255,7 @@ def initialize(setup_future_usage: nil) end end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1273,9 +1273,9 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -1331,7 +1331,7 @@ def initialize(capture_method: nil, setup_future_usage: nil, subscriptions: nil) end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1349,7 +1349,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1367,7 +1367,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1385,7 +1385,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1403,7 +1403,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1418,7 +1418,7 @@ def initialize(setup_future_usage: nil) end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1436,7 +1436,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1454,7 +1454,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1472,9 +1472,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class PayByBank < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class Payco < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method @@ -1483,7 +1483,7 @@ def initialize(capture_method: nil) end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1498,7 +1498,7 @@ def initialize(setup_future_usage: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to. @@ -1541,8 +1541,8 @@ def initialize( end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -1593,8 +1593,8 @@ def initialize(mandate_options: nil, setup_future_usage: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -1660,7 +1660,7 @@ def initialize( end end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1678,7 +1678,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method @@ -1687,7 +1687,7 @@ def initialize(capture_method: nil) end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method @@ -1696,8 +1696,8 @@ def initialize(capture_method: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -1725,7 +1725,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1740,7 +1740,7 @@ def initialize(setup_future_usage: nil) end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. attr_accessor :reference @@ -1749,8 +1749,23 @@ def initialize(reference: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + attr_accessor :setup_future_usage + + def initialize(setup_future_usage: nil) + @setup_future_usage = setup_future_usage + end + end + + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`. attr_accessor :permissions # List of data features that you would like to retrieve upon account creation. @@ -1789,7 +1804,7 @@ def initialize( end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -1893,6 +1908,8 @@ def initialize(app_id: nil, client: nil, setup_future_usage: nil) attr_accessor :sofort # contains details about the Swish payment method options. attr_accessor :swish + # contains details about the TWINT payment method options. + attr_accessor :twint # contains details about the Us Bank Account payment method options. attr_accessor :us_bank_account # contains details about the WeChat Pay payment method options. @@ -1941,6 +1958,7 @@ def initialize( sepa_debit: nil, sofort: nil, swish: nil, + twint: nil, us_bank_account: nil, wechat_pay: nil ) @@ -1986,13 +2004,14 @@ def initialize( @sepa_debit = sepa_debit @sofort = sofort @swish = swish + @twint = twint @us_bank_account = us_bank_account @wechat_pay = wechat_pay end end - class Permissions < Stripe::RequestParams - class Update < Stripe::RequestParams + class Permissions < ::Stripe::RequestParams + class Update < ::Stripe::RequestParams # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -2043,7 +2062,7 @@ def initialize( end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. # # Can only be set in `payment` and `subscription` mode. @@ -2054,7 +2073,7 @@ def initialize(enabled: nil) end end - class SavedPaymentMethodOptions < Stripe::RequestParams + class SavedPaymentMethodOptions < ::Stripe::RequestParams # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. attr_accessor :allow_redisplay_filters # Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. @@ -2073,7 +2092,7 @@ def initialize( end end - class SetupIntentData < Stripe::RequestParams + class SetupIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. @@ -2088,7 +2107,7 @@ def initialize(description: nil, metadata: nil, on_behalf_of: nil) end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. attr_accessor :allowed_countries @@ -2098,10 +2117,10 @@ def initialize(allowed_countries: nil) end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -2113,7 +2132,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -2135,8 +2154,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -2204,9 +2223,9 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class SubscriptionData < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -2225,8 +2244,8 @@ def initialize(flexible: nil, type: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -2245,7 +2264,7 @@ def initialize(issuer: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -2257,8 +2276,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_accessor :missing_payment_method @@ -2335,7 +2354,7 @@ def initialize( end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. attr_accessor :enabled # Describes whether a tax ID is required during checkout. Defaults to `never`. @@ -2347,8 +2366,8 @@ def initialize(enabled: nil, required: nil) end end - class WalletOptions < Stripe::RequestParams - class Link < Stripe::RequestParams + class WalletOptions < ::Stripe::RequestParams + class Link < ::Stripe::RequestParams # Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice. attr_accessor :display diff --git a/lib/stripe/params/checkout/session_expire_params.rb b/lib/stripe/params/checkout/session_expire_params.rb index e0cb3c5c0..61b4e12e9 100644 --- a/lib/stripe/params/checkout/session_expire_params.rb +++ b/lib/stripe/params/checkout/session_expire_params.rb @@ -3,7 +3,7 @@ module Stripe module Checkout - class SessionExpireParams < Stripe::RequestParams + class SessionExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/checkout/session_line_item_list_params.rb b/lib/stripe/params/checkout/session_line_item_list_params.rb index e277b90ed..b62d9b1bd 100644 --- a/lib/stripe/params/checkout/session_line_item_list_params.rb +++ b/lib/stripe/params/checkout/session_line_item_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Checkout - class SessionLineItemListParams < Stripe::RequestParams + class SessionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/checkout/session_list_line_items_params.rb b/lib/stripe/params/checkout/session_list_line_items_params.rb index e18798fb9..3a566b3ca 100644 --- a/lib/stripe/params/checkout/session_list_line_items_params.rb +++ b/lib/stripe/params/checkout/session_list_line_items_params.rb @@ -3,7 +3,7 @@ module Stripe module Checkout - class SessionListLineItemsParams < Stripe::RequestParams + class SessionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/checkout/session_list_params.rb b/lib/stripe/params/checkout/session_list_params.rb index 81067b05e..a8b9dabf1 100644 --- a/lib/stripe/params/checkout/session_list_params.rb +++ b/lib/stripe/params/checkout/session_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Checkout - class SessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -22,7 +22,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class CustomerDetails < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # Customer's email address. attr_accessor :email diff --git a/lib/stripe/params/checkout/session_retrieve_params.rb b/lib/stripe/params/checkout/session_retrieve_params.rb index 3871d1073..9e4eacd2a 100644 --- a/lib/stripe/params/checkout/session_retrieve_params.rb +++ b/lib/stripe/params/checkout/session_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Checkout - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/checkout/session_update_params.rb b/lib/stripe/params/checkout/session_update_params.rb index 5a637ab57..70e59b2e8 100644 --- a/lib/stripe/params/checkout/session_update_params.rb +++ b/lib/stripe/params/checkout/session_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Checkout - class SessionUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SessionUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -24,9 +24,9 @@ def initialize(liability: nil) end end - class CollectedInformation < Stripe::RequestParams - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CollectedInformation < ::Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -74,8 +74,8 @@ def initialize(shipping_details: nil) end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). attr_accessor :amount_off # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed). @@ -116,9 +116,9 @@ def initialize(coupon: nil, coupon_data: nil) end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -144,8 +144,8 @@ def initialize(invoice_data: nil) end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity. attr_accessor :enabled # The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999. @@ -160,8 +160,8 @@ def initialize(enabled: nil, maximum: nil, minimum: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -192,7 +192,7 @@ def initialize( end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -270,10 +270,10 @@ def initialize( end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -285,7 +285,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -307,8 +307,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -376,9 +376,9 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. diff --git a/lib/stripe/params/climate/order_cancel_params.rb b/lib/stripe/params/climate/order_cancel_params.rb index bbba5f346..3579532ec 100644 --- a/lib/stripe/params/climate/order_cancel_params.rb +++ b/lib/stripe/params/climate/order_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/climate/order_create_params.rb b/lib/stripe/params/climate/order_create_params.rb index 5ef6310b7..94645f425 100644 --- a/lib/stripe/params/climate/order_create_params.rb +++ b/lib/stripe/params/climate/order_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Climate - class OrderCreateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. attr_accessor :public_name diff --git a/lib/stripe/params/climate/order_list_params.rb b/lib/stripe/params/climate/order_list_params.rb index ff6f5c2bd..7e6aa96f0 100644 --- a/lib/stripe/params/climate/order_list_params.rb +++ b/lib/stripe/params/climate/order_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/climate/order_retrieve_params.rb b/lib/stripe/params/climate/order_retrieve_params.rb index 501e21f27..2b0c41f0d 100644 --- a/lib/stripe/params/climate/order_retrieve_params.rb +++ b/lib/stripe/params/climate/order_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/climate/order_update_params.rb b/lib/stripe/params/climate/order_update_params.rb index b290586f6..5791f6c9c 100644 --- a/lib/stripe/params/climate/order_update_params.rb +++ b/lib/stripe/params/climate/order_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Climate - class OrderUpdateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. attr_accessor :public_name diff --git a/lib/stripe/params/climate/product_list_params.rb b/lib/stripe/params/climate/product_list_params.rb index ca3e3bcad..08419a617 100644 --- a/lib/stripe/params/climate/product_list_params.rb +++ b/lib/stripe/params/climate/product_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class ProductListParams < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/climate/product_retrieve_params.rb b/lib/stripe/params/climate/product_retrieve_params.rb index 64f678d0b..8eaafdebf 100644 --- a/lib/stripe/params/climate/product_retrieve_params.rb +++ b/lib/stripe/params/climate/product_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/climate/supplier_list_params.rb b/lib/stripe/params/climate/supplier_list_params.rb index 27a32b525..696972c3e 100644 --- a/lib/stripe/params/climate/supplier_list_params.rb +++ b/lib/stripe/params/climate/supplier_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class SupplierListParams < Stripe::RequestParams + class SupplierListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/climate/supplier_retrieve_params.rb b/lib/stripe/params/climate/supplier_retrieve_params.rb index e4c3f6ffd..885a20053 100644 --- a/lib/stripe/params/climate/supplier_retrieve_params.rb +++ b/lib/stripe/params/climate/supplier_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Climate - class SupplierRetrieveParams < Stripe::RequestParams + class SupplierRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/confirmation_token_create_params.rb b/lib/stripe/params/confirmation_token_create_params.rb index beafd2664..242861b9c 100644 --- a/lib/stripe/params/confirmation_token_create_params.rb +++ b/lib/stripe/params/confirmation_token_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -19,13 +19,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -37,7 +37,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -49,11 +49,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -103,9 +103,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -114,11 +114,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -127,7 +127,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -139,11 +139,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -152,7 +152,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -161,11 +161,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -187,14 +187,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -203,7 +203,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -234,9 +234,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -245,13 +245,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -266,11 +266,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -279,8 +279,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -302,11 +302,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -315,9 +315,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -326,7 +326,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -338,10 +338,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -368,8 +368,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -624,10 +624,10 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -665,8 +665,8 @@ def initialize(card: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/confirmation_token_retrieve_params.rb b/lib/stripe/params/confirmation_token_retrieve_params.rb index 7676ecca5..6077700fe 100644 --- a/lib/stripe/params/confirmation_token_retrieve_params.rb +++ b/lib/stripe/params/confirmation_token_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ConfirmationTokenRetrieveParams < Stripe::RequestParams + class ConfirmationTokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/country_spec_list_params.rb b/lib/stripe/params/country_spec_list_params.rb index b43b144a1..d742ce37f 100644 --- a/lib/stripe/params/country_spec_list_params.rb +++ b/lib/stripe/params/country_spec_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CountrySpecListParams < Stripe::RequestParams + class CountrySpecListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/country_spec_retrieve_params.rb b/lib/stripe/params/country_spec_retrieve_params.rb index acab0a75f..03595f664 100644 --- a/lib/stripe/params/country_spec_retrieve_params.rb +++ b/lib/stripe/params/country_spec_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CountrySpecRetrieveParams < Stripe::RequestParams + class CountrySpecRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/coupon_create_params.rb b/lib/stripe/params/coupon_create_params.rb index 53fd0a8f3..16379490e 100644 --- a/lib/stripe/params/coupon_create_params.rb +++ b/lib/stripe/params/coupon_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CouponCreateParams < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class CouponCreateParams < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # An array of Product IDs that this Coupon will apply to. attr_accessor :products @@ -12,7 +12,7 @@ def initialize(products: nil) end end - class CurrencyOptions < Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. attr_accessor :amount_off @@ -21,7 +21,7 @@ def initialize(amount_off: nil) end end - class Script < Stripe::RequestParams + class Script < ::Stripe::RequestParams # The configuration values of the script. The keys and values are specific to the script implementation. attr_accessor :configuration # The script implementation ID for this coupon. diff --git a/lib/stripe/params/coupon_delete_params.rb b/lib/stripe/params/coupon_delete_params.rb index 69287333b..fc49a6af3 100644 --- a/lib/stripe/params/coupon_delete_params.rb +++ b/lib/stripe/params/coupon_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class CouponDeleteParams < Stripe::RequestParams; end + class CouponDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/coupon_list_params.rb b/lib/stripe/params/coupon_list_params.rb index e250e8b1a..c56078ac4 100644 --- a/lib/stripe/params/coupon_list_params.rb +++ b/lib/stripe/params/coupon_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CouponListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CouponListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/coupon_retrieve_params.rb b/lib/stripe/params/coupon_retrieve_params.rb index 3c6c5a6b3..aae9a11da 100644 --- a/lib/stripe/params/coupon_retrieve_params.rb +++ b/lib/stripe/params/coupon_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CouponRetrieveParams < Stripe::RequestParams + class CouponRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/coupon_update_params.rb b/lib/stripe/params/coupon_update_params.rb index 5bc706c37..5c9c35a40 100644 --- a/lib/stripe/params/coupon_update_params.rb +++ b/lib/stripe/params/coupon_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CouponUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class CouponUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. attr_accessor :amount_off diff --git a/lib/stripe/params/credit_note_create_params.rb b/lib/stripe/params/credit_note_create_params.rb index 8d908f1c1..49fab6fc7 100644 --- a/lib/stripe/params/credit_note_create_params.rb +++ b/lib/stripe/params/credit_note_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CreditNoteCreateParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteCreateParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. attr_accessor :amount # The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe. @@ -60,19 +60,36 @@ def initialize( end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + attr_accessor :payment_record + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + attr_accessor :refund_group + + def initialize(payment_record: nil, refund_group: nil) + @payment_record = payment_record + @refund_group = refund_group + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. attr_accessor :amount_refunded + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + attr_accessor :payment_record_refund # ID of an existing refund to link this credit note to. Required when `type` is `refund`. attr_accessor :refund + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + attr_accessor :type - def initialize(amount_refunded: nil, refund: nil) + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil) @amount_refunded = amount_refunded + @payment_record_refund = payment_record_refund @refund = refund + @type = type end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. attr_accessor :shipping_rate diff --git a/lib/stripe/params/credit_note_line_item_list_params.rb b/lib/stripe/params/credit_note_line_item_list_params.rb index ce997407e..2daf24c30 100644 --- a/lib/stripe/params/credit_note_line_item_list_params.rb +++ b/lib/stripe/params/credit_note_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CreditNoteLineItemListParams < Stripe::RequestParams + class CreditNoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/credit_note_list_params.rb b/lib/stripe/params/credit_note_list_params.rb index 4a671bc7d..8667ea761 100644 --- a/lib/stripe/params/credit_note_list_params.rb +++ b/lib/stripe/params/credit_note_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CreditNoteListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CreditNoteListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/credit_note_list_preview_line_items_params.rb b/lib/stripe/params/credit_note_list_preview_line_items_params.rb index 175fdb820..025ae72d1 100644 --- a/lib/stripe/params/credit_note_list_preview_line_items_params.rb +++ b/lib/stripe/params/credit_note_list_preview_line_items_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CreditNoteListPreviewLineItemsParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteListPreviewLineItemsParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. attr_accessor :amount # The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe. @@ -60,19 +60,36 @@ def initialize( end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + attr_accessor :payment_record + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + attr_accessor :refund_group + + def initialize(payment_record: nil, refund_group: nil) + @payment_record = payment_record + @refund_group = refund_group + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. attr_accessor :amount_refunded + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + attr_accessor :payment_record_refund # ID of an existing refund to link this credit note to. Required when `type` is `refund`. attr_accessor :refund + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + attr_accessor :type - def initialize(amount_refunded: nil, refund: nil) + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil) @amount_refunded = amount_refunded + @payment_record_refund = payment_record_refund @refund = refund + @type = type end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. attr_accessor :shipping_rate diff --git a/lib/stripe/params/credit_note_preview_lines_list_params.rb b/lib/stripe/params/credit_note_preview_lines_list_params.rb index 7fd899103..850762ceb 100644 --- a/lib/stripe/params/credit_note_preview_lines_list_params.rb +++ b/lib/stripe/params/credit_note_preview_lines_list_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CreditNotePreviewLinesListParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewLinesListParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. attr_accessor :amount # The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe. @@ -60,19 +60,36 @@ def initialize( end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + attr_accessor :payment_record + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + attr_accessor :refund_group + + def initialize(payment_record: nil, refund_group: nil) + @payment_record = payment_record + @refund_group = refund_group + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. attr_accessor :amount_refunded + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + attr_accessor :payment_record_refund # ID of an existing refund to link this credit note to. Required when `type` is `refund`. attr_accessor :refund + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + attr_accessor :type - def initialize(amount_refunded: nil, refund: nil) + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil) @amount_refunded = amount_refunded + @payment_record_refund = payment_record_refund @refund = refund + @type = type end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. attr_accessor :shipping_rate diff --git a/lib/stripe/params/credit_note_preview_params.rb b/lib/stripe/params/credit_note_preview_params.rb index 9cfc5e52c..461033612 100644 --- a/lib/stripe/params/credit_note_preview_params.rb +++ b/lib/stripe/params/credit_note_preview_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CreditNotePreviewParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. attr_accessor :amount # The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe. @@ -60,19 +60,36 @@ def initialize( end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + attr_accessor :payment_record + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + attr_accessor :refund_group + + def initialize(payment_record: nil, refund_group: nil) + @payment_record = payment_record + @refund_group = refund_group + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. attr_accessor :amount_refunded + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + attr_accessor :payment_record_refund # ID of an existing refund to link this credit note to. Required when `type` is `refund`. attr_accessor :refund + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + attr_accessor :type - def initialize(amount_refunded: nil, refund: nil) + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil) @amount_refunded = amount_refunded + @payment_record_refund = payment_record_refund @refund = refund + @type = type end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. attr_accessor :shipping_rate diff --git a/lib/stripe/params/credit_note_retrieve_params.rb b/lib/stripe/params/credit_note_retrieve_params.rb index b82807923..be22df6c6 100644 --- a/lib/stripe/params/credit_note_retrieve_params.rb +++ b/lib/stripe/params/credit_note_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CreditNoteRetrieveParams < Stripe::RequestParams + class CreditNoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/credit_note_update_params.rb b/lib/stripe/params/credit_note_update_params.rb index 3448b59bc..c226661c3 100644 --- a/lib/stripe/params/credit_note_update_params.rb +++ b/lib/stripe/params/credit_note_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CreditNoteUpdateParams < Stripe::RequestParams + class CreditNoteUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Credit note memo. diff --git a/lib/stripe/params/credit_note_void_credit_note_params.rb b/lib/stripe/params/credit_note_void_credit_note_params.rb index 92c612f7d..4dd7518f5 100644 --- a/lib/stripe/params/credit_note_void_credit_note_params.rb +++ b/lib/stripe/params/credit_note_void_credit_note_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CreditNoteVoidCreditNoteParams < Stripe::RequestParams + class CreditNoteVoidCreditNoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_balance_transaction_create_params.rb b/lib/stripe/params/customer_balance_transaction_create_params.rb index c62a3f04e..7897217d9 100644 --- a/lib/stripe/params/customer_balance_transaction_create_params.rb +++ b/lib/stripe/params/customer_balance_transaction_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerBalanceTransactionCreateParams < Stripe::RequestParams + class CustomerBalanceTransactionCreateParams < ::Stripe::RequestParams # The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Specifies the [`invoice_credit_balance`](https://stripe.com/docs/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value. diff --git a/lib/stripe/params/customer_balance_transaction_list_params.rb b/lib/stripe/params/customer_balance_transaction_list_params.rb index 7c90015d9..4afbb2487 100644 --- a/lib/stripe/params/customer_balance_transaction_list_params.rb +++ b/lib/stripe/params/customer_balance_transaction_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerBalanceTransactionListParams < Stripe::RequestParams + class CustomerBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_balance_transaction_retrieve_params.rb b/lib/stripe/params/customer_balance_transaction_retrieve_params.rb index 1ac5f678d..346909852 100644 --- a/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +++ b/lib/stripe/params/customer_balance_transaction_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_balance_transaction_update_params.rb b/lib/stripe/params/customer_balance_transaction_update_params.rb index d041f3413..56780c5d8 100644 --- a/lib/stripe/params/customer_balance_transaction_update_params.rb +++ b/lib/stripe/params/customer_balance_transaction_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerBalanceTransactionUpdateParams < Stripe::RequestParams + class CustomerBalanceTransactionUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_cash_balance_retrieve_params.rb b/lib/stripe/params/customer_cash_balance_retrieve_params.rb index f79af664f..3ec882ff2 100644 --- a/lib/stripe/params/customer_cash_balance_retrieve_params.rb +++ b/lib/stripe/params/customer_cash_balance_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerCashBalanceRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_cash_balance_transaction_list_params.rb b/lib/stripe/params/customer_cash_balance_transaction_list_params.rb index c67e66ef3..bb5a02b1f 100644 --- a/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +++ b/lib/stripe/params/customer_cash_balance_transaction_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerCashBalanceTransactionListParams < Stripe::RequestParams + class CustomerCashBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb b/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb index 66b71ef37..6ad4882e8 100644 --- a/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +++ b/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerCashBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_cash_balance_update_params.rb b/lib/stripe/params/customer_cash_balance_update_params.rb index 1a9c66073..1b3621695 100644 --- a/lib/stripe/params/customer_cash_balance_update_params.rb +++ b/lib/stripe/params/customer_cash_balance_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CustomerCashBalanceUpdateParams < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CustomerCashBalanceUpdateParams < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). attr_accessor :reconciliation_mode diff --git a/lib/stripe/params/customer_create_funding_instructions_params.rb b/lib/stripe/params/customer_create_funding_instructions_params.rb index 31691acd0..305a488fe 100644 --- a/lib/stripe/params/customer_create_funding_instructions_params.rb +++ b/lib/stripe/params/customer_create_funding_instructions_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CustomerCreateFundingInstructionsParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerCreateFundingInstructionsParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country diff --git a/lib/stripe/params/customer_create_params.rb b/lib/stripe/params/customer_create_params.rb index 1fa00ae0a..9580edb4a 100644 --- a/lib/stripe/params/customer_create_params.rb +++ b/lib/stripe/params/customer_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CustomerCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -27,8 +27,8 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). attr_accessor :reconciliation_mode @@ -45,8 +45,8 @@ def initialize(settings: nil) end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -58,7 +58,7 @@ def initialize(name: nil, value: nil) end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for future invoices. @@ -91,8 +91,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -136,7 +136,7 @@ def initialize(address: nil, name: nil, phone: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. attr_accessor :ip_address # A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`. @@ -148,7 +148,7 @@ def initialize(ip_address: nil, validate_location: nil) end end - class TaxIdDatum < Stripe::RequestParams + class TaxIdDatum < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` attr_accessor :type # Value of the tax ID. diff --git a/lib/stripe/params/customer_delete_discount_params.rb b/lib/stripe/params/customer_delete_discount_params.rb index d64792cfe..06f8f8c10 100644 --- a/lib/stripe/params/customer_delete_discount_params.rb +++ b/lib/stripe/params/customer_delete_discount_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class CustomerDeleteDiscountParams < Stripe::RequestParams; end + class CustomerDeleteDiscountParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/customer_delete_params.rb b/lib/stripe/params/customer_delete_params.rb index ddc4d06f5..8e2632b2a 100644 --- a/lib/stripe/params/customer_delete_params.rb +++ b/lib/stripe/params/customer_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class CustomerDeleteParams < Stripe::RequestParams; end + class CustomerDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/customer_fund_cash_balance_params.rb b/lib/stripe/params/customer_fund_cash_balance_params.rb index a3e794160..e975ac0bc 100644 --- a/lib/stripe/params/customer_fund_cash_balance_params.rb +++ b/lib/stripe/params/customer_fund_cash_balance_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/lib/stripe/params/customer_funding_instructions_create_params.rb b/lib/stripe/params/customer_funding_instructions_create_params.rb index 3d502a145..8f1c3b76f 100644 --- a/lib/stripe/params/customer_funding_instructions_create_params.rb +++ b/lib/stripe/params/customer_funding_instructions_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CustomerFundingInstructionsCreateParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerFundingInstructionsCreateParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country diff --git a/lib/stripe/params/customer_list_params.rb b/lib/stripe/params/customer_list_params.rb index 3df717af1..fa035cc7d 100644 --- a/lib/stripe/params/customer_list_params.rb +++ b/lib/stripe/params/customer_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CustomerListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CustomerListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/customer_list_payment_methods_params.rb b/lib/stripe/params/customer_list_payment_methods_params.rb index b4e5c13bd..e57a2919b 100644 --- a/lib/stripe/params/customer_list_payment_methods_params.rb +++ b/lib/stripe/params/customer_list_payment_methods_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerListPaymentMethodsParams < Stripe::RequestParams + class CustomerListPaymentMethodsParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. attr_accessor :allow_redisplay # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/customer_payment_method_list_params.rb b/lib/stripe/params/customer_payment_method_list_params.rb index f5eec60dd..df2e36f61 100644 --- a/lib/stripe/params/customer_payment_method_list_params.rb +++ b/lib/stripe/params/customer_payment_method_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentMethodListParams < Stripe::RequestParams + class CustomerPaymentMethodListParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. attr_accessor :allow_redisplay # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/customer_payment_method_retrieve_params.rb b/lib/stripe/params/customer_payment_method_retrieve_params.rb index e1075b505..f345b9d97 100644 --- a/lib/stripe/params/customer_payment_method_retrieve_params.rb +++ b/lib/stripe/params/customer_payment_method_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentMethodRetrieveParams < Stripe::RequestParams + class CustomerPaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_payment_source_create_params.rb b/lib/stripe/params/customer_payment_source_create_params.rb index 0338bea50..2ba32a1a1 100644 --- a/lib/stripe/params/customer_payment_source_create_params.rb +++ b/lib/stripe/params/customer_payment_source_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceCreateParams < Stripe::RequestParams + class CustomerPaymentSourceCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/customer_payment_source_delete_params.rb b/lib/stripe/params/customer_payment_source_delete_params.rb index 04d4d7de8..16288c2c1 100644 --- a/lib/stripe/params/customer_payment_source_delete_params.rb +++ b/lib/stripe/params/customer_payment_source_delete_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceDeleteParams < Stripe::RequestParams + class CustomerPaymentSourceDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_payment_source_list_params.rb b/lib/stripe/params/customer_payment_source_list_params.rb index 3dc3a056c..b009dd112 100644 --- a/lib/stripe/params/customer_payment_source_list_params.rb +++ b/lib/stripe/params/customer_payment_source_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceListParams < Stripe::RequestParams + class CustomerPaymentSourceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_payment_source_retrieve_params.rb b/lib/stripe/params/customer_payment_source_retrieve_params.rb index b10bfec55..9bc1e45be 100644 --- a/lib/stripe/params/customer_payment_source_retrieve_params.rb +++ b/lib/stripe/params/customer_payment_source_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceRetrieveParams < Stripe::RequestParams + class CustomerPaymentSourceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_payment_source_update_params.rb b/lib/stripe/params/customer_payment_source_update_params.rb index 40e4b2d62..caddb6b18 100644 --- a/lib/stripe/params/customer_payment_source_update_params.rb +++ b/lib/stripe/params/customer_payment_source_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceUpdateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerPaymentSourceUpdateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/customer_payment_source_verify_params.rb b/lib/stripe/params/customer_payment_source_verify_params.rb index 499ad6956..456079927 100644 --- a/lib/stripe/params/customer_payment_source_verify_params.rb +++ b/lib/stripe/params/customer_payment_source_verify_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerPaymentSourceVerifyParams < Stripe::RequestParams + class CustomerPaymentSourceVerifyParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. attr_accessor :amounts # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_retrieve_params.rb b/lib/stripe/params/customer_retrieve_params.rb index 577033578..2df4c0e1c 100644 --- a/lib/stripe/params/customer_retrieve_params.rb +++ b/lib/stripe/params/customer_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerRetrieveParams < Stripe::RequestParams + class CustomerRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_retrieve_payment_method_params.rb b/lib/stripe/params/customer_retrieve_payment_method_params.rb index 05a714171..db897aff6 100644 --- a/lib/stripe/params/customer_retrieve_payment_method_params.rb +++ b/lib/stripe/params/customer_retrieve_payment_method_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerRetrievePaymentMethodParams < Stripe::RequestParams + class CustomerRetrievePaymentMethodParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_search_params.rb b/lib/stripe/params/customer_search_params.rb index dc85bf9e6..2ae7a423c 100644 --- a/lib/stripe/params/customer_search_params.rb +++ b/lib/stripe/params/customer_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerSearchParams < Stripe::RequestParams + class CustomerSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/customer_session_create_params.rb b/lib/stripe/params/customer_session_create_params.rb index 65b8c9314..157dceea8 100644 --- a/lib/stripe/params/customer_session_create_params.rb +++ b/lib/stripe/params/customer_session_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class CustomerSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class BuyButton < Stripe::RequestParams + class CustomerSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class BuyButton < ::Stripe::RequestParams # Whether the buy button is enabled. attr_accessor :enabled @@ -13,8 +13,8 @@ def initialize(enabled: nil) end end - class PaymentElement < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -63,7 +63,7 @@ def initialize(enabled: nil, features: nil) end end - class PricingTable < Stripe::RequestParams + class PricingTable < ::Stripe::RequestParams # Whether the pricing table is enabled. attr_accessor :enabled diff --git a/lib/stripe/params/customer_tax_id_create_params.rb b/lib/stripe/params/customer_tax_id_create_params.rb index b2341c30c..f644afc8e 100644 --- a/lib/stripe/params/customer_tax_id_create_params.rb +++ b/lib/stripe/params/customer_tax_id_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerTaxIdCreateParams < Stripe::RequestParams + class CustomerTaxIdCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` diff --git a/lib/stripe/params/customer_tax_id_delete_params.rb b/lib/stripe/params/customer_tax_id_delete_params.rb index beacff91d..0765891a9 100644 --- a/lib/stripe/params/customer_tax_id_delete_params.rb +++ b/lib/stripe/params/customer_tax_id_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class CustomerTaxIdDeleteParams < Stripe::RequestParams; end + class CustomerTaxIdDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/customer_tax_id_list_params.rb b/lib/stripe/params/customer_tax_id_list_params.rb index 7888c332c..2d8e398b0 100644 --- a/lib/stripe/params/customer_tax_id_list_params.rb +++ b/lib/stripe/params/customer_tax_id_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerTaxIdListParams < Stripe::RequestParams + class CustomerTaxIdListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/customer_tax_id_retrieve_params.rb b/lib/stripe/params/customer_tax_id_retrieve_params.rb index da844b56b..2f3add426 100644 --- a/lib/stripe/params/customer_tax_id_retrieve_params.rb +++ b/lib/stripe/params/customer_tax_id_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class CustomerTaxIdRetrieveParams < Stripe::RequestParams + class CustomerTaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/customer_update_params.rb b/lib/stripe/params/customer_update_params.rb index 271874d8f..2ce8fc07b 100644 --- a/lib/stripe/params/customer_update_params.rb +++ b/lib/stripe/params/customer_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class CustomerUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -27,8 +27,8 @@ def initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). attr_accessor :reconciliation_mode @@ -45,8 +45,8 @@ def initialize(settings: nil) end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -58,7 +58,7 @@ def initialize(name: nil, value: nil) end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for future invoices. @@ -91,8 +91,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -136,7 +136,7 @@ def initialize(address: nil, name: nil, phone: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. attr_accessor :ip_address # A flag that indicates when Stripe should validate the customer tax location. Defaults to `auto`. diff --git a/lib/stripe/params/dispute_close_params.rb b/lib/stripe/params/dispute_close_params.rb index 3bbcd73e5..0b0d83a50 100644 --- a/lib/stripe/params/dispute_close_params.rb +++ b/lib/stripe/params/dispute_close_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class DisputeCloseParams < Stripe::RequestParams + class DisputeCloseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/dispute_list_params.rb b/lib/stripe/params/dispute_list_params.rb index 2f7da0413..f4d05f166 100644 --- a/lib/stripe/params/dispute_list_params.rb +++ b/lib/stripe/params/dispute_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/dispute_retrieve_params.rb b/lib/stripe/params/dispute_retrieve_params.rb index 4ce714a42..cf6455fea 100644 --- a/lib/stripe/params/dispute_retrieve_params.rb +++ b/lib/stripe/params/dispute_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/dispute_update_params.rb b/lib/stripe/params/dispute_update_params.rb index 71a736baa..1529bf120 100644 --- a/lib/stripe/params/dispute_update_params.rb +++ b/lib/stripe/params/dispute_update_params.rb @@ -2,12 +2,12 @@ # frozen_string_literal: true module Stripe - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class EnhancedEvidence < Stripe::RequestParams - class VisaCompellingEvidence3 < Stripe::RequestParams - class DisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class EnhancedEvidence < ::Stripe::RequestParams + class VisaCompellingEvidence3 < ::Stripe::RequestParams + class DisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -75,8 +75,8 @@ def initialize( end end - class PriorUndisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class PriorUndisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -154,7 +154,7 @@ def initialize(disputed_transaction: nil, prior_undisputed_transactions: nil) end end - class VisaCompliance < Stripe::RequestParams + class VisaCompliance < ::Stripe::RequestParams # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. attr_accessor :fee_acknowledged diff --git a/lib/stripe/params/entitlements/active_entitlement_list_params.rb b/lib/stripe/params/entitlements/active_entitlement_list_params.rb index db06aafa6..a45225597 100644 --- a/lib/stripe/params/entitlements/active_entitlement_list_params.rb +++ b/lib/stripe/params/entitlements/active_entitlement_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class ActiveEntitlementListParams < Stripe::RequestParams + class ActiveEntitlementListParams < ::Stripe::RequestParams # The ID of the customer. attr_accessor :customer # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb b/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb index 3aa0d53a9..6a2b9a100 100644 --- a/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +++ b/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class ActiveEntitlementRetrieveParams < Stripe::RequestParams + class ActiveEntitlementRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/entitlements/feature_create_params.rb b/lib/stripe/params/entitlements/feature_create_params.rb index 26b68430a..de45b1971 100644 --- a/lib/stripe/params/entitlements/feature_create_params.rb +++ b/lib/stripe/params/entitlements/feature_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class FeatureCreateParams < Stripe::RequestParams + class FeatureCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A unique key you provide as your own system identifier. This may be up to 80 characters. diff --git a/lib/stripe/params/entitlements/feature_list_params.rb b/lib/stripe/params/entitlements/feature_list_params.rb index 3387294fb..f20bdc945 100644 --- a/lib/stripe/params/entitlements/feature_list_params.rb +++ b/lib/stripe/params/entitlements/feature_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class FeatureListParams < Stripe::RequestParams + class FeatureListParams < ::Stripe::RequestParams # If set, filter results to only include features with the given archive status. attr_accessor :archived # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/entitlements/feature_retrieve_params.rb b/lib/stripe/params/entitlements/feature_retrieve_params.rb index 41f65c14d..72aaac23c 100644 --- a/lib/stripe/params/entitlements/feature_retrieve_params.rb +++ b/lib/stripe/params/entitlements/feature_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class FeatureRetrieveParams < Stripe::RequestParams + class FeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/entitlements/feature_update_params.rb b/lib/stripe/params/entitlements/feature_update_params.rb index cfa9b8f17..96e1144db 100644 --- a/lib/stripe/params/entitlements/feature_update_params.rb +++ b/lib/stripe/params/entitlements/feature_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Entitlements - class FeatureUpdateParams < Stripe::RequestParams + class FeatureUpdateParams < ::Stripe::RequestParams # Inactive features cannot be attached to new products and will not be returned from the features list endpoint. attr_accessor :active # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/ephemeral_key_create_params.rb b/lib/stripe/params/ephemeral_key_create_params.rb index be4e59ce1..270860474 100644 --- a/lib/stripe/params/ephemeral_key_create_params.rb +++ b/lib/stripe/params/ephemeral_key_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class EphemeralKeyCreateParams < Stripe::RequestParams + class EphemeralKeyCreateParams < ::Stripe::RequestParams # The ID of the Customer you'd like to modify using the resulting ephemeral key. attr_accessor :customer # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/ephemeral_key_delete_params.rb b/lib/stripe/params/ephemeral_key_delete_params.rb index 3685475e1..29935ea7e 100644 --- a/lib/stripe/params/ephemeral_key_delete_params.rb +++ b/lib/stripe/params/ephemeral_key_delete_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class EphemeralKeyDeleteParams < Stripe::RequestParams + class EphemeralKeyDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/event_list_params.rb b/lib/stripe/params/event_list_params.rb index 559653b52..4fe061d86 100644 --- a/lib/stripe/params/event_list_params.rb +++ b/lib/stripe/params/event_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class EventListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/event_retrieve_params.rb b/lib/stripe/params/event_retrieve_params.rb index 1038b91ba..9f938aa93 100644 --- a/lib/stripe/params/event_retrieve_params.rb +++ b/lib/stripe/params/event_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class EventRetrieveParams < Stripe::RequestParams + class EventRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/exchange_rate_list_params.rb b/lib/stripe/params/exchange_rate_list_params.rb index 025a170a4..310dfbf0e 100644 --- a/lib/stripe/params/exchange_rate_list_params.rb +++ b/lib/stripe/params/exchange_rate_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ExchangeRateListParams < Stripe::RequestParams + class ExchangeRateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/exchange_rate_retrieve_params.rb b/lib/stripe/params/exchange_rate_retrieve_params.rb index 682538f80..6b4a1a55f 100644 --- a/lib/stripe/params/exchange_rate_retrieve_params.rb +++ b/lib/stripe/params/exchange_rate_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ExchangeRateRetrieveParams < Stripe::RequestParams + class ExchangeRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/external_account_create_params.rb b/lib/stripe/params/external_account_create_params.rb index 4efc92f74..ed1e5ae2b 100644 --- a/lib/stripe/params/external_account_create_params.rb +++ b/lib/stripe/params/external_account_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class ExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object. @@ -38,7 +38,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field address_city @@ -101,7 +101,7 @@ def initialize( end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object attr_accessor :object # Attribute for param field currency diff --git a/lib/stripe/params/external_account_delete_params.rb b/lib/stripe/params/external_account_delete_params.rb index d6c8478ee..de45963f5 100644 --- a/lib/stripe/params/external_account_delete_params.rb +++ b/lib/stripe/params/external_account_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class ExternalAccountDeleteParams < Stripe::RequestParams; end + class ExternalAccountDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/external_account_list_params.rb b/lib/stripe/params/external_account_list_params.rb index 67b2e3277..2c0684024 100644 --- a/lib/stripe/params/external_account_list_params.rb +++ b/lib/stripe/params/external_account_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ExternalAccountListParams < Stripe::RequestParams + class ExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/external_account_retrieve_params.rb b/lib/stripe/params/external_account_retrieve_params.rb index 3f4323002..8ef6755a6 100644 --- a/lib/stripe/params/external_account_retrieve_params.rb +++ b/lib/stripe/params/external_account_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ExternalAccountRetrieveParams < Stripe::RequestParams + class ExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/external_account_update_params.rb b/lib/stripe/params/external_account_update_params.rb index 8d80339d1..64c02a536 100644 --- a/lib/stripe/params/external_account_update_params.rb +++ b/lib/stripe/params/external_account_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class ExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class ExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files diff --git a/lib/stripe/params/file_create_params.rb b/lib/stripe/params/file_create_params.rb index 3d073158b..de65f1248 100644 --- a/lib/stripe/params/file_create_params.rb +++ b/lib/stripe/params/file_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class FileCreateParams < Stripe::RequestParams - class FileLinkData < Stripe::RequestParams + class FileCreateParams < ::Stripe::RequestParams + class FileLinkData < ::Stripe::RequestParams # Set this to `true` to create a file link for the newly created file. Creating a link is only possible when the file's `purpose` is one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `issuing_regulatory_reporting`, `pci_document`, `tax_document_user_upload`, `terminal_android_apk`, or `terminal_reader_splashscreen`. attr_accessor :create # The link isn't available after this future timestamp. diff --git a/lib/stripe/params/file_link_create_params.rb b/lib/stripe/params/file_link_create_params.rb index 5efc95094..195ca09eb 100644 --- a/lib/stripe/params/file_link_create_params.rb +++ b/lib/stripe/params/file_link_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FileLinkCreateParams < Stripe::RequestParams + class FileLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The link isn't usable after this future timestamp. diff --git a/lib/stripe/params/file_link_list_params.rb b/lib/stripe/params/file_link_list_params.rb index 08066ba8f..4cee33c30 100644 --- a/lib/stripe/params/file_link_list_params.rb +++ b/lib/stripe/params/file_link_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class FileLinkListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileLinkListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/file_link_retrieve_params.rb b/lib/stripe/params/file_link_retrieve_params.rb index a0c0d278b..359de12cc 100644 --- a/lib/stripe/params/file_link_retrieve_params.rb +++ b/lib/stripe/params/file_link_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FileLinkRetrieveParams < Stripe::RequestParams + class FileLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/file_link_update_params.rb b/lib/stripe/params/file_link_update_params.rb index 64b9cbccf..029f4f1a8 100644 --- a/lib/stripe/params/file_link_update_params.rb +++ b/lib/stripe/params/file_link_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FileLinkUpdateParams < Stripe::RequestParams + class FileLinkUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately. diff --git a/lib/stripe/params/file_list_params.rb b/lib/stripe/params/file_list_params.rb index ac157cc01..5ae96c87b 100644 --- a/lib/stripe/params/file_list_params.rb +++ b/lib/stripe/params/file_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class FileListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/file_retrieve_params.rb b/lib/stripe/params/file_retrieve_params.rb index d89788450..c5adf53f6 100644 --- a/lib/stripe/params/file_retrieve_params.rb +++ b/lib/stripe/params/file_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FileRetrieveParams < Stripe::RequestParams + class FileRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/financial_connections/account_disconnect_params.rb b/lib/stripe/params/financial_connections/account_disconnect_params.rb index 349c24564..77336095c 100644 --- a/lib/stripe/params/financial_connections/account_disconnect_params.rb +++ b/lib/stripe/params/financial_connections/account_disconnect_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountDisconnectParams < Stripe::RequestParams + class AccountDisconnectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb b/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb index c337d83d6..aa69c1673 100644 --- a/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +++ b/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountInferredBalanceListParams < Stripe::RequestParams + class AccountInferredBalanceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/financial_connections/account_list_owners_params.rb b/lib/stripe/params/financial_connections/account_list_owners_params.rb index eb9646bda..288ffa9d6 100644 --- a/lib/stripe/params/financial_connections/account_list_owners_params.rb +++ b/lib/stripe/params/financial_connections/account_list_owners_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountListOwnersParams < Stripe::RequestParams + class AccountListOwnersParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/financial_connections/account_list_params.rb b/lib/stripe/params/financial_connections/account_list_params.rb index 8ef37c2e2..9e6c0d083 100644 --- a/lib/stripe/params/financial_connections/account_list_params.rb +++ b/lib/stripe/params/financial_connections/account_list_params.rb @@ -3,8 +3,8 @@ module Stripe module FinancialConnections - class AccountListParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. attr_accessor :account # The ID of the Stripe customer whose accounts will be retrieved. diff --git a/lib/stripe/params/financial_connections/account_owner_list_params.rb b/lib/stripe/params/financial_connections/account_owner_list_params.rb index fcdc6e488..da7c824d5 100644 --- a/lib/stripe/params/financial_connections/account_owner_list_params.rb +++ b/lib/stripe/params/financial_connections/account_owner_list_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountOwnerListParams < Stripe::RequestParams + class AccountOwnerListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/financial_connections/account_refresh_account_params.rb b/lib/stripe/params/financial_connections/account_refresh_account_params.rb index 14cb81bff..82af249cb 100644 --- a/lib/stripe/params/financial_connections/account_refresh_account_params.rb +++ b/lib/stripe/params/financial_connections/account_refresh_account_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountRefreshAccountParams < Stripe::RequestParams + class AccountRefreshAccountParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The list of account features that you would like to refresh. diff --git a/lib/stripe/params/financial_connections/account_refresh_params.rb b/lib/stripe/params/financial_connections/account_refresh_params.rb index a99627f06..b13d6c760 100644 --- a/lib/stripe/params/financial_connections/account_refresh_params.rb +++ b/lib/stripe/params/financial_connections/account_refresh_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountRefreshParams < Stripe::RequestParams + class AccountRefreshParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The list of account features that you would like to refresh. diff --git a/lib/stripe/params/financial_connections/account_retrieve_params.rb b/lib/stripe/params/financial_connections/account_retrieve_params.rb index 319ec5626..3d5c2086f 100644 --- a/lib/stripe/params/financial_connections/account_retrieve_params.rb +++ b/lib/stripe/params/financial_connections/account_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/financial_connections/account_subscribe_params.rb b/lib/stripe/params/financial_connections/account_subscribe_params.rb index 7c99bebcc..29b89fb10 100644 --- a/lib/stripe/params/financial_connections/account_subscribe_params.rb +++ b/lib/stripe/params/financial_connections/account_subscribe_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountSubscribeParams < Stripe::RequestParams + class AccountSubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The list of account features to which you would like to subscribe. diff --git a/lib/stripe/params/financial_connections/account_unsubscribe_params.rb b/lib/stripe/params/financial_connections/account_unsubscribe_params.rb index 86c5a53c1..77adc5d11 100644 --- a/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +++ b/lib/stripe/params/financial_connections/account_unsubscribe_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class AccountUnsubscribeParams < Stripe::RequestParams + class AccountUnsubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The list of account features from which you would like to unsubscribe. diff --git a/lib/stripe/params/financial_connections/institution_list_params.rb b/lib/stripe/params/financial_connections/institution_list_params.rb index 6d1eb40ec..311339d4d 100644 --- a/lib/stripe/params/financial_connections/institution_list_params.rb +++ b/lib/stripe/params/financial_connections/institution_list_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class InstitutionListParams < Stripe::RequestParams + class InstitutionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/financial_connections/institution_retrieve_params.rb b/lib/stripe/params/financial_connections/institution_retrieve_params.rb index 4eadd5517..5fec7db88 100644 --- a/lib/stripe/params/financial_connections/institution_retrieve_params.rb +++ b/lib/stripe/params/financial_connections/institution_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class InstitutionRetrieveParams < Stripe::RequestParams + class InstitutionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/financial_connections/session_create_params.rb b/lib/stripe/params/financial_connections/session_create_params.rb index e15de4d32..164d9bf5d 100644 --- a/lib/stripe/params/financial_connections/session_create_params.rb +++ b/lib/stripe/params/financial_connections/session_create_params.rb @@ -3,8 +3,8 @@ module Stripe module FinancialConnections - class SessionCreateParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`. attr_accessor :account # The ID of the Stripe customer whose accounts will be retrieved. Should only be present if `type` is `customer`. @@ -22,7 +22,7 @@ def initialize(account: nil, customer: nil, customer_account: nil, type: nil) end end - class Filters < Stripe::RequestParams + class Filters < ::Stripe::RequestParams # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. attr_accessor :account_subcategories # List of countries from which to collect accounts. @@ -37,7 +37,7 @@ def initialize(account_subcategories: nil, countries: nil, institution: nil) end end - class Limits < Stripe::RequestParams + class Limits < ::Stripe::RequestParams # The number of accounts that can be linked in this Session. attr_accessor :accounts @@ -46,7 +46,7 @@ def initialize(accounts: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Whether manual entry will be handled by Stripe during the Session. attr_accessor :mode diff --git a/lib/stripe/params/financial_connections/session_retrieve_params.rb b/lib/stripe/params/financial_connections/session_retrieve_params.rb index 03b839fba..44aa9e30c 100644 --- a/lib/stripe/params/financial_connections/session_retrieve_params.rb +++ b/lib/stripe/params/financial_connections/session_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/financial_connections/transaction_list_params.rb b/lib/stripe/params/financial_connections/transaction_list_params.rb index f95421897..ead67129a 100644 --- a/lib/stripe/params/financial_connections/transaction_list_params.rb +++ b/lib/stripe/params/financial_connections/transaction_list_params.rb @@ -3,8 +3,8 @@ module Stripe module FinancialConnections - class TransactionListParams < Stripe::RequestParams - class TransactedAt < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class TransactedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -22,7 +22,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class TransactionRefresh < Stripe::RequestParams + class TransactionRefresh < ::Stripe::RequestParams # Return results where the transactions were created or updated by a refresh that took place after this refresh (non-inclusive). attr_accessor :after diff --git a/lib/stripe/params/financial_connections/transaction_retrieve_params.rb b/lib/stripe/params/financial_connections/transaction_retrieve_params.rb index be282f03a..9588e2047 100644 --- a/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +++ b/lib/stripe/params/financial_connections/transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module FinancialConnections - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/forwarding/request_create_params.rb b/lib/stripe/params/forwarding/request_create_params.rb index ba570cea3..8080595b1 100644 --- a/lib/stripe/params/forwarding/request_create_params.rb +++ b/lib/stripe/params/forwarding/request_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Forwarding - class RequestCreateParams < Stripe::RequestParams - class Request < Stripe::RequestParams - class Header < Stripe::RequestParams + class RequestCreateParams < ::Stripe::RequestParams + class Request < ::Stripe::RequestParams + class Header < ::Stripe::RequestParams # The header name. attr_accessor :name # The header value. diff --git a/lib/stripe/params/forwarding/request_list_params.rb b/lib/stripe/params/forwarding/request_list_params.rb index caaa7bd6f..4ddbb9aa8 100644 --- a/lib/stripe/params/forwarding/request_list_params.rb +++ b/lib/stripe/params/forwarding/request_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Forwarding - class RequestListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RequestListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Return results where the `created` field is greater than this value. attr_accessor :gt # Return results where the `created` field is greater than or equal to this value. diff --git a/lib/stripe/params/forwarding/request_retrieve_params.rb b/lib/stripe/params/forwarding/request_retrieve_params.rb index 38dd099c5..db1809a05 100644 --- a/lib/stripe/params/forwarding/request_retrieve_params.rb +++ b/lib/stripe/params/forwarding/request_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Forwarding - class RequestRetrieveParams < Stripe::RequestParams + class RequestRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/fx_quote_create_params.rb b/lib/stripe/params/fx_quote_create_params.rb index 5b09a81cb..5bb168071 100644 --- a/lib/stripe/params/fx_quote_create_params.rb +++ b/lib/stripe/params/fx_quote_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class FxQuoteCreateParams < Stripe::RequestParams - class Usage < Stripe::RequestParams - class Payment < Stripe::RequestParams + class FxQuoteCreateParams < ::Stripe::RequestParams + class Usage < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -20,7 +20,7 @@ def initialize(destination: nil, on_behalf_of: nil) end end - class Transfer < Stripe::RequestParams + class Transfer < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. diff --git a/lib/stripe/params/fx_quote_list_params.rb b/lib/stripe/params/fx_quote_list_params.rb index c28cbcaac..e51545343 100644 --- a/lib/stripe/params/fx_quote_list_params.rb +++ b/lib/stripe/params/fx_quote_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FxQuoteListParams < Stripe::RequestParams + class FxQuoteListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/fx_quote_retrieve_params.rb b/lib/stripe/params/fx_quote_retrieve_params.rb index 2d1a441cb..1ed7900f0 100644 --- a/lib/stripe/params/fx_quote_retrieve_params.rb +++ b/lib/stripe/params/fx_quote_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class FxQuoteRetrieveParams < Stripe::RequestParams + class FxQuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/identity/verification_report_list_params.rb b/lib/stripe/params/identity/verification_report_list_params.rb index 46d5ce2f6..d96563a50 100644 --- a/lib/stripe/params/identity/verification_report_list_params.rb +++ b/lib/stripe/params/identity/verification_report_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Identity - class VerificationReportListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationReportListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/identity/verification_report_retrieve_params.rb b/lib/stripe/params/identity/verification_report_retrieve_params.rb index c5639738d..bbf62489f 100644 --- a/lib/stripe/params/identity/verification_report_retrieve_params.rb +++ b/lib/stripe/params/identity/verification_report_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Identity - class VerificationReportRetrieveParams < Stripe::RequestParams + class VerificationReportRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/identity/verification_session_cancel_params.rb b/lib/stripe/params/identity/verification_session_cancel_params.rb index 322dea7ea..e3190fb4e 100644 --- a/lib/stripe/params/identity/verification_session_cancel_params.rb +++ b/lib/stripe/params/identity/verification_session_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Identity - class VerificationSessionCancelParams < Stripe::RequestParams + class VerificationSessionCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/identity/verification_session_create_params.rb b/lib/stripe/params/identity/verification_session_create_params.rb index 8220776c2..54d64c62c 100644 --- a/lib/stripe/params/identity/verification_session_create_params.rb +++ b/lib/stripe/params/identity/verification_session_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Identity - class VerificationSessionCreateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionCreateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. attr_accessor :allowed_types # Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth. @@ -35,7 +35,7 @@ def initialize(document: nil) end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified attr_accessor :email # Phone number of user being verified @@ -47,7 +47,7 @@ def initialize(email: nil, phone: nil) end end - class RelatedPerson < Stripe::RequestParams + class RelatedPerson < ::Stripe::RequestParams # A token representing a connected account. If provided, the person parameter is also required and must be associated with the account. attr_accessor :account # A token referencing a Person resource that this verification is being used to verify. diff --git a/lib/stripe/params/identity/verification_session_list_params.rb b/lib/stripe/params/identity/verification_session_list_params.rb index 6949c75ea..0f721204f 100644 --- a/lib/stripe/params/identity/verification_session_list_params.rb +++ b/lib/stripe/params/identity/verification_session_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Identity - class VerificationSessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationSessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/identity/verification_session_redact_params.rb b/lib/stripe/params/identity/verification_session_redact_params.rb index 23d477b45..a2162ae46 100644 --- a/lib/stripe/params/identity/verification_session_redact_params.rb +++ b/lib/stripe/params/identity/verification_session_redact_params.rb @@ -3,7 +3,7 @@ module Stripe module Identity - class VerificationSessionRedactParams < Stripe::RequestParams + class VerificationSessionRedactParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/identity/verification_session_retrieve_params.rb b/lib/stripe/params/identity/verification_session_retrieve_params.rb index 7c4fc59f7..a82132a29 100644 --- a/lib/stripe/params/identity/verification_session_retrieve_params.rb +++ b/lib/stripe/params/identity/verification_session_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Identity - class VerificationSessionRetrieveParams < Stripe::RequestParams + class VerificationSessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/identity/verification_session_update_params.rb b/lib/stripe/params/identity/verification_session_update_params.rb index 620845ec5..74e498f15 100644 --- a/lib/stripe/params/identity/verification_session_update_params.rb +++ b/lib/stripe/params/identity/verification_session_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Identity - class VerificationSessionUpdateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionUpdateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. attr_accessor :allowed_types # Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth. @@ -35,7 +35,7 @@ def initialize(document: nil) end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified attr_accessor :email # Phone number of user being verified diff --git a/lib/stripe/params/invoice_add_lines_params.rb b/lib/stripe/params/invoice_add_lines_params.rb index 4f081e54e..8b3580f94 100644 --- a/lib/stripe/params/invoice_add_lines_params.rb +++ b/lib/stripe/params/invoice_add_lines_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class InvoiceAddLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceAddLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -47,7 +47,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -59,8 +59,8 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -120,7 +120,7 @@ def initialize( end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price @@ -129,8 +129,8 @@ def initialize(price: nil) end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_accessor :country # An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. diff --git a/lib/stripe/params/invoice_attach_payment_params.rb b/lib/stripe/params/invoice_attach_payment_params.rb index d46808df2..e4ce74299 100644 --- a/lib/stripe/params/invoice_attach_payment_params.rb +++ b/lib/stripe/params/invoice_attach_payment_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceAttachPaymentParams < Stripe::RequestParams - class PaymentRecordData < Stripe::RequestParams + class InvoiceAttachPaymentParams < ::Stripe::RequestParams + class PaymentRecordData < ::Stripe::RequestParams # The amount that was paid out of band. attr_accessor :amount # The currency that was paid out of band. diff --git a/lib/stripe/params/invoice_create_params.rb b/lib/stripe/params/invoice_create_params.rb index 3d01f2fa5..15987bebd 100644 --- a/lib/stripe/params/invoice_create_params.rb +++ b/lib/stripe/params/invoice_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceCreateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceCreateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). attr_accessor :amount # Number of days from when invoice is finalized until the payment is due. @@ -21,8 +21,8 @@ def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -44,7 +44,7 @@ def initialize(enabled: nil, liability: nil) end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -56,9 +56,9 @@ def initialize(name: nil, value: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -99,7 +99,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class FromInvoice < Stripe::RequestParams + class FromInvoice < ::Stripe::RequestParams # The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted attr_accessor :action # The `id` of the invoice that will be cloned. @@ -111,7 +111,7 @@ def initialize(action: nil, invoice: nil) end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -123,10 +123,10 @@ def initialize(account: nil, type: nil) end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -145,7 +145,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -154,9 +154,9 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -195,9 +195,9 @@ def initialize(installments: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -226,10 +226,10 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. attr_accessor :amount_includes_iof @@ -238,10 +238,10 @@ def initialize(amount_includes_iof: nil) end end - class SepaDebit < Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -266,9 +266,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -361,8 +361,8 @@ def initialize(default_mandate: nil, payment_method_options: nil, payment_method end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -389,10 +389,10 @@ def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_versio end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -404,7 +404,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -426,8 +426,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -495,8 +495,8 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -540,7 +540,7 @@ def initialize(address: nil, name: nil, phone: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. attr_accessor :amount # ID of an existing, connected Stripe account. diff --git a/lib/stripe/params/invoice_create_preview_params.rb b/lib/stripe/params/invoice_create_preview_params.rb index 3808fd100..83afb57e3 100644 --- a/lib/stripe/params/invoice_create_preview_params.rb +++ b/lib/stripe/params/invoice_create_preview_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class InvoiceCreatePreviewParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class InvoiceCreatePreviewParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -26,8 +26,8 @@ def initialize(enabled: nil, liability: nil) end end - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -58,8 +58,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -103,7 +103,7 @@ def initialize(address: nil, name: nil, phone: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. attr_accessor :ip_address @@ -112,7 +112,7 @@ def initialize(ip_address: nil) end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` attr_accessor :type # Value of the tax ID. @@ -143,9 +143,9 @@ def initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -186,10 +186,10 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class InvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -230,7 +230,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -242,7 +242,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -338,7 +338,7 @@ def initialize( end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -350,10 +350,10 @@ def initialize(account: nil, type: nil) end end - class ScheduleDetails < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class ScheduleDetails < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -362,7 +362,7 @@ def initialize(discount: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -390,8 +390,8 @@ def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil) end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. attr_accessor :index @@ -400,7 +400,7 @@ def initialize(index: nil) end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -425,9 +425,9 @@ def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil) end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. attr_accessor :type @@ -461,7 +461,7 @@ def initialize( end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. attr_accessor :coupon # The ID of a discount to remove from the `discounts` array. @@ -476,7 +476,7 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. attr_accessor :coupon # An ID of an existing discount to replace the `discounts` array with. @@ -507,11 +507,11 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -552,7 +552,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -593,7 +593,7 @@ def initialize( end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. attr_accessor :price @@ -602,10 +602,10 @@ def initialize(price: nil) end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -646,7 +646,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -703,7 +703,7 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. attr_accessor :add # Keys to remove from schedule phase metadata. @@ -721,8 +721,8 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -741,8 +741,8 @@ def initialize(set: nil, type: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -803,8 +803,8 @@ def initialize( end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -823,11 +823,11 @@ def initialize(flexible: nil, type: nil) end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -868,8 +868,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_accessor :timestamp # Select how to calculate the end of the invoice item period. @@ -881,7 +881,7 @@ def initialize(timestamp: nil, type: nil) end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_accessor :timestamp # Select how to calculate the start of the invoice item period. @@ -903,7 +903,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -963,8 +963,8 @@ def initialize( end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -986,7 +986,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -998,9 +998,9 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -1041,7 +1041,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -1053,8 +1053,8 @@ def initialize(interval: nil, interval_count: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -1079,8 +1079,8 @@ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -1089,9 +1089,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -1132,8 +1132,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -1174,7 +1174,7 @@ def initialize( end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -1227,7 +1227,7 @@ def initialize( end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -1236,7 +1236,7 @@ def initialize(behavior: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -1248,8 +1248,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -1370,9 +1370,9 @@ def initialize( end end - class Prebilling < Stripe::RequestParams - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. attr_accessor :index @@ -1381,7 +1381,7 @@ def initialize(index: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -1452,9 +1452,9 @@ def initialize( end end - class SubscriptionDetails < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionDetails < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -1473,8 +1473,8 @@ def initialize(flexible: nil, type: nil) end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price # Controls which subscription items the billing schedule applies to. @@ -1486,8 +1486,8 @@ def initialize(price: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -1525,8 +1525,8 @@ def initialize(applies_to: nil, bill_until: nil, key: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -1535,9 +1535,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -1578,8 +1578,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -1669,7 +1669,7 @@ def initialize( end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations diff --git a/lib/stripe/params/invoice_delete_params.rb b/lib/stripe/params/invoice_delete_params.rb index e86abb8ae..3eccef9a7 100644 --- a/lib/stripe/params/invoice_delete_params.rb +++ b/lib/stripe/params/invoice_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class InvoiceDeleteParams < Stripe::RequestParams; end + class InvoiceDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/invoice_finalize_invoice_params.rb b/lib/stripe/params/invoice_finalize_invoice_params.rb index 2ad5b584a..bd3cdb744 100644 --- a/lib/stripe/params/invoice_finalize_invoice_params.rb +++ b/lib/stripe/params/invoice_finalize_invoice_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceFinalizeInvoiceParams < Stripe::RequestParams + class InvoiceFinalizeInvoiceParams < ::Stripe::RequestParams # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. attr_accessor :auto_advance # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/invoice_item_create_params.rb b/lib/stripe/params/invoice_item_create_params.rb index 08c75e70e..b91ded41c 100644 --- a/lib/stripe/params/invoice_item_create_params.rb +++ b/lib/stripe/params/invoice_item_create_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class InvoiceItemCreateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemCreateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -46,7 +46,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -58,7 +58,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -85,7 +85,7 @@ def initialize( end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price diff --git a/lib/stripe/params/invoice_item_delete_params.rb b/lib/stripe/params/invoice_item_delete_params.rb index 80ba32b8e..5ee4cba73 100644 --- a/lib/stripe/params/invoice_item_delete_params.rb +++ b/lib/stripe/params/invoice_item_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class InvoiceItemDeleteParams < Stripe::RequestParams; end + class InvoiceItemDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/invoice_item_list_params.rb b/lib/stripe/params/invoice_item_list_params.rb index cbf06d51f..11acc741c 100644 --- a/lib/stripe/params/invoice_item_list_params.rb +++ b/lib/stripe/params/invoice_item_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/invoice_item_retrieve_params.rb b/lib/stripe/params/invoice_item_retrieve_params.rb index aa32466a2..17686638a 100644 --- a/lib/stripe/params/invoice_item_retrieve_params.rb +++ b/lib/stripe/params/invoice_item_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceItemRetrieveParams < Stripe::RequestParams + class InvoiceItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_item_update_params.rb b/lib/stripe/params/invoice_item_update_params.rb index 2e74609a3..cadc33368 100644 --- a/lib/stripe/params/invoice_item_update_params.rb +++ b/lib/stripe/params/invoice_item_update_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class InvoiceItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -46,7 +46,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -58,7 +58,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -85,7 +85,7 @@ def initialize( end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price diff --git a/lib/stripe/params/invoice_line_item_list_params.rb b/lib/stripe/params/invoice_line_item_list_params.rb index c7e409c6b..bd13101a1 100644 --- a/lib/stripe/params/invoice_line_item_list_params.rb +++ b/lib/stripe/params/invoice_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceLineItemListParams < Stripe::RequestParams + class InvoiceLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/invoice_line_item_update_params.rb b/lib/stripe/params/invoice_line_item_update_params.rb index 739a7a3a1..448aa0a3e 100644 --- a/lib/stripe/params/invoice_line_item_update_params.rb +++ b/lib/stripe/params/invoice_line_item_update_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class InvoiceLineItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceLineItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -46,7 +46,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -58,8 +58,8 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -119,7 +119,7 @@ def initialize( end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price @@ -128,8 +128,8 @@ def initialize(price: nil) end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_accessor :country # An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. diff --git a/lib/stripe/params/invoice_list_params.rb b/lib/stripe/params/invoice_list_params.rb index af625239f..35296b8cb 100644 --- a/lib/stripe/params/invoice_list_params.rb +++ b/lib/stripe/params/invoice_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -21,7 +21,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class DueDate < Stripe::RequestParams + class DueDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/invoice_mark_uncollectible_params.rb b/lib/stripe/params/invoice_mark_uncollectible_params.rb index ffb898dc7..f65dc477a 100644 --- a/lib/stripe/params/invoice_mark_uncollectible_params.rb +++ b/lib/stripe/params/invoice_mark_uncollectible_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceMarkUncollectibleParams < Stripe::RequestParams + class InvoiceMarkUncollectibleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_pay_params.rb b/lib/stripe/params/invoice_pay_params.rb index 629699d47..ccf491346 100644 --- a/lib/stripe/params/invoice_pay_params.rb +++ b/lib/stripe/params/invoice_pay_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoicePayParams < Stripe::RequestParams + class InvoicePayParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # In cases where the source used to pay the invoice has insufficient funds, passing `forgive=true` controls whether a charge should be attempted for the full amount available on the source, up to the amount to fully pay the invoice. This effectively forgives the difference between the amount available on the source and the amount due. diff --git a/lib/stripe/params/invoice_payment_list_params.rb b/lib/stripe/params/invoice_payment_list_params.rb index 9e50cb47d..2e50912e3 100644 --- a/lib/stripe/params/invoice_payment_list_params.rb +++ b/lib/stripe/params/invoice_payment_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoicePaymentListParams < Stripe::RequestParams - class Payment < Stripe::RequestParams + class InvoicePaymentListParams < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # Only return invoice payments associated by this payment intent ID. attr_accessor :payment_intent # Only return invoice payments associated by this payment record ID. diff --git a/lib/stripe/params/invoice_payment_retrieve_params.rb b/lib/stripe/params/invoice_payment_retrieve_params.rb index 4a4aa53f0..d107b0152 100644 --- a/lib/stripe/params/invoice_payment_retrieve_params.rb +++ b/lib/stripe/params/invoice_payment_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoicePaymentRetrieveParams < Stripe::RequestParams + class InvoicePaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_remove_lines_params.rb b/lib/stripe/params/invoice_remove_lines_params.rb index f824dd7f9..54e947eb7 100644 --- a/lib/stripe/params/invoice_remove_lines_params.rb +++ b/lib/stripe/params/invoice_remove_lines_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceRemoveLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams + class InvoiceRemoveLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams # Either `delete` or `unassign`. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice. attr_accessor :behavior # ID of an existing line item to remove from this invoice. diff --git a/lib/stripe/params/invoice_rendering_template_archive_params.rb b/lib/stripe/params/invoice_rendering_template_archive_params.rb index 0ca59d2ec..463591859 100644 --- a/lib/stripe/params/invoice_rendering_template_archive_params.rb +++ b/lib/stripe/params/invoice_rendering_template_archive_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceRenderingTemplateArchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_rendering_template_list_params.rb b/lib/stripe/params/invoice_rendering_template_list_params.rb index d51589a0b..853542515 100644 --- a/lib/stripe/params/invoice_rendering_template_list_params.rb +++ b/lib/stripe/params/invoice_rendering_template_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceRenderingTemplateListParams < Stripe::RequestParams + class InvoiceRenderingTemplateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/invoice_rendering_template_retrieve_params.rb b/lib/stripe/params/invoice_rendering_template_retrieve_params.rb index ee876b226..3678abeef 100644 --- a/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +++ b/lib/stripe/params/invoice_rendering_template_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceRenderingTemplateRetrieveParams < Stripe::RequestParams + class InvoiceRenderingTemplateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Attribute for param field version diff --git a/lib/stripe/params/invoice_rendering_template_unarchive_params.rb b/lib/stripe/params/invoice_rendering_template_unarchive_params.rb index 8b56e1658..cbd95e969 100644 --- a/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +++ b/lib/stripe/params/invoice_rendering_template_unarchive_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceRenderingTemplateUnarchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateUnarchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_retrieve_params.rb b/lib/stripe/params/invoice_retrieve_params.rb index b12ca5af4..0576224e5 100644 --- a/lib/stripe/params/invoice_retrieve_params.rb +++ b/lib/stripe/params/invoice_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceRetrieveParams < Stripe::RequestParams + class InvoiceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_search_params.rb b/lib/stripe/params/invoice_search_params.rb index 523480719..146904135 100644 --- a/lib/stripe/params/invoice_search_params.rb +++ b/lib/stripe/params/invoice_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceSearchParams < Stripe::RequestParams + class InvoiceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/invoice_send_invoice_params.rb b/lib/stripe/params/invoice_send_invoice_params.rb index 5b7037ddb..d83796769 100644 --- a/lib/stripe/params/invoice_send_invoice_params.rb +++ b/lib/stripe/params/invoice_send_invoice_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceSendInvoiceParams < Stripe::RequestParams + class InvoiceSendInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/invoice_update_lines_params.rb b/lib/stripe/params/invoice_update_lines_params.rb index 69888daae..344508285 100644 --- a/lib/stripe/params/invoice_update_lines_params.rb +++ b/lib/stripe/params/invoice_update_lines_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class InvoiceUpdateLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceUpdateLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -47,7 +47,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_accessor :end # The start of the period. This value is inclusive. @@ -59,8 +59,8 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -120,7 +120,7 @@ def initialize( end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price @@ -129,8 +129,8 @@ def initialize(price: nil) end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_accessor :country # An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. diff --git a/lib/stripe/params/invoice_update_params.rb b/lib/stripe/params/invoice_update_params.rb index 98cff5825..b4b2c8b77 100644 --- a/lib/stripe/params/invoice_update_params.rb +++ b/lib/stripe/params/invoice_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class InvoiceUpdateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceUpdateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). attr_accessor :amount # Number of days from when invoice is finalized until the payment is due. @@ -21,8 +21,8 @@ def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -44,7 +44,7 @@ def initialize(enabled: nil, liability: nil) end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -56,9 +56,9 @@ def initialize(name: nil, value: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -99,7 +99,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -111,10 +111,10 @@ def initialize(account: nil, type: nil) end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -133,7 +133,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -142,9 +142,9 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -183,9 +183,9 @@ def initialize(installments: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -214,10 +214,10 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. attr_accessor :amount_includes_iof @@ -226,10 +226,10 @@ def initialize(amount_includes_iof: nil) end end - class SepaDebit < Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -254,9 +254,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -349,8 +349,8 @@ def initialize(default_mandate: nil, payment_method_options: nil, payment_method end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -377,10 +377,10 @@ def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_versio end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -392,7 +392,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -414,8 +414,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -483,8 +483,8 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -528,7 +528,7 @@ def initialize(address: nil, name: nil, phone: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. attr_accessor :amount # ID of an existing, connected Stripe account. diff --git a/lib/stripe/params/invoice_void_invoice_params.rb b/lib/stripe/params/invoice_void_invoice_params.rb index 0bcd97ca5..21bb00af2 100644 --- a/lib/stripe/params/invoice_void_invoice_params.rb +++ b/lib/stripe/params/invoice_void_invoice_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class InvoiceVoidInvoiceParams < Stripe::RequestParams + class InvoiceVoidInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/authorization_approve_params.rb b/lib/stripe/params/issuing/authorization_approve_params.rb index 51253b6fa..e35d22efa 100644 --- a/lib/stripe/params/issuing/authorization_approve_params.rb +++ b/lib/stripe/params/issuing/authorization_approve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationApproveParams < Stripe::RequestParams + class AuthorizationApproveParams < ::Stripe::RequestParams # If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request). attr_accessor :amount # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/issuing/authorization_capture_params.rb b/lib/stripe/params/issuing/authorization_capture_params.rb index 325d7fa18..16404e856 100644 --- a/lib/stripe/params/issuing/authorization_capture_params.rb +++ b/lib/stripe/params/issuing/authorization_capture_params.rb @@ -3,10 +3,10 @@ module Stripe module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -33,8 +33,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -43,7 +43,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -52,7 +52,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -98,8 +98,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -155,7 +155,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -182,7 +182,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -194,7 +194,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/issuing/authorization_create_params.rb b/lib/stripe/params/issuing/authorization_create_params.rb index eb8ae5ea7..57089b39a 100644 --- a/lib/stripe/params/issuing/authorization_create_params.rb +++ b/lib/stripe/params/issuing/authorization_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. attr_accessor :atm_fee # The amount of cash requested by the cardholder. @@ -16,8 +16,8 @@ def initialize(atm_fee: nil, cashback_amount: nil) end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -44,8 +44,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -54,7 +54,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -63,7 +63,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -109,7 +109,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -136,7 +136,7 @@ def initialize( end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -179,7 +179,7 @@ def initialize( end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. attr_accessor :acquiring_institution_id @@ -188,8 +188,8 @@ def initialize(acquiring_institution_id: nil) end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. attr_accessor :invalid_account_number_decline_rate_past_hour # The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of bad actors attempting to utilize valid card credentials at merchants with verification requirements. Takes on values between 0 and 100. @@ -208,7 +208,7 @@ def initialize( end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. attr_accessor :dispute_rate # The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing. @@ -230,8 +230,8 @@ def initialize(card_testing_risk: nil, merchant_dispute_risk: nil) end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. attr_accessor :claimed_by # The specific exemption claimed for this authorization. @@ -243,7 +243,7 @@ def initialize(claimed_by: nil, type: nil) end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. attr_accessor :result diff --git a/lib/stripe/params/issuing/authorization_decline_params.rb b/lib/stripe/params/issuing/authorization_decline_params.rb index c3ebbee82..52c629c49 100644 --- a/lib/stripe/params/issuing/authorization_decline_params.rb +++ b/lib/stripe/params/issuing/authorization_decline_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationDeclineParams < Stripe::RequestParams + class AuthorizationDeclineParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/issuing/authorization_expire_params.rb b/lib/stripe/params/issuing/authorization_expire_params.rb index 1fae2fa8e..4f84ffce9 100644 --- a/lib/stripe/params/issuing/authorization_expire_params.rb +++ b/lib/stripe/params/issuing/authorization_expire_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/authorization_finalize_amount_params.rb b/lib/stripe/params/issuing/authorization_finalize_amount_params.rb index 9f9c19970..9f711dd66 100644 --- a/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +++ b/lib/stripe/params/issuing/authorization_finalize_amount_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -32,8 +32,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -42,7 +42,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -51,7 +51,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -97,7 +97,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. diff --git a/lib/stripe/params/issuing/authorization_increment_params.rb b/lib/stripe/params/issuing/authorization_increment_params.rb index f539bdd75..d0a5f03a1 100644 --- a/lib/stripe/params/issuing/authorization_increment_params.rb +++ b/lib/stripe/params/issuing/authorization_increment_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/issuing/authorization_list_params.rb b/lib/stripe/params/issuing/authorization_list_params.rb index e56809d63..859a75773 100644 --- a/lib/stripe/params/issuing/authorization_list_params.rb +++ b/lib/stripe/params/issuing/authorization_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class AuthorizationListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AuthorizationListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/authorization_respond_params.rb b/lib/stripe/params/issuing/authorization_respond_params.rb index 7184835f1..24f07d488 100644 --- a/lib/stripe/params/issuing/authorization_respond_params.rb +++ b/lib/stripe/params/issuing/authorization_respond_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). attr_accessor :confirmed # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/issuing/authorization_retrieve_params.rb b/lib/stripe/params/issuing/authorization_retrieve_params.rb index 3dacaf49f..4ba0b3cf5 100644 --- a/lib/stripe/params/issuing/authorization_retrieve_params.rb +++ b/lib/stripe/params/issuing/authorization_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationRetrieveParams < Stripe::RequestParams + class AuthorizationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/authorization_reverse_params.rb b/lib/stripe/params/issuing/authorization_reverse_params.rb index 8bacee355..5e1c7f892 100644 --- a/lib/stripe/params/issuing/authorization_reverse_params.rb +++ b/lib/stripe/params/issuing/authorization_reverse_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/issuing/authorization_update_params.rb b/lib/stripe/params/issuing/authorization_update_params.rb index 7ecddbe45..97b6ea3d5 100644 --- a/lib/stripe/params/issuing/authorization_update_params.rb +++ b/lib/stripe/params/issuing/authorization_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class AuthorizationUpdateParams < Stripe::RequestParams + class AuthorizationUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/issuing/card_create_params.rb b/lib/stripe/params/issuing/card_create_params.rb index 56f26c9af..5ce99493a 100644 --- a/lib/stripe/params/issuing/card_create_params.rb +++ b/lib/stripe/params/issuing/card_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CardCreateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardCreateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. attr_accessor :encrypted_number @@ -13,8 +13,8 @@ def initialize(encrypted_number: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -45,7 +45,7 @@ def initialize( end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. attr_accessor :mode @@ -54,7 +54,7 @@ def initialize(mode: nil) end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. attr_accessor :eori_number @@ -100,8 +100,8 @@ def initialize( end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. attr_accessor :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. diff --git a/lib/stripe/params/issuing/card_deliver_card_params.rb b/lib/stripe/params/issuing/card_deliver_card_params.rb index 9f627450d..f89de74ee 100644 --- a/lib/stripe/params/issuing/card_deliver_card_params.rb +++ b/lib/stripe/params/issuing/card_deliver_card_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_fail_card_params.rb b/lib/stripe/params/issuing/card_fail_card_params.rb index 8c2c9a3f9..fdeac2811 100644 --- a/lib/stripe/params/issuing/card_fail_card_params.rb +++ b/lib/stripe/params/issuing/card_fail_card_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_list_params.rb b/lib/stripe/params/issuing/card_list_params.rb index e612a46ce..7ed536ca7 100644 --- a/lib/stripe/params/issuing/card_list_params.rb +++ b/lib/stripe/params/issuing/card_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CardListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/card_retrieve_params.rb b/lib/stripe/params/issuing/card_retrieve_params.rb index 483e56d4a..7cf1e3ee0 100644 --- a/lib/stripe/params/issuing/card_retrieve_params.rb +++ b/lib/stripe/params/issuing/card_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardRetrieveParams < Stripe::RequestParams + class CardRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_return_card_params.rb b/lib/stripe/params/issuing/card_return_card_params.rb index a436aac9a..9681aae03 100644 --- a/lib/stripe/params/issuing/card_return_card_params.rb +++ b/lib/stripe/params/issuing/card_return_card_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_ship_card_params.rb b/lib/stripe/params/issuing/card_ship_card_params.rb index 14a52f414..f95ea6893 100644 --- a/lib/stripe/params/issuing/card_ship_card_params.rb +++ b/lib/stripe/params/issuing/card_ship_card_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_submit_card_params.rb b/lib/stripe/params/issuing/card_submit_card_params.rb index 0a4528c53..356026149 100644 --- a/lib/stripe/params/issuing/card_submit_card_params.rb +++ b/lib/stripe/params/issuing/card_submit_card_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/card_update_params.rb b/lib/stripe/params/issuing/card_update_params.rb index 7889b7137..678fd19a2 100644 --- a/lib/stripe/params/issuing/card_update_params.rb +++ b/lib/stripe/params/issuing/card_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CardUpdateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardUpdateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. attr_accessor :encrypted_number @@ -13,8 +13,8 @@ def initialize(encrypted_number: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -45,7 +45,7 @@ def initialize( end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. attr_accessor :mode @@ -54,7 +54,7 @@ def initialize(mode: nil) end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. attr_accessor :eori_number @@ -100,8 +100,8 @@ def initialize( end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. attr_accessor :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. diff --git a/lib/stripe/params/issuing/cardholder_create_params.rb b/lib/stripe/params/issuing/cardholder_create_params.rb index 7506e828f..ec7372c08 100644 --- a/lib/stripe/params/issuing/cardholder_create_params.rb +++ b/lib/stripe/params/issuing/cardholder_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class CardholderCreateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderCreateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -43,7 +43,7 @@ def initialize(address: nil) end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. attr_accessor :tax_id @@ -52,9 +52,9 @@ def initialize(tax_id: nil) end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. attr_accessor :date # The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. @@ -76,7 +76,7 @@ def initialize(user_terms_acceptance: nil) end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -91,8 +91,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. @@ -136,8 +136,8 @@ def initialize( end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. attr_accessor :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. diff --git a/lib/stripe/params/issuing/cardholder_list_params.rb b/lib/stripe/params/issuing/cardholder_list_params.rb index 4b53512ea..cd55245ce 100644 --- a/lib/stripe/params/issuing/cardholder_list_params.rb +++ b/lib/stripe/params/issuing/cardholder_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CardholderListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardholderListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/cardholder_retrieve_params.rb b/lib/stripe/params/issuing/cardholder_retrieve_params.rb index 3987e960d..e2716473d 100644 --- a/lib/stripe/params/issuing/cardholder_retrieve_params.rb +++ b/lib/stripe/params/issuing/cardholder_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CardholderRetrieveParams < Stripe::RequestParams + class CardholderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/cardholder_update_params.rb b/lib/stripe/params/issuing/cardholder_update_params.rb index cdf6da312..3d309587b 100644 --- a/lib/stripe/params/issuing/cardholder_update_params.rb +++ b/lib/stripe/params/issuing/cardholder_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class CardholderUpdateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderUpdateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -43,7 +43,7 @@ def initialize(address: nil) end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. attr_accessor :tax_id @@ -52,9 +52,9 @@ def initialize(tax_id: nil) end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. attr_accessor :date # The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. @@ -76,7 +76,7 @@ def initialize(user_terms_acceptance: nil) end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -91,8 +91,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. @@ -136,8 +136,8 @@ def initialize( end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. attr_accessor :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb index 631b0be74..c16451eaa 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CreditUnderwritingRecordCorrectParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCorrectParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. attr_accessor :application_method # Scope of demand made by the applicant. @@ -19,7 +19,7 @@ def initialize(application_method: nil, purpose: nil, submitted_at: nil) end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. attr_accessor :email # Full name of the company or person. @@ -31,8 +31,8 @@ def initialize(email: nil, name: nil) end end - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. attr_accessor :reason_other_explanation # List of reasons why the application was rejected, up to 4 reasons, in order of importance. @@ -44,7 +44,7 @@ def initialize(reason_other_explanation: nil, reasons: nil) end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The currency of the credit approved, will default to the Account's Issuing currency. @@ -56,7 +56,7 @@ def initialize(amount: nil, currency: nil) end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The currency of the credit approved, will default to the Account's Issuing currency. @@ -74,7 +74,7 @@ def initialize(amount: nil, currency: nil, reason_other_explanation: nil, reason end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. attr_accessor :reason_other_explanation # List of reasons why the credit line was closed, up to 4 reasons, in order of importance. @@ -111,7 +111,7 @@ def initialize( end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. attr_accessor :explanation # The decision before the exception was applied. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb index 8d53088d6..7d54421b6 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CreditUnderwritingRecordCreateFromApplicationParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromApplicationParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. attr_accessor :application_method # Scope of demand made by the applicant. @@ -19,7 +19,7 @@ def initialize(application_method: nil, purpose: nil, submitted_at: nil) end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. attr_accessor :email # Full name of the company or person. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb index 9cf55d8bb..6dfab5181 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class CreditUnderwritingRecordCreateFromProactiveReviewParams < Stripe::RequestParams - class CreditUser < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromProactiveReviewParams < ::Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. attr_accessor :email # Full name of the company or person. @@ -16,8 +16,8 @@ def initialize(email: nil, name: nil) end end - class Decision < Stripe::RequestParams - class CreditLimitApproved < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The currency of the credit approved, will default to the Account's Issuing currency. @@ -29,7 +29,7 @@ def initialize(amount: nil, currency: nil) end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The currency of the credit approved, will default to the Account's Issuing currency. @@ -47,7 +47,7 @@ def initialize(amount: nil, currency: nil, reason_other_explanation: nil, reason end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. attr_accessor :reason_other_explanation # List of reasons why the credit line was closed, up to 4 reasons, in order of importance. @@ -80,7 +80,7 @@ def initialize( end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. attr_accessor :explanation # The decision before the exception was applied. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb index dd98d5c76..054077e9a 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CreditUnderwritingRecordListParams < Stripe::RequestParams + class CreditUnderwritingRecordListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb index 0beb7a715..b2feaffb3 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class CreditUnderwritingRecordReportDecisionParams < Stripe::RequestParams - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class CreditUnderwritingRecordReportDecisionParams < ::Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. attr_accessor :reason_other_explanation # List of reasons why the application was rejected, up to 4 reasons, in order of importance. @@ -17,7 +17,7 @@ def initialize(reason_other_explanation: nil, reasons: nil) end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The currency of the credit approved, will default to the Account's Issuing currency. @@ -42,7 +42,7 @@ def initialize(application_rejected: nil, credit_limit_approved: nil, type: nil) end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. attr_accessor :explanation # The decision before the exception was applied. diff --git a/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb b/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb index 99b3ec86a..864288999 100644 --- a/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +++ b/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class CreditUnderwritingRecordRetrieveParams < Stripe::RequestParams + class CreditUnderwritingRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/dispute_create_params.rb b/lib/stripe/params/issuing/dispute_create_params.rb index 8ea45ae6a..76c1aa0c9 100644 --- a/lib/stripe/params/issuing/dispute_create_params.rb +++ b/lib/stripe/params/issuing/dispute_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class DisputeCreateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeCreateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when order was canceled. @@ -52,7 +52,7 @@ def initialize( end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. @@ -83,7 +83,7 @@ def initialize( end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -95,7 +95,7 @@ def initialize(additional_documentation: nil, explanation: nil) end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -126,7 +126,7 @@ def initialize( end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -138,7 +138,7 @@ def initialize(additional_documentation: nil, explanation: nil) end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when the cardholder expected to receive the product. @@ -165,7 +165,7 @@ def initialize( end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -188,7 +188,7 @@ def initialize( end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when order was canceled. @@ -256,7 +256,7 @@ def initialize( end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # The ID of the ReceivedDebit to initiate an Issuings dispute for. attr_accessor :received_debit diff --git a/lib/stripe/params/issuing/dispute_list_params.rb b/lib/stripe/params/issuing/dispute_list_params.rb index df1947667..8988d5e5c 100644 --- a/lib/stripe/params/issuing/dispute_list_params.rb +++ b/lib/stripe/params/issuing/dispute_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/dispute_retrieve_params.rb b/lib/stripe/params/issuing/dispute_retrieve_params.rb index 4949226e2..4d49164a9 100644 --- a/lib/stripe/params/issuing/dispute_retrieve_params.rb +++ b/lib/stripe/params/issuing/dispute_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb b/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb index ba6236556..02c989e37 100644 --- a/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +++ b/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class DisputeSettlementDetailListParams < Stripe::RequestParams + class DisputeSettlementDetailListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb b/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb index 69df2d72e..fdccfcad3 100644 --- a/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +++ b/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class DisputeSettlementDetailRetrieveParams < Stripe::RequestParams + class DisputeSettlementDetailRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/dispute_submit_params.rb b/lib/stripe/params/issuing/dispute_submit_params.rb index 36a6d3aaf..e912b2720 100644 --- a/lib/stripe/params/issuing/dispute_submit_params.rb +++ b/lib/stripe/params/issuing/dispute_submit_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class DisputeSubmitParams < Stripe::RequestParams + class DisputeSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/issuing/dispute_update_params.rb b/lib/stripe/params/issuing/dispute_update_params.rb index c4d149906..1f3d6b10f 100644 --- a/lib/stripe/params/issuing/dispute_update_params.rb +++ b/lib/stripe/params/issuing/dispute_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Issuing - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when order was canceled. @@ -52,7 +52,7 @@ def initialize( end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. @@ -83,7 +83,7 @@ def initialize( end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -95,7 +95,7 @@ def initialize(additional_documentation: nil, explanation: nil) end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -126,7 +126,7 @@ def initialize( end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -138,7 +138,7 @@ def initialize(additional_documentation: nil, explanation: nil) end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when the cardholder expected to receive the product. @@ -165,7 +165,7 @@ def initialize( end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -188,7 +188,7 @@ def initialize( end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_accessor :additional_documentation # Date when order was canceled. diff --git a/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb b/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb index 4ebc5cc30..847cde9c2 100644 --- a/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +++ b/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class FraudLiabilityDebitListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FraudLiabilityDebitListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb b/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb index 5720cba9e..1ee3883f9 100644 --- a/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +++ b/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class FraudLiabilityDebitRetrieveParams < Stripe::RequestParams + class FraudLiabilityDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/personalization_design_activate_params.rb b/lib/stripe/params/issuing/personalization_design_activate_params.rb index 82f353c74..4f78fc46d 100644 --- a/lib/stripe/params/issuing/personalization_design_activate_params.rb +++ b/lib/stripe/params/issuing/personalization_design_activate_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/personalization_design_create_params.rb b/lib/stripe/params/issuing/personalization_design_create_params.rb index 9f0589c29..4e712bbe7 100644 --- a/lib/stripe/params/issuing/personalization_design_create_params.rb +++ b/lib/stripe/params/issuing/personalization_design_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class PersonalizationDesignCreateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignCreateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. attr_accessor :footer_body # The footer title text of the carrier letter. @@ -22,7 +22,7 @@ def initialize(footer_body: nil, footer_title: nil, header_body: nil, header_tit end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. attr_accessor :is_default diff --git a/lib/stripe/params/issuing/personalization_design_deactivate_params.rb b/lib/stripe/params/issuing/personalization_design_deactivate_params.rb index dc0373d38..f523b5c34 100644 --- a/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +++ b/lib/stripe/params/issuing/personalization_design_deactivate_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/personalization_design_list_params.rb b/lib/stripe/params/issuing/personalization_design_list_params.rb index 1d743d4c5..1b11c4ce0 100644 --- a/lib/stripe/params/issuing/personalization_design_list_params.rb +++ b/lib/stripe/params/issuing/personalization_design_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class PersonalizationDesignListParams < Stripe::RequestParams - class Preferences < Stripe::RequestParams + class PersonalizationDesignListParams < ::Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Only return the personalization design that's set as the default. A connected account uses the Connect platform's default design if no personalization design is set as the default. attr_accessor :is_default # Only return the personalization design that is set as the Connect platform's default. This parameter is only applicable to connected accounts. diff --git a/lib/stripe/params/issuing/personalization_design_reject_params.rb b/lib/stripe/params/issuing/personalization_design_reject_params.rb index 7fd5be684..3f138bb09 100644 --- a/lib/stripe/params/issuing/personalization_design_reject_params.rb +++ b/lib/stripe/params/issuing/personalization_design_reject_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. attr_accessor :card_logo # The reason(s) the carrier text was rejected. diff --git a/lib/stripe/params/issuing/personalization_design_retrieve_params.rb b/lib/stripe/params/issuing/personalization_design_retrieve_params.rb index e396c2d4c..d6f4c42b4 100644 --- a/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +++ b/lib/stripe/params/issuing/personalization_design_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class PersonalizationDesignRetrieveParams < Stripe::RequestParams + class PersonalizationDesignRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/personalization_design_update_params.rb b/lib/stripe/params/issuing/personalization_design_update_params.rb index 7a587e167..3b6450d12 100644 --- a/lib/stripe/params/issuing/personalization_design_update_params.rb +++ b/lib/stripe/params/issuing/personalization_design_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class PersonalizationDesignUpdateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignUpdateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. attr_accessor :footer_body # The footer title text of the carrier letter. @@ -22,7 +22,7 @@ def initialize(footer_body: nil, footer_title: nil, header_body: nil, header_tit end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. attr_accessor :is_default diff --git a/lib/stripe/params/issuing/physical_bundle_list_params.rb b/lib/stripe/params/issuing/physical_bundle_list_params.rb index 0d5f38686..01ee86548 100644 --- a/lib/stripe/params/issuing/physical_bundle_list_params.rb +++ b/lib/stripe/params/issuing/physical_bundle_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class PhysicalBundleListParams < Stripe::RequestParams + class PhysicalBundleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb b/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb index 5ac7dc03b..2c4c0c4a0 100644 --- a/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +++ b/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class PhysicalBundleRetrieveParams < Stripe::RequestParams + class PhysicalBundleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/token_list_params.rb b/lib/stripe/params/issuing/token_list_params.rb index a4838aa86..b5d8462e0 100644 --- a/lib/stripe/params/issuing/token_list_params.rb +++ b/lib/stripe/params/issuing/token_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class TokenListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TokenListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/token_retrieve_params.rb b/lib/stripe/params/issuing/token_retrieve_params.rb index f9d863026..2154254d2 100644 --- a/lib/stripe/params/issuing/token_retrieve_params.rb +++ b/lib/stripe/params/issuing/token_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/token_update_params.rb b/lib/stripe/params/issuing/token_update_params.rb index 5cd3b646d..c779787f1 100644 --- a/lib/stripe/params/issuing/token_update_params.rb +++ b/lib/stripe/params/issuing/token_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class TokenUpdateParams < Stripe::RequestParams + class TokenUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Specifies which status the token should be updated to. diff --git a/lib/stripe/params/issuing/transaction_create_force_capture_params.rb b/lib/stripe/params/issuing/transaction_create_force_capture_params.rb index 7c3034706..0b6e9ae5f 100644 --- a/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +++ b/lib/stripe/params/issuing/transaction_create_force_capture_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -47,9 +47,9 @@ def initialize( end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -76,8 +76,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -86,7 +86,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -95,7 +95,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -141,8 +141,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -198,7 +198,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -225,7 +225,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -237,7 +237,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb b/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb index 90a316093..ab660317f 100644 --- a/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +++ b/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -47,9 +47,9 @@ def initialize( end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -76,8 +76,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -86,7 +86,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -95,7 +95,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -141,8 +141,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -198,7 +198,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -225,7 +225,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -237,7 +237,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/issuing/transaction_list_params.rb b/lib/stripe/params/issuing/transaction_list_params.rb index 24203a0f6..036786d99 100644 --- a/lib/stripe/params/issuing/transaction_list_params.rb +++ b/lib/stripe/params/issuing/transaction_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Issuing - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/issuing/transaction_refund_params.rb b/lib/stripe/params/issuing/transaction_refund_params.rb index 6a2d55910..76c32fd14 100644 --- a/lib/stripe/params/issuing/transaction_refund_params.rb +++ b/lib/stripe/params/issuing/transaction_refund_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/issuing/transaction_retrieve_params.rb b/lib/stripe/params/issuing/transaction_retrieve_params.rb index 1adc40836..881211c0e 100644 --- a/lib/stripe/params/issuing/transaction_retrieve_params.rb +++ b/lib/stripe/params/issuing/transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/issuing/transaction_update_params.rb b/lib/stripe/params/issuing/transaction_update_params.rb index cd3b6284a..d5a42303a 100644 --- a/lib/stripe/params/issuing/transaction_update_params.rb +++ b/lib/stripe/params/issuing/transaction_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Issuing - class TransactionUpdateParams < Stripe::RequestParams + class TransactionUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/mandate_list_params.rb b/lib/stripe/params/mandate_list_params.rb index 85fa6dfc6..c70356ab1 100644 --- a/lib/stripe/params/mandate_list_params.rb +++ b/lib/stripe/params/mandate_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MandateListParams < Stripe::RequestParams + class MandateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/mandate_retrieve_params.rb b/lib/stripe/params/mandate_retrieve_params.rb index 6ca59045f..9c3a37740 100644 --- a/lib/stripe/params/mandate_retrieve_params.rb +++ b/lib/stripe/params/mandate_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MandateRetrieveParams < Stripe::RequestParams + class MandateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/margin_create_params.rb b/lib/stripe/params/margin_create_params.rb index 307b402ad..dfba37da3 100644 --- a/lib/stripe/params/margin_create_params.rb +++ b/lib/stripe/params/margin_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MarginCreateParams < Stripe::RequestParams + class MarginCreateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. Defaults to `true`. attr_accessor :active # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/margin_list_params.rb b/lib/stripe/params/margin_list_params.rb index 2c90301bc..729b4fb20 100644 --- a/lib/stripe/params/margin_list_params.rb +++ b/lib/stripe/params/margin_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MarginListParams < Stripe::RequestParams + class MarginListParams < ::Stripe::RequestParams # Only return margins that are active or inactive. For example, pass `true` to only list active margins. attr_accessor :active # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/margin_retrieve_params.rb b/lib/stripe/params/margin_retrieve_params.rb index f1248e05b..48f46b0e5 100644 --- a/lib/stripe/params/margin_retrieve_params.rb +++ b/lib/stripe/params/margin_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MarginRetrieveParams < Stripe::RequestParams + class MarginRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/margin_update_params.rb b/lib/stripe/params/margin_update_params.rb index e7fc501d3..03bb001e2 100644 --- a/lib/stripe/params/margin_update_params.rb +++ b/lib/stripe/params/margin_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class MarginUpdateParams < Stripe::RequestParams + class MarginUpdateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. attr_accessor :active # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/order_cancel_params.rb b/lib/stripe/params/order_cancel_params.rb index 39a168a54..35fcc0ca6 100644 --- a/lib/stripe/params/order_cancel_params.rb +++ b/lib/stripe/params/order_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/order_create_params.rb b/lib/stripe/params/order_create_params.rb index d3e200df1..385e7eb5f 100644 --- a/lib/stripe/params/order_create_params.rb +++ b/lib/stripe/params/order_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class OrderCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. attr_accessor :enabled @@ -12,8 +12,8 @@ def initialize(enabled: nil) end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -60,7 +60,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. attr_accessor :coupon # ID of an existing discount on the object (or one of its ancestors) to reuse. @@ -75,8 +75,8 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. attr_accessor :coupon # ID of an existing discount on the object (or one of its ancestors) to reuse. @@ -88,7 +88,7 @@ def initialize(coupon: nil, discount: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # ID of the [Product](https://docs.stripe.com/api/products) this [Price](https://docs.stripe.com/api/prices) belongs to. @@ -117,8 +117,8 @@ def initialize( end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. attr_accessor :height # Length, in inches. Maximum precision is 2 decimal places. @@ -228,11 +228,11 @@ def initialize( end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -286,7 +286,7 @@ def initialize( end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -311,7 +311,7 @@ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -328,7 +328,7 @@ def initialize(setup_future_usage: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -348,7 +348,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with the payment method. @@ -366,9 +366,9 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -413,7 +413,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -430,8 +430,8 @@ def initialize(setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -458,8 +458,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -533,7 +533,7 @@ def initialize( end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -560,7 +560,7 @@ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: n end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -580,7 +580,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -600,9 +600,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_accessor :amount # The tax behavior for the line item. @@ -696,8 +696,8 @@ def initialize( end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -727,7 +727,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -747,7 +747,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -835,7 +835,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. attr_accessor :amount # ID of the Connected account receiving the transfer. @@ -887,10 +887,10 @@ def initialize(settings: nil) end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -902,7 +902,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -924,8 +924,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -993,8 +993,8 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1038,8 +1038,8 @@ def initialize(address: nil, name: nil, phone: nil) end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` attr_accessor :type # Value of the tax ID. diff --git a/lib/stripe/params/order_line_item_list_params.rb b/lib/stripe/params/order_line_item_list_params.rb index 78ea5f57a..90c00abbd 100644 --- a/lib/stripe/params/order_line_item_list_params.rb +++ b/lib/stripe/params/order_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderLineItemListParams < Stripe::RequestParams + class OrderLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/order_list_line_items_params.rb b/lib/stripe/params/order_list_line_items_params.rb index c958a76c6..cc127d800 100644 --- a/lib/stripe/params/order_list_line_items_params.rb +++ b/lib/stripe/params/order_list_line_items_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderListLineItemsParams < Stripe::RequestParams + class OrderListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/order_list_params.rb b/lib/stripe/params/order_list_params.rb index 18554e90d..f272fb13c 100644 --- a/lib/stripe/params/order_list_params.rb +++ b/lib/stripe/params/order_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # Only return orders for the given customer. attr_accessor :customer # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/order_reopen_params.rb b/lib/stripe/params/order_reopen_params.rb index 33d14e4c6..a118274c4 100644 --- a/lib/stripe/params/order_reopen_params.rb +++ b/lib/stripe/params/order_reopen_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderReopenParams < Stripe::RequestParams + class OrderReopenParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/order_retrieve_params.rb b/lib/stripe/params/order_retrieve_params.rb index 4a1dd4a26..0b387f889 100644 --- a/lib/stripe/params/order_retrieve_params.rb +++ b/lib/stripe/params/order_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/order_submit_params.rb b/lib/stripe/params/order_submit_params.rb index 9ac72052a..0d26247d5 100644 --- a/lib/stripe/params/order_submit_params.rb +++ b/lib/stripe/params/order_submit_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class OrderSubmitParams < Stripe::RequestParams + class OrderSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # `expected_total` should always be set to the order's `amount_total` field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order. diff --git a/lib/stripe/params/order_update_params.rb b/lib/stripe/params/order_update_params.rb index 810654e52..6f0778d8a 100644 --- a/lib/stripe/params/order_update_params.rb +++ b/lib/stripe/params/order_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class OrderUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. attr_accessor :enabled @@ -12,8 +12,8 @@ def initialize(enabled: nil) end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -60,7 +60,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. attr_accessor :coupon # ID of an existing discount on the object (or one of its ancestors) to reuse. @@ -75,8 +75,8 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. attr_accessor :coupon # ID of an existing discount on the object (or one of its ancestors) to reuse. @@ -88,7 +88,7 @@ def initialize(coupon: nil, discount: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # ID of the [Product](https://docs.stripe.com/api/products) this [Price](https://docs.stripe.com/api/prices) belongs to. @@ -117,8 +117,8 @@ def initialize( end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. attr_accessor :height # Length, in inches. Maximum precision is 2 decimal places. @@ -232,11 +232,11 @@ def initialize( end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -290,7 +290,7 @@ def initialize( end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -315,7 +315,7 @@ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -332,7 +332,7 @@ def initialize(setup_future_usage: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -352,7 +352,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # Indicates that you intend to make future payments with the payment method. @@ -370,9 +370,9 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -417,7 +417,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -434,8 +434,8 @@ def initialize(setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -462,8 +462,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -537,7 +537,7 @@ def initialize( end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -564,7 +564,7 @@ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: n end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -584,7 +584,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -604,9 +604,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_accessor :amount # The tax behavior for the line item. @@ -700,8 +700,8 @@ def initialize( end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -731,7 +731,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -751,7 +751,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -839,7 +839,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. attr_accessor :amount # ID of the Connected account receiving the transfer. @@ -891,10 +891,10 @@ def initialize(settings: nil) end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -906,7 +906,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -928,8 +928,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. @@ -997,8 +997,8 @@ def initialize(shipping_rate: nil, shipping_rate_data: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1042,8 +1042,8 @@ def initialize(address: nil, name: nil, phone: nil) end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` attr_accessor :type # Value of the tax ID. diff --git a/lib/stripe/params/payment_attempt_record_list_params.rb b/lib/stripe/params/payment_attempt_record_list_params.rb index 5eef08992..0806a65cf 100644 --- a/lib/stripe/params/payment_attempt_record_list_params.rb +++ b/lib/stripe/params/payment_attempt_record_list_params.rb @@ -2,18 +2,21 @@ # frozen_string_literal: true module Stripe - class PaymentAttemptRecordListParams < Stripe::RequestParams + class PaymentAttemptRecordListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. attr_accessor :limit # The ID of the Payment Record. attr_accessor :payment_record + # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. + attr_accessor :starting_after - def initialize(expand: nil, limit: nil, payment_record: nil) + def initialize(expand: nil, limit: nil, payment_record: nil, starting_after: nil) @expand = expand @limit = limit @payment_record = payment_record + @starting_after = starting_after end end end diff --git a/lib/stripe/params/payment_attempt_record_retrieve_params.rb b/lib/stripe/params/payment_attempt_record_retrieve_params.rb index 689c2fc34..891f08e4d 100644 --- a/lib/stripe/params/payment_attempt_record_retrieve_params.rb +++ b/lib/stripe/params/payment_attempt_record_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentAttemptRecordRetrieveParams < Stripe::RequestParams + class PaymentAttemptRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb b/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb index 2ca633d4e..350b3ad41 100644 --- a/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +++ b/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentAmountDetailsLineItemListParams < Stripe::RequestParams + class PaymentIntentAmountDetailsLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_intent_apply_customer_balance_params.rb b/lib/stripe/params/payment_intent_apply_customer_balance_params.rb index 36c4ff703..7ebf819cd 100644 --- a/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +++ b/lib/stripe/params/payment_intent_apply_customer_balance_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentApplyCustomerBalanceParams < Stripe::RequestParams + class PaymentIntentApplyCustomerBalanceParams < ::Stripe::RequestParams # Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter. # # A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent. diff --git a/lib/stripe/params/payment_intent_cancel_params.rb b/lib/stripe/params/payment_intent_cancel_params.rb index cfa34efd8..52c24f1df 100644 --- a/lib/stripe/params/payment_intent_cancel_params.rb +++ b/lib/stripe/params/payment_intent_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentCancelParams < Stripe::RequestParams + class PaymentIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` attr_accessor :cancellation_reason # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_intent_capture_params.rb b/lib/stripe/params/payment_intent_capture_params.rb index 9d4a6a584..557259956 100644 --- a/lib/stripe/params/payment_intent_capture_params.rb +++ b/lib/stripe/params/payment_intent_capture_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class PaymentIntentCaptureParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCaptureParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -15,7 +15,7 @@ def initialize(commodity_code: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -24,7 +24,7 @@ def initialize(commodity_code: nil) end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. attr_accessor :image_url # URL to the product page. Max length, 4096 characters. @@ -39,7 +39,7 @@ def initialize(image_url: nil, product_url: nil, subscription_reference: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. attr_accessor :category # Description of the line item. @@ -70,7 +70,7 @@ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. attr_accessor :total_tax_amount @@ -116,7 +116,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -131,7 +131,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -156,9 +156,9 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -181,9 +181,9 @@ def initialize(inputs: nil) end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -192,8 +192,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -218,7 +218,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -230,7 +230,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -245,7 +245,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -276,7 +276,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -408,8 +408,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -440,7 +440,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -449,8 +449,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -516,8 +516,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -526,8 +526,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -552,7 +552,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -561,7 +561,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -637,8 +637,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -669,7 +669,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -678,8 +678,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -704,7 +704,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -802,8 +802,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -812,7 +812,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -886,7 +886,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount diff --git a/lib/stripe/params/payment_intent_confirm_params.rb b/lib/stripe/params/payment_intent_confirm_params.rb index 6d5b060f0..859c8fb26 100644 --- a/lib/stripe/params/payment_intent_confirm_params.rb +++ b/lib/stripe/params/payment_intent_confirm_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class PaymentIntentConfirmParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentConfirmParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -15,7 +15,7 @@ def initialize(commodity_code: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -24,7 +24,7 @@ def initialize(commodity_code: nil) end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. attr_accessor :image_url # URL to the product page. Max length, 4096 characters. @@ -39,7 +39,7 @@ def initialize(image_url: nil, product_url: nil, subscription_reference: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. attr_accessor :category # Description of the line item. @@ -70,7 +70,7 @@ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. attr_accessor :total_tax_amount @@ -116,7 +116,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -131,7 +131,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -156,9 +156,9 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -181,11 +181,11 @@ def initialize(inputs: nil) end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. attr_accessor :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -220,9 +220,9 @@ def initialize(customer_acceptance: nil) end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -231,8 +231,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -257,7 +257,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -269,7 +269,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -284,7 +284,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -315,7 +315,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -447,8 +447,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -479,7 +479,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -488,8 +488,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -555,8 +555,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -565,8 +565,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -591,7 +591,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -600,7 +600,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -676,8 +676,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -708,7 +708,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -717,8 +717,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -743,7 +743,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -841,8 +841,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -851,7 +851,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -925,8 +925,8 @@ def initialize( end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -941,13 +941,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -959,7 +959,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -971,11 +971,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1025,9 +1025,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -1036,11 +1036,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1049,7 +1049,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -1061,11 +1061,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -1074,7 +1074,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -1083,11 +1083,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1109,14 +1109,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -1125,7 +1125,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -1156,9 +1156,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1167,13 +1167,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -1188,11 +1188,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -1201,8 +1201,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1224,11 +1224,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -1237,9 +1237,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -1248,7 +1248,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1260,10 +1260,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -1290,8 +1290,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -1546,9 +1546,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1602,7 +1602,7 @@ def initialize( end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1629,7 +1629,7 @@ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: n end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1657,7 +1657,7 @@ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1674,7 +1674,7 @@ def initialize(setup_future_usage: nil) end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1687,7 +1687,7 @@ def initialize(capture_method: nil) end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1709,7 +1709,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1729,8 +1729,8 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -1760,7 +1760,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1780,7 +1780,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1793,7 +1793,7 @@ def initialize(capture_method: nil) end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. attr_accessor :code # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1813,7 +1813,7 @@ def initialize(code: nil, setup_future_usage: nil) end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1833,9 +1833,9 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -1864,7 +1864,7 @@ def initialize(enabled: nil, plan: nil) end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -1907,8 +1907,8 @@ def initialize( end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1949,9 +1949,9 @@ def initialize(address: nil, phone: nil) end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -2122,8 +2122,8 @@ def initialize( end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority attr_accessor :requested_priority @@ -2149,7 +2149,7 @@ def initialize( end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2173,7 +2173,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2190,9 +2190,9 @@ def initialize(setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -2237,7 +2237,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2254,7 +2254,7 @@ def initialize(setup_future_usage: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2271,7 +2271,7 @@ def initialize(setup_future_usage: nil) end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2288,7 +2288,7 @@ def initialize(setup_future_usage: nil) end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2305,7 +2305,7 @@ def initialize(setup_future_usage: nil) end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2322,7 +2322,7 @@ def initialize(setup_future_usage: nil) end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. attr_accessor :expires_after # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. @@ -2345,7 +2345,7 @@ def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2362,9 +2362,9 @@ def initialize(setup_future_usage: nil) end end - class InteracPresent < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2386,8 +2386,8 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -2414,8 +2414,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -2489,7 +2489,7 @@ def initialize( end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. attr_accessor :confirmation_number # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. @@ -2524,7 +2524,7 @@ def initialize( end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2546,7 +2546,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2573,7 +2573,7 @@ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: n end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2590,7 +2590,7 @@ def initialize(setup_future_usage: nil) end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2614,7 +2614,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2631,7 +2631,7 @@ def initialize(setup_future_usage: nil) end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2653,7 +2653,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2673,7 +2673,7 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2693,7 +2693,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2713,9 +2713,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class PayByBank < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2728,7 +2728,7 @@ def initialize(capture_method: nil) end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2745,9 +2745,9 @@ def initialize(setup_future_usage: nil) end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_accessor :amount # The tax behavior for the line item. @@ -2841,7 +2841,7 @@ def initialize( end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2854,8 +2854,8 @@ def initialize(capture_method: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -2904,8 +2904,8 @@ def initialize(mandate_options: nil, setup_future_usage: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -2977,7 +2977,7 @@ def initialize( end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2994,7 +2994,7 @@ def initialize(setup_future_usage: nil) end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3011,9 +3011,9 @@ def initialize(setup_future_usage: nil) end end - class Rechnung < Stripe::RequestParams; end + class Rechnung < ::Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3035,7 +3035,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3048,7 +3048,7 @@ def initialize(capture_method: nil) end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3061,8 +3061,8 @@ def initialize(capture_method: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -3092,7 +3092,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3109,7 +3109,7 @@ def initialize(setup_future_usage: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3129,7 +3129,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3146,7 +3146,7 @@ def initialize(setup_future_usage: nil) end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. attr_accessor :reference # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3166,7 +3166,7 @@ def initialize(reference: nil, setup_future_usage: nil) end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3183,9 +3183,9 @@ def initialize(setup_future_usage: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -3197,7 +3197,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -3231,7 +3231,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -3240,7 +3240,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested @@ -3290,7 +3290,7 @@ def initialize( end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -3313,7 +3313,7 @@ def initialize(app_id: nil, client: nil, setup_future_usage: nil) end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3571,7 +3571,7 @@ def initialize( end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -3580,8 +3580,8 @@ def initialize(session: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/payment_intent_create_params.rb b/lib/stripe/params/payment_intent_create_params.rb index 2b222a6c1..977db0c46 100644 --- a/lib/stripe/params/payment_intent_create_params.rb +++ b/lib/stripe/params/payment_intent_create_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class PaymentIntentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -15,7 +15,7 @@ def initialize(commodity_code: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -24,7 +24,7 @@ def initialize(commodity_code: nil) end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. attr_accessor :image_url # URL to the product page. Max length, 4096 characters. @@ -39,7 +39,7 @@ def initialize(image_url: nil, product_url: nil, subscription_reference: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. attr_accessor :category # Description of the line item. @@ -70,7 +70,7 @@ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. attr_accessor :total_tax_amount @@ -116,7 +116,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -131,7 +131,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -156,7 +156,7 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class AutomaticPaymentMethods < Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -170,9 +170,9 @@ def initialize(allow_redirects: nil, enabled: nil) end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -195,11 +195,11 @@ def initialize(inputs: nil) end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. attr_accessor :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -234,9 +234,9 @@ def initialize(customer_acceptance: nil) end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -245,8 +245,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -271,7 +271,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -283,7 +283,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -298,7 +298,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -329,7 +329,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -461,8 +461,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -493,7 +493,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -502,8 +502,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -569,8 +569,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -579,8 +579,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -605,7 +605,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -614,7 +614,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -690,8 +690,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -722,7 +722,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -731,8 +731,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -757,7 +757,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -855,8 +855,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -865,7 +865,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -939,8 +939,8 @@ def initialize( end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -955,13 +955,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -973,7 +973,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -985,11 +985,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1039,9 +1039,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -1050,11 +1050,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1063,7 +1063,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -1075,11 +1075,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -1088,7 +1088,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -1097,11 +1097,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1123,14 +1123,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -1139,7 +1139,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -1170,9 +1170,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1181,13 +1181,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -1202,11 +1202,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -1215,8 +1215,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1238,11 +1238,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -1251,9 +1251,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -1262,7 +1262,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1274,10 +1274,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -1304,8 +1304,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -1560,9 +1560,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1616,7 +1616,7 @@ def initialize( end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1643,7 +1643,7 @@ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: n end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1671,7 +1671,7 @@ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1688,7 +1688,7 @@ def initialize(setup_future_usage: nil) end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1701,7 +1701,7 @@ def initialize(capture_method: nil) end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1723,7 +1723,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1743,8 +1743,8 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -1774,7 +1774,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1794,7 +1794,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1807,7 +1807,7 @@ def initialize(capture_method: nil) end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. attr_accessor :code # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1827,7 +1827,7 @@ def initialize(code: nil, setup_future_usage: nil) end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1847,9 +1847,9 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -1878,7 +1878,7 @@ def initialize(enabled: nil, plan: nil) end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -1921,8 +1921,8 @@ def initialize( end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1963,9 +1963,9 @@ def initialize(address: nil, phone: nil) end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -2136,8 +2136,8 @@ def initialize( end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority attr_accessor :requested_priority @@ -2163,7 +2163,7 @@ def initialize( end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2187,7 +2187,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2204,9 +2204,9 @@ def initialize(setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -2251,7 +2251,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2268,7 +2268,7 @@ def initialize(setup_future_usage: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2285,7 +2285,7 @@ def initialize(setup_future_usage: nil) end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2302,7 +2302,7 @@ def initialize(setup_future_usage: nil) end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2319,7 +2319,7 @@ def initialize(setup_future_usage: nil) end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2336,7 +2336,7 @@ def initialize(setup_future_usage: nil) end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. attr_accessor :expires_after # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. @@ -2359,7 +2359,7 @@ def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2376,9 +2376,9 @@ def initialize(setup_future_usage: nil) end end - class InteracPresent < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2400,8 +2400,8 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -2428,8 +2428,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -2503,7 +2503,7 @@ def initialize( end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. attr_accessor :confirmation_number # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. @@ -2538,7 +2538,7 @@ def initialize( end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2560,7 +2560,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2587,7 +2587,7 @@ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: n end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2604,7 +2604,7 @@ def initialize(setup_future_usage: nil) end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2628,7 +2628,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2645,7 +2645,7 @@ def initialize(setup_future_usage: nil) end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2667,7 +2667,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2687,7 +2687,7 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2707,7 +2707,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2727,9 +2727,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class PayByBank < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2742,7 +2742,7 @@ def initialize(capture_method: nil) end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2759,9 +2759,9 @@ def initialize(setup_future_usage: nil) end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_accessor :amount # The tax behavior for the line item. @@ -2855,7 +2855,7 @@ def initialize( end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2868,8 +2868,8 @@ def initialize(capture_method: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -2918,8 +2918,8 @@ def initialize(mandate_options: nil, setup_future_usage: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -2991,7 +2991,7 @@ def initialize( end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3008,7 +3008,7 @@ def initialize(setup_future_usage: nil) end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3025,9 +3025,9 @@ def initialize(setup_future_usage: nil) end end - class Rechnung < Stripe::RequestParams; end + class Rechnung < ::Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3049,7 +3049,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3062,7 +3062,7 @@ def initialize(capture_method: nil) end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3075,8 +3075,8 @@ def initialize(capture_method: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -3106,7 +3106,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3123,7 +3123,7 @@ def initialize(setup_future_usage: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3143,7 +3143,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3160,7 +3160,7 @@ def initialize(setup_future_usage: nil) end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. attr_accessor :reference # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3180,7 +3180,7 @@ def initialize(reference: nil, setup_future_usage: nil) end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3197,9 +3197,9 @@ def initialize(setup_future_usage: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -3211,7 +3211,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -3245,7 +3245,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -3254,7 +3254,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested @@ -3304,7 +3304,7 @@ def initialize( end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -3327,7 +3327,7 @@ def initialize(app_id: nil, client: nil, setup_future_usage: nil) end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3585,7 +3585,7 @@ def initialize( end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -3594,8 +3594,8 @@ def initialize(session: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3645,7 +3645,7 @@ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_numbe end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. # The amount is capped at the total transaction amount and if no amount is set, # the full amount is transferred. diff --git a/lib/stripe/params/payment_intent_decrement_authorization_params.rb b/lib/stripe/params/payment_intent_decrement_authorization_params.rb index cb0659234..8f51069f9 100644 --- a/lib/stripe/params/payment_intent_decrement_authorization_params.rb +++ b/lib/stripe/params/payment_intent_decrement_authorization_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class PaymentIntentDecrementAuthorizationParams < Stripe::RequestParams - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class PaymentIntentDecrementAuthorizationParams < ::Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -28,7 +28,7 @@ def initialize(inputs: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount diff --git a/lib/stripe/params/payment_intent_increment_authorization_params.rb b/lib/stripe/params/payment_intent_increment_authorization_params.rb index 286bbc9df..a8062d608 100644 --- a/lib/stripe/params/payment_intent_increment_authorization_params.rb +++ b/lib/stripe/params/payment_intent_increment_authorization_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class PaymentIntentIncrementAuthorizationParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentIncrementAuthorizationParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -15,7 +15,7 @@ def initialize(commodity_code: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -24,7 +24,7 @@ def initialize(commodity_code: nil) end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. attr_accessor :image_url # URL to the product page. Max length, 4096 characters. @@ -39,7 +39,7 @@ def initialize(image_url: nil, product_url: nil, subscription_reference: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. attr_accessor :category # Description of the line item. @@ -70,7 +70,7 @@ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. attr_accessor :total_tax_amount @@ -116,7 +116,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -131,7 +131,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -156,9 +156,9 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -181,7 +181,7 @@ def initialize(inputs: nil) end end - class PaymentDetails < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. attr_accessor :customer_reference # A unique value assigned by the business to identify the transaction. @@ -193,8 +193,8 @@ def initialize(customer_reference: nil, order_reference: nil) end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Request partial authorization on this PaymentIntent. attr_accessor :request_partial_authorization @@ -210,7 +210,7 @@ def initialize(card: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount diff --git a/lib/stripe/params/payment_intent_list_params.rb b/lib/stripe/params/payment_intent_list_params.rb index 8f317e068..7e19fdfad 100644 --- a/lib/stripe/params/payment_intent_list_params.rb +++ b/lib/stripe/params/payment_intent_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PaymentIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/payment_intent_retrieve_params.rb b/lib/stripe/params/payment_intent_retrieve_params.rb index ddf9a8c11..ae5e0c451 100644 --- a/lib/stripe/params/payment_intent_retrieve_params.rb +++ b/lib/stripe/params/payment_intent_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentRetrieveParams < Stripe::RequestParams + class PaymentIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source. attr_accessor :client_secret # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_intent_search_params.rb b/lib/stripe/params/payment_intent_search_params.rb index 881ded47d..8cb33f161 100644 --- a/lib/stripe/params/payment_intent_search_params.rb +++ b/lib/stripe/params/payment_intent_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentSearchParams < Stripe::RequestParams + class PaymentIntentSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/payment_intent_trigger_action_params.rb b/lib/stripe/params/payment_intent_trigger_action_params.rb index 434f2c997..e1c977a98 100644 --- a/lib/stripe/params/payment_intent_trigger_action_params.rb +++ b/lib/stripe/params/payment_intent_trigger_action_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentIntentTriggerActionParams < Stripe::RequestParams - class ScanQrCode < Stripe::RequestParams + class PaymentIntentTriggerActionParams < ::Stripe::RequestParams + class ScanQrCode < ::Stripe::RequestParams # Whether the QR Code scan's payment should succeed or fail. attr_accessor :result diff --git a/lib/stripe/params/payment_intent_update_params.rb b/lib/stripe/params/payment_intent_update_params.rb index 2981eaef7..1708f2aaa 100644 --- a/lib/stripe/params/payment_intent_update_params.rb +++ b/lib/stripe/params/payment_intent_update_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class PaymentIntentUpdateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentUpdateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -15,7 +15,7 @@ def initialize(commodity_code: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. attr_accessor :commodity_code @@ -24,7 +24,7 @@ def initialize(commodity_code: nil) end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. attr_accessor :image_url # URL to the product page. Max length, 4096 characters. @@ -39,7 +39,7 @@ def initialize(image_url: nil, product_url: nil, subscription_reference: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. attr_accessor :category # Description of the line item. @@ -70,7 +70,7 @@ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. attr_accessor :total_tax_amount @@ -116,7 +116,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -131,7 +131,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -156,9 +156,9 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_accessor :calculation @@ -181,9 +181,9 @@ def initialize(inputs: nil) end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. attr_accessor :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -212,9 +212,9 @@ def initialize(customer_acceptance: nil) end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -223,8 +223,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -249,7 +249,7 @@ def initialize(mode: nil, recipient: nil) end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. attr_accessor :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers`. @@ -261,7 +261,7 @@ def initialize(amount: nil, unit: nil) end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. attr_accessor :driver_identification_number # Driver's tax number. @@ -276,7 +276,7 @@ def initialize(driver_identification_number: nil, driver_tax_number: nil, name: end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -307,7 +307,7 @@ def initialize( end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -439,8 +439,8 @@ def initialize( end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -471,7 +471,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -480,8 +480,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -547,8 +547,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -557,8 +557,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -583,7 +583,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. attr_accessor :name @@ -592,7 +592,7 @@ def initialize(name: nil) end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. attr_accessor :amount # The International Air Transport Association (IATA) airport code for the arrival airport. @@ -668,8 +668,8 @@ def initialize( end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -700,7 +700,7 @@ def initialize( end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -709,8 +709,8 @@ def initialize(name: nil) end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. attr_accessor :email # The name of the recipient the ticket is delivered to. @@ -735,7 +735,7 @@ def initialize(mode: nil, recipient: nil) end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. attr_accessor :name @@ -833,8 +833,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. attr_accessor :name @@ -843,7 +843,7 @@ def initialize(name: nil) end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_accessor :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -917,8 +917,8 @@ def initialize( end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -933,13 +933,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -951,7 +951,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -963,11 +963,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1017,9 +1017,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -1028,11 +1028,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1041,7 +1041,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -1053,11 +1053,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -1066,7 +1066,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -1075,11 +1075,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1101,14 +1101,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -1117,7 +1117,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -1148,9 +1148,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -1159,13 +1159,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -1180,11 +1180,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -1193,8 +1193,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -1216,11 +1216,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -1229,9 +1229,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -1240,7 +1240,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1252,10 +1252,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -1282,8 +1282,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -1538,9 +1538,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1594,7 +1594,7 @@ def initialize( end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1621,7 +1621,7 @@ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: n end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1649,7 +1649,7 @@ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil) end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1666,7 +1666,7 @@ def initialize(setup_future_usage: nil) end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1679,7 +1679,7 @@ def initialize(capture_method: nil) end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1701,7 +1701,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1721,8 +1721,8 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -1752,7 +1752,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1772,7 +1772,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -1785,7 +1785,7 @@ def initialize(capture_method: nil) end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. attr_accessor :code # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1805,7 +1805,7 @@ def initialize(code: nil, setup_future_usage: nil) end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1825,9 +1825,9 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -1856,7 +1856,7 @@ def initialize(enabled: nil, plan: nil) end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -1899,8 +1899,8 @@ def initialize( end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1941,9 +1941,9 @@ def initialize(address: nil, phone: nil) end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -2114,8 +2114,8 @@ def initialize( end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority attr_accessor :requested_priority @@ -2141,7 +2141,7 @@ def initialize( end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2165,7 +2165,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2182,9 +2182,9 @@ def initialize(setup_future_usage: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -2229,7 +2229,7 @@ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil) end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2246,7 +2246,7 @@ def initialize(setup_future_usage: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2263,7 +2263,7 @@ def initialize(setup_future_usage: nil) end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2280,7 +2280,7 @@ def initialize(setup_future_usage: nil) end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2297,7 +2297,7 @@ def initialize(setup_future_usage: nil) end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2314,7 +2314,7 @@ def initialize(setup_future_usage: nil) end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. attr_accessor :expires_after # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. @@ -2337,7 +2337,7 @@ def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2354,9 +2354,9 @@ def initialize(setup_future_usage: nil) end end - class InteracPresent < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2378,8 +2378,8 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -2406,8 +2406,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -2481,7 +2481,7 @@ def initialize( end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. attr_accessor :confirmation_number # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. @@ -2516,7 +2516,7 @@ def initialize( end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2538,7 +2538,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2565,7 +2565,7 @@ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: n end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2582,7 +2582,7 @@ def initialize(setup_future_usage: nil) end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2606,7 +2606,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2623,7 +2623,7 @@ def initialize(setup_future_usage: nil) end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2645,7 +2645,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2665,7 +2665,7 @@ def initialize(setup_future_usage: nil, target_date: nil) end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_accessor :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2685,7 +2685,7 @@ def initialize(expires_after_days: nil, setup_future_usage: nil) end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2705,9 +2705,9 @@ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil) end end - class PayByBank < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2720,7 +2720,7 @@ def initialize(capture_method: nil) end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2737,9 +2737,9 @@ def initialize(setup_future_usage: nil) end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_accessor :amount # The tax behavior for the line item. @@ -2833,7 +2833,7 @@ def initialize( end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2846,8 +2846,8 @@ def initialize(capture_method: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -2896,8 +2896,8 @@ def initialize(mandate_options: nil, setup_future_usage: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -2969,7 +2969,7 @@ def initialize( end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2986,7 +2986,7 @@ def initialize(setup_future_usage: nil) end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3003,9 +3003,9 @@ def initialize(setup_future_usage: nil) end end - class Rechnung < Stripe::RequestParams; end + class Rechnung < ::Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3027,7 +3027,7 @@ def initialize(capture_method: nil, setup_future_usage: nil) end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3040,7 +3040,7 @@ def initialize(capture_method: nil) end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3053,8 +3053,8 @@ def initialize(capture_method: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -3084,7 +3084,7 @@ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil) end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3101,7 +3101,7 @@ def initialize(setup_future_usage: nil) end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. attr_accessor :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3121,7 +3121,7 @@ def initialize(preferred_language: nil, setup_future_usage: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3138,7 +3138,7 @@ def initialize(setup_future_usage: nil) end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. attr_accessor :reference # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -3158,7 +3158,7 @@ def initialize(reference: nil, setup_future_usage: nil) end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3175,9 +3175,9 @@ def initialize(setup_future_usage: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -3189,7 +3189,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -3223,7 +3223,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -3232,7 +3232,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested @@ -3282,7 +3282,7 @@ def initialize( end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_accessor :app_id # The client type that the end customer will pay from @@ -3305,7 +3305,7 @@ def initialize(app_id: nil, client: nil, setup_future_usage: nil) end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3563,8 +3563,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3614,7 +3614,7 @@ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_numbe end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount diff --git a/lib/stripe/params/payment_intent_verify_microdeposits_params.rb b/lib/stripe/params/payment_intent_verify_microdeposits_params.rb index f9ae785d8..cde712729 100644 --- a/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +++ b/lib/stripe/params/payment_intent_verify_microdeposits_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentIntentVerifyMicrodepositsParams < Stripe::RequestParams + class PaymentIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. attr_accessor :amounts # A six-character code starting with SM present in the microdeposit sent to the bank account. diff --git a/lib/stripe/params/payment_link_create_params.rb b/lib/stripe/params/payment_link_create_params.rb index 129d89588..116a5873f 100644 --- a/lib/stripe/params/payment_link_create_params.rb +++ b/lib/stripe/params/payment_link_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PaymentLinkCreateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkCreateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. attr_accessor :custom_message @@ -13,7 +13,7 @@ def initialize(custom_message: nil) end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. attr_accessor :url @@ -35,8 +35,8 @@ def initialize(hosted_confirmation: nil, redirect: nil, type: nil) end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -60,8 +60,8 @@ def initialize(enabled: nil, liability: nil) end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. attr_accessor :position @@ -87,9 +87,9 @@ def initialize(payment_method_reuse_agreement: nil, promotions: nil, terms_of_se end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. attr_accessor :label # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. @@ -111,7 +111,7 @@ def initialize(default_value: nil, options: nil) end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. attr_accessor :custom # The type of the label. @@ -123,7 +123,7 @@ def initialize(custom: nil, type: nil) end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -138,7 +138,7 @@ def initialize(default_value: nil, maximum_length: nil, minimum_length: nil) end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -186,8 +186,8 @@ def initialize( end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -196,7 +196,7 @@ def initialize(message: nil) end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -205,7 +205,7 @@ def initialize(message: nil) end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -214,7 +214,7 @@ def initialize(message: nil) end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -244,9 +244,9 @@ def initialize( end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -258,7 +258,7 @@ def initialize(name: nil, value: nil) end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -270,7 +270,7 @@ def initialize(account: nil, type: nil) end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for this invoice. @@ -325,8 +325,8 @@ def initialize(enabled: nil, invoice_data: nil) end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. attr_accessor :enabled # The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999999. @@ -341,8 +341,8 @@ def initialize(enabled: nil, maximum: nil, minimum: nil) end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. attr_accessor :description # A list of up to 8 URLs of images for this product, meant to be displayable to the customer. @@ -373,7 +373,7 @@ def initialize( end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -434,8 +434,43 @@ def initialize(adjustable_quantity: nil, price: nil, price_data: nil, quantity: end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + attr_accessor :enabled + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + attr_accessor :optional + + def initialize(enabled: nil, optional: nil) + @enabled = enabled + @optional = optional + end + end + + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + attr_accessor :enabled + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + attr_accessor :optional + + def initialize(enabled: nil, optional: nil) + @enabled = enabled + @optional = optional + end + end + # Controls settings applied for collecting the customer's business name. + attr_accessor :business + # Controls settings applied for collecting the customer's individual name. + attr_accessor :individual + + def initialize(business: nil, individual: nil) + @business = business + @individual = individual + end + end + + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. attr_accessor :enabled # The maximum quantity of this item the customer can purchase. By default this value is 99. @@ -463,7 +498,7 @@ def initialize(adjustable_quantity: nil, price: nil, quantity: nil) end end - class PaymentIntentData < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. attr_accessor :capture_method # An arbitrary string attached to the object. Often useful for displaying to users. @@ -510,7 +545,7 @@ def initialize( end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. attr_accessor :enabled @@ -519,8 +554,8 @@ def initialize(enabled: nil) end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. attr_accessor :limit @@ -536,7 +571,7 @@ def initialize(completed_sessions: nil) end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. attr_accessor :allowed_countries @@ -546,7 +581,7 @@ def initialize(allowed_countries: nil) end end - class ShippingOption < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams # The ID of the Shipping Rate to use for this shipping option. attr_accessor :shipping_rate @@ -555,9 +590,9 @@ def initialize(shipping_rate: nil) end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -576,8 +611,8 @@ def initialize(issuer: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_accessor :missing_payment_method @@ -618,7 +653,7 @@ def initialize( end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. attr_accessor :enabled # Describes whether a tax ID is required during checkout. Defaults to `never`. @@ -630,7 +665,7 @@ def initialize(enabled: nil, required: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. attr_accessor :amount # If specified, successful charges will be attributed to the destination @@ -676,6 +711,8 @@ def initialize(amount: nil, destination: nil) attr_accessor :line_items # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link. attr_accessor :metadata + # Controls settings applied for collecting the customer's name. + attr_accessor :name_collection # The account on behalf of which to charge. attr_accessor :on_behalf_of # A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices). @@ -728,6 +765,7 @@ def initialize( invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, on_behalf_of: nil, optional_items: nil, payment_intent_data: nil, @@ -758,6 +796,7 @@ def initialize( @invoice_creation = invoice_creation @line_items = line_items @metadata = metadata + @name_collection = name_collection @on_behalf_of = on_behalf_of @optional_items = optional_items @payment_intent_data = payment_intent_data diff --git a/lib/stripe/params/payment_link_line_item_list_params.rb b/lib/stripe/params/payment_link_line_item_list_params.rb index 580484bc0..b61d85501 100644 --- a/lib/stripe/params/payment_link_line_item_list_params.rb +++ b/lib/stripe/params/payment_link_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentLinkLineItemListParams < Stripe::RequestParams + class PaymentLinkLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_link_list_line_items_params.rb b/lib/stripe/params/payment_link_list_line_items_params.rb index 675a9288b..88798b320 100644 --- a/lib/stripe/params/payment_link_list_line_items_params.rb +++ b/lib/stripe/params/payment_link_list_line_items_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentLinkListLineItemsParams < Stripe::RequestParams + class PaymentLinkListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_link_list_params.rb b/lib/stripe/params/payment_link_list_params.rb index c7ed0321d..57113bba5 100644 --- a/lib/stripe/params/payment_link_list_params.rb +++ b/lib/stripe/params/payment_link_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentLinkListParams < Stripe::RequestParams + class PaymentLinkListParams < ::Stripe::RequestParams # Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment links). attr_accessor :active # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/payment_link_retrieve_params.rb b/lib/stripe/params/payment_link_retrieve_params.rb index 3516117a8..25ab0c37e 100644 --- a/lib/stripe/params/payment_link_retrieve_params.rb +++ b/lib/stripe/params/payment_link_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentLinkRetrieveParams < Stripe::RequestParams + class PaymentLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_link_update_params.rb b/lib/stripe/params/payment_link_update_params.rb index 726b5a1a4..ceed51bd3 100644 --- a/lib/stripe/params/payment_link_update_params.rb +++ b/lib/stripe/params/payment_link_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PaymentLinkUpdateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkUpdateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. attr_accessor :custom_message @@ -13,7 +13,7 @@ def initialize(custom_message: nil) end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. attr_accessor :url @@ -35,8 +35,8 @@ def initialize(hosted_confirmation: nil, redirect: nil, type: nil) end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -60,9 +60,9 @@ def initialize(enabled: nil, liability: nil) end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. attr_accessor :label # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. @@ -84,7 +84,7 @@ def initialize(default_value: nil, options: nil) end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. attr_accessor :custom # The type of the label. @@ -96,7 +96,7 @@ def initialize(custom: nil, type: nil) end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -111,7 +111,7 @@ def initialize(default_value: nil, maximum_length: nil, minimum_length: nil) end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. attr_accessor :default_value # The maximum character length constraint for the customer's input. @@ -159,8 +159,8 @@ def initialize( end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -169,7 +169,7 @@ def initialize(message: nil) end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -178,7 +178,7 @@ def initialize(message: nil) end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -187,7 +187,7 @@ def initialize(message: nil) end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. attr_accessor :message @@ -217,9 +217,9 @@ def initialize( end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. @@ -231,7 +231,7 @@ def initialize(name: nil, value: nil) end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -243,7 +243,7 @@ def initialize(account: nil, type: nil) end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for this invoice. @@ -298,8 +298,8 @@ def initialize(enabled: nil, invoice_data: nil) end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. attr_accessor :enabled # The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999999. @@ -327,7 +327,42 @@ def initialize(adjustable_quantity: nil, id: nil, quantity: nil) end end - class PaymentIntentData < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + attr_accessor :enabled + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + attr_accessor :optional + + def initialize(enabled: nil, optional: nil) + @enabled = enabled + @optional = optional + end + end + + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + attr_accessor :enabled + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + attr_accessor :optional + + def initialize(enabled: nil, optional: nil) + @enabled = enabled + @optional = optional + end + end + # Controls settings applied for collecting the customer's business name. + attr_accessor :business + # Controls settings applied for collecting the customer's individual name. + attr_accessor :individual + + def initialize(business: nil, individual: nil) + @business = business + @individual = individual + end + end + + class PaymentIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will declaratively set metadata on [Payment Intents](https://stripe.com/docs/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values. @@ -356,7 +391,7 @@ def initialize( end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. attr_accessor :enabled @@ -365,8 +400,8 @@ def initialize(enabled: nil) end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. attr_accessor :limit @@ -382,7 +417,7 @@ def initialize(completed_sessions: nil) end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. attr_accessor :allowed_countries @@ -392,9 +427,9 @@ def initialize(allowed_countries: nil) end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -413,8 +448,8 @@ def initialize(issuer: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_accessor :missing_payment_method @@ -451,7 +486,7 @@ def initialize( end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. attr_accessor :enabled # Describes whether a tax ID is required during checkout. Defaults to `never`. @@ -488,6 +523,8 @@ def initialize(enabled: nil, required: nil) attr_accessor :line_items # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link. attr_accessor :metadata + # Controls settings applied for collecting the customer's name. + attr_accessor :name_collection # A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. attr_accessor :payment_intent_data # Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount. @@ -527,6 +564,7 @@ def initialize( invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, payment_intent_data: nil, payment_method_collection: nil, payment_method_types: nil, @@ -550,6 +588,7 @@ def initialize( @invoice_creation = invoice_creation @line_items = line_items @metadata = metadata + @name_collection = name_collection @payment_intent_data = payment_intent_data @payment_method_collection = payment_method_collection @payment_method_types = payment_method_types diff --git a/lib/stripe/params/payment_method_attach_params.rb b/lib/stripe/params/payment_method_attach_params.rb index 0975ef9b1..6c8317e55 100644 --- a/lib/stripe/params/payment_method_attach_params.rb +++ b/lib/stripe/params/payment_method_attach_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodAttachParams < Stripe::RequestParams + class PaymentMethodAttachParams < ::Stripe::RequestParams # The ID of the customer to which to attach the PaymentMethod. attr_accessor :customer # The ID of the account to which to attach the PaymentMethod. diff --git a/lib/stripe/params/payment_method_configuration_create_params.rb b/lib/stripe/params/payment_method_configuration_create_params.rb index a163c91f8..0089a818f 100644 --- a/lib/stripe/params/payment_method_configuration_create_params.rb +++ b/lib/stripe/params/payment_method_configuration_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PaymentMethodConfigurationCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -20,8 +20,8 @@ def initialize(display_preference: nil) end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -37,8 +37,8 @@ def initialize(display_preference: nil) end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -54,8 +54,8 @@ def initialize(display_preference: nil) end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -71,8 +71,8 @@ def initialize(display_preference: nil) end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -88,8 +88,8 @@ def initialize(display_preference: nil) end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -105,8 +105,8 @@ def initialize(display_preference: nil) end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -122,8 +122,8 @@ def initialize(display_preference: nil) end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -139,8 +139,8 @@ def initialize(display_preference: nil) end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -156,8 +156,8 @@ def initialize(display_preference: nil) end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -173,8 +173,8 @@ def initialize(display_preference: nil) end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -190,8 +190,8 @@ def initialize(display_preference: nil) end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -207,8 +207,8 @@ def initialize(display_preference: nil) end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -224,8 +224,8 @@ def initialize(display_preference: nil) end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -241,8 +241,8 @@ def initialize(display_preference: nil) end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -258,8 +258,8 @@ def initialize(display_preference: nil) end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -275,8 +275,8 @@ def initialize(display_preference: nil) end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -292,8 +292,8 @@ def initialize(display_preference: nil) end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -309,8 +309,8 @@ def initialize(display_preference: nil) end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -326,8 +326,8 @@ def initialize(display_preference: nil) end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -343,8 +343,8 @@ def initialize(display_preference: nil) end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -360,8 +360,8 @@ def initialize(display_preference: nil) end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -377,8 +377,8 @@ def initialize(display_preference: nil) end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -394,8 +394,8 @@ def initialize(display_preference: nil) end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -411,8 +411,8 @@ def initialize(display_preference: nil) end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -428,8 +428,8 @@ def initialize(display_preference: nil) end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -445,8 +445,8 @@ def initialize(display_preference: nil) end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -462,8 +462,8 @@ def initialize(display_preference: nil) end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -479,8 +479,8 @@ def initialize(display_preference: nil) end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -496,8 +496,8 @@ def initialize(display_preference: nil) end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -513,8 +513,8 @@ def initialize(display_preference: nil) end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -530,8 +530,8 @@ def initialize(display_preference: nil) end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -547,8 +547,8 @@ def initialize(display_preference: nil) end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -564,8 +564,8 @@ def initialize(display_preference: nil) end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -581,8 +581,8 @@ def initialize(display_preference: nil) end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -598,8 +598,8 @@ def initialize(display_preference: nil) end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -615,8 +615,8 @@ def initialize(display_preference: nil) end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -632,8 +632,8 @@ def initialize(display_preference: nil) end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -649,8 +649,8 @@ def initialize(display_preference: nil) end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -666,8 +666,8 @@ def initialize(display_preference: nil) end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -683,8 +683,8 @@ def initialize(display_preference: nil) end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -700,8 +700,8 @@ def initialize(display_preference: nil) end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -717,8 +717,8 @@ def initialize(display_preference: nil) end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -734,8 +734,8 @@ def initialize(display_preference: nil) end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -751,8 +751,8 @@ def initialize(display_preference: nil) end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -768,8 +768,8 @@ def initialize(display_preference: nil) end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -785,8 +785,8 @@ def initialize(display_preference: nil) end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -802,8 +802,8 @@ def initialize(display_preference: nil) end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -819,8 +819,8 @@ def initialize(display_preference: nil) end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -836,8 +836,8 @@ def initialize(display_preference: nil) end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -853,8 +853,8 @@ def initialize(display_preference: nil) end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -870,8 +870,8 @@ def initialize(display_preference: nil) end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -887,8 +887,8 @@ def initialize(display_preference: nil) end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -904,8 +904,8 @@ def initialize(display_preference: nil) end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -921,8 +921,8 @@ def initialize(display_preference: nil) end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -938,8 +938,8 @@ def initialize(display_preference: nil) end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -955,8 +955,8 @@ def initialize(display_preference: nil) end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -972,8 +972,8 @@ def initialize(display_preference: nil) end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -989,8 +989,42 @@ def initialize(display_preference: nil) end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + attr_accessor :preference + + def initialize(preference: nil) + @preference = preference + end + end + # Whether or not the payment method should be displayed. + attr_accessor :display_preference + + def initialize(display_preference: nil) + @display_preference = display_preference + end + end + + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + attr_accessor :preference + + def initialize(preference: nil) + @preference = preference + end + end + # Whether or not the payment method should be displayed. + attr_accessor :display_preference + + def initialize(display_preference: nil) + @display_preference = display_preference + end + end + + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -1039,6 +1073,8 @@ def initialize(display_preference: nil) attr_accessor :cartes_bancaires # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details. attr_accessor :cashapp + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + attr_accessor :crypto # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. attr_accessor :customer_balance # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details. @@ -1073,6 +1109,8 @@ def initialize(display_preference: nil) attr_accessor :kr_card # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network. attr_accessor :link + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + attr_accessor :mb_way # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. attr_accessor :mobilepay # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method. @@ -1148,6 +1186,7 @@ def initialize( card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -1165,6 +1204,7 @@ def initialize( konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, @@ -1211,6 +1251,7 @@ def initialize( @card = card @cartes_bancaires = cartes_bancaires @cashapp = cashapp + @crypto = crypto @customer_balance = customer_balance @eps = eps @expand = expand @@ -1228,6 +1269,7 @@ def initialize( @konbini = konbini @kr_card = kr_card @link = link + @mb_way = mb_way @mobilepay = mobilepay @multibanco = multibanco @name = name diff --git a/lib/stripe/params/payment_method_configuration_list_params.rb b/lib/stripe/params/payment_method_configuration_list_params.rb index ad16d4d60..7f33d4716 100644 --- a/lib/stripe/params/payment_method_configuration_list_params.rb +++ b/lib/stripe/params/payment_method_configuration_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodConfigurationListParams < Stripe::RequestParams + class PaymentMethodConfigurationListParams < ::Stripe::RequestParams # The Connect application to filter by. attr_accessor :application # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/payment_method_configuration_retrieve_params.rb b/lib/stripe/params/payment_method_configuration_retrieve_params.rb index a16b6ae53..176ff1a7b 100644 --- a/lib/stripe/params/payment_method_configuration_retrieve_params.rb +++ b/lib/stripe/params/payment_method_configuration_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodConfigurationRetrieveParams < Stripe::RequestParams + class PaymentMethodConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_method_configuration_update_params.rb b/lib/stripe/params/payment_method_configuration_update_params.rb index 2243ab769..f08a27468 100644 --- a/lib/stripe/params/payment_method_configuration_update_params.rb +++ b/lib/stripe/params/payment_method_configuration_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PaymentMethodConfigurationUpdateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationUpdateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -20,8 +20,8 @@ def initialize(display_preference: nil) end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -37,8 +37,8 @@ def initialize(display_preference: nil) end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -54,8 +54,8 @@ def initialize(display_preference: nil) end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -71,8 +71,8 @@ def initialize(display_preference: nil) end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -88,8 +88,8 @@ def initialize(display_preference: nil) end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -105,8 +105,8 @@ def initialize(display_preference: nil) end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -122,8 +122,8 @@ def initialize(display_preference: nil) end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -139,8 +139,8 @@ def initialize(display_preference: nil) end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -156,8 +156,8 @@ def initialize(display_preference: nil) end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -173,8 +173,8 @@ def initialize(display_preference: nil) end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -190,8 +190,8 @@ def initialize(display_preference: nil) end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -207,8 +207,8 @@ def initialize(display_preference: nil) end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -224,8 +224,8 @@ def initialize(display_preference: nil) end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -241,8 +241,8 @@ def initialize(display_preference: nil) end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -258,8 +258,8 @@ def initialize(display_preference: nil) end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -275,8 +275,8 @@ def initialize(display_preference: nil) end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -292,8 +292,8 @@ def initialize(display_preference: nil) end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -309,8 +309,8 @@ def initialize(display_preference: nil) end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -326,8 +326,8 @@ def initialize(display_preference: nil) end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -343,8 +343,8 @@ def initialize(display_preference: nil) end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -360,8 +360,8 @@ def initialize(display_preference: nil) end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -377,8 +377,8 @@ def initialize(display_preference: nil) end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -394,8 +394,8 @@ def initialize(display_preference: nil) end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -411,8 +411,8 @@ def initialize(display_preference: nil) end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -428,8 +428,8 @@ def initialize(display_preference: nil) end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -445,8 +445,8 @@ def initialize(display_preference: nil) end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -462,8 +462,8 @@ def initialize(display_preference: nil) end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -479,8 +479,8 @@ def initialize(display_preference: nil) end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -496,8 +496,8 @@ def initialize(display_preference: nil) end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -513,8 +513,8 @@ def initialize(display_preference: nil) end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -530,8 +530,8 @@ def initialize(display_preference: nil) end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -547,8 +547,8 @@ def initialize(display_preference: nil) end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -564,8 +564,8 @@ def initialize(display_preference: nil) end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -581,8 +581,8 @@ def initialize(display_preference: nil) end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -598,8 +598,8 @@ def initialize(display_preference: nil) end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -615,8 +615,8 @@ def initialize(display_preference: nil) end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -632,8 +632,8 @@ def initialize(display_preference: nil) end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -649,8 +649,8 @@ def initialize(display_preference: nil) end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -666,8 +666,8 @@ def initialize(display_preference: nil) end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -683,8 +683,8 @@ def initialize(display_preference: nil) end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -700,8 +700,8 @@ def initialize(display_preference: nil) end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -717,8 +717,8 @@ def initialize(display_preference: nil) end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -734,8 +734,8 @@ def initialize(display_preference: nil) end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -751,8 +751,8 @@ def initialize(display_preference: nil) end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -768,8 +768,8 @@ def initialize(display_preference: nil) end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -785,8 +785,8 @@ def initialize(display_preference: nil) end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -802,8 +802,8 @@ def initialize(display_preference: nil) end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -819,8 +819,8 @@ def initialize(display_preference: nil) end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -836,8 +836,8 @@ def initialize(display_preference: nil) end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -853,8 +853,8 @@ def initialize(display_preference: nil) end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -870,8 +870,8 @@ def initialize(display_preference: nil) end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -887,8 +887,8 @@ def initialize(display_preference: nil) end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -904,8 +904,8 @@ def initialize(display_preference: nil) end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -921,8 +921,8 @@ def initialize(display_preference: nil) end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -938,8 +938,8 @@ def initialize(display_preference: nil) end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -955,8 +955,8 @@ def initialize(display_preference: nil) end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -972,8 +972,8 @@ def initialize(display_preference: nil) end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -989,8 +989,42 @@ def initialize(display_preference: nil) end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + attr_accessor :preference + + def initialize(preference: nil) + @preference = preference + end + end + # Whether or not the payment method should be displayed. + attr_accessor :display_preference + + def initialize(display_preference: nil) + @display_preference = display_preference + end + end + + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + attr_accessor :preference + + def initialize(preference: nil) + @preference = preference + end + end + # Whether or not the payment method should be displayed. + attr_accessor :display_preference + + def initialize(display_preference: nil) + @display_preference = display_preference + end + end + + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. attr_accessor :preference @@ -1041,6 +1075,8 @@ def initialize(display_preference: nil) attr_accessor :cartes_bancaires # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details. attr_accessor :cashapp + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + attr_accessor :crypto # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. attr_accessor :customer_balance # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details. @@ -1075,6 +1111,8 @@ def initialize(display_preference: nil) attr_accessor :kr_card # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network. attr_accessor :link + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + attr_accessor :mb_way # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. attr_accessor :mobilepay # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method. @@ -1149,6 +1187,7 @@ def initialize( card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -1166,6 +1205,7 @@ def initialize( konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, @@ -1212,6 +1252,7 @@ def initialize( @card = card @cartes_bancaires = cartes_bancaires @cashapp = cashapp + @crypto = crypto @customer_balance = customer_balance @eps = eps @expand = expand @@ -1229,6 +1270,7 @@ def initialize( @konbini = konbini @kr_card = kr_card @link = link + @mb_way = mb_way @mobilepay = mobilepay @multibanco = multibanco @name = name diff --git a/lib/stripe/params/payment_method_create_params.rb b/lib/stripe/params/payment_method_create_params.rb index 5f2747f9c..83f86bddb 100644 --- a/lib/stripe/params/payment_method_create_params.rb +++ b/lib/stripe/params/payment_method_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentMethodCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -18,13 +18,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -36,7 +36,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -48,11 +48,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -102,9 +102,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -113,8 +113,8 @@ def initialize(tax_id: nil) end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. attr_accessor :preferred @@ -152,11 +152,11 @@ def initialize( end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -165,7 +165,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -177,11 +177,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -190,7 +190,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -199,11 +199,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -225,14 +225,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -241,7 +241,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -272,9 +272,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -283,13 +283,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -304,11 +304,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -317,8 +317,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -340,11 +340,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -353,9 +353,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -364,7 +364,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -376,10 +376,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -406,8 +406,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. diff --git a/lib/stripe/params/payment_method_detach_params.rb b/lib/stripe/params/payment_method_detach_params.rb index a7b2b6376..b36a0eb96 100644 --- a/lib/stripe/params/payment_method_detach_params.rb +++ b/lib/stripe/params/payment_method_detach_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDetachParams < Stripe::RequestParams + class PaymentMethodDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_method_domain_create_params.rb b/lib/stripe/params/payment_method_domain_create_params.rb index a8c96831d..910a67cea 100644 --- a/lib/stripe/params/payment_method_domain_create_params.rb +++ b/lib/stripe/params/payment_method_domain_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDomainCreateParams < Stripe::RequestParams + class PaymentMethodDomainCreateParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. attr_accessor :domain_name # Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout. diff --git a/lib/stripe/params/payment_method_domain_list_params.rb b/lib/stripe/params/payment_method_domain_list_params.rb index 537f269c3..8d8d283c5 100644 --- a/lib/stripe/params/payment_method_domain_list_params.rb +++ b/lib/stripe/params/payment_method_domain_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDomainListParams < Stripe::RequestParams + class PaymentMethodDomainListParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. attr_accessor :domain_name # Whether this payment method domain is enabled. If the domain is not enabled, payment methods will not appear in Elements or Embedded Checkout diff --git a/lib/stripe/params/payment_method_domain_retrieve_params.rb b/lib/stripe/params/payment_method_domain_retrieve_params.rb index 60bb4c81a..a8f831fe7 100644 --- a/lib/stripe/params/payment_method_domain_retrieve_params.rb +++ b/lib/stripe/params/payment_method_domain_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDomainRetrieveParams < Stripe::RequestParams + class PaymentMethodDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_method_domain_update_params.rb b/lib/stripe/params/payment_method_domain_update_params.rb index f76c040ad..961c2e100 100644 --- a/lib/stripe/params/payment_method_domain_update_params.rb +++ b/lib/stripe/params/payment_method_domain_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDomainUpdateParams < Stripe::RequestParams + class PaymentMethodDomainUpdateParams < ::Stripe::RequestParams # Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout. attr_accessor :enabled # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_method_domain_validate_params.rb b/lib/stripe/params/payment_method_domain_validate_params.rb index aeec09af7..2bc1ce286 100644 --- a/lib/stripe/params/payment_method_domain_validate_params.rb +++ b/lib/stripe/params/payment_method_domain_validate_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodDomainValidateParams < Stripe::RequestParams + class PaymentMethodDomainValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_method_list_params.rb b/lib/stripe/params/payment_method_list_params.rb index 1c41d4865..9c08be13b 100644 --- a/lib/stripe/params/payment_method_list_params.rb +++ b/lib/stripe/params/payment_method_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodListParams < Stripe::RequestParams + class PaymentMethodListParams < ::Stripe::RequestParams # The ID of the customer whose PaymentMethods will be retrieved. attr_accessor :customer # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/payment_method_retrieve_params.rb b/lib/stripe/params/payment_method_retrieve_params.rb index 29ef61418..e1776548d 100644 --- a/lib/stripe/params/payment_method_retrieve_params.rb +++ b/lib/stripe/params/payment_method_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentMethodRetrieveParams < Stripe::RequestParams + class PaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payment_method_update_params.rb b/lib/stripe/params/payment_method_update_params.rb index 91b4f6ebc..894a6bbdf 100644 --- a/lib/stripe/params/payment_method_update_params.rb +++ b/lib/stripe/params/payment_method_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PaymentMethodUpdateParams < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodUpdateParams < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -54,8 +54,8 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. attr_accessor :preferred @@ -77,7 +77,7 @@ def initialize(exp_month: nil, exp_year: nil, networks: nil) end end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -92,7 +92,7 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Bank account holder type. attr_accessor :account_holder_type # Bank account type. diff --git a/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb b/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb index 44302888c..902007748 100644 --- a/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +++ b/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentAttemptCanceledParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptCanceledParams < ::Stripe::RequestParams # When the reported payment was canceled. Measured in seconds since the Unix epoch. attr_accessor :canceled_at # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb b/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb index 2e5bf9edf..aea5e36f6 100644 --- a/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +++ b/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentAttemptFailedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptFailedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # When the reported payment failed. Measured in seconds since the Unix epoch. diff --git a/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb b/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb index 754b3f5d8..0620801d3 100644 --- a/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +++ b/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentAttemptGuaranteedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptGuaranteedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. diff --git a/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb b/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb index abda8b156..c5e2bce41 100644 --- a/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +++ b/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentAttemptInformationalParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptInformationalParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. attr_accessor :customer # The customer's phone number. @@ -21,8 +21,8 @@ def initialize(customer: nil, email: nil, name: nil, phone: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/payment_record_report_payment_attempt_params.rb b/lib/stripe/params/payment_record_report_payment_attempt_params.rb index 2dd2f3e16..686050406 100644 --- a/lib/stripe/params/payment_record_report_payment_attempt_params.rb +++ b/lib/stripe/params/payment_record_report_payment_attempt_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentAttemptParams < Stripe::RequestParams - class Failed < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptParams < ::Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. attr_accessor :failed_at @@ -12,7 +12,7 @@ def initialize(failed_at: nil) end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. attr_accessor :guaranteed_at @@ -21,9 +21,9 @@ def initialize(guaranteed_at: nil) end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -70,7 +70,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. attr_accessor :display_name # The custom payment method type associated with this payment. @@ -98,8 +98,8 @@ def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/payment_record_report_payment_params.rb b/lib/stripe/params/payment_record_report_payment_params.rb index 44d413e58..beca01bea 100644 --- a/lib/stripe/params/payment_record_report_payment_params.rb +++ b/lib/stripe/params/payment_record_report_payment_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PaymentRecordReportPaymentParams < Stripe::RequestParams - class AmountRequested < Stripe::RequestParams + class PaymentRecordReportPaymentParams < ::Stripe::RequestParams + class AmountRequested < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -15,7 +15,7 @@ def initialize(currency: nil, value: nil) end end - class CustomerDetails < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. attr_accessor :customer # The customer's phone number. @@ -33,7 +33,7 @@ def initialize(customer: nil, email: nil, name: nil, phone: nil) end end - class Failed < Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. attr_accessor :failed_at @@ -42,7 +42,7 @@ def initialize(failed_at: nil) end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. attr_accessor :guaranteed_at @@ -51,9 +51,9 @@ def initialize(guaranteed_at: nil) end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -100,7 +100,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. attr_accessor :display_name # The custom payment method type associated with this payment. @@ -128,8 +128,8 @@ def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil end end - class ProcessorDetails < Stripe::RequestParams - class Custom < Stripe::RequestParams + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. attr_accessor :payment_reference @@ -148,8 +148,8 @@ def initialize(custom: nil, type: nil) end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/payment_record_report_refund_params.rb b/lib/stripe/params/payment_record_report_refund_params.rb new file mode 100644 index 000000000..814aa9180 --- /dev/null +++ b/lib/stripe/params/payment_record_report_refund_params.rb @@ -0,0 +1,79 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + class PaymentRecordReportRefundParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams + # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + attr_accessor :currency + # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. + attr_accessor :value + + def initialize(currency: nil, value: nil) + @currency = currency + @value = value + end + end + + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams + # A reference to the external refund. This field must be unique across all refunds. + attr_accessor :refund_reference + + def initialize(refund_reference: nil) + @refund_reference = refund_reference + end + end + # Information about the custom processor used to make this refund. + attr_accessor :custom + # The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor. + attr_accessor :type + + def initialize(custom: nil, type: nil) + @custom = custom + @type = type + end + end + + class Refunded < ::Stripe::RequestParams + # When the reported refund completed. Measured in seconds since the Unix epoch. + attr_accessor :refunded_at + + def initialize(refunded_at: nil) + @refunded_at = refunded_at + end + end + # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment. + attr_accessor :amount + # Specifies which fields in the response should be expanded. + attr_accessor :expand + # When the reported refund was initiated. Measured in seconds since the Unix epoch. + attr_accessor :initiated_at + # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + attr_accessor :metadata + # The outcome of the reported refund. + attr_accessor :outcome + # Processor information for this refund. + attr_accessor :processor_details + # Information about the payment attempt refund. + attr_accessor :refunded + + def initialize( + amount: nil, + expand: nil, + initiated_at: nil, + metadata: nil, + outcome: nil, + processor_details: nil, + refunded: nil + ) + @amount = amount + @expand = expand + @initiated_at = initiated_at + @metadata = metadata + @outcome = outcome + @processor_details = processor_details + @refunded = refunded + end + end +end diff --git a/lib/stripe/params/payment_record_retrieve_params.rb b/lib/stripe/params/payment_record_retrieve_params.rb index 53e350665..a5b99f28a 100644 --- a/lib/stripe/params/payment_record_retrieve_params.rb +++ b/lib/stripe/params/payment_record_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PaymentRecordRetrieveParams < Stripe::RequestParams + class PaymentRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payout_cancel_params.rb b/lib/stripe/params/payout_cancel_params.rb index 7ac654765..9ac776480 100644 --- a/lib/stripe/params/payout_cancel_params.rb +++ b/lib/stripe/params/payout_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PayoutCancelParams < Stripe::RequestParams + class PayoutCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payout_create_params.rb b/lib/stripe/params/payout_create_params.rb index e09e2bce1..eac4449be 100644 --- a/lib/stripe/params/payout_create_params.rb +++ b/lib/stripe/params/payout_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PayoutCreateParams < Stripe::RequestParams + class PayoutCreateParams < ::Stripe::RequestParams # A positive integer in cents representing how much to payout. attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/lib/stripe/params/payout_list_params.rb b/lib/stripe/params/payout_list_params.rb index 48b520df2..538f10963 100644 --- a/lib/stripe/params/payout_list_params.rb +++ b/lib/stripe/params/payout_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PayoutListParams < Stripe::RequestParams - class ArrivalDate < Stripe::RequestParams + class PayoutListParams < ::Stripe::RequestParams + class ArrivalDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -21,7 +21,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/payout_retrieve_params.rb b/lib/stripe/params/payout_retrieve_params.rb index 2382c5bfc..3f72f94c4 100644 --- a/lib/stripe/params/payout_retrieve_params.rb +++ b/lib/stripe/params/payout_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PayoutRetrieveParams < Stripe::RequestParams + class PayoutRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/payout_reverse_params.rb b/lib/stripe/params/payout_reverse_params.rb index 86340285e..f072ab6e5 100644 --- a/lib/stripe/params/payout_reverse_params.rb +++ b/lib/stripe/params/payout_reverse_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PayoutReverseParams < Stripe::RequestParams + class PayoutReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/payout_update_params.rb b/lib/stripe/params/payout_update_params.rb index 5f7729b24..726690d11 100644 --- a/lib/stripe/params/payout_update_params.rb +++ b/lib/stripe/params/payout_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PayoutUpdateParams < Stripe::RequestParams + class PayoutUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/plan_create_params.rb b/lib/stripe/params/plan_create_params.rb index f02830b76..31fb9aeb9 100644 --- a/lib/stripe/params/plan_create_params.rb +++ b/lib/stripe/params/plan_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PlanCreateParams < Stripe::RequestParams - class Product < Stripe::RequestParams + class PlanCreateParams < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. attr_accessor :active # The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated. @@ -40,7 +40,7 @@ def initialize( end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. attr_accessor :flat_amount # Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. @@ -67,7 +67,7 @@ def initialize( end end - class TransformUsage < Stripe::RequestParams + class TransformUsage < ::Stripe::RequestParams # Divide usage by this number. attr_accessor :divide_by # After division, either round the result `up` or `down`. diff --git a/lib/stripe/params/plan_delete_params.rb b/lib/stripe/params/plan_delete_params.rb index 955f11f41..16993797d 100644 --- a/lib/stripe/params/plan_delete_params.rb +++ b/lib/stripe/params/plan_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class PlanDeleteParams < Stripe::RequestParams; end + class PlanDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/plan_list_params.rb b/lib/stripe/params/plan_list_params.rb index e8463d168..1ce8bfe69 100644 --- a/lib/stripe/params/plan_list_params.rb +++ b/lib/stripe/params/plan_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PlanListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PlanListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/plan_retrieve_params.rb b/lib/stripe/params/plan_retrieve_params.rb index b30d77bd4..5b33cbfc9 100644 --- a/lib/stripe/params/plan_retrieve_params.rb +++ b/lib/stripe/params/plan_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PlanRetrieveParams < Stripe::RequestParams + class PlanRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/plan_update_params.rb b/lib/stripe/params/plan_update_params.rb index 7122b69f7..26403f619 100644 --- a/lib/stripe/params/plan_update_params.rb +++ b/lib/stripe/params/plan_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PlanUpdateParams < Stripe::RequestParams + class PlanUpdateParams < ::Stripe::RequestParams # Whether the plan is currently available for new subscriptions. attr_accessor :active # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/price_create_params.rb b/lib/stripe/params/price_create_params.rb index 292b4f27b..afd8f206c 100644 --- a/lib/stripe/params/price_create_params.rb +++ b/lib/stripe/params/price_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PriceCreateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceCreateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. attr_accessor :enabled # The maximum unit amount the customer can specify for this item. @@ -22,7 +22,7 @@ def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil) end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. attr_accessor :flat_amount # Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. @@ -74,7 +74,7 @@ def initialize( end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. attr_accessor :enabled # The maximum unit amount the customer can specify for this item. @@ -92,7 +92,7 @@ def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil) end end - class ProductData < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. attr_accessor :active # The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated. @@ -129,7 +129,7 @@ def initialize( end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -156,7 +156,7 @@ def initialize( end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. attr_accessor :flat_amount # Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. @@ -183,7 +183,7 @@ def initialize( end end - class TransformQuantity < Stripe::RequestParams + class TransformQuantity < ::Stripe::RequestParams # Divide usage by this number. attr_accessor :divide_by # After division, either round the result `up` or `down`. diff --git a/lib/stripe/params/price_list_params.rb b/lib/stripe/params/price_list_params.rb index ff725844f..38cff22e0 100644 --- a/lib/stripe/params/price_list_params.rb +++ b/lib/stripe/params/price_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PriceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PriceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -21,7 +21,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Filter by billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # Filter by the price's meter. diff --git a/lib/stripe/params/price_retrieve_params.rb b/lib/stripe/params/price_retrieve_params.rb index c92af74a7..682d4e54a 100644 --- a/lib/stripe/params/price_retrieve_params.rb +++ b/lib/stripe/params/price_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PriceRetrieveParams < Stripe::RequestParams + class PriceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/price_search_params.rb b/lib/stripe/params/price_search_params.rb index 799789dfd..95add4d07 100644 --- a/lib/stripe/params/price_search_params.rb +++ b/lib/stripe/params/price_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PriceSearchParams < Stripe::RequestParams + class PriceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/price_update_params.rb b/lib/stripe/params/price_update_params.rb index cb8b61357..985e316a3 100644 --- a/lib/stripe/params/price_update_params.rb +++ b/lib/stripe/params/price_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PriceUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. attr_accessor :enabled # The maximum unit amount the customer can specify for this item. @@ -22,7 +22,7 @@ def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil) end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. attr_accessor :flat_amount # Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. @@ -74,7 +74,7 @@ def initialize( end end - class MigrateTo < Stripe::RequestParams + class MigrateTo < ::Stripe::RequestParams # The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`. attr_accessor :behavior # The time after which subscriptions should start using the new price. diff --git a/lib/stripe/params/privacy/redaction_job_cancel_params.rb b/lib/stripe/params/privacy/redaction_job_cancel_params.rb index 26c0a3b36..0ec698b9d 100644 --- a/lib/stripe/params/privacy/redaction_job_cancel_params.rb +++ b/lib/stripe/params/privacy/redaction_job_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobCancelParams < Stripe::RequestParams + class RedactionJobCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/privacy/redaction_job_create_params.rb b/lib/stripe/params/privacy/redaction_job_create_params.rb index b3b955dfe..b1f0c0978 100644 --- a/lib/stripe/params/privacy/redaction_job_create_params.rb +++ b/lib/stripe/params/privacy/redaction_job_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Privacy - class RedactionJobCreateParams < Stripe::RequestParams - class Objects < Stripe::RequestParams + class RedactionJobCreateParams < ::Stripe::RequestParams + class Objects < ::Stripe::RequestParams # Attribute for param field charges attr_accessor :charges # Attribute for param field checkout_sessions diff --git a/lib/stripe/params/privacy/redaction_job_list_params.rb b/lib/stripe/params/privacy/redaction_job_list_params.rb index 4d4155579..295d72730 100644 --- a/lib/stripe/params/privacy/redaction_job_list_params.rb +++ b/lib/stripe/params/privacy/redaction_job_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobListParams < Stripe::RequestParams + class RedactionJobListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/privacy/redaction_job_retrieve_params.rb b/lib/stripe/params/privacy/redaction_job_retrieve_params.rb index 135d11f49..18dc759ed 100644 --- a/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +++ b/lib/stripe/params/privacy/redaction_job_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobRetrieveParams < Stripe::RequestParams + class RedactionJobRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/privacy/redaction_job_run_params.rb b/lib/stripe/params/privacy/redaction_job_run_params.rb index 4dd6f7234..e651fc08d 100644 --- a/lib/stripe/params/privacy/redaction_job_run_params.rb +++ b/lib/stripe/params/privacy/redaction_job_run_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobRunParams < Stripe::RequestParams + class RedactionJobRunParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/privacy/redaction_job_update_params.rb b/lib/stripe/params/privacy/redaction_job_update_params.rb index 2f22ca1cc..e28e86e88 100644 --- a/lib/stripe/params/privacy/redaction_job_update_params.rb +++ b/lib/stripe/params/privacy/redaction_job_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobUpdateParams < Stripe::RequestParams + class RedactionJobUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Determines the validation behavior of the job. Default is `error`. diff --git a/lib/stripe/params/privacy/redaction_job_validate_params.rb b/lib/stripe/params/privacy/redaction_job_validate_params.rb index 070e74b64..55a3e6ad6 100644 --- a/lib/stripe/params/privacy/redaction_job_validate_params.rb +++ b/lib/stripe/params/privacy/redaction_job_validate_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobValidateParams < Stripe::RequestParams + class RedactionJobValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb b/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb index a73895ecb..63fddd734 100644 --- a/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +++ b/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Privacy - class RedactionJobValidationErrorListParams < Stripe::RequestParams + class RedactionJobValidationErrorListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/product_create_params.rb b/lib/stripe/params/product_create_params.rb index d81fe5122..4b3633124 100644 --- a/lib/stripe/params/product_create_params.rb +++ b/lib/stripe/params/product_create_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class ProductCreateParams < Stripe::RequestParams - class DefaultPriceData < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class ProductCreateParams < ::Stripe::RequestParams + class DefaultPriceData < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. attr_accessor :enabled # The maximum unit amount the customer can specify for this item. @@ -23,7 +23,7 @@ def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil) end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. attr_accessor :flat_amount # Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. @@ -75,7 +75,7 @@ def initialize( end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. attr_accessor :enabled # The maximum unit amount the customer can specify for this item. @@ -93,7 +93,7 @@ def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil) end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -142,7 +142,7 @@ def initialize( end end - class MarketingFeature < Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. attr_accessor :name @@ -151,7 +151,7 @@ def initialize(name: nil) end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. attr_accessor :height # Length, in inches. Maximum precision is 2 decimal places. diff --git a/lib/stripe/params/product_delete_params.rb b/lib/stripe/params/product_delete_params.rb index 67b5bdee4..1be972078 100644 --- a/lib/stripe/params/product_delete_params.rb +++ b/lib/stripe/params/product_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class ProductDeleteParams < Stripe::RequestParams; end + class ProductDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/product_feature_create_params.rb b/lib/stripe/params/product_feature_create_params.rb index 811733391..2c09160e4 100644 --- a/lib/stripe/params/product_feature_create_params.rb +++ b/lib/stripe/params/product_feature_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ProductFeatureCreateParams < Stripe::RequestParams + class ProductFeatureCreateParams < ::Stripe::RequestParams # The ID of the [Feature](https://stripe.com/docs/api/entitlements/feature) object attached to this product. attr_accessor :entitlement_feature # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/product_feature_delete_params.rb b/lib/stripe/params/product_feature_delete_params.rb index 1abea067c..d3ecd7db5 100644 --- a/lib/stripe/params/product_feature_delete_params.rb +++ b/lib/stripe/params/product_feature_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class ProductFeatureDeleteParams < Stripe::RequestParams; end + class ProductFeatureDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/product_feature_list_params.rb b/lib/stripe/params/product_feature_list_params.rb index 8c6213b79..824152661 100644 --- a/lib/stripe/params/product_feature_list_params.rb +++ b/lib/stripe/params/product_feature_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ProductFeatureListParams < Stripe::RequestParams + class ProductFeatureListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/product_feature_retrieve_params.rb b/lib/stripe/params/product_feature_retrieve_params.rb index 15b7d8975..76d9b9a52 100644 --- a/lib/stripe/params/product_feature_retrieve_params.rb +++ b/lib/stripe/params/product_feature_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ProductFeatureRetrieveParams < Stripe::RequestParams + class ProductFeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/product_list_params.rb b/lib/stripe/params/product_list_params.rb index b19bb3ad4..4aa0e7092 100644 --- a/lib/stripe/params/product_list_params.rb +++ b/lib/stripe/params/product_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ProductListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/product_retrieve_params.rb b/lib/stripe/params/product_retrieve_params.rb index e9a4143a6..8fc3483ed 100644 --- a/lib/stripe/params/product_retrieve_params.rb +++ b/lib/stripe/params/product_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/product_search_params.rb b/lib/stripe/params/product_search_params.rb index d86caab62..2a7c82e2b 100644 --- a/lib/stripe/params/product_search_params.rb +++ b/lib/stripe/params/product_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ProductSearchParams < Stripe::RequestParams + class ProductSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/product_update_params.rb b/lib/stripe/params/product_update_params.rb index 5e084e6e0..0b3dbb914 100644 --- a/lib/stripe/params/product_update_params.rb +++ b/lib/stripe/params/product_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ProductUpdateParams < Stripe::RequestParams - class MarketingFeature < Stripe::RequestParams + class ProductUpdateParams < ::Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. attr_accessor :name @@ -12,7 +12,7 @@ def initialize(name: nil) end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. attr_accessor :height # Length, in inches. Maximum precision is 2 decimal places. diff --git a/lib/stripe/params/promotion_code_create_params.rb b/lib/stripe/params/promotion_code_create_params.rb index 1be1630ea..ca976e219 100644 --- a/lib/stripe/params/promotion_code_create_params.rb +++ b/lib/stripe/params/promotion_code_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PromotionCodeCreateParams < Stripe::RequestParams - class Promotion < Stripe::RequestParams + class PromotionCodeCreateParams < ::Stripe::RequestParams + class Promotion < ::Stripe::RequestParams # If promotion `type` is `coupon`, the coupon for this promotion code. attr_accessor :coupon # Specifies the type of promotion. @@ -15,8 +15,8 @@ def initialize(coupon: nil, type: nil) end end - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). attr_accessor :minimum_amount diff --git a/lib/stripe/params/promotion_code_list_params.rb b/lib/stripe/params/promotion_code_list_params.rb index 674ab6bac..850e5edd5 100644 --- a/lib/stripe/params/promotion_code_list_params.rb +++ b/lib/stripe/params/promotion_code_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class PromotionCodeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PromotionCodeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/promotion_code_retrieve_params.rb b/lib/stripe/params/promotion_code_retrieve_params.rb index 9a305f4b0..656ae25c9 100644 --- a/lib/stripe/params/promotion_code_retrieve_params.rb +++ b/lib/stripe/params/promotion_code_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class PromotionCodeRetrieveParams < Stripe::RequestParams + class PromotionCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/promotion_code_update_params.rb b/lib/stripe/params/promotion_code_update_params.rb index 50d06e006..af9f4af10 100644 --- a/lib/stripe/params/promotion_code_update_params.rb +++ b/lib/stripe/params/promotion_code_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class PromotionCodeUpdateParams < Stripe::RequestParams - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class PromotionCodeUpdateParams < ::Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). attr_accessor :minimum_amount diff --git a/lib/stripe/params/quote_accept_params.rb b/lib/stripe/params/quote_accept_params.rb index f753edc6f..914993395 100644 --- a/lib/stripe/params/quote_accept_params.rb +++ b/lib/stripe/params/quote_accept_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteAcceptParams < Stripe::RequestParams + class QuoteAcceptParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_cancel_params.rb b/lib/stripe/params/quote_cancel_params.rb index 5271bad7a..ffd83e566 100644 --- a/lib/stripe/params/quote_cancel_params.rb +++ b/lib/stripe/params/quote_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteCancelParams < Stripe::RequestParams + class QuoteCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb b/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb index a824d701e..3e4656b68 100644 --- a/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +++ b/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteComputedUpfrontLineItemsListParams < Stripe::RequestParams + class QuoteComputedUpfrontLineItemsListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_create_params.rb b/lib/stripe/params/quote_create_params.rb index 179615f49..9a46b1f94 100644 --- a/lib/stripe/params/quote_create_params.rb +++ b/lib/stripe/params/quote_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class QuoteCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -26,9 +26,9 @@ def initialize(enabled: nil, liability: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -69,7 +69,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class FromQuote < Stripe::RequestParams + class FromQuote < ::Stripe::RequestParams # Whether this quote is a revision of the previous quote. attr_accessor :is_revision # The `id` of the quote that will be cloned. @@ -81,8 +81,8 @@ def initialize(is_revision: nil, quote: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -104,10 +104,10 @@ def initialize(days_until_due: nil, issuer: nil) end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. attr_accessor :type @@ -141,10 +141,10 @@ def initialize( end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -185,7 +185,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -226,7 +226,7 @@ def initialize( end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. attr_accessor :coupon # The ID of a discount to remove from the `discounts` array. @@ -241,7 +241,7 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. attr_accessor :price @@ -250,7 +250,7 @@ def initialize(price: nil) end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. attr_accessor :coupon # An ID of an existing discount to replace the `discounts` array with. @@ -265,10 +265,10 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -309,7 +309,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -395,7 +395,7 @@ def initialize( end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_accessor :new_reference # The ID of the schedule the line applies to. @@ -410,7 +410,7 @@ def initialize(new_reference: nil, subscription_schedule: nil, type: nil) end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. attr_accessor :cancel_at # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`. @@ -425,8 +425,8 @@ def initialize(cancel_at: nil, invoice_now: nil, prorate: nil) end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -435,7 +435,7 @@ def initialize(discount: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -463,8 +463,8 @@ def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil) end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -483,8 +483,8 @@ def initialize(set: nil, type: nil) end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -493,7 +493,7 @@ def initialize(discount: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. attr_accessor :index @@ -518,8 +518,8 @@ def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -580,10 +580,10 @@ def initialize( end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -624,8 +624,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -685,10 +685,10 @@ def initialize(discounts: nil, price: nil, price_data: nil, quantity: nil, tax_r end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -713,8 +713,8 @@ def initialize(line_starts_at: nil, timestamp: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -726,7 +726,7 @@ def initialize(interval: nil, interval_count: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -764,8 +764,8 @@ def initialize(bill_from: nil, bill_until: nil) end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -784,7 +784,7 @@ def initialize(flexible: nil, type: nil) end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations @@ -852,8 +852,8 @@ def initialize( end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_accessor :new_reference # The ID of the schedule the line applies to. @@ -868,9 +868,9 @@ def initialize(new_reference: nil, subscription_schedule: nil, type: nil) end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -895,8 +895,8 @@ def initialize(line_starts_at: nil, timestamp: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -908,7 +908,7 @@ def initialize(interval: nil, interval_count: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -985,7 +985,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. attr_accessor :amount # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field. diff --git a/lib/stripe/params/quote_finalize_quote_params.rb b/lib/stripe/params/quote_finalize_quote_params.rb index f55f30e40..8249d0045 100644 --- a/lib/stripe/params/quote_finalize_quote_params.rb +++ b/lib/stripe/params/quote_finalize_quote_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteFinalizeQuoteParams < Stripe::RequestParams + class QuoteFinalizeQuoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. diff --git a/lib/stripe/params/quote_line_item_list_params.rb b/lib/stripe/params/quote_line_item_list_params.rb index 33ab98203..87f970e94 100644 --- a/lib/stripe/params/quote_line_item_list_params.rb +++ b/lib/stripe/params/quote_line_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteLineItemListParams < Stripe::RequestParams + class QuoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_line_list_params.rb b/lib/stripe/params/quote_line_list_params.rb index 7e02386a8..c45563a3a 100644 --- a/lib/stripe/params/quote_line_list_params.rb +++ b/lib/stripe/params/quote_line_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteLineListParams < Stripe::RequestParams + class QuoteLineListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb b/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb index a3d2f05a6..679bfdef3 100644 --- a/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +++ b/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteListComputedUpfrontLineItemsParams < Stripe::RequestParams + class QuoteListComputedUpfrontLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_list_line_items_params.rb b/lib/stripe/params/quote_list_line_items_params.rb index 35eaf8fdc..9ea9bb6d2 100644 --- a/lib/stripe/params/quote_list_line_items_params.rb +++ b/lib/stripe/params/quote_list_line_items_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteListLineItemsParams < Stripe::RequestParams + class QuoteListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_list_lines_params.rb b/lib/stripe/params/quote_list_lines_params.rb index 934759abb..de5489421 100644 --- a/lib/stripe/params/quote_list_lines_params.rb +++ b/lib/stripe/params/quote_list_lines_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteListLinesParams < Stripe::RequestParams + class QuoteListLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_list_params.rb b/lib/stripe/params/quote_list_params.rb index 125049721..366c32c61 100644 --- a/lib/stripe/params/quote_list_params.rb +++ b/lib/stripe/params/quote_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteListParams < Stripe::RequestParams + class QuoteListParams < ::Stripe::RequestParams # The ID of the customer whose quotes will be retrieved. attr_accessor :customer # The ID of the account whose quotes will be retrieved. diff --git a/lib/stripe/params/quote_list_preview_invoice_lines_params.rb b/lib/stripe/params/quote_list_preview_invoice_lines_params.rb index 3178901f1..e9eb0a210 100644 --- a/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +++ b/lib/stripe/params/quote_list_preview_invoice_lines_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteListPreviewInvoiceLinesParams < Stripe::RequestParams + class QuoteListPreviewInvoiceLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_mark_draft_params.rb b/lib/stripe/params/quote_mark_draft_params.rb index b6aa2bd93..994e98718 100644 --- a/lib/stripe/params/quote_mark_draft_params.rb +++ b/lib/stripe/params/quote_mark_draft_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteMarkDraftParams < Stripe::RequestParams + class QuoteMarkDraftParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_mark_stale_params.rb b/lib/stripe/params/quote_mark_stale_params.rb index 1c7725e20..a55863d31 100644 --- a/lib/stripe/params/quote_mark_stale_params.rb +++ b/lib/stripe/params/quote_mark_stale_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteMarkStaleParams < Stripe::RequestParams + class QuoteMarkStaleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Reason the Quote is being marked stale. diff --git a/lib/stripe/params/quote_pdf_params.rb b/lib/stripe/params/quote_pdf_params.rb index ba1f037bb..3e75af3c6 100644 --- a/lib/stripe/params/quote_pdf_params.rb +++ b/lib/stripe/params/quote_pdf_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuotePdfParams < Stripe::RequestParams + class QuotePdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_preview_invoice_list_params.rb b/lib/stripe/params/quote_preview_invoice_list_params.rb index 9c1a85d47..7b836240a 100644 --- a/lib/stripe/params/quote_preview_invoice_list_params.rb +++ b/lib/stripe/params/quote_preview_invoice_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuotePreviewInvoiceListParams < Stripe::RequestParams + class QuotePreviewInvoiceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb b/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb index c49f71c72..5fcc053ff 100644 --- a/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +++ b/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuotePreviewSubscriptionScheduleListParams < Stripe::RequestParams + class QuotePreviewSubscriptionScheduleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/quote_reestimate_params.rb b/lib/stripe/params/quote_reestimate_params.rb index 8094c9a21..8676ff55a 100644 --- a/lib/stripe/params/quote_reestimate_params.rb +++ b/lib/stripe/params/quote_reestimate_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteReestimateParams < Stripe::RequestParams + class QuoteReestimateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_retrieve_params.rb b/lib/stripe/params/quote_retrieve_params.rb index abfe547bf..44c528539 100644 --- a/lib/stripe/params/quote_retrieve_params.rb +++ b/lib/stripe/params/quote_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class QuoteRetrieveParams < Stripe::RequestParams + class QuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/quote_update_params.rb b/lib/stripe/params/quote_update_params.rb index 787f19544..0dc734d6d 100644 --- a/lib/stripe/params/quote_update_params.rb +++ b/lib/stripe/params/quote_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class QuoteUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -26,9 +26,9 @@ def initialize(enabled: nil, liability: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -69,8 +69,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -92,10 +92,10 @@ def initialize(days_until_due: nil, issuer: nil) end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. attr_accessor :type @@ -129,10 +129,10 @@ def initialize( end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -173,7 +173,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -214,7 +214,7 @@ def initialize( end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. attr_accessor :coupon # The ID of a discount to remove from the `discounts` array. @@ -229,7 +229,7 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. attr_accessor :price @@ -238,7 +238,7 @@ def initialize(price: nil) end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. attr_accessor :coupon # An ID of an existing discount to replace the `discounts` array with. @@ -253,10 +253,10 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -297,7 +297,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -383,7 +383,7 @@ def initialize( end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_accessor :new_reference # The ID of the schedule the line applies to. @@ -398,7 +398,7 @@ def initialize(new_reference: nil, subscription_schedule: nil, type: nil) end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. attr_accessor :cancel_at # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`. @@ -413,8 +413,8 @@ def initialize(cancel_at: nil, invoice_now: nil, prorate: nil) end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -423,7 +423,7 @@ def initialize(discount: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -451,8 +451,8 @@ def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil) end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -471,8 +471,8 @@ def initialize(set: nil, type: nil) end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -481,7 +481,7 @@ def initialize(discount: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -509,8 +509,8 @@ def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -575,10 +575,10 @@ def initialize( end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -619,8 +619,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -690,10 +690,10 @@ def initialize( end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -718,8 +718,8 @@ def initialize(line_starts_at: nil, timestamp: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -731,7 +731,7 @@ def initialize(interval: nil, interval_count: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -769,7 +769,7 @@ def initialize(bill_from: nil, bill_until: nil) end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations @@ -829,8 +829,8 @@ def initialize( end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_accessor :new_reference # The ID of the schedule the line applies to. @@ -845,9 +845,9 @@ def initialize(new_reference: nil, subscription_schedule: nil, type: nil) end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -872,8 +872,8 @@ def initialize(line_starts_at: nil, timestamp: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -885,7 +885,7 @@ def initialize(interval: nil, interval_count: nil) end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. attr_accessor :id # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. @@ -962,7 +962,7 @@ def initialize( end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. attr_accessor :amount # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field. diff --git a/lib/stripe/params/radar/early_fraud_warning_list_params.rb b/lib/stripe/params/radar/early_fraud_warning_list_params.rb index 09de5c3f0..67a0d5a3e 100644 --- a/lib/stripe/params/radar/early_fraud_warning_list_params.rb +++ b/lib/stripe/params/radar/early_fraud_warning_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Radar - class EarlyFraudWarningListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EarlyFraudWarningListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb b/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb index 9939c9b47..8a7b4e568 100644 --- a/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +++ b/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class EarlyFraudWarningRetrieveParams < Stripe::RequestParams + class EarlyFraudWarningRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/radar/value_list_create_params.rb b/lib/stripe/params/radar/value_list_create_params.rb index a8f4e15ae..d9d4d86a6 100644 --- a/lib/stripe/params/radar/value_list_create_params.rb +++ b/lib/stripe/params/radar/value_list_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class ValueListCreateParams < Stripe::RequestParams + class ValueListCreateParams < ::Stripe::RequestParams # The name of the value list for use in rules. attr_accessor :alias # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/radar/value_list_delete_params.rb b/lib/stripe/params/radar/value_list_delete_params.rb index ebd9cac18..e61aee1bc 100644 --- a/lib/stripe/params/radar/value_list_delete_params.rb +++ b/lib/stripe/params/radar/value_list_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module Radar - class ValueListDeleteParams < Stripe::RequestParams; end + class ValueListDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/radar/value_list_item_create_params.rb b/lib/stripe/params/radar/value_list_item_create_params.rb index b64eca74c..8e96c8b3c 100644 --- a/lib/stripe/params/radar/value_list_item_create_params.rb +++ b/lib/stripe/params/radar/value_list_item_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class ValueListItemCreateParams < Stripe::RequestParams + class ValueListItemCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The value of the item (whose type must match the type of the parent value list). diff --git a/lib/stripe/params/radar/value_list_item_delete_params.rb b/lib/stripe/params/radar/value_list_item_delete_params.rb index a7a40e902..e864f2d87 100644 --- a/lib/stripe/params/radar/value_list_item_delete_params.rb +++ b/lib/stripe/params/radar/value_list_item_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module Radar - class ValueListItemDeleteParams < Stripe::RequestParams; end + class ValueListItemDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/radar/value_list_item_list_params.rb b/lib/stripe/params/radar/value_list_item_list_params.rb index 96e2961f0..b94e46da3 100644 --- a/lib/stripe/params/radar/value_list_item_list_params.rb +++ b/lib/stripe/params/radar/value_list_item_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Radar - class ValueListItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/radar/value_list_item_retrieve_params.rb b/lib/stripe/params/radar/value_list_item_retrieve_params.rb index f66dd4589..e7f602667 100644 --- a/lib/stripe/params/radar/value_list_item_retrieve_params.rb +++ b/lib/stripe/params/radar/value_list_item_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class ValueListItemRetrieveParams < Stripe::RequestParams + class ValueListItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/radar/value_list_list_params.rb b/lib/stripe/params/radar/value_list_list_params.rb index 08aada7f2..2bb6f299d 100644 --- a/lib/stripe/params/radar/value_list_list_params.rb +++ b/lib/stripe/params/radar/value_list_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Radar - class ValueListListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/radar/value_list_retrieve_params.rb b/lib/stripe/params/radar/value_list_retrieve_params.rb index 8120b553d..e9039b001 100644 --- a/lib/stripe/params/radar/value_list_retrieve_params.rb +++ b/lib/stripe/params/radar/value_list_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class ValueListRetrieveParams < Stripe::RequestParams + class ValueListRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/radar/value_list_update_params.rb b/lib/stripe/params/radar/value_list_update_params.rb index 17dfc410c..a8526460c 100644 --- a/lib/stripe/params/radar/value_list_update_params.rb +++ b/lib/stripe/params/radar/value_list_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Radar - class ValueListUpdateParams < Stripe::RequestParams + class ValueListUpdateParams < ::Stripe::RequestParams # The name of the value list for use in rules. attr_accessor :alias # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/refund_cancel_params.rb b/lib/stripe/params/refund_cancel_params.rb index 1865715ff..00b7e9832 100644 --- a/lib/stripe/params/refund_cancel_params.rb +++ b/lib/stripe/params/refund_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class RefundCancelParams < Stripe::RequestParams + class RefundCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/refund_create_params.rb b/lib/stripe/params/refund_create_params.rb index 5155849da..c0530e7bf 100644 --- a/lib/stripe/params/refund_create_params.rb +++ b/lib/stripe/params/refund_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class RefundCreateParams < Stripe::RequestParams + class RefundCreateParams < ::Stripe::RequestParams # Attribute for param field amount attr_accessor :amount # The identifier of the charge to refund. diff --git a/lib/stripe/params/refund_expire_params.rb b/lib/stripe/params/refund_expire_params.rb index 9d03b5ee5..99d4b1884 100644 --- a/lib/stripe/params/refund_expire_params.rb +++ b/lib/stripe/params/refund_expire_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/refund_list_params.rb b/lib/stripe/params/refund_list_params.rb index 5aea520b3..9a58a714b 100644 --- a/lib/stripe/params/refund_list_params.rb +++ b/lib/stripe/params/refund_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class RefundListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RefundListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/refund_retrieve_params.rb b/lib/stripe/params/refund_retrieve_params.rb index 04658f986..3f18b3ef4 100644 --- a/lib/stripe/params/refund_retrieve_params.rb +++ b/lib/stripe/params/refund_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class RefundRetrieveParams < Stripe::RequestParams + class RefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/refund_update_params.rb b/lib/stripe/params/refund_update_params.rb index 5ec72a1ea..7274ee5d6 100644 --- a/lib/stripe/params/refund_update_params.rb +++ b/lib/stripe/params/refund_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class RefundUpdateParams < Stripe::RequestParams + class RefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/reporting/report_run_create_params.rb b/lib/stripe/params/reporting/report_run_create_params.rb index 469804c5c..ddc8f1836 100644 --- a/lib/stripe/params/reporting/report_run_create_params.rb +++ b/lib/stripe/params/reporting/report_run_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Reporting - class ReportRunCreateParams < Stripe::RequestParams - class Parameters < Stripe::RequestParams + class ReportRunCreateParams < ::Stripe::RequestParams + class Parameters < ::Stripe::RequestParams # The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set. attr_accessor :columns # Connected account ID to filter for in the report run. diff --git a/lib/stripe/params/reporting/report_run_list_params.rb b/lib/stripe/params/reporting/report_run_list_params.rb index 0678c5fe7..345a7e064 100644 --- a/lib/stripe/params/reporting/report_run_list_params.rb +++ b/lib/stripe/params/reporting/report_run_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Reporting - class ReportRunListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReportRunListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/reporting/report_run_retrieve_params.rb b/lib/stripe/params/reporting/report_run_retrieve_params.rb index 92312b3ef..9762e5f1e 100644 --- a/lib/stripe/params/reporting/report_run_retrieve_params.rb +++ b/lib/stripe/params/reporting/report_run_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Reporting - class ReportRunRetrieveParams < Stripe::RequestParams + class ReportRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/reporting/report_type_list_params.rb b/lib/stripe/params/reporting/report_type_list_params.rb index 11d4720c7..4ebe74636 100644 --- a/lib/stripe/params/reporting/report_type_list_params.rb +++ b/lib/stripe/params/reporting/report_type_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Reporting - class ReportTypeListParams < Stripe::RequestParams + class ReportTypeListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/reporting/report_type_retrieve_params.rb b/lib/stripe/params/reporting/report_type_retrieve_params.rb index 70a9951af..3a03cb7c1 100644 --- a/lib/stripe/params/reporting/report_type_retrieve_params.rb +++ b/lib/stripe/params/reporting/report_type_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Reporting - class ReportTypeRetrieveParams < Stripe::RequestParams + class ReportTypeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/review_approve_params.rb b/lib/stripe/params/review_approve_params.rb index 62a445ea5..8f5c3b3d7 100644 --- a/lib/stripe/params/review_approve_params.rb +++ b/lib/stripe/params/review_approve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ReviewApproveParams < Stripe::RequestParams + class ReviewApproveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/review_list_params.rb b/lib/stripe/params/review_list_params.rb index d9cfbae07..a1568bb07 100644 --- a/lib/stripe/params/review_list_params.rb +++ b/lib/stripe/params/review_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ReviewListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReviewListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/review_retrieve_params.rb b/lib/stripe/params/review_retrieve_params.rb index 5a30fd73d..eeb5c81f9 100644 --- a/lib/stripe/params/review_retrieve_params.rb +++ b/lib/stripe/params/review_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ReviewRetrieveParams < Stripe::RequestParams + class ReviewRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/setup_attempt_list_params.rb b/lib/stripe/params/setup_attempt_list_params.rb index cf700a865..f8d5fd092 100644 --- a/lib/stripe/params/setup_attempt_list_params.rb +++ b/lib/stripe/params/setup_attempt_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SetupAttemptListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupAttemptListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/setup_intent_cancel_params.rb b/lib/stripe/params/setup_intent_cancel_params.rb index 0de22d43e..eaa603d62 100644 --- a/lib/stripe/params/setup_intent_cancel_params.rb +++ b/lib/stripe/params/setup_intent_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SetupIntentCancelParams < Stripe::RequestParams + class SetupIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate` attr_accessor :cancellation_reason # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/setup_intent_confirm_params.rb b/lib/stripe/params/setup_intent_confirm_params.rb index 9f5ed2410..96bd5d4e7 100644 --- a/lib/stripe/params/setup_intent_confirm_params.rb +++ b/lib/stripe/params/setup_intent_confirm_params.rb @@ -2,12 +2,12 @@ # frozen_string_literal: true module Stripe - class SetupIntentConfirmParams < Stripe::RequestParams - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end + class SetupIntentConfirmParams < ::Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. attr_accessor :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -42,8 +42,8 @@ def initialize(customer_acceptance: nil) end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -58,13 +58,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -76,7 +76,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -88,11 +88,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -142,9 +142,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -153,11 +153,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -166,7 +166,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -178,11 +178,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -191,7 +191,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -200,11 +200,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -226,14 +226,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -242,7 +242,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -273,9 +273,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -284,13 +284,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -305,11 +305,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -318,8 +318,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -341,11 +341,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -354,9 +354,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -365,7 +365,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -377,10 +377,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -407,8 +407,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -663,9 +663,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -707,10 +707,10 @@ def initialize(currency: nil, mandate_options: nil, verification_method: nil) end end - class AmazonPay < Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -726,8 +726,8 @@ def initialize(mandate_options: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -774,9 +774,9 @@ def initialize( end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -873,10 +873,10 @@ def initialize( end end - class CardPresent < Stripe::RequestParams; end + class CardPresent < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -903,8 +903,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -957,7 +957,7 @@ def initialize(currency: nil, on_demand: nil, preferred_locale: nil, subscriptio end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. attr_accessor :persistent_token @@ -966,7 +966,7 @@ def initialize(persistent_token: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. attr_accessor :billing_agreement_id # Attribute for param field currency @@ -981,8 +981,8 @@ def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -1024,8 +1024,8 @@ def initialize(mandate_options: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -1071,8 +1071,8 @@ def initialize(mandate_options: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -1088,9 +1088,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -1102,7 +1102,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -1136,7 +1136,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -1145,7 +1145,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested diff --git a/lib/stripe/params/setup_intent_create_params.rb b/lib/stripe/params/setup_intent_create_params.rb index 39e39ef6e..919b2c43d 100644 --- a/lib/stripe/params/setup_intent_create_params.rb +++ b/lib/stripe/params/setup_intent_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SetupIntentCreateParams < Stripe::RequestParams - class AutomaticPaymentMethods < Stripe::RequestParams + class SetupIntentCreateParams < ::Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -17,11 +17,11 @@ def initialize(allow_redirects: nil, enabled: nil) end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. attr_accessor :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -56,8 +56,8 @@ def initialize(customer_acceptance: nil) end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -72,13 +72,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -90,7 +90,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -102,11 +102,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -156,9 +156,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -167,11 +167,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -180,7 +180,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -192,11 +192,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -205,7 +205,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -214,11 +214,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -240,14 +240,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -256,7 +256,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -287,9 +287,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -298,13 +298,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -319,11 +319,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -332,8 +332,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -355,11 +355,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -368,9 +368,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -379,7 +379,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -391,10 +391,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -421,8 +421,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -677,9 +677,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -721,10 +721,10 @@ def initialize(currency: nil, mandate_options: nil, verification_method: nil) end end - class AmazonPay < Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -740,8 +740,8 @@ def initialize(mandate_options: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -788,9 +788,9 @@ def initialize( end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -887,10 +887,10 @@ def initialize( end end - class CardPresent < Stripe::RequestParams; end + class CardPresent < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -917,8 +917,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -971,7 +971,7 @@ def initialize(currency: nil, on_demand: nil, preferred_locale: nil, subscriptio end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. attr_accessor :persistent_token @@ -980,7 +980,7 @@ def initialize(persistent_token: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. attr_accessor :billing_agreement_id # Attribute for param field currency @@ -995,8 +995,8 @@ def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -1038,8 +1038,8 @@ def initialize(mandate_options: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -1085,8 +1085,8 @@ def initialize(mandate_options: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -1102,9 +1102,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -1116,7 +1116,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -1150,7 +1150,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -1159,7 +1159,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested @@ -1242,7 +1242,7 @@ def initialize( end end - class SingleUse < Stripe::RequestParams + class SingleUse < ::Stripe::RequestParams # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -1275,6 +1275,8 @@ def initialize(amount: nil, currency: nil) attr_accessor :customer_account # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description + # The list of payment method types to exclude from use with this SetupIntent. + attr_accessor :excluded_payment_method_types # Specifies which fields in the response should be expanded. attr_accessor :expand # Indicates the directions of money movement for which this payment method is intended to be used. @@ -1317,6 +1319,7 @@ def initialize( customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, mandate_data: nil, @@ -1339,6 +1342,7 @@ def initialize( @customer = customer @customer_account = customer_account @description = description + @excluded_payment_method_types = excluded_payment_method_types @expand = expand @flow_directions = flow_directions @mandate_data = mandate_data diff --git a/lib/stripe/params/setup_intent_list_params.rb b/lib/stripe/params/setup_intent_list_params.rb index e3bb3c064..ddfca4749 100644 --- a/lib/stripe/params/setup_intent_list_params.rb +++ b/lib/stripe/params/setup_intent_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SetupIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/setup_intent_retrieve_params.rb b/lib/stripe/params/setup_intent_retrieve_params.rb index 8ce5f74fb..220c1f880 100644 --- a/lib/stripe/params/setup_intent_retrieve_params.rb +++ b/lib/stripe/params/setup_intent_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SetupIntentRetrieveParams < Stripe::RequestParams + class SetupIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent. attr_accessor :client_secret # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/setup_intent_update_params.rb b/lib/stripe/params/setup_intent_update_params.rb index 4463e6d8f..b14dd679d 100644 --- a/lib/stripe/params/setup_intent_update_params.rb +++ b/lib/stripe/params/setup_intent_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class SetupIntentUpdateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class SetupIntentUpdateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -19,13 +19,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -37,7 +37,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -49,11 +49,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -103,9 +103,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -114,11 +114,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -127,7 +127,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -139,11 +139,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -152,7 +152,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -161,11 +161,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -187,14 +187,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -203,7 +203,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -234,9 +234,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -245,13 +245,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -266,11 +266,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -279,8 +279,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -302,11 +302,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -315,9 +315,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -326,7 +326,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -338,10 +338,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -368,8 +368,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -624,9 +624,9 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -668,10 +668,10 @@ def initialize(currency: nil, mandate_options: nil, verification_method: nil) end end - class AmazonPay < Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_accessor :reference_prefix @@ -687,8 +687,8 @@ def initialize(mandate_options: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -735,9 +735,9 @@ def initialize( end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -834,10 +834,10 @@ def initialize( end end - class CardPresent < Stripe::RequestParams; end + class CardPresent < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. attr_accessor :average_amount # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. @@ -864,8 +864,8 @@ def initialize( end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. attr_accessor :amount # The date of the next charge for the subscription in YYYY-MM-DD format. @@ -918,7 +918,7 @@ def initialize(currency: nil, on_demand: nil, preferred_locale: nil, subscriptio end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. attr_accessor :persistent_token @@ -927,7 +927,7 @@ def initialize(persistent_token: nil) end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. attr_accessor :billing_agreement_id # Attribute for param field currency @@ -942,8 +942,8 @@ def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil) end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_accessor :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -985,8 +985,8 @@ def initialize(mandate_options: nil) end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -1032,8 +1032,8 @@ def initialize(mandate_options: nil) end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_accessor :reference_prefix @@ -1049,9 +1049,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -1063,7 +1063,7 @@ def initialize(account_subcategories: nil, institution: nil) end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. attr_accessor :mode @@ -1097,7 +1097,7 @@ def initialize( end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. attr_accessor :collection_method @@ -1106,7 +1106,7 @@ def initialize(collection_method: nil) end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks attr_accessor :requested @@ -1202,6 +1202,8 @@ def initialize( attr_accessor :customer_account # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description + # The list of payment method types to exclude from use with this SetupIntent. + attr_accessor :excluded_payment_method_types # Specifies which fields in the response should be expanded. attr_accessor :expand # Indicates the directions of money movement for which this payment method is intended to be used. @@ -1227,6 +1229,7 @@ def initialize( customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, metadata: nil, @@ -1240,6 +1243,7 @@ def initialize( @customer = customer @customer_account = customer_account @description = description + @excluded_payment_method_types = excluded_payment_method_types @expand = expand @flow_directions = flow_directions @metadata = metadata diff --git a/lib/stripe/params/setup_intent_verify_microdeposits_params.rb b/lib/stripe/params/setup_intent_verify_microdeposits_params.rb index a489ea77d..25430e176 100644 --- a/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +++ b/lib/stripe/params/setup_intent_verify_microdeposits_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SetupIntentVerifyMicrodepositsParams < Stripe::RequestParams + class SetupIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. attr_accessor :amounts # A six-character code starting with SM present in the microdeposit sent to the bank account. diff --git a/lib/stripe/params/shipping_rate_create_params.rb b/lib/stripe/params/shipping_rate_create_params.rb index 1f983121f..5995d0b84 100644 --- a/lib/stripe/params/shipping_rate_create_params.rb +++ b/lib/stripe/params/shipping_rate_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class ShippingRateCreateParams < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingRateCreateParams < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -16,7 +16,7 @@ def initialize(unit: nil, value: nil) end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. attr_accessor :unit # Must be greater than 0. @@ -38,8 +38,8 @@ def initialize(maximum: nil, minimum: nil) end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. diff --git a/lib/stripe/params/shipping_rate_list_params.rb b/lib/stripe/params/shipping_rate_list_params.rb index a85471b2e..050eff6e6 100644 --- a/lib/stripe/params/shipping_rate_list_params.rb +++ b/lib/stripe/params/shipping_rate_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class ShippingRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ShippingRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/shipping_rate_retrieve_params.rb b/lib/stripe/params/shipping_rate_retrieve_params.rb index 22a367ebe..455a0c261 100644 --- a/lib/stripe/params/shipping_rate_retrieve_params.rb +++ b/lib/stripe/params/shipping_rate_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class ShippingRateRetrieveParams < Stripe::RequestParams + class ShippingRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/shipping_rate_update_params.rb b/lib/stripe/params/shipping_rate_update_params.rb index b459c3e90..3fe71dd03 100644 --- a/lib/stripe/params/shipping_rate_update_params.rb +++ b/lib/stripe/params/shipping_rate_update_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class ShippingRateUpdateParams < Stripe::RequestParams - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class ShippingRateUpdateParams < ::Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. attr_accessor :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. diff --git a/lib/stripe/params/sigma/scheduled_query_run_list_params.rb b/lib/stripe/params/sigma/scheduled_query_run_list_params.rb index 27ae5d231..666750df6 100644 --- a/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +++ b/lib/stripe/params/sigma/scheduled_query_run_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Sigma - class ScheduledQueryRunListParams < Stripe::RequestParams + class ScheduledQueryRunListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb b/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb index ccd6b2a8c..7341b6559 100644 --- a/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +++ b/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Sigma - class ScheduledQueryRunRetrieveParams < Stripe::RequestParams + class ScheduledQueryRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/source_create_params.rb b/lib/stripe/params/source_create_params.rb index 05946dc31..ec3ed87a9 100644 --- a/lib/stripe/params/source_create_params.rb +++ b/lib/stripe/params/source_create_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class SourceCreateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceCreateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. attr_accessor :contact_email @@ -14,7 +14,7 @@ def initialize(contact_email: nil) end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. attr_accessor :date # The IP address from which the mandate was accepted or refused by the customer. @@ -87,8 +87,8 @@ def initialize( end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -135,7 +135,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class Receiver < Stripe::RequestParams + class Receiver < ::Stripe::RequestParams # The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required. attr_accessor :refund_attributes_method @@ -144,7 +144,7 @@ def initialize(refund_attributes_method: nil) end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application. attr_accessor :return_url @@ -153,8 +153,8 @@ def initialize(return_url: nil) end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount attr_accessor :amount # Attribute for param field currency @@ -185,8 +185,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/source_detach_params.rb b/lib/stripe/params/source_detach_params.rb index 509a2bdc3..e28fb6704 100644 --- a/lib/stripe/params/source_detach_params.rb +++ b/lib/stripe/params/source_detach_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SourceDetachParams < Stripe::RequestParams + class SourceDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/source_retrieve_params.rb b/lib/stripe/params/source_retrieve_params.rb index a17b5f91a..c91477ab6 100644 --- a/lib/stripe/params/source_retrieve_params.rb +++ b/lib/stripe/params/source_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SourceRetrieveParams < Stripe::RequestParams + class SourceRetrieveParams < ::Stripe::RequestParams # The client secret of the source. Required if a publishable key is used to retrieve the source. attr_accessor :client_secret # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/source_transaction_list_params.rb b/lib/stripe/params/source_transaction_list_params.rb index 0ae95d8d2..fa66fffe7 100644 --- a/lib/stripe/params/source_transaction_list_params.rb +++ b/lib/stripe/params/source_transaction_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SourceTransactionListParams < Stripe::RequestParams + class SourceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/source_update_params.rb b/lib/stripe/params/source_update_params.rb index 90d6063d5..cbbe05385 100644 --- a/lib/stripe/params/source_update_params.rb +++ b/lib/stripe/params/source_update_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class SourceUpdateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceUpdateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. attr_accessor :contact_email @@ -14,7 +14,7 @@ def initialize(contact_email: nil) end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. attr_accessor :date # The IP address from which the mandate was accepted or refused by the customer. @@ -87,8 +87,8 @@ def initialize( end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -135,8 +135,8 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount attr_accessor :amount # Attribute for param field currency @@ -167,8 +167,8 @@ def initialize( end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/source_verify_params.rb b/lib/stripe/params/source_verify_params.rb index cda10cea2..6d9fc46eb 100644 --- a/lib/stripe/params/source_verify_params.rb +++ b/lib/stripe/params/source_verify_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SourceVerifyParams < Stripe::RequestParams + class SourceVerifyParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The values needed to verify the source. diff --git a/lib/stripe/params/subscription_attach_cadence_params.rb b/lib/stripe/params/subscription_attach_cadence_params.rb index 5151cb212..cd56f3903 100644 --- a/lib/stripe/params/subscription_attach_cadence_params.rb +++ b/lib/stripe/params/subscription_attach_cadence_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionAttachCadenceParams < Stripe::RequestParams + class SubscriptionAttachCadenceParams < ::Stripe::RequestParams # The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence. attr_accessor :billing_cadence # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/subscription_cancel_params.rb b/lib/stripe/params/subscription_cancel_params.rb index 893fd8631..850d0e2a4 100644 --- a/lib/stripe/params/subscription_cancel_params.rb +++ b/lib/stripe/params/subscription_cancel_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SubscriptionCancelParams < Stripe::RequestParams - class CancellationDetails < Stripe::RequestParams + class SubscriptionCancelParams < ::Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. attr_accessor :comment # The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. diff --git a/lib/stripe/params/subscription_create_params.rb b/lib/stripe/params/subscription_create_params.rb index 1c3542944..69f67a485 100644 --- a/lib/stripe/params/subscription_create_params.rb +++ b/lib/stripe/params/subscription_create_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class SubscriptionCreateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionCreateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -47,8 +47,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_accessor :timestamp # Select how to calculate the end of the invoice item period. @@ -60,7 +60,7 @@ def initialize(timestamp: nil, type: nil) end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_accessor :timestamp # Select how to calculate the start of the invoice item period. @@ -82,7 +82,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -142,8 +142,8 @@ def initialize( end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -165,7 +165,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingCycleAnchorConfig < Stripe::RequestParams + class BillingCycleAnchorConfig < ::Stripe::RequestParams # The day of the month the anchor should be. Ranges from 1 to 31. attr_accessor :day_of_month # The hour of the day the anchor should be. Ranges from 0 to 23. @@ -186,8 +186,8 @@ def initialize(day_of_month: nil, hour: nil, minute: nil, month: nil, second: ni end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -206,8 +206,8 @@ def initialize(flexible: nil, type: nil) end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price # Controls which subscription items the billing schedule applies to. @@ -219,8 +219,8 @@ def initialize(price: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -258,7 +258,7 @@ def initialize(applies_to: nil, bill_until: nil, key: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -270,9 +270,9 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -313,8 +313,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -336,8 +336,8 @@ def initialize(account_tax_ids: nil, issuer: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -346,9 +346,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -389,8 +389,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -431,7 +431,7 @@ def initialize( end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -484,10 +484,10 @@ def initialize( end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -506,7 +506,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -515,8 +515,8 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -544,9 +544,9 @@ def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -575,11 +575,11 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -609,10 +609,10 @@ def initialize(mandate_options: nil) end end - class SepaDebit < Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -637,9 +637,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -736,7 +736,7 @@ def initialize( end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). @@ -748,7 +748,7 @@ def initialize(interval: nil, interval_count: nil) end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations # Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`. @@ -760,7 +760,7 @@ def initialize(iterations: nil, update_behavior: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -772,8 +772,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_accessor :missing_payment_method diff --git a/lib/stripe/params/subscription_delete_discount_params.rb b/lib/stripe/params/subscription_delete_discount_params.rb index 51e9fbabc..9a14a9e6d 100644 --- a/lib/stripe/params/subscription_delete_discount_params.rb +++ b/lib/stripe/params/subscription_delete_discount_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class SubscriptionDeleteDiscountParams < Stripe::RequestParams; end + class SubscriptionDeleteDiscountParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/subscription_item_create_params.rb b/lib/stripe/params/subscription_item_create_params.rb index 78603a535..464adb5c8 100644 --- a/lib/stripe/params/subscription_item_create_params.rb +++ b/lib/stripe/params/subscription_item_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SubscriptionItemCreateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemCreateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -12,9 +12,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -55,8 +55,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -97,7 +97,7 @@ def initialize( end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. diff --git a/lib/stripe/params/subscription_item_delete_params.rb b/lib/stripe/params/subscription_item_delete_params.rb index 6c0df04e7..51da3613d 100644 --- a/lib/stripe/params/subscription_item_delete_params.rb +++ b/lib/stripe/params/subscription_item_delete_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionItemDeleteParams < Stripe::RequestParams + class SubscriptionItemDeleteParams < ::Stripe::RequestParams # Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`. attr_accessor :clear_usage # Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. diff --git a/lib/stripe/params/subscription_item_list_params.rb b/lib/stripe/params/subscription_item_list_params.rb index f1dfecfa6..b0a89b3f6 100644 --- a/lib/stripe/params/subscription_item_list_params.rb +++ b/lib/stripe/params/subscription_item_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionItemListParams < Stripe::RequestParams + class SubscriptionItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/subscription_item_retrieve_params.rb b/lib/stripe/params/subscription_item_retrieve_params.rb index 345fbbb5c..a01eeb594 100644 --- a/lib/stripe/params/subscription_item_retrieve_params.rb +++ b/lib/stripe/params/subscription_item_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionItemRetrieveParams < Stripe::RequestParams + class SubscriptionItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/subscription_item_update_params.rb b/lib/stripe/params/subscription_item_update_params.rb index da69b2088..fa8a79fb0 100644 --- a/lib/stripe/params/subscription_item_update_params.rb +++ b/lib/stripe/params/subscription_item_update_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SubscriptionItemUpdateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemUpdateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -12,9 +12,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -55,8 +55,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). diff --git a/lib/stripe/params/subscription_list_params.rb b/lib/stripe/params/subscription_list_params.rb index 680e3744d..cf8393c37 100644 --- a/lib/stripe/params/subscription_list_params.rb +++ b/lib/stripe/params/subscription_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SubscriptionListParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class SubscriptionListParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription. attr_accessor :enabled @@ -12,7 +12,7 @@ def initialize(enabled: nil) end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -30,7 +30,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class CurrentPeriodEnd < Stripe::RequestParams + class CurrentPeriodEnd < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -48,7 +48,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class CurrentPeriodStart < Stripe::RequestParams + class CurrentPeriodStart < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/subscription_migrate_params.rb b/lib/stripe/params/subscription_migrate_params.rb index c5c77c51a..b2193383e 100644 --- a/lib/stripe/params/subscription_migrate_params.rb +++ b/lib/stripe/params/subscription_migrate_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class SubscriptionMigrateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionMigrateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts diff --git a/lib/stripe/params/subscription_resume_params.rb b/lib/stripe/params/subscription_resume_params.rb index f644e7b0e..4e382a0c1 100644 --- a/lib/stripe/params/subscription_resume_params.rb +++ b/lib/stripe/params/subscription_resume_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionResumeParams < Stripe::RequestParams + class SubscriptionResumeParams < ::Stripe::RequestParams # The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). attr_accessor :billing_cycle_anchor # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/subscription_retrieve_params.rb b/lib/stripe/params/subscription_retrieve_params.rb index f7fd298a7..b3bb8c704 100644 --- a/lib/stripe/params/subscription_retrieve_params.rb +++ b/lib/stripe/params/subscription_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionRetrieveParams < Stripe::RequestParams + class SubscriptionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/subscription_schedule_amend_params.rb b/lib/stripe/params/subscription_schedule_amend_params.rb index 5b9f9f38b..c851a6f99 100644 --- a/lib/stripe/params/subscription_schedule_amend_params.rb +++ b/lib/stripe/params/subscription_schedule_amend_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleAmendParams < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class SubscriptionScheduleAmendParams < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -14,7 +14,7 @@ def initialize(discount: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -42,8 +42,8 @@ def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil) end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. attr_accessor :index @@ -52,7 +52,7 @@ def initialize(index: nil) end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. attr_accessor :discount @@ -77,9 +77,9 @@ def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil) end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. attr_accessor :type @@ -113,7 +113,7 @@ def initialize( end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. attr_accessor :coupon # The ID of a discount to remove from the `discounts` array. @@ -128,7 +128,7 @@ def initialize(coupon: nil, discount: nil, promotion_code: nil) end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. attr_accessor :coupon # An ID of an existing discount to replace the `discounts` array with. @@ -159,11 +159,11 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -204,7 +204,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -245,7 +245,7 @@ def initialize( end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. attr_accessor :price @@ -254,10 +254,10 @@ def initialize(price: nil) end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -298,7 +298,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -355,7 +355,7 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. attr_accessor :add # Keys to remove from schedule phase metadata. @@ -373,8 +373,8 @@ def initialize(add: nil, remove: nil, set: nil, type: nil) end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -393,8 +393,8 @@ def initialize(set: nil, type: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -455,9 +455,9 @@ def initialize( end end - class Prebilling < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class AmendmentStart < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams # The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments. attr_accessor :index @@ -479,8 +479,8 @@ def initialize(amendment_start: nil, timestamp: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. attr_accessor :index @@ -489,7 +489,7 @@ def initialize(index: nil) end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -533,7 +533,7 @@ def initialize(bill_from: nil, bill_until: nil, invoice_at: nil, update_behavior end end - class ScheduleSettings < Stripe::RequestParams + class ScheduleSettings < ::Stripe::RequestParams # Behavior of the subscription schedule and underlying subscription when it ends. attr_accessor :end_behavior diff --git a/lib/stripe/params/subscription_schedule_cancel_params.rb b/lib/stripe/params/subscription_schedule_cancel_params.rb index 3ac37a8a5..6727cf3b1 100644 --- a/lib/stripe/params/subscription_schedule_cancel_params.rb +++ b/lib/stripe/params/subscription_schedule_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleCancelParams < Stripe::RequestParams + class SubscriptionScheduleCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`. diff --git a/lib/stripe/params/subscription_schedule_create_params.rb b/lib/stripe/params/subscription_schedule_create_params.rb index b64f93f37..798ca5ed2 100644 --- a/lib/stripe/params/subscription_schedule_create_params.rb +++ b/lib/stripe/params/subscription_schedule_create_params.rb @@ -2,9 +2,9 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleCreateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionScheduleCreateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. attr_accessor :proration_discounts @@ -23,9 +23,9 @@ def initialize(flexible: nil, type: nil) end end - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -47,7 +47,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -59,8 +59,8 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -85,7 +85,7 @@ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -142,11 +142,11 @@ def initialize( end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -187,8 +187,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_accessor :timestamp # Select how to calculate the end of the invoice item period. @@ -200,7 +200,7 @@ def initialize(timestamp: nil, type: nil) end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_accessor :timestamp # Select how to calculate the start of the invoice item period. @@ -222,7 +222,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -282,8 +282,8 @@ def initialize( end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -305,7 +305,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -317,9 +317,9 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -360,7 +360,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -372,8 +372,8 @@ def initialize(interval: nil, interval_count: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -398,8 +398,8 @@ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -408,9 +408,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -451,8 +451,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -493,7 +493,7 @@ def initialize( end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -546,7 +546,7 @@ def initialize( end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -555,7 +555,7 @@ def initialize(behavior: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -567,8 +567,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -685,7 +685,7 @@ def initialize( end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations # Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`. diff --git a/lib/stripe/params/subscription_schedule_list_params.rb b/lib/stripe/params/subscription_schedule_list_params.rb index 8d496b81b..c7e84aa23 100644 --- a/lib/stripe/params/subscription_schedule_list_params.rb +++ b/lib/stripe/params/subscription_schedule_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleListParams < Stripe::RequestParams - class CanceledAt < Stripe::RequestParams + class SubscriptionScheduleListParams < ::Stripe::RequestParams + class CanceledAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -21,7 +21,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class CompletedAt < Stripe::RequestParams + class CompletedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -39,7 +39,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -57,7 +57,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class ReleasedAt < Stripe::RequestParams + class ReleasedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/subscription_schedule_release_params.rb b/lib/stripe/params/subscription_schedule_release_params.rb index 43420f8bd..94c236890 100644 --- a/lib/stripe/params/subscription_schedule_release_params.rb +++ b/lib/stripe/params/subscription_schedule_release_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleReleaseParams < Stripe::RequestParams + class SubscriptionScheduleReleaseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Keep any cancellation on the subscription that the schedule has set diff --git a/lib/stripe/params/subscription_schedule_retrieve_params.rb b/lib/stripe/params/subscription_schedule_retrieve_params.rb index 77b2f7195..b893b5eac 100644 --- a/lib/stripe/params/subscription_schedule_retrieve_params.rb +++ b/lib/stripe/params/subscription_schedule_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleRetrieveParams < Stripe::RequestParams + class SubscriptionScheduleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/subscription_schedule_update_params.rb b/lib/stripe/params/subscription_schedule_update_params.rb index 73fd532e5..623ca4610 100644 --- a/lib/stripe/params/subscription_schedule_update_params.rb +++ b/lib/stripe/params/subscription_schedule_update_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class SubscriptionScheduleUpdateParams < Stripe::RequestParams - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SubscriptionScheduleUpdateParams < ::Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -27,7 +27,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -39,8 +39,8 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -65,7 +65,7 @@ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -122,11 +122,11 @@ def initialize( end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -167,8 +167,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_accessor :timestamp # Select how to calculate the end of the invoice item period. @@ -180,7 +180,7 @@ def initialize(timestamp: nil, type: nil) end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_accessor :timestamp # Select how to calculate the start of the invoice item period. @@ -202,7 +202,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -262,8 +262,8 @@ def initialize( end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -285,7 +285,7 @@ def initialize(enabled: nil, liability: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -297,9 +297,9 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -340,7 +340,7 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -352,8 +352,8 @@ def initialize(interval: nil, interval_count: nil) end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -378,8 +378,8 @@ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -388,9 +388,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -431,8 +431,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -473,7 +473,7 @@ def initialize( end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. attr_accessor :converts_to # Determines the type of trial for this item. @@ -526,7 +526,7 @@ def initialize( end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior @@ -535,7 +535,7 @@ def initialize(behavior: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -547,8 +547,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_accessor :prorate_up_front @@ -669,7 +669,7 @@ def initialize( end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations # Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`. diff --git a/lib/stripe/params/subscription_search_params.rb b/lib/stripe/params/subscription_search_params.rb index 6584c36a9..0f0269eb8 100644 --- a/lib/stripe/params/subscription_search_params.rb +++ b/lib/stripe/params/subscription_search_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class SubscriptionSearchParams < Stripe::RequestParams + class SubscriptionSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. diff --git a/lib/stripe/params/subscription_update_params.rb b/lib/stripe/params/subscription_update_params.rb index 8deebce6c..9ac69ed0c 100644 --- a/lib/stripe/params/subscription_update_params.rb +++ b/lib/stripe/params/subscription_update_params.rb @@ -2,11 +2,11 @@ # frozen_string_literal: true module Stripe - class SubscriptionUpdateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionUpdateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -47,8 +47,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_accessor :timestamp # Select how to calculate the end of the invoice item period. @@ -60,7 +60,7 @@ def initialize(timestamp: nil, type: nil) end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_accessor :timestamp # Select how to calculate the start of the invoice item period. @@ -82,7 +82,7 @@ def initialize(end_: nil, start: nil) end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. @@ -142,8 +142,8 @@ def initialize( end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -165,8 +165,8 @@ def initialize(enabled: nil, liability: nil) end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. attr_accessor :price # Controls which subscription items the billing schedule applies to. @@ -178,8 +178,8 @@ def initialize(price: nil, type: nil) end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The multiplier applied to the interval. @@ -217,7 +217,7 @@ def initialize(applies_to: nil, bill_until: nil, key: nil) end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period attr_accessor :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. @@ -229,7 +229,7 @@ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil) end end - class CancellationDetails < Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. attr_accessor :comment # The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. @@ -241,9 +241,9 @@ def initialize(comment: nil, feedback: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -284,8 +284,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. attr_accessor :account # Type of the account referenced in the request. @@ -307,8 +307,8 @@ def initialize(account_tax_ids: nil, issuer: nil) end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) attr_accessor :usage_gte @@ -317,9 +317,9 @@ def initialize(usage_gte: nil) end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -360,8 +360,8 @@ def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: ni end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). @@ -451,7 +451,7 @@ def initialize( end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_accessor :behavior # The time after which the subscription will resume collecting payments. @@ -463,10 +463,10 @@ def initialize(behavior: nil, resumes_at: nil) end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -485,7 +485,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -494,8 +494,8 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -523,9 +523,9 @@ def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_accessor :country @@ -554,11 +554,11 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. attr_accessor :amount # Determines if the amount includes the IOF tax. Defaults to `never`. @@ -588,10 +588,10 @@ def initialize(mandate_options: nil) end end - class SepaDebit < Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -616,9 +616,9 @@ def initialize(mandate_options: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. attr_accessor :account_subcategories # ID of the institution to use to filter for selectable accounts. @@ -715,7 +715,7 @@ def initialize( end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. attr_accessor :interval # The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). @@ -727,7 +727,7 @@ def initialize(interval: nil, interval_count: nil) end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. attr_accessor :iterations # Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`. @@ -739,7 +739,7 @@ def initialize(iterations: nil, update_behavior: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_accessor :amount_percent # ID of an existing, connected Stripe account. @@ -751,8 +751,8 @@ def initialize(amount_percent: nil, destination: nil) end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_accessor :missing_payment_method diff --git a/lib/stripe/params/tax/association_find_params.rb b/lib/stripe/params/tax/association_find_params.rb index a9f9737a6..e8f6804f2 100644 --- a/lib/stripe/params/tax/association_find_params.rb +++ b/lib/stripe/params/tax/association_find_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class AssociationFindParams < Stripe::RequestParams + class AssociationFindParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Valid [PaymentIntent](https://stripe.com/docs/api/payment_intents/object) id diff --git a/lib/stripe/params/tax/calculation_create_params.rb b/lib/stripe/params/tax/calculation_create_params.rb index 744f600ca..1f1bd9394 100644 --- a/lib/stripe/params/tax/calculation_create_params.rb +++ b/lib/stripe/params/tax/calculation_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Tax - class CalculationCreateParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CalculationCreateParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -36,7 +36,7 @@ def initialize( end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` attr_accessor :type # Value of the tax ID. @@ -73,7 +73,7 @@ def initialize( end end - class LineItem < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). # If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. attr_accessor :amount @@ -109,8 +109,8 @@ def initialize( end end - class ShipFromDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShipFromDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -148,7 +148,7 @@ def initialize(address: nil) end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. attr_accessor :amount # If provided, the [shipping rate](https://stripe.com/docs/api/shipping_rates/object)'s `amount`, `tax_code` and `tax_behavior` are used. If you provide a shipping rate, then you cannot pass the `amount`, `tax_code`, or `tax_behavior` parameters. diff --git a/lib/stripe/params/tax/calculation_line_item_list_params.rb b/lib/stripe/params/tax/calculation_line_item_list_params.rb index 435db6edc..bda553701 100644 --- a/lib/stripe/params/tax/calculation_line_item_list_params.rb +++ b/lib/stripe/params/tax/calculation_line_item_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class CalculationLineItemListParams < Stripe::RequestParams + class CalculationLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/calculation_list_line_items_params.rb b/lib/stripe/params/tax/calculation_list_line_items_params.rb index 456145809..989897c4d 100644 --- a/lib/stripe/params/tax/calculation_list_line_items_params.rb +++ b/lib/stripe/params/tax/calculation_list_line_items_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class CalculationListLineItemsParams < Stripe::RequestParams + class CalculationListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/calculation_retrieve_params.rb b/lib/stripe/params/tax/calculation_retrieve_params.rb index 19ac3285c..57fc3d41f 100644 --- a/lib/stripe/params/tax/calculation_retrieve_params.rb +++ b/lib/stripe/params/tax/calculation_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class CalculationRetrieveParams < Stripe::RequestParams + class CalculationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax/form_list_params.rb b/lib/stripe/params/tax/form_list_params.rb index 675aa02f3..f10c10ad7 100644 --- a/lib/stripe/params/tax/form_list_params.rb +++ b/lib/stripe/params/tax/form_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Tax - class FormListParams < Stripe::RequestParams - class Payee < Stripe::RequestParams + class FormListParams < ::Stripe::RequestParams + class Payee < ::Stripe::RequestParams # The ID of the Stripe account whose forms will be retrieved. attr_accessor :account # The external reference to the payee whose forms will be retrieved. diff --git a/lib/stripe/params/tax/form_pdf_params.rb b/lib/stripe/params/tax/form_pdf_params.rb index a97be8913..c5778ec90 100644 --- a/lib/stripe/params/tax/form_pdf_params.rb +++ b/lib/stripe/params/tax/form_pdf_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class FormPdfParams < Stripe::RequestParams + class FormPdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax/form_retrieve_params.rb b/lib/stripe/params/tax/form_retrieve_params.rb index 14e743a78..d282e29ab 100644 --- a/lib/stripe/params/tax/form_retrieve_params.rb +++ b/lib/stripe/params/tax/form_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class FormRetrieveParams < Stripe::RequestParams + class FormRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax/registration_create_params.rb b/lib/stripe/params/tax/registration_create_params.rb index 7fbffa3ee..cbd188809 100644 --- a/lib/stripe/params/tax/registration_create_params.rb +++ b/lib/stripe/params/tax/registration_create_params.rb @@ -3,10 +3,10 @@ module Stripe module Tax - class RegistrationCreateParams < Stripe::RequestParams - class CountryOptions < Stripe::RequestParams - class Ae < Stripe::RequestParams - class Standard < Stripe::RequestParams + class RegistrationCreateParams < ::Stripe::RequestParams + class CountryOptions < ::Stripe::RequestParams + class Ae < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -25,8 +25,8 @@ def initialize(standard: nil, type: nil) end end - class Al < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Al < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -45,7 +45,7 @@ def initialize(standard: nil, type: nil) end end - class Am < Stripe::RequestParams + class Am < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -54,8 +54,8 @@ def initialize(type: nil) end end - class Ao < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ao < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -74,8 +74,8 @@ def initialize(standard: nil, type: nil) end end - class At < Stripe::RequestParams - class Standard < Stripe::RequestParams + class At < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -94,8 +94,8 @@ def initialize(standard: nil, type: nil) end end - class Au < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Au < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -114,8 +114,8 @@ def initialize(standard: nil, type: nil) end end - class Aw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Aw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -134,7 +134,7 @@ def initialize(standard: nil, type: nil) end end - class Az < Stripe::RequestParams + class Az < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -143,8 +143,8 @@ def initialize(type: nil) end end - class Ba < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ba < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -163,8 +163,8 @@ def initialize(standard: nil, type: nil) end end - class Bb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -183,8 +183,8 @@ def initialize(standard: nil, type: nil) end end - class Bd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -203,8 +203,8 @@ def initialize(standard: nil, type: nil) end end - class Be < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Be < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -223,8 +223,8 @@ def initialize(standard: nil, type: nil) end end - class Bf < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bf < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -243,8 +243,8 @@ def initialize(standard: nil, type: nil) end end - class Bg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -263,8 +263,8 @@ def initialize(standard: nil, type: nil) end end - class Bh < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bh < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -283,7 +283,7 @@ def initialize(standard: nil, type: nil) end end - class Bj < Stripe::RequestParams + class Bj < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -292,8 +292,8 @@ def initialize(type: nil) end end - class Bs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -312,7 +312,7 @@ def initialize(standard: nil, type: nil) end end - class By < Stripe::RequestParams + class By < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -321,8 +321,8 @@ def initialize(type: nil) end end - class Ca < Stripe::RequestParams - class ProvinceStandard < Stripe::RequestParams + class Ca < ::Stripe::RequestParams + class ProvinceStandard < ::Stripe::RequestParams # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). attr_accessor :province @@ -341,8 +341,8 @@ def initialize(province_standard: nil, type: nil) end end - class Cd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -361,8 +361,8 @@ def initialize(standard: nil, type: nil) end end - class Ch < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ch < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -381,7 +381,7 @@ def initialize(standard: nil, type: nil) end end - class Cl < Stripe::RequestParams + class Cl < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -390,7 +390,7 @@ def initialize(type: nil) end end - class Cm < Stripe::RequestParams + class Cm < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -399,7 +399,7 @@ def initialize(type: nil) end end - class Co < Stripe::RequestParams + class Co < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -408,7 +408,7 @@ def initialize(type: nil) end end - class Cr < Stripe::RequestParams + class Cr < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -417,7 +417,7 @@ def initialize(type: nil) end end - class Cv < Stripe::RequestParams + class Cv < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -426,8 +426,8 @@ def initialize(type: nil) end end - class Cy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -446,8 +446,8 @@ def initialize(standard: nil, type: nil) end end - class Cz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -466,8 +466,8 @@ def initialize(standard: nil, type: nil) end end - class De < Stripe::RequestParams - class Standard < Stripe::RequestParams + class De < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -486,8 +486,8 @@ def initialize(standard: nil, type: nil) end end - class Dk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Dk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -506,7 +506,7 @@ def initialize(standard: nil, type: nil) end end - class Ec < Stripe::RequestParams + class Ec < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -515,8 +515,8 @@ def initialize(type: nil) end end - class Ee < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ee < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -535,7 +535,7 @@ def initialize(standard: nil, type: nil) end end - class Eg < Stripe::RequestParams + class Eg < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -544,8 +544,8 @@ def initialize(type: nil) end end - class Es < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Es < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -564,8 +564,8 @@ def initialize(standard: nil, type: nil) end end - class Et < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Et < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -584,8 +584,8 @@ def initialize(standard: nil, type: nil) end end - class Fi < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fi < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -604,8 +604,8 @@ def initialize(standard: nil, type: nil) end end - class Fr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -624,8 +624,8 @@ def initialize(standard: nil, type: nil) end end - class Gb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -644,7 +644,7 @@ def initialize(standard: nil, type: nil) end end - class Ge < Stripe::RequestParams + class Ge < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -653,8 +653,8 @@ def initialize(type: nil) end end - class Gn < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gn < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -673,8 +673,8 @@ def initialize(standard: nil, type: nil) end end - class Gr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -693,8 +693,8 @@ def initialize(standard: nil, type: nil) end end - class Hr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -713,8 +713,8 @@ def initialize(standard: nil, type: nil) end end - class Hu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -733,7 +733,7 @@ def initialize(standard: nil, type: nil) end end - class Id < Stripe::RequestParams + class Id < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -742,8 +742,8 @@ def initialize(type: nil) end end - class Ie < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ie < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -762,7 +762,7 @@ def initialize(standard: nil, type: nil) end end - class In < Stripe::RequestParams + class In < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -771,8 +771,8 @@ def initialize(type: nil) end end - class Is < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Is < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -791,8 +791,8 @@ def initialize(standard: nil, type: nil) end end - class It < Stripe::RequestParams - class Standard < Stripe::RequestParams + class It < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -811,8 +811,8 @@ def initialize(standard: nil, type: nil) end end - class Jp < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Jp < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -831,7 +831,7 @@ def initialize(standard: nil, type: nil) end end - class Ke < Stripe::RequestParams + class Ke < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -840,7 +840,7 @@ def initialize(type: nil) end end - class Kg < Stripe::RequestParams + class Kg < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -849,7 +849,7 @@ def initialize(type: nil) end end - class Kh < Stripe::RequestParams + class Kh < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -858,7 +858,7 @@ def initialize(type: nil) end end - class Kr < Stripe::RequestParams + class Kr < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -867,7 +867,7 @@ def initialize(type: nil) end end - class Kz < Stripe::RequestParams + class Kz < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -876,7 +876,7 @@ def initialize(type: nil) end end - class La < Stripe::RequestParams + class La < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -885,8 +885,8 @@ def initialize(type: nil) end end - class Lt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -905,8 +905,8 @@ def initialize(standard: nil, type: nil) end end - class Lu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -925,8 +925,8 @@ def initialize(standard: nil, type: nil) end end - class Lv < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lv < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -945,7 +945,7 @@ def initialize(standard: nil, type: nil) end end - class Ma < Stripe::RequestParams + class Ma < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -954,7 +954,7 @@ def initialize(type: nil) end end - class Md < Stripe::RequestParams + class Md < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -963,8 +963,8 @@ def initialize(type: nil) end end - class Me < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Me < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -983,8 +983,8 @@ def initialize(standard: nil, type: nil) end end - class Mk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1003,8 +1003,8 @@ def initialize(standard: nil, type: nil) end end - class Mr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1023,8 +1023,8 @@ def initialize(standard: nil, type: nil) end end - class Mt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1043,7 +1043,7 @@ def initialize(standard: nil, type: nil) end end - class Mx < Stripe::RequestParams + class Mx < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1052,7 +1052,7 @@ def initialize(type: nil) end end - class My < Stripe::RequestParams + class My < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1061,7 +1061,7 @@ def initialize(type: nil) end end - class Ng < Stripe::RequestParams + class Ng < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1070,8 +1070,8 @@ def initialize(type: nil) end end - class Nl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1090,8 +1090,8 @@ def initialize(standard: nil, type: nil) end end - class No < Stripe::RequestParams - class Standard < Stripe::RequestParams + class No < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1110,7 +1110,7 @@ def initialize(standard: nil, type: nil) end end - class Np < Stripe::RequestParams + class Np < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1119,8 +1119,8 @@ def initialize(type: nil) end end - class Nz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1139,8 +1139,8 @@ def initialize(standard: nil, type: nil) end end - class Om < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Om < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1159,7 +1159,7 @@ def initialize(standard: nil, type: nil) end end - class Pe < Stripe::RequestParams + class Pe < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1168,7 +1168,7 @@ def initialize(type: nil) end end - class Ph < Stripe::RequestParams + class Ph < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1177,8 +1177,8 @@ def initialize(type: nil) end end - class Pl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1197,8 +1197,8 @@ def initialize(standard: nil, type: nil) end end - class Pt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1217,8 +1217,8 @@ def initialize(standard: nil, type: nil) end end - class Ro < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ro < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1237,8 +1237,8 @@ def initialize(standard: nil, type: nil) end end - class Rs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Rs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1257,7 +1257,7 @@ def initialize(standard: nil, type: nil) end end - class Ru < Stripe::RequestParams + class Ru < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1266,7 +1266,7 @@ def initialize(type: nil) end end - class Sa < Stripe::RequestParams + class Sa < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1275,8 +1275,8 @@ def initialize(type: nil) end end - class Se < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Se < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1295,8 +1295,8 @@ def initialize(standard: nil, type: nil) end end - class Sg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1315,8 +1315,8 @@ def initialize(standard: nil, type: nil) end end - class Si < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Si < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1335,8 +1335,8 @@ def initialize(standard: nil, type: nil) end end - class Sk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. attr_accessor :place_of_supply_scheme @@ -1355,7 +1355,7 @@ def initialize(standard: nil, type: nil) end end - class Sn < Stripe::RequestParams + class Sn < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1364,8 +1364,8 @@ def initialize(type: nil) end end - class Sr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1384,7 +1384,7 @@ def initialize(standard: nil, type: nil) end end - class Th < Stripe::RequestParams + class Th < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1393,7 +1393,7 @@ def initialize(type: nil) end end - class Tj < Stripe::RequestParams + class Tj < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1402,7 +1402,7 @@ def initialize(type: nil) end end - class Tr < Stripe::RequestParams + class Tr < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1411,7 +1411,7 @@ def initialize(type: nil) end end - class Tz < Stripe::RequestParams + class Tz < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1420,7 +1420,7 @@ def initialize(type: nil) end end - class Ua < Stripe::RequestParams + class Ua < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1429,7 +1429,7 @@ def initialize(type: nil) end end - class Ug < Stripe::RequestParams + class Ug < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1438,8 +1438,8 @@ def initialize(type: nil) end end - class Us < Stripe::RequestParams - class LocalAmusementTax < Stripe::RequestParams + class Us < ::Stripe::RequestParams + class LocalAmusementTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park). attr_accessor :jurisdiction @@ -1448,7 +1448,7 @@ def initialize(jurisdiction: nil) end end - class LocalLeaseTax < Stripe::RequestParams + class LocalLeaseTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago). attr_accessor :jurisdiction @@ -1457,8 +1457,8 @@ def initialize(jurisdiction: nil) end end - class StateSalesTax < Stripe::RequestParams - class Election < Stripe::RequestParams + class StateSalesTax < ::Stripe::RequestParams + class Election < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City). attr_accessor :jurisdiction # The type of the election for the state sales tax registration. @@ -1502,8 +1502,8 @@ def initialize( end end - class Uy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Uy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1522,7 +1522,7 @@ def initialize(standard: nil, type: nil) end end - class Uz < Stripe::RequestParams + class Uz < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1531,7 +1531,7 @@ def initialize(type: nil) end end - class Vn < Stripe::RequestParams + class Vn < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1540,8 +1540,8 @@ def initialize(type: nil) end end - class Za < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Za < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme @@ -1560,7 +1560,7 @@ def initialize(standard: nil, type: nil) end end - class Zm < Stripe::RequestParams + class Zm < ::Stripe::RequestParams # Type of registration to be created in `country`. attr_accessor :type @@ -1569,8 +1569,8 @@ def initialize(type: nil) end end - class Zw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Zw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. attr_accessor :place_of_supply_scheme diff --git a/lib/stripe/params/tax/registration_list_params.rb b/lib/stripe/params/tax/registration_list_params.rb index e6054655e..85526d945 100644 --- a/lib/stripe/params/tax/registration_list_params.rb +++ b/lib/stripe/params/tax/registration_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class RegistrationListParams < Stripe::RequestParams + class RegistrationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/registration_retrieve_params.rb b/lib/stripe/params/tax/registration_retrieve_params.rb index 9880aafc1..5bd77a878 100644 --- a/lib/stripe/params/tax/registration_retrieve_params.rb +++ b/lib/stripe/params/tax/registration_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class RegistrationRetrieveParams < Stripe::RequestParams + class RegistrationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax/registration_update_params.rb b/lib/stripe/params/tax/registration_update_params.rb index 1c49a71dd..65b20e652 100644 --- a/lib/stripe/params/tax/registration_update_params.rb +++ b/lib/stripe/params/tax/registration_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class RegistrationUpdateParams < Stripe::RequestParams + class RegistrationUpdateParams < ::Stripe::RequestParams # Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch. attr_accessor :active_from # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/settings_retrieve_params.rb b/lib/stripe/params/tax/settings_retrieve_params.rb index 4218d4234..2c169da3a 100644 --- a/lib/stripe/params/tax/settings_retrieve_params.rb +++ b/lib/stripe/params/tax/settings_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class SettingsRetrieveParams < Stripe::RequestParams + class SettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax/settings_update_params.rb b/lib/stripe/params/tax/settings_update_params.rb index 02c021c7f..f554bf030 100644 --- a/lib/stripe/params/tax/settings_update_params.rb +++ b/lib/stripe/params/tax/settings_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Tax - class SettingsUpdateParams < Stripe::RequestParams - class Defaults < Stripe::RequestParams + class SettingsUpdateParams < ::Stripe::RequestParams + class Defaults < ::Stripe::RequestParams # Specifies the default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null. attr_accessor :tax_behavior # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. @@ -16,8 +16,8 @@ def initialize(tax_behavior: nil, tax_code: nil) end end - class HeadOffice < Stripe::RequestParams - class Address < Stripe::RequestParams + class HeadOffice < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/tax/transaction_create_from_calculation_params.rb b/lib/stripe/params/tax/transaction_create_from_calculation_params.rb index 7a0527141..f89fc48d9 100644 --- a/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +++ b/lib/stripe/params/tax/transaction_create_from_calculation_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class TransactionCreateFromCalculationParams < Stripe::RequestParams + class TransactionCreateFromCalculationParams < ::Stripe::RequestParams # Tax Calculation ID to be used as input when creating the transaction. attr_accessor :calculation # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/transaction_create_reversal_params.rb b/lib/stripe/params/tax/transaction_create_reversal_params.rb index bc00563f8..b4a67083b 100644 --- a/lib/stripe/params/tax/transaction_create_reversal_params.rb +++ b/lib/stripe/params/tax/transaction_create_reversal_params.rb @@ -3,8 +3,8 @@ module Stripe module Tax - class TransactionCreateReversalParams < Stripe::RequestParams - class LineItem < Stripe::RequestParams + class TransactionCreateReversalParams < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. attr_accessor :amount # The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. @@ -35,7 +35,7 @@ def initialize( end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. attr_accessor :amount # The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. diff --git a/lib/stripe/params/tax/transaction_line_item_list_params.rb b/lib/stripe/params/tax/transaction_line_item_list_params.rb index 9dfd0e922..d2f20b51d 100644 --- a/lib/stripe/params/tax/transaction_line_item_list_params.rb +++ b/lib/stripe/params/tax/transaction_line_item_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class TransactionLineItemListParams < Stripe::RequestParams + class TransactionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/transaction_list_line_items_params.rb b/lib/stripe/params/tax/transaction_list_line_items_params.rb index 31992c281..e9a73929e 100644 --- a/lib/stripe/params/tax/transaction_list_line_items_params.rb +++ b/lib/stripe/params/tax/transaction_list_line_items_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class TransactionListLineItemsParams < Stripe::RequestParams + class TransactionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax/transaction_retrieve_params.rb b/lib/stripe/params/tax/transaction_retrieve_params.rb index 25de19425..3c03cc2ea 100644 --- a/lib/stripe/params/tax/transaction_retrieve_params.rb +++ b/lib/stripe/params/tax/transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Tax - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax_code_list_params.rb b/lib/stripe/params/tax_code_list_params.rb index d090f0bd5..bdb9d2132 100644 --- a/lib/stripe/params/tax_code_list_params.rb +++ b/lib/stripe/params/tax_code_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxCodeListParams < Stripe::RequestParams + class TaxCodeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/tax_code_retrieve_params.rb b/lib/stripe/params/tax_code_retrieve_params.rb index b44d5b441..f6c026bbe 100644 --- a/lib/stripe/params/tax_code_retrieve_params.rb +++ b/lib/stripe/params/tax_code_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxCodeRetrieveParams < Stripe::RequestParams + class TaxCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax_id_create_params.rb b/lib/stripe/params/tax_id_create_params.rb index b45674018..172bc37f8 100644 --- a/lib/stripe/params/tax_id_create_params.rb +++ b/lib/stripe/params/tax_id_create_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class TaxIdCreateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdCreateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` attr_accessor :account # Customer the tax ID belongs to. Required when `type=customer` diff --git a/lib/stripe/params/tax_id_delete_params.rb b/lib/stripe/params/tax_id_delete_params.rb index f9f8ffd45..d4ec1ec6e 100644 --- a/lib/stripe/params/tax_id_delete_params.rb +++ b/lib/stripe/params/tax_id_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class TaxIdDeleteParams < Stripe::RequestParams; end + class TaxIdDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/tax_id_list_params.rb b/lib/stripe/params/tax_id_list_params.rb index 63f261160..6cf82c015 100644 --- a/lib/stripe/params/tax_id_list_params.rb +++ b/lib/stripe/params/tax_id_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class TaxIdListParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdListParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` attr_accessor :account # Customer the tax ID belongs to. Required when `type=customer` diff --git a/lib/stripe/params/tax_id_retrieve_params.rb b/lib/stripe/params/tax_id_retrieve_params.rb index dc218138e..96d57b3ff 100644 --- a/lib/stripe/params/tax_id_retrieve_params.rb +++ b/lib/stripe/params/tax_id_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxIdRetrieveParams < Stripe::RequestParams + class TaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax_rate_create_params.rb b/lib/stripe/params/tax_rate_create_params.rb index 6e7b3465f..283ffb560 100644 --- a/lib/stripe/params/tax_rate_create_params.rb +++ b/lib/stripe/params/tax_rate_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxRateCreateParams < Stripe::RequestParams + class TaxRateCreateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. attr_accessor :active # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/tax_rate_list_params.rb b/lib/stripe/params/tax_rate_list_params.rb index 927632072..482284a30 100644 --- a/lib/stripe/params/tax_rate_list_params.rb +++ b/lib/stripe/params/tax_rate_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class TaxRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TaxRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/tax_rate_retrieve_params.rb b/lib/stripe/params/tax_rate_retrieve_params.rb index 8b889ba02..d4610473a 100644 --- a/lib/stripe/params/tax_rate_retrieve_params.rb +++ b/lib/stripe/params/tax_rate_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxRateRetrieveParams < Stripe::RequestParams + class TaxRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/tax_rate_update_params.rb b/lib/stripe/params/tax_rate_update_params.rb index 9c395e786..2574a2c8c 100644 --- a/lib/stripe/params/tax_rate_update_params.rb +++ b/lib/stripe/params/tax_rate_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TaxRateUpdateParams < Stripe::RequestParams + class TaxRateUpdateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. attr_accessor :active # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/terminal/configuration_create_params.rb b/lib/stripe/params/terminal/configuration_create_params.rb index f44b82d4f..3150e628b 100644 --- a/lib/stripe/params/terminal/configuration_create_params.rb +++ b/lib/stripe/params/terminal/configuration_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ConfigurationCreateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -13,7 +13,7 @@ def initialize(splashscreen: nil) end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader attr_accessor :splashscreen @@ -22,7 +22,7 @@ def initialize(splashscreen: nil) end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. attr_accessor :enabled @@ -31,7 +31,7 @@ def initialize(enabled: nil) end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. attr_accessor :admin_menu_passcode @@ -40,7 +40,7 @@ def initialize(admin_menu_passcode: nil) end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. attr_accessor :end_hour # Integer between 0 to 23 that represents the start hour of the reboot time window. @@ -52,7 +52,7 @@ def initialize(end_hour: nil, start_hour: nil) end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -61,8 +61,8 @@ def initialize(splashscreen: nil) end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -77,7 +77,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Aud < Stripe::RequestParams + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -92,7 +92,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Bgn < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -107,7 +107,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Cad < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -122,7 +122,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Chf < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -137,7 +137,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Czk < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -152,7 +152,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Dkk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -167,7 +167,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Eur < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -182,7 +182,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Gbp < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -197,7 +197,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Hkd < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -212,7 +212,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Huf < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -227,7 +227,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Jpy < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -242,7 +242,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Mxn < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -257,7 +257,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Myr < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -272,7 +272,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Nok < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -287,7 +287,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Nzd < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -302,7 +302,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Pln < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -317,7 +317,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Ron < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -332,7 +332,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Sek < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -347,7 +347,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Sgd < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -362,7 +362,22 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Usd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + attr_accessor :fixed_amounts + # Percentages displayed when collecting a tip + attr_accessor :percentages + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + attr_accessor :smart_tip_threshold + + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) + @fixed_amounts = fixed_amounts + @percentages = percentages + @smart_tip_threshold = smart_tip_threshold + end + end + + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -394,6 +409,8 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) attr_accessor :eur # Tipping configuration for GBP attr_accessor :gbp + # Tipping configuration for GIP + attr_accessor :gip # Tipping configuration for HKD attr_accessor :hkd # Tipping configuration for HUF @@ -429,6 +446,7 @@ def initialize( dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -451,6 +469,7 @@ def initialize( @dkk = dkk @eur = eur @gbp = gbp + @gip = gip @hkd = hkd @huf = huf @jpy = jpy @@ -466,7 +485,7 @@ def initialize( end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -475,8 +494,8 @@ def initialize(splashscreen: nil) end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate attr_accessor :ca_certificate_file # Password for connecting to the WiFi network @@ -494,7 +513,7 @@ def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate attr_accessor :ca_certificate_file # A File ID representing a PEM file containing the client certificate @@ -521,7 +540,7 @@ def initialize( end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network attr_accessor :password # Name of the WiFi network diff --git a/lib/stripe/params/terminal/configuration_delete_params.rb b/lib/stripe/params/terminal/configuration_delete_params.rb index 447fe54b0..73d224290 100644 --- a/lib/stripe/params/terminal/configuration_delete_params.rb +++ b/lib/stripe/params/terminal/configuration_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module Terminal - class ConfigurationDeleteParams < Stripe::RequestParams; end + class ConfigurationDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/terminal/configuration_list_params.rb b/lib/stripe/params/terminal/configuration_list_params.rb index 5e78edd25..a90517925 100644 --- a/lib/stripe/params/terminal/configuration_list_params.rb +++ b/lib/stripe/params/terminal/configuration_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/terminal/configuration_retrieve_params.rb b/lib/stripe/params/terminal/configuration_retrieve_params.rb index 8d75c93f5..e35b341ca 100644 --- a/lib/stripe/params/terminal/configuration_retrieve_params.rb +++ b/lib/stripe/params/terminal/configuration_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/configuration_update_params.rb b/lib/stripe/params/terminal/configuration_update_params.rb index 5ce014f61..553d4d96d 100644 --- a/lib/stripe/params/terminal/configuration_update_params.rb +++ b/lib/stripe/params/terminal/configuration_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ConfigurationUpdateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -13,7 +13,7 @@ def initialize(splashscreen: nil) end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader attr_accessor :splashscreen @@ -22,7 +22,7 @@ def initialize(splashscreen: nil) end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. attr_accessor :enabled @@ -31,7 +31,7 @@ def initialize(enabled: nil) end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. attr_accessor :admin_menu_passcode @@ -40,7 +40,7 @@ def initialize(admin_menu_passcode: nil) end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. attr_accessor :end_hour # Integer between 0 to 23 that represents the start hour of the reboot time window. @@ -52,7 +52,7 @@ def initialize(end_hour: nil, start_hour: nil) end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -61,8 +61,8 @@ def initialize(splashscreen: nil) end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -77,7 +77,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Aud < Stripe::RequestParams + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -92,7 +92,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Bgn < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -107,7 +107,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Cad < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -122,7 +122,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Chf < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -137,7 +137,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Czk < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -152,7 +152,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Dkk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -167,7 +167,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Eur < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -182,7 +182,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Gbp < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -197,7 +197,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Hkd < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -212,7 +212,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Huf < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -227,7 +227,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Jpy < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -242,7 +242,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Mxn < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -257,7 +257,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Myr < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -272,7 +272,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Nok < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -287,7 +287,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Nzd < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -302,7 +302,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Pln < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -317,7 +317,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Ron < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -332,7 +332,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Sek < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -347,7 +347,7 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Sgd < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -362,7 +362,22 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) end end - class Usd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + attr_accessor :fixed_amounts + # Percentages displayed when collecting a tip + attr_accessor :percentages + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + attr_accessor :smart_tip_threshold + + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) + @fixed_amounts = fixed_amounts + @percentages = percentages + @smart_tip_threshold = smart_tip_threshold + end + end + + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip attr_accessor :fixed_amounts # Percentages displayed when collecting a tip @@ -394,6 +409,8 @@ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil) attr_accessor :eur # Tipping configuration for GBP attr_accessor :gbp + # Tipping configuration for GIP + attr_accessor :gip # Tipping configuration for HKD attr_accessor :hkd # Tipping configuration for HUF @@ -429,6 +446,7 @@ def initialize( dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -451,6 +469,7 @@ def initialize( @dkk = dkk @eur = eur @gbp = gbp + @gip = gip @hkd = hkd @huf = huf @jpy = jpy @@ -466,7 +485,7 @@ def initialize( end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. attr_accessor :splashscreen @@ -475,8 +494,8 @@ def initialize(splashscreen: nil) end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate attr_accessor :ca_certificate_file # Password for connecting to the WiFi network @@ -494,7 +513,7 @@ def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate attr_accessor :ca_certificate_file # A File ID representing a PEM file containing the client certificate @@ -521,7 +540,7 @@ def initialize( end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network attr_accessor :password # Name of the WiFi network diff --git a/lib/stripe/params/terminal/connection_token_create_params.rb b/lib/stripe/params/terminal/connection_token_create_params.rb index f0f71927a..4515cfac8 100644 --- a/lib/stripe/params/terminal/connection_token_create_params.rb +++ b/lib/stripe/params/terminal/connection_token_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ConnectionTokenCreateParams < Stripe::RequestParams + class ConnectionTokenCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens). diff --git a/lib/stripe/params/terminal/location_create_params.rb b/lib/stripe/params/terminal/location_create_params.rb index 3c83e2738..a25d69c14 100644 --- a/lib/stripe/params/terminal/location_create_params.rb +++ b/lib/stripe/params/terminal/location_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class LocationCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -35,7 +35,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -70,7 +70,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/terminal/location_delete_params.rb b/lib/stripe/params/terminal/location_delete_params.rb index 6999fb923..54f8beb12 100644 --- a/lib/stripe/params/terminal/location_delete_params.rb +++ b/lib/stripe/params/terminal/location_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module Terminal - class LocationDeleteParams < Stripe::RequestParams; end + class LocationDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/terminal/location_list_params.rb b/lib/stripe/params/terminal/location_list_params.rb index beeb2f0b3..bf88d5558 100644 --- a/lib/stripe/params/terminal/location_list_params.rb +++ b/lib/stripe/params/terminal/location_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class LocationListParams < Stripe::RequestParams + class LocationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/terminal/location_retrieve_params.rb b/lib/stripe/params/terminal/location_retrieve_params.rb index 944d48989..9eaf043b6 100644 --- a/lib/stripe/params/terminal/location_retrieve_params.rb +++ b/lib/stripe/params/terminal/location_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class LocationRetrieveParams < Stripe::RequestParams + class LocationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/location_update_params.rb b/lib/stripe/params/terminal/location_update_params.rb index 8331006ed..21e3697f9 100644 --- a/lib/stripe/params/terminal/location_update_params.rb +++ b/lib/stripe/params/terminal/location_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class LocationUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -35,7 +35,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -70,7 +70,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/terminal/onboarding_link_create_params.rb b/lib/stripe/params/terminal/onboarding_link_create_params.rb index 0c87c7e09..df3170a7a 100644 --- a/lib/stripe/params/terminal/onboarding_link_create_params.rb +++ b/lib/stripe/params/terminal/onboarding_link_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Terminal - class OnboardingLinkCreateParams < Stripe::RequestParams - class LinkOptions < Stripe::RequestParams - class AppleTermsAndConditions < Stripe::RequestParams + class OnboardingLinkCreateParams < ::Stripe::RequestParams + class LinkOptions < ::Stripe::RequestParams + class AppleTermsAndConditions < ::Stripe::RequestParams # Whether the link should also support users relinking their Apple account. attr_accessor :allow_relinking # The business name of the merchant accepting Apple's Terms and Conditions. diff --git a/lib/stripe/params/terminal/reader_cancel_action_params.rb b/lib/stripe/params/terminal/reader_cancel_action_params.rb index 87cfd00f1..e4cdfc7b3 100644 --- a/lib/stripe/params/terminal/reader_cancel_action_params.rb +++ b/lib/stripe/params/terminal/reader_cancel_action_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderCancelActionParams < Stripe::RequestParams + class ReaderCancelActionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/reader_collect_inputs_params.rb b/lib/stripe/params/terminal/reader_collect_inputs_params.rb index 968e54644..098f28ad5 100644 --- a/lib/stripe/params/terminal/reader_collect_inputs_params.rb +++ b/lib/stripe/params/terminal/reader_collect_inputs_params.rb @@ -3,14 +3,14 @@ module Stripe module Terminal - class ReaderCollectInputsParams < Stripe::RequestParams - class Input < Stripe::RequestParams - class CustomText < Stripe::RequestParams + class ReaderCollectInputsParams < ::Stripe::RequestParams + class Input < ::Stripe::RequestParams + class CustomText < ::Stripe::RequestParams # The description which will be displayed when collecting this input attr_accessor :description - # The skip button text + # Custom text for the skip button. Maximum 14 characters. attr_accessor :skip_button - # The submit button text + # Custom text for the submit button. Maximum 30 characters. attr_accessor :submit_button # The title which will be displayed when collecting this input attr_accessor :title @@ -23,11 +23,11 @@ def initialize(description: nil, skip_button: nil, submit_button: nil, title: ni end end - class Selection < Stripe::RequestParams - class Choice < Stripe::RequestParams + class Selection < ::Stripe::RequestParams + class Choice < ::Stripe::RequestParams # The unique identifier for this choice attr_accessor :id - # The style of the button which will be shown for this choice + # The style of the button which will be shown for this choice. Can be `primary` or `secondary`. attr_accessor :style # The text which will be shown on the button for this choice attr_accessor :text @@ -46,12 +46,12 @@ def initialize(choices: nil) end end - class Toggle < Stripe::RequestParams - # The default value of the toggle + class Toggle < ::Stripe::RequestParams + # The default value of the toggle. Can be `enabled` or `disabled`. attr_accessor :default_value - # The description which will be displayed for the toggle + # The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. attr_accessor :description - # The title which will be displayed for the toggle + # The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. attr_accessor :title def initialize(default_value: nil, description: nil, title: nil) @@ -81,7 +81,7 @@ def initialize(custom_text: nil, required: nil, selection: nil, toggles: nil, ty end # Specifies which fields in the response should be expanded. attr_accessor :expand - # List of inputs to be collected using the Reader + # List of inputs to be collected from the customer using the Reader. Maximum 5 inputs. attr_accessor :inputs # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. attr_accessor :metadata diff --git a/lib/stripe/params/terminal/reader_collect_payment_method_params.rb b/lib/stripe/params/terminal/reader_collect_payment_method_params.rb index 6b503d526..7b83d18d2 100644 --- a/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +++ b/lib/stripe/params/terminal/reader_collect_payment_method_params.rb @@ -3,9 +3,9 @@ module Stripe module Terminal - class ReaderCollectPaymentMethodParams < Stripe::RequestParams - class CollectConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderCollectPaymentMethodParams < ::Stripe::RequestParams + class CollectConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_accessor :amount_eligible @@ -34,11 +34,11 @@ def initialize( @tipping = tipping end end - # Configuration overrides. + # Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings. attr_accessor :collect_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID. + # The ID of the PaymentIntent to collect a payment method for. attr_accessor :payment_intent def initialize(collect_config: nil, expand: nil, payment_intent: nil) diff --git a/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb b/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb index f43c1695b..39cd59ab8 100644 --- a/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +++ b/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderCollectedDataRetrieveParams < Stripe::RequestParams + class ReaderCollectedDataRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb b/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb index f5b3b53c9..026c267bf 100644 --- a/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +++ b/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ReaderConfirmPaymentIntentParams < Stripe::RequestParams - class ConfirmConfig < Stripe::RequestParams + class ReaderConfirmPaymentIntentParams < ::Stripe::RequestParams + class ConfirmConfig < ::Stripe::RequestParams # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. attr_accessor :return_url @@ -12,11 +12,11 @@ def initialize(return_url: nil) @return_url = return_url end end - # Configuration overrides. + # Configuration overrides for this confirmation, such as surcharge settings and return URL. attr_accessor :confirm_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID. + # The ID of the PaymentIntent to confirm. attr_accessor :payment_intent def initialize(confirm_config: nil, expand: nil, payment_intent: nil) diff --git a/lib/stripe/params/terminal/reader_create_params.rb b/lib/stripe/params/terminal/reader_create_params.rb index 64b3f732c..d461b684f 100644 --- a/lib/stripe/params/terminal/reader_create_params.rb +++ b/lib/stripe/params/terminal/reader_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderCreateParams < Stripe::RequestParams + class ReaderCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Custom label given to the reader for easier identification. If no label is specified, the registration code will be used. diff --git a/lib/stripe/params/terminal/reader_delete_params.rb b/lib/stripe/params/terminal/reader_delete_params.rb index b75b5ac49..ea97ab6a1 100644 --- a/lib/stripe/params/terminal/reader_delete_params.rb +++ b/lib/stripe/params/terminal/reader_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module Terminal - class ReaderDeleteParams < Stripe::RequestParams; end + class ReaderDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/terminal/reader_list_params.rb b/lib/stripe/params/terminal/reader_list_params.rb index 6184ce931..6c8d574d3 100644 --- a/lib/stripe/params/terminal/reader_list_params.rb +++ b/lib/stripe/params/terminal/reader_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderListParams < Stripe::RequestParams + class ReaderListParams < ::Stripe::RequestParams # Filters readers by device type attr_accessor :device_type # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/lib/stripe/params/terminal/reader_present_payment_method_params.rb b/lib/stripe/params/terminal/reader_present_payment_method_params.rb index 45c5e4aff..a184c076c 100644 --- a/lib/stripe/params/terminal/reader_present_payment_method_params.rb +++ b/lib/stripe/params/terminal/reader_present_payment_method_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. attr_accessor :cvc # Two-digit number representing the card's expiration month. @@ -22,7 +22,7 @@ def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. attr_accessor :number @@ -31,8 +31,8 @@ def initialize(number: nil) end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. attr_accessor :number def initialize(number: nil) diff --git a/lib/stripe/params/terminal/reader_process_payment_intent_params.rb b/lib/stripe/params/terminal/reader_process_payment_intent_params.rb index abe5b3b77..d3814d336 100644 --- a/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +++ b/lib/stripe/params/terminal/reader_process_payment_intent_params.rb @@ -3,9 +3,9 @@ module Stripe module Terminal - class ReaderProcessPaymentIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderProcessPaymentIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_accessor :amount_eligible @@ -40,9 +40,9 @@ def initialize( end # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID + # The ID of the PaymentIntent to process on the reader. attr_accessor :payment_intent - # Configuration overrides + # Configuration overrides for this transaction, such as tipping and customer cancellation settings. attr_accessor :process_config def initialize(expand: nil, payment_intent: nil, process_config: nil) diff --git a/lib/stripe/params/terminal/reader_process_setup_intent_params.rb b/lib/stripe/params/terminal/reader_process_setup_intent_params.rb index 6f29b2fe3..ad6825bbc 100644 --- a/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +++ b/lib/stripe/params/terminal/reader_process_setup_intent_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ReaderProcessSetupIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams + class ReaderProcessSetupIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. attr_accessor :enable_customer_cancellation @@ -16,9 +16,9 @@ def initialize(enable_customer_cancellation: nil) attr_accessor :allow_redisplay # Specifies which fields in the response should be expanded. attr_accessor :expand - # Configuration overrides + # Configuration overrides for this setup, such as MOTO and customer cancellation settings. attr_accessor :process_config - # SetupIntent ID + # The ID of the SetupIntent to process on the reader. attr_accessor :setup_intent def initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil) diff --git a/lib/stripe/params/terminal/reader_refund_payment_params.rb b/lib/stripe/params/terminal/reader_refund_payment_params.rb index a77ea6bf7..1113aedc4 100644 --- a/lib/stripe/params/terminal/reader_refund_payment_params.rb +++ b/lib/stripe/params/terminal/reader_refund_payment_params.rb @@ -3,8 +3,8 @@ module Stripe module Terminal - class ReaderRefundPaymentParams < Stripe::RequestParams - class RefundPaymentConfig < Stripe::RequestParams + class ReaderRefundPaymentParams < ::Stripe::RequestParams + class RefundPaymentConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. attr_accessor :enable_customer_cancellation @@ -24,7 +24,7 @@ def initialize(enable_customer_cancellation: nil) attr_accessor :payment_intent # Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. attr_accessor :refund_application_fee - # Configuration overrides + # Configuration overrides for this refund, such as customer cancellation settings. attr_accessor :refund_payment_config # Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. attr_accessor :reverse_transfer diff --git a/lib/stripe/params/terminal/reader_retrieve_params.rb b/lib/stripe/params/terminal/reader_retrieve_params.rb index e72685b7e..b792eb1c5 100644 --- a/lib/stripe/params/terminal/reader_retrieve_params.rb +++ b/lib/stripe/params/terminal/reader_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderRetrieveParams < Stripe::RequestParams + class ReaderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/reader_set_reader_display_params.rb b/lib/stripe/params/terminal/reader_set_reader_display_params.rb index cb3406b7a..cb76fe613 100644 --- a/lib/stripe/params/terminal/reader_set_reader_display_params.rb +++ b/lib/stripe/params/terminal/reader_set_reader_display_params.rb @@ -3,10 +3,10 @@ module Stripe module Terminal - class ReaderSetReaderDisplayParams < Stripe::RequestParams - class Cart < Stripe::RequestParams - class LineItem < Stripe::RequestParams - # The price of the item in cents. + class ReaderSetReaderDisplayParams < ::Stripe::RequestParams + class Cart < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + # The price of the item in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :amount # The description or name of the item. attr_accessor :description @@ -21,11 +21,11 @@ def initialize(amount: nil, description: nil, quantity: nil) end # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_accessor :currency - # Array of line items that were purchased. + # Array of line items to display. attr_accessor :line_items - # The amount of tax in cents. + # The amount of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :tax - # Total balance of cart due in cents. + # Total balance of cart due in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_accessor :total def initialize(currency: nil, line_items: nil, tax: nil, total: nil) @@ -35,11 +35,11 @@ def initialize(currency: nil, line_items: nil, tax: nil, total: nil) @total = total end end - # Cart + # Cart details to display on the reader screen, including line items, amounts, and currency. attr_accessor :cart # Specifies which fields in the response should be expanded. attr_accessor :expand - # Type + # Type of information to display. Only `cart` is currently supported. attr_accessor :type def initialize(cart: nil, expand: nil, type: nil) diff --git a/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb b/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb index 0a42fbc64..c196b0bce 100644 --- a/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +++ b/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # This parameter defines the skip behavior for input collection. diff --git a/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb b/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb index 16bb345b5..0bc545362 100644 --- a/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +++ b/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/terminal/reader_update_params.rb b/lib/stripe/params/terminal/reader_update_params.rb index 813e6f53e..dead53304 100644 --- a/lib/stripe/params/terminal/reader_update_params.rb +++ b/lib/stripe/params/terminal/reader_update_params.rb @@ -3,7 +3,7 @@ module Stripe module Terminal - class ReaderUpdateParams < Stripe::RequestParams + class ReaderUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The new label of the reader. diff --git a/lib/stripe/params/test_helpers/confirmation_token_create_params.rb b/lib/stripe/params/test_helpers/confirmation_token_create_params.rb index 34064c477..5ddff9c26 100644 --- a/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +++ b/lib/stripe/params/test_helpers/confirmation_token_create_params.rb @@ -3,9 +3,9 @@ module Stripe module TestHelpers - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. attr_accessor :account_number # Institution number of the customer's bank. @@ -20,13 +20,13 @@ def initialize(account_number: nil, institution_number: nil, transit_number: nil end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -38,7 +38,7 @@ def initialize(account_number: nil, bsb_number: nil) end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. attr_accessor :account_number # Sort code of the bank account. (e.g., `10-20-30`) @@ -50,11 +50,11 @@ def initialize(account_number: nil, sort_code: nil) end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -104,9 +104,9 @@ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) end end - class Blik < Stripe::RequestParams; end + class Blik < ::Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) attr_accessor :tax_id @@ -115,11 +115,11 @@ def initialize(tax_id: nil) end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -128,7 +128,7 @@ def initialize(bank: nil) end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction attr_accessor :account_holder_type # The customer's bank. @@ -140,11 +140,11 @@ def initialize(account_holder_type: nil, bank: nil) end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. attr_accessor :bank @@ -153,7 +153,7 @@ def initialize(bank: nil) end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. attr_accessor :bank @@ -162,11 +162,11 @@ def initialize(bank: nil) end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -188,14 +188,14 @@ def initialize(dob: nil) end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. attr_accessor :funding @@ -204,7 +204,7 @@ def initialize(funding: nil) end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_accessor :account_holder_name # The account number for the bank account. @@ -235,9 +235,9 @@ def initialize( end end - class Oxxo < Stripe::RequestParams; end + class Oxxo < ::Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # The customer's bank. attr_accessor :bank @@ -246,13 +246,13 @@ def initialize(bank: nil) end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. attr_accessor :account_number # Bank-State-Branch number of the bank account. @@ -267,11 +267,11 @@ def initialize(account_number: nil, bsb_number: nil, pay_id: nil) end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_accessor :session @@ -280,8 +280,8 @@ def initialize(session: nil) end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -303,11 +303,11 @@ def initialize(dob: nil) end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. attr_accessor :iban @@ -316,9 +316,9 @@ def initialize(iban: nil) end end - class Shopeepay < Stripe::RequestParams; end + class Shopeepay < ::Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. attr_accessor :country @@ -327,7 +327,7 @@ def initialize(country: nil) end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment attr_accessor :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -339,10 +339,10 @@ def initialize(account: nil, source_type: nil) end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -369,8 +369,8 @@ def initialize( end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. attr_accessor :acss_debit # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. @@ -625,10 +625,10 @@ def initialize( end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. attr_accessor :count # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. @@ -666,8 +666,8 @@ def initialize(card: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb b/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb index e1191035b..bf08348a8 100644 --- a/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +++ b/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb index cd6e1d777..49ae4ee7a 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb @@ -4,10 +4,10 @@ module Stripe module TestHelpers module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -34,8 +34,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -44,7 +44,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -53,7 +53,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -99,8 +99,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -156,7 +156,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -183,7 +183,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -195,7 +195,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb index c47071322..f526c568f 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. attr_accessor :atm_fee # The amount of cash requested by the cardholder. @@ -17,8 +17,8 @@ def initialize(atm_fee: nil, cashback_amount: nil) end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -45,8 +45,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -55,7 +55,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -64,7 +64,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -110,7 +110,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -137,7 +137,7 @@ def initialize( end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -180,7 +180,7 @@ def initialize( end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. attr_accessor :acquiring_institution_id @@ -189,8 +189,8 @@ def initialize(acquiring_institution_id: nil) end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. attr_accessor :invalid_account_number_decline_rate_past_hour # The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of bad actors attempting to utilize valid card credentials at merchants with verification requirements. Takes on values between 0 and 100. @@ -209,7 +209,7 @@ def initialize( end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. attr_accessor :dispute_rate # The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing. @@ -231,8 +231,8 @@ def initialize(card_testing_risk: nil, merchant_dispute_risk: nil) end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. attr_accessor :claimed_by # The specific exemption claimed for this authorization. @@ -244,7 +244,7 @@ def initialize(claimed_by: nil, type: nil) end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. attr_accessor :result diff --git a/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb index d23960874..c9db876ee 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb index 2bd77b62d..ead7cb9f6 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb @@ -4,9 +4,9 @@ module Stripe module TestHelpers module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -33,8 +33,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -43,7 +43,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -52,7 +52,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -98,7 +98,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. diff --git a/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb index 99d286bbe..c4e428d2a 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb index af6adfdca..aaf02d513 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). attr_accessor :confirmed # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb b/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb index d783df715..97415d6df 100644 --- a/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +++ b/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb b/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb index 67bcdd212..d4b4b868f 100644 --- a/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +++ b/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb b/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb index 2df710d20..96916f31c 100644 --- a/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +++ b/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb b/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb index 88b39db2e..93a084844 100644 --- a/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +++ b/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb b/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb index 14dda3b6f..41f1d238f 100644 --- a/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +++ b/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb b/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb index 423cb3592..9c19b07a9 100644 --- a/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +++ b/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb b/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb index c20ce3b12..ce039c9f6 100644 --- a/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +++ b/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb b/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb index 79dbd4884..c5e57e4a6 100644 --- a/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +++ b/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb b/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb index 5ccdfe734..f7386bcbc 100644 --- a/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +++ b/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. attr_accessor :card_logo # The reason(s) the carrier text was rejected. diff --git a/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb b/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb index 062add7bc..1765729bd 100644 --- a/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +++ b/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -48,9 +48,9 @@ def initialize( end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -77,8 +77,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -87,7 +87,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -96,7 +96,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -142,8 +142,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -199,7 +199,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -226,7 +226,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -238,7 +238,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb b/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb index 405340e7a..cd9d48468 100644 --- a/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +++ b/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_accessor :category # City where the seller is located @@ -48,9 +48,9 @@ def initialize( end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. attr_accessor :driver_id # Odometer reading. @@ -77,8 +77,8 @@ def initialize( end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -87,7 +87,7 @@ def initialize(gross_amount_decimal: nil) end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_accessor :gross_amount_decimal @@ -96,7 +96,7 @@ def initialize(gross_amount_decimal: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_accessor :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -142,8 +142,8 @@ def initialize( end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. attr_accessor :arrival_airport_code # The airline carrier code. @@ -199,7 +199,7 @@ def initialize( end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_accessor :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -226,7 +226,7 @@ def initialize( end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. attr_accessor :check_in_at # The number of nights stayed at the lodging. @@ -238,7 +238,7 @@ def initialize(check_in_at: nil, nights: nil) end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description attr_accessor :description # Attribute for param field quantity diff --git a/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb b/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb index eb9836ec3..7ed161892 100644 --- a/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +++ b/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). diff --git a/lib/stripe/params/test_helpers/refund_expire_params.rb b/lib/stripe/params/test_helpers/refund_expire_params.rb index c92485625..6199d2713 100644 --- a/lib/stripe/params/test_helpers/refund_expire_params.rb +++ b/lib/stripe/params/test_helpers/refund_expire_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb b/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb index 70b9f1a98..bbb4fae3e 100644 --- a/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +++ b/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. attr_accessor :cvc # Two-digit number representing the card's expiration month. @@ -23,7 +23,7 @@ def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil) end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. attr_accessor :number @@ -32,8 +32,8 @@ def initialize(number: nil) end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. attr_accessor :number def initialize(number: nil) diff --git a/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb b/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb index 14442ba87..e4e82e3cf 100644 --- a/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +++ b/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # This parameter defines the skip behavior for input collection. diff --git a/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb b/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb index 13582d6fd..3e93af5b4 100644 --- a/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +++ b/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/test_clock_advance_params.rb b/lib/stripe/params/test_helpers/test_clock_advance_params.rb index 67842f177..3b6989be7 100644 --- a/lib/stripe/params/test_helpers/test_clock_advance_params.rb +++ b/lib/stripe/params/test_helpers/test_clock_advance_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class TestClockAdvanceParams < Stripe::RequestParams + class TestClockAdvanceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The time to advance the test clock. Must be after the test clock's current frozen time. Cannot be more than two intervals in the future from the shortest subscription in this test clock. If there are no subscriptions in this test clock, it cannot be more than two years in the future. diff --git a/lib/stripe/params/test_helpers/test_clock_create_params.rb b/lib/stripe/params/test_helpers/test_clock_create_params.rb index e041641b7..0686ceb01 100644 --- a/lib/stripe/params/test_helpers/test_clock_create_params.rb +++ b/lib/stripe/params/test_helpers/test_clock_create_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class TestClockCreateParams < Stripe::RequestParams + class TestClockCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # The initial frozen time for this test clock. diff --git a/lib/stripe/params/test_helpers/test_clock_delete_params.rb b/lib/stripe/params/test_helpers/test_clock_delete_params.rb index caab84a4d..a8a112cf5 100644 --- a/lib/stripe/params/test_helpers/test_clock_delete_params.rb +++ b/lib/stripe/params/test_helpers/test_clock_delete_params.rb @@ -3,6 +3,6 @@ module Stripe module TestHelpers - class TestClockDeleteParams < Stripe::RequestParams; end + class TestClockDeleteParams < ::Stripe::RequestParams; end end end diff --git a/lib/stripe/params/test_helpers/test_clock_list_params.rb b/lib/stripe/params/test_helpers/test_clock_list_params.rb index ccefe6f33..6d641f3fe 100644 --- a/lib/stripe/params/test_helpers/test_clock_list_params.rb +++ b/lib/stripe/params/test_helpers/test_clock_list_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class TestClockListParams < Stripe::RequestParams + class TestClockListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb b/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb index 3e94a07df..42a7d78e1 100644 --- a/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +++ b/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module TestHelpers - class TestClockRetrieveParams < Stripe::RequestParams + class TestClockRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb b/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb index 9179293c6..bdaf02fee 100644 --- a/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +++ b/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. attr_accessor :code diff --git a/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb b/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb index a518d6c12..7ed036360 100644 --- a/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +++ b/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb b/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb index 238e02f17..50fbcaa9d 100644 --- a/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +++ b/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb index de4d3ee77..dd1a5c4fa 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb index 79fbd7cbd..ac6c032a9 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb index 2cfef431e..840429f5b 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. attr_accessor :code diff --git a/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb index 9f14b0fc8..79b38ddc3 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb @@ -4,9 +4,9 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. attr_accessor :trace_id @@ -15,7 +15,7 @@ def initialize(trace_id: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. attr_accessor :chips # IMAD for funds sent over the `us_domestic_wire` network. diff --git a/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb index 787333b45..974692719 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb index 381350b41..8d6fec8fd 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb @@ -4,7 +4,7 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb index 4fcc187ac..fa5a4fcad 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb @@ -4,8 +4,8 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. attr_accessor :code diff --git a/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb b/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb index 6c65cf3cc..81609b86c 100644 --- a/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +++ b/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb @@ -4,9 +4,9 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. attr_accessor :trace_id @@ -15,7 +15,7 @@ def initialize(trace_id: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. attr_accessor :chips # IMAD for funds sent over the `us_domestic_wire` network. diff --git a/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb b/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb index e4fa24350..2a76be190 100644 --- a/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +++ b/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb @@ -4,9 +4,9 @@ module Stripe module TestHelpers module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. attr_accessor :account_holder_name # The bank account number. @@ -31,8 +31,8 @@ def initialize(type: nil, us_bank_account: nil) end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record attr_accessor :addenda diff --git a/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb b/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb index afab41aee..7b309d688 100644 --- a/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +++ b/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb @@ -4,9 +4,9 @@ module Stripe module TestHelpers module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. attr_accessor :account_holder_name # The bank account number. @@ -31,8 +31,8 @@ def initialize(type: nil, us_bank_account: nil) end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. attr_accessor :addenda diff --git a/lib/stripe/params/token_create_params.rb b/lib/stripe/params/token_create_params.rb index 338cfbb1c..9b9210598 100644 --- a/lib/stripe/params/token_create_params.rb +++ b/lib/stripe/params/token_create_params.rb @@ -2,10 +2,10 @@ # frozen_string_literal: true module Stripe - class TokenCreateParams < Stripe::RequestParams - class Account < Stripe::RequestParams - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class TokenCreateParams < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -36,7 +36,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -71,7 +71,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -106,7 +106,7 @@ def initialize( end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. attr_accessor :date # The IP address from which the directorship declaration attestation was made. @@ -121,7 +121,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. attr_accessor :date # The IP address from which the beneficial owner attestation was made. @@ -136,7 +136,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. attr_accessor :day # The month of registration, between 1 and 12. @@ -151,8 +151,23 @@ def initialize(day: nil, month: nil, year: nil) end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + attr_accessor :date + # The IP address from which the representative declaration attestation was made. + attr_accessor :ip + # The user agent of the browser from which the representative declaration attestation was made. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -206,6 +221,8 @@ def initialize(document: nil) attr_accessor :registration_date # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). attr_accessor :registration_number + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_accessor :representative_declaration # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. attr_accessor :structure # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) @@ -236,6 +253,7 @@ def initialize( phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -260,6 +278,7 @@ def initialize( @phone = phone @registration_date = registration_date @registration_number = registration_number + @representative_declaration = representative_declaration @structure = structure @tax_id = tax_id @tax_id_registrar = tax_id_registrar @@ -268,8 +287,8 @@ def initialize( end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -300,7 +319,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -335,7 +354,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -370,7 +389,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -385,7 +404,7 @@ def initialize(day: nil, month: nil, year: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -416,7 +435,7 @@ def initialize( end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. attr_accessor :director # Whether the person has significant responsibility to control, manage, or direct the organization. @@ -443,8 +462,8 @@ def initialize( end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -456,7 +475,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -591,7 +610,7 @@ def initialize(business_type: nil, company: nil, individual: nil, tos_shown_and_ end end - class BankAccount < Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object. attr_accessor :account_holder_name # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object. @@ -630,8 +649,8 @@ def initialize( end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. attr_accessor :preferred @@ -697,7 +716,7 @@ def initialize( end end - class CvcUpdate < Stripe::RequestParams + class CvcUpdate < ::Stripe::RequestParams # The CVC value, in string form. attr_accessor :cvc @@ -706,9 +725,9 @@ def initialize(cvc: nil) end end - class Person < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class Person < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. attr_accessor :date # The IP address from which the account representative accepted the service agreement. @@ -730,7 +749,7 @@ def initialize(account: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -761,7 +780,7 @@ def initialize( end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -796,7 +815,7 @@ def initialize( end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -831,7 +850,7 @@ def initialize( end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. attr_accessor :day # The month of birth, between 1 and 12. @@ -846,8 +865,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -856,7 +875,7 @@ def initialize(files: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -865,7 +884,7 @@ def initialize(files: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. attr_accessor :files @@ -887,7 +906,7 @@ def initialize(company_authorization: nil, passport: nil, visa: nil) end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -918,7 +937,7 @@ def initialize( end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. attr_accessor :authorizer # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -957,8 +976,8 @@ def initialize( end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity attr_accessor :ethnicity # Please specify your origin, when other is selected. @@ -970,7 +989,7 @@ def initialize(ethnicity: nil, ethnicity_other: nil) end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. attr_accessor :race # Please specify your race, when other is selected. @@ -995,8 +1014,8 @@ def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1008,7 +1027,7 @@ def initialize(back: nil, front: nil) end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1143,7 +1162,7 @@ def initialize( end end - class Pii < Stripe::RequestParams + class Pii < ::Stripe::RequestParams # The `id_number` for the PII, in string form. attr_accessor :id_number diff --git a/lib/stripe/params/token_retrieve_params.rb b/lib/stripe/params/token_retrieve_params.rb index 3f34f3c13..d45a81fd6 100644 --- a/lib/stripe/params/token_retrieve_params.rb +++ b/lib/stripe/params/token_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/topup_cancel_params.rb b/lib/stripe/params/topup_cancel_params.rb index ba423b625..4e36148a0 100644 --- a/lib/stripe/params/topup_cancel_params.rb +++ b/lib/stripe/params/topup_cancel_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TopupCancelParams < Stripe::RequestParams + class TopupCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/topup_create_params.rb b/lib/stripe/params/topup_create_params.rb index 694c18aae..da8081944 100644 --- a/lib/stripe/params/topup_create_params.rb +++ b/lib/stripe/params/topup_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TopupCreateParams < Stripe::RequestParams + class TopupCreateParams < ::Stripe::RequestParams # A positive integer representing how much to transfer. attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/lib/stripe/params/topup_list_params.rb b/lib/stripe/params/topup_list_params.rb index 660318a18..1048d31fa 100644 --- a/lib/stripe/params/topup_list_params.rb +++ b/lib/stripe/params/topup_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class TopupListParams < Stripe::RequestParams - class Amount < Stripe::RequestParams + class TopupListParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -21,7 +21,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/topup_retrieve_params.rb b/lib/stripe/params/topup_retrieve_params.rb index 280731484..c411d6380 100644 --- a/lib/stripe/params/topup_retrieve_params.rb +++ b/lib/stripe/params/topup_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TopupRetrieveParams < Stripe::RequestParams + class TopupRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/topup_update_params.rb b/lib/stripe/params/topup_update_params.rb index 646f77f49..359debf71 100644 --- a/lib/stripe/params/topup_update_params.rb +++ b/lib/stripe/params/topup_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TopupUpdateParams < Stripe::RequestParams + class TopupUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/transfer_create_params.rb b/lib/stripe/params/transfer_create_params.rb index 6fd67d4e9..69d4dbaeb 100644 --- a/lib/stripe/params/transfer_create_params.rb +++ b/lib/stripe/params/transfer_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferCreateParams < Stripe::RequestParams + class TransferCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much to transfer. attr_accessor :amount # Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). diff --git a/lib/stripe/params/transfer_list_params.rb b/lib/stripe/params/transfer_list_params.rb index 9d79582f0..5432e57f5 100644 --- a/lib/stripe/params/transfer_list_params.rb +++ b/lib/stripe/params/transfer_list_params.rb @@ -2,8 +2,8 @@ # frozen_string_literal: true module Stripe - class TransferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/transfer_retrieve_params.rb b/lib/stripe/params/transfer_retrieve_params.rb index 374cd8894..38ab73fa9 100644 --- a/lib/stripe/params/transfer_retrieve_params.rb +++ b/lib/stripe/params/transfer_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferRetrieveParams < Stripe::RequestParams + class TransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/transfer_reversal_create_params.rb b/lib/stripe/params/transfer_reversal_create_params.rb index beb9746f4..4308b3c2c 100644 --- a/lib/stripe/params/transfer_reversal_create_params.rb +++ b/lib/stripe/params/transfer_reversal_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferReversalCreateParams < Stripe::RequestParams + class TransferReversalCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. attr_accessor :amount # An arbitrary string which you can attach to a reversal object. This will be unset if you POST an empty value. diff --git a/lib/stripe/params/transfer_reversal_list_params.rb b/lib/stripe/params/transfer_reversal_list_params.rb index 60e05e128..43cec7ec4 100644 --- a/lib/stripe/params/transfer_reversal_list_params.rb +++ b/lib/stripe/params/transfer_reversal_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferReversalListParams < Stripe::RequestParams + class TransferReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/transfer_reversal_retrieve_params.rb b/lib/stripe/params/transfer_reversal_retrieve_params.rb index 565f166c0..4104d675a 100644 --- a/lib/stripe/params/transfer_reversal_retrieve_params.rb +++ b/lib/stripe/params/transfer_reversal_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferReversalRetrieveParams < Stripe::RequestParams + class TransferReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/transfer_reversal_update_params.rb b/lib/stripe/params/transfer_reversal_update_params.rb index 29b4e2f92..53d1233d1 100644 --- a/lib/stripe/params/transfer_reversal_update_params.rb +++ b/lib/stripe/params/transfer_reversal_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferReversalUpdateParams < Stripe::RequestParams + class TransferReversalUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/transfer_update_params.rb b/lib/stripe/params/transfer_update_params.rb index 12cce40a5..6fd6c7473 100644 --- a/lib/stripe/params/transfer_update_params.rb +++ b/lib/stripe/params/transfer_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class TransferUpdateParams < Stripe::RequestParams + class TransferUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. attr_accessor :description # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/credit_reversal_create_params.rb b/lib/stripe/params/treasury/credit_reversal_create_params.rb index 1f0737048..edefe7a17 100644 --- a/lib/stripe/params/treasury/credit_reversal_create_params.rb +++ b/lib/stripe/params/treasury/credit_reversal_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class CreditReversalCreateParams < Stripe::RequestParams + class CreditReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/treasury/credit_reversal_list_params.rb b/lib/stripe/params/treasury/credit_reversal_list_params.rb index 729f7448c..15c592378 100644 --- a/lib/stripe/params/treasury/credit_reversal_list_params.rb +++ b/lib/stripe/params/treasury/credit_reversal_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class CreditReversalListParams < Stripe::RequestParams + class CreditReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb b/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb index 3484359da..7ad6ae735 100644 --- a/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +++ b/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class CreditReversalRetrieveParams < Stripe::RequestParams + class CreditReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/debit_reversal_create_params.rb b/lib/stripe/params/treasury/debit_reversal_create_params.rb index b7378a803..8d8f4f6e5 100644 --- a/lib/stripe/params/treasury/debit_reversal_create_params.rb +++ b/lib/stripe/params/treasury/debit_reversal_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class DebitReversalCreateParams < Stripe::RequestParams + class DebitReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. diff --git a/lib/stripe/params/treasury/debit_reversal_list_params.rb b/lib/stripe/params/treasury/debit_reversal_list_params.rb index e7387ee17..53249173d 100644 --- a/lib/stripe/params/treasury/debit_reversal_list_params.rb +++ b/lib/stripe/params/treasury/debit_reversal_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class DebitReversalListParams < Stripe::RequestParams + class DebitReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb b/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb index 4cc8ac4c4..4bab5e6cd 100644 --- a/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +++ b/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class DebitReversalRetrieveParams < Stripe::RequestParams + class DebitReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/financial_account_close_params.rb b/lib/stripe/params/treasury/financial_account_close_params.rb index bfde778dc..47a89fd7b 100644 --- a/lib/stripe/params/treasury/financial_account_close_params.rb +++ b/lib/stripe/params/treasury/financial_account_close_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id attr_accessor :financial_account # The payment_method or bank account id. This needs to be a verified bank account. diff --git a/lib/stripe/params/treasury/financial_account_create_params.rb b/lib/stripe/params/treasury/financial_account_create_params.rb index 9f1b2f397..0a6ea6e18 100644 --- a/lib/stripe/params/treasury/financial_account_create_params.rb +++ b/lib/stripe/params/treasury/financial_account_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class FinancialAccountCreateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -14,7 +14,7 @@ def initialize(requested: nil) end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -23,8 +23,8 @@ def initialize(requested: nil) end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner attr_accessor :bank # Whether the FinancialAccount should have the Feature. @@ -43,8 +43,8 @@ def initialize(aba: nil) end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -60,7 +60,7 @@ def initialize(ach: nil) end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -69,8 +69,8 @@ def initialize(requested: nil) end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -79,7 +79,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -98,8 +98,8 @@ def initialize(ach: nil, us_domestic_wire: nil) end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -108,7 +108,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -160,7 +160,7 @@ def initialize( end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. attr_accessor :inbound_flows # Restricts all outbound money movement. diff --git a/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb b/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb index c88b27089..a371629f5 100644 --- a/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +++ b/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class FinancialAccountFeaturesRetrieveParams < Stripe::RequestParams + class FinancialAccountFeaturesRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/financial_account_features_update_params.rb b/lib/stripe/params/treasury/financial_account_features_update_params.rb index 13e715880..95cab2f16 100644 --- a/lib/stripe/params/treasury/financial_account_features_update_params.rb +++ b/lib/stripe/params/treasury/financial_account_features_update_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class FinancialAccountFeaturesUpdateParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountFeaturesUpdateParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -13,7 +13,7 @@ def initialize(requested: nil) end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -22,8 +22,8 @@ def initialize(requested: nil) end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner attr_accessor :bank # Whether the FinancialAccount should have the Feature. @@ -42,8 +42,8 @@ def initialize(aba: nil) end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -59,7 +59,7 @@ def initialize(ach: nil) end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -68,8 +68,8 @@ def initialize(requested: nil) end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -78,7 +78,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -97,8 +97,8 @@ def initialize(ach: nil, us_domestic_wire: nil) end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -107,7 +107,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested diff --git a/lib/stripe/params/treasury/financial_account_list_params.rb b/lib/stripe/params/treasury/financial_account_list_params.rb index c244e2ea1..63938a510 100644 --- a/lib/stripe/params/treasury/financial_account_list_params.rb +++ b/lib/stripe/params/treasury/financial_account_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class FinancialAccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb b/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb index 1a204e9c0..e3b55ab40 100644 --- a/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +++ b/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class FinancialAccountRetrieveFeaturesParams < Stripe::RequestParams + class FinancialAccountRetrieveFeaturesParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/financial_account_retrieve_params.rb b/lib/stripe/params/treasury/financial_account_retrieve_params.rb index 0fcac4dbe..d8d2d957b 100644 --- a/lib/stripe/params/treasury/financial_account_retrieve_params.rb +++ b/lib/stripe/params/treasury/financial_account_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class FinancialAccountRetrieveParams < Stripe::RequestParams + class FinancialAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/financial_account_update_features_params.rb b/lib/stripe/params/treasury/financial_account_update_features_params.rb index 97de04c7d..e6fbcddb9 100644 --- a/lib/stripe/params/treasury/financial_account_update_features_params.rb +++ b/lib/stripe/params/treasury/financial_account_update_features_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class FinancialAccountUpdateFeaturesParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateFeaturesParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -13,7 +13,7 @@ def initialize(requested: nil) end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -22,8 +22,8 @@ def initialize(requested: nil) end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner attr_accessor :bank # Whether the FinancialAccount should have the Feature. @@ -42,8 +42,8 @@ def initialize(aba: nil) end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -59,7 +59,7 @@ def initialize(ach: nil) end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -68,8 +68,8 @@ def initialize(requested: nil) end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -78,7 +78,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -97,8 +97,8 @@ def initialize(ach: nil, us_domestic_wire: nil) end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -107,7 +107,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested diff --git a/lib/stripe/params/treasury/financial_account_update_params.rb b/lib/stripe/params/treasury/financial_account_update_params.rb index 9b8558086..0d59e7641 100644 --- a/lib/stripe/params/treasury/financial_account_update_params.rb +++ b/lib/stripe/params/treasury/financial_account_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class FinancialAccountUpdateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -14,7 +14,7 @@ def initialize(requested: nil) end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -23,8 +23,8 @@ def initialize(requested: nil) end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner attr_accessor :bank # Whether the FinancialAccount should have the Feature. @@ -43,8 +43,8 @@ def initialize(aba: nil) end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -60,7 +60,7 @@ def initialize(ach: nil) end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -69,8 +69,8 @@ def initialize(requested: nil) end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -79,7 +79,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -98,8 +98,8 @@ def initialize(ach: nil, us_domestic_wire: nil) end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -108,7 +108,7 @@ def initialize(requested: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. attr_accessor :requested @@ -160,7 +160,7 @@ def initialize( end end - class ForwardingSettings < Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id attr_accessor :financial_account # The payment_method or bank account id. This needs to be a verified bank account. @@ -175,7 +175,7 @@ def initialize(financial_account: nil, payment_method: nil, type: nil) end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. attr_accessor :inbound_flows # Restricts all outbound money movement. diff --git a/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb b/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb index b8e41b64a..1bb681a39 100644 --- a/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferCancelParams < Stripe::RequestParams + class InboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/inbound_transfer_create_params.rb b/lib/stripe/params/treasury/inbound_transfer_create_params.rb index abb92f29e..f6e16fd07 100644 --- a/lib/stripe/params/treasury/inbound_transfer_create_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_create_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferCreateParams < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams # Amount (in cents) to be transferred. attr_accessor :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/lib/stripe/params/treasury/inbound_transfer_fail_params.rb b/lib/stripe/params/treasury/inbound_transfer_fail_params.rb index d6d81e8b3..448879af2 100644 --- a/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_fail_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. attr_accessor :code diff --git a/lib/stripe/params/treasury/inbound_transfer_list_params.rb b/lib/stripe/params/treasury/inbound_transfer_list_params.rb index 78a6b3a78..d95bc938f 100644 --- a/lib/stripe/params/treasury/inbound_transfer_list_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb b/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb index 4f6cad67c..17cee87e0 100644 --- a/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferRetrieveParams < Stripe::RequestParams + class InboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb b/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb index 4f5b208a5..7e1757d61 100644 --- a/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb b/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb index 6508a523e..72c3904c3 100644 --- a/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +++ b/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_payment_cancel_params.rb b/lib/stripe/params/treasury/outbound_payment_cancel_params.rb index cff6e600f..d4437b819 100644 --- a/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundPaymentCancelParams < Stripe::RequestParams + class OutboundPaymentCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_payment_create_params.rb b/lib/stripe/params/treasury/outbound_payment_create_params.rb index 2398ab677..5e91baf9c 100644 --- a/lib/stripe/params/treasury/outbound_payment_create_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_create_params.rb @@ -3,10 +3,10 @@ module Stripe module Treasury - class OutboundPaymentCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -53,7 +53,7 @@ def initialize(address: nil, email: nil, name: nil, phone: nil) end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. attr_accessor :account_holder_type # Account number of the bank account. @@ -105,8 +105,8 @@ def initialize( end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. attr_accessor :network @@ -122,7 +122,7 @@ def initialize(us_bank_account: nil) end end - class EndUserDetails < Stripe::RequestParams + class EndUserDetails < ::Stripe::RequestParams # IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`. attr_accessor :ip_address # `True` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`. diff --git a/lib/stripe/params/treasury/outbound_payment_fail_params.rb b/lib/stripe/params/treasury/outbound_payment_fail_params.rb index 6c63391cc..4ba1aa8c4 100644 --- a/lib/stripe/params/treasury/outbound_payment_fail_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_fail_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_payment_list_params.rb b/lib/stripe/params/treasury/outbound_payment_list_params.rb index eca95829f..b5ce7651a 100644 --- a/lib/stripe/params/treasury/outbound_payment_list_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class OutboundPaymentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/treasury/outbound_payment_post_params.rb b/lib/stripe/params/treasury/outbound_payment_post_params.rb index d4ec54ce1..4fc2308b1 100644 --- a/lib/stripe/params/treasury/outbound_payment_post_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_post_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb b/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb index 0f09f8c60..f40cb2dd8 100644 --- a/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundPaymentRetrieveParams < Stripe::RequestParams + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb b/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb index 16d5b4892..0cabab85e 100644 --- a/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. attr_accessor :code diff --git a/lib/stripe/params/treasury/outbound_payment_update_params.rb b/lib/stripe/params/treasury/outbound_payment_update_params.rb index b06837766..9bb8e6ae8 100644 --- a/lib/stripe/params/treasury/outbound_payment_update_params.rb +++ b/lib/stripe/params/treasury/outbound_payment_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. attr_accessor :trace_id @@ -14,7 +14,7 @@ def initialize(trace_id: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. attr_accessor :chips # IMAD for funds sent over the `us_domestic_wire` network. diff --git a/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb b/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb index cc5edb8f0..37f5ad196 100644 --- a/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundTransferCancelParams < Stripe::RequestParams + class OutboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_transfer_create_params.rb b/lib/stripe/params/treasury/outbound_transfer_create_params.rb index bf0b18797..a6861768f 100644 --- a/lib/stripe/params/treasury/outbound_transfer_create_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_create_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class OutboundTransferCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams # Required if type is set to `financial_account`. The FinancialAccount ID to send funds to. attr_accessor :financial_account # The type of the destination. @@ -16,8 +16,8 @@ def initialize(financial_account: nil, type: nil) end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. attr_accessor :network @@ -33,8 +33,8 @@ def initialize(us_bank_account: nil) end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this OutboundTransfer. attr_accessor :addenda diff --git a/lib/stripe/params/treasury/outbound_transfer_fail_params.rb b/lib/stripe/params/treasury/outbound_transfer_fail_params.rb index 1cc0c4b91..59d289708 100644 --- a/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_fail_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_transfer_list_params.rb b/lib/stripe/params/treasury/outbound_transfer_list_params.rb index 8b1d26af4..6597f183c 100644 --- a/lib/stripe/params/treasury/outbound_transfer_list_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/outbound_transfer_post_params.rb b/lib/stripe/params/treasury/outbound_transfer_post_params.rb index 478f7b65c..638645824 100644 --- a/lib/stripe/params/treasury/outbound_transfer_post_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_post_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb b/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb index 8d31c957a..59ea1b983 100644 --- a/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class OutboundTransferRetrieveParams < Stripe::RequestParams + class OutboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb b/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb index 5f9c58693..4c1ec490c 100644 --- a/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. attr_accessor :code diff --git a/lib/stripe/params/treasury/outbound_transfer_update_params.rb b/lib/stripe/params/treasury/outbound_transfer_update_params.rb index ce0595b88..14c106a47 100644 --- a/lib/stripe/params/treasury/outbound_transfer_update_params.rb +++ b/lib/stripe/params/treasury/outbound_transfer_update_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. attr_accessor :trace_id @@ -14,7 +14,7 @@ def initialize(trace_id: nil) end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. attr_accessor :chips # IMAD for funds sent over the `us_domestic_wire` network. diff --git a/lib/stripe/params/treasury/received_credit_create_params.rb b/lib/stripe/params/treasury/received_credit_create_params.rb index 00b08285f..15babfe68 100644 --- a/lib/stripe/params/treasury/received_credit_create_params.rb +++ b/lib/stripe/params/treasury/received_credit_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. attr_accessor :account_holder_name # The bank account number. @@ -30,8 +30,8 @@ def initialize(type: nil, us_bank_account: nil) end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record attr_accessor :addenda diff --git a/lib/stripe/params/treasury/received_credit_list_params.rb b/lib/stripe/params/treasury/received_credit_list_params.rb index 5a5d0452a..86f5a4966 100644 --- a/lib/stripe/params/treasury/received_credit_list_params.rb +++ b/lib/stripe/params/treasury/received_credit_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class ReceivedCreditListParams < Stripe::RequestParams - class LinkedFlows < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams + class LinkedFlows < ::Stripe::RequestParams # The source flow type. attr_accessor :source_flow_type diff --git a/lib/stripe/params/treasury/received_credit_retrieve_params.rb b/lib/stripe/params/treasury/received_credit_retrieve_params.rb index fcd7de97c..490a62790 100644 --- a/lib/stripe/params/treasury/received_credit_retrieve_params.rb +++ b/lib/stripe/params/treasury/received_credit_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class ReceivedCreditRetrieveParams < Stripe::RequestParams + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/received_debit_create_params.rb b/lib/stripe/params/treasury/received_debit_create_params.rb index 05a1b2bfb..4866cfb50 100644 --- a/lib/stripe/params/treasury/received_debit_create_params.rb +++ b/lib/stripe/params/treasury/received_debit_create_params.rb @@ -3,9 +3,9 @@ module Stripe module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. attr_accessor :account_holder_name # The bank account number. @@ -30,8 +30,8 @@ def initialize(type: nil, us_bank_account: nil) end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. attr_accessor :addenda diff --git a/lib/stripe/params/treasury/received_debit_list_params.rb b/lib/stripe/params/treasury/received_debit_list_params.rb index 3ed424dca..b2dda6ac6 100644 --- a/lib/stripe/params/treasury/received_debit_list_params.rb +++ b/lib/stripe/params/treasury/received_debit_list_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/treasury/received_debit_retrieve_params.rb b/lib/stripe/params/treasury/received_debit_retrieve_params.rb index 34207bab6..96094be0d 100644 --- a/lib/stripe/params/treasury/received_debit_retrieve_params.rb +++ b/lib/stripe/params/treasury/received_debit_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class ReceivedDebitRetrieveParams < Stripe::RequestParams + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/transaction_entry_list_params.rb b/lib/stripe/params/treasury/transaction_entry_list_params.rb index c0162c576..07881643b 100644 --- a/lib/stripe/params/treasury/transaction_entry_list_params.rb +++ b/lib/stripe/params/treasury/transaction_entry_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class TransactionEntryListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -22,7 +22,7 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class EffectiveAt < Stripe::RequestParams + class EffectiveAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb b/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb index 7959a25b8..2b014c437 100644 --- a/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +++ b/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class TransactionEntryRetrieveParams < Stripe::RequestParams + class TransactionEntryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/treasury/transaction_list_params.rb b/lib/stripe/params/treasury/transaction_list_params.rb index 060808816..396cc88aa 100644 --- a/lib/stripe/params/treasury/transaction_list_params.rb +++ b/lib/stripe/params/treasury/transaction_list_params.rb @@ -3,8 +3,8 @@ module Stripe module Treasury - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) @@ -22,8 +22,8 @@ def initialize(gt: nil, gte: nil, lt: nil, lte: nil) end end - class StatusTransitions < Stripe::RequestParams - class PostedAt < Stripe::RequestParams + class StatusTransitions < ::Stripe::RequestParams + class PostedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) attr_accessor :gt # Minimum value to filter by (inclusive) diff --git a/lib/stripe/params/treasury/transaction_retrieve_params.rb b/lib/stripe/params/treasury/transaction_retrieve_params.rb index 68a785653..b169e710b 100644 --- a/lib/stripe/params/treasury/transaction_retrieve_params.rb +++ b/lib/stripe/params/treasury/transaction_retrieve_params.rb @@ -3,7 +3,7 @@ module Stripe module Treasury - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/v2/billing/bill_setting_create_params.rb b/lib/stripe/params/v2/billing/bill_setting_create_params.rb index 75cecea0a..4445cea9e 100644 --- a/lib/stripe/params/v2/billing/bill_setting_create_params.rb +++ b/lib/stripe/params/v2/billing/bill_setting_create_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module Billing - class BillSettingCreateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingCreateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". attr_accessor :type @@ -22,8 +22,8 @@ def initialize(tax: nil) end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. attr_accessor :interval # The number of interval units. For example, if interval=day and interval_count=30, diff --git a/lib/stripe/params/v2/billing/bill_setting_list_params.rb b/lib/stripe/params/v2/billing/bill_setting_list_params.rb index 1f5ba9686..0afc66a61 100644 --- a/lib/stripe/params/v2/billing/bill_setting_list_params.rb +++ b/lib/stripe/params/v2/billing/bill_setting_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class BillSettingListParams < Stripe::RequestParams + class BillSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. attr_accessor :limit # Only return the settings with these lookup_keys, if any exist. diff --git a/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb b/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb index fe53fc982..b25eabafe 100644 --- a/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class BillSettingRetrieveParams < Stripe::RequestParams; end + class BillSettingRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/bill_setting_update_params.rb b/lib/stripe/params/v2/billing/bill_setting_update_params.rb index 4ebd1e395..49f65d62b 100644 --- a/lib/stripe/params/v2/billing/bill_setting_update_params.rb +++ b/lib/stripe/params/v2/billing/bill_setting_update_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module Billing - class BillSettingUpdateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingUpdateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". attr_accessor :type @@ -22,8 +22,8 @@ def initialize(tax: nil) end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. attr_accessor :interval # The number of interval units. For example, if interval=day and interval_count=30, diff --git a/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb b/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb index bcda97633..1c433d98d 100644 --- a/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +++ b/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. attr_accessor :limit diff --git a/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb b/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb index 0d93c5396..0d02f2e61 100644 --- a/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/cadence_cancel_params.rb b/lib/stripe/params/v2/billing/cadence_cancel_params.rb index 871fae69e..c678d4c02 100644 --- a/lib/stripe/params/v2/billing/cadence_cancel_params.rb +++ b/lib/stripe/params/v2/billing/cadence_cancel_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class CadenceCancelParams < Stripe::RequestParams; end + class CadenceCancelParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/cadence_create_params.rb b/lib/stripe/params/v2/billing/cadence_create_params.rb index 802287181..43616d3ca 100644 --- a/lib/stripe/params/v2/billing/cadence_create_params.rb +++ b/lib/stripe/params/v2/billing/cadence_create_params.rb @@ -4,10 +4,10 @@ module Stripe module V2 module Billing - class CadenceCreateParams < Stripe::RequestParams - class BillingCycle < Stripe::RequestParams - class Day < Stripe::RequestParams - class Time < Stripe::RequestParams + class CadenceCreateParams < ::Stripe::RequestParams + class BillingCycle < ::Stripe::RequestParams + class Day < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -35,8 +35,8 @@ def initialize(time: nil) end end - class Month < Stripe::RequestParams - class Time < Stripe::RequestParams + class Month < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -76,8 +76,8 @@ def initialize(day_of_month: nil, month_of_year: nil, time: nil) end end - class Week < Stripe::RequestParams - class Time < Stripe::RequestParams + class Week < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -111,8 +111,8 @@ def initialize(day_of_week: nil, time: nil) end end - class Year < Stripe::RequestParams - class Time < Stripe::RequestParams + class Year < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -174,7 +174,7 @@ def initialize(interval_count: nil, type: nil, day: nil, month: nil, week: nil, end end - class Payer < Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. attr_accessor :billing_profile @@ -183,8 +183,8 @@ def initialize(billing_profile: nil) end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. attr_accessor :id # An optional field to specify the version of the Settings to use. @@ -197,7 +197,7 @@ def initialize(id: nil, version: nil) end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. attr_accessor :id # An optional field to specify the version of the Settings to use. diff --git a/lib/stripe/params/v2/billing/cadence_list_params.rb b/lib/stripe/params/v2/billing/cadence_list_params.rb index c52cf43a0..cf192088d 100644 --- a/lib/stripe/params/v2/billing/cadence_list_params.rb +++ b/lib/stripe/params/v2/billing/cadence_list_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Billing - class CadenceListParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceListParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Customer object. If provided, only cadences that specifically reference the provided customer ID will be returned. attr_accessor :customer # A string identifying the type of the payer. Currently the only supported value is `customer`. diff --git a/lib/stripe/params/v2/billing/cadence_retrieve_params.rb b/lib/stripe/params/v2/billing/cadence_retrieve_params.rb index d72682010..a9418e71b 100644 --- a/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/cadence_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class CadenceRetrieveParams < Stripe::RequestParams + class CadenceRetrieveParams < ::Stripe::RequestParams # Additional resource to include in the response. attr_accessor :include diff --git a/lib/stripe/params/v2/billing/cadence_update_params.rb b/lib/stripe/params/v2/billing/cadence_update_params.rb index 563cae2c1..80b90b0a5 100644 --- a/lib/stripe/params/v2/billing/cadence_update_params.rb +++ b/lib/stripe/params/v2/billing/cadence_update_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Billing - class CadenceUpdateParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceUpdateParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. attr_accessor :billing_profile @@ -14,8 +14,8 @@ def initialize(billing_profile: nil) end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. attr_accessor :id # An optional field to specify the version of Settings to use. @@ -30,7 +30,7 @@ def initialize(id: nil, version: nil) end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. attr_accessor :id # An optional field to specify the version of Settings to use. diff --git a/lib/stripe/params/v2/billing/collection_setting_create_params.rb b/lib/stripe/params/v2/billing/collection_setting_create_params.rb index d9557a2cf..5c8912a63 100644 --- a/lib/stripe/params/v2/billing/collection_setting_create_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_create_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module Billing - class CollectionSettingCreateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingCreateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. attr_accessor :enabled # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. @@ -25,9 +25,9 @@ def initialize(payment_due: nil) end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -46,7 +46,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -55,8 +55,8 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # The AmountType for the mandate. One of `fixed` or `maximum`. @@ -87,9 +87,9 @@ def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. attr_accessor :country @@ -118,9 +118,9 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. attr_accessor :account_subcategories diff --git a/lib/stripe/params/v2/billing/collection_setting_list_params.rb b/lib/stripe/params/v2/billing/collection_setting_list_params.rb index 3f0d45bc3..1214ebc7b 100644 --- a/lib/stripe/params/v2/billing/collection_setting_list_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class CollectionSettingListParams < Stripe::RequestParams + class CollectionSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. attr_accessor :limit # Only return the settings with these lookup_keys, if any exist. diff --git a/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb b/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb index d8c6fb8c3..174760013 100644 --- a/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class CollectionSettingRetrieveParams < Stripe::RequestParams; end + class CollectionSettingRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/collection_setting_update_params.rb b/lib/stripe/params/v2/billing/collection_setting_update_params.rb index 9710eb1a5..a3fed60c2 100644 --- a/lib/stripe/params/v2/billing/collection_setting_update_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_update_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module Billing - class CollectionSettingUpdateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingUpdateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. attr_accessor :enabled # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. @@ -25,9 +25,9 @@ def initialize(payment_due: nil) end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. attr_accessor :transaction_type @@ -46,7 +46,7 @@ def initialize(mandate_options: nil, verification_method: nil) end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_accessor :preferred_language @@ -55,8 +55,8 @@ def initialize(preferred_language: nil) end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. attr_accessor :amount # The AmountType for the mandate. One of `fixed` or `maximum`. @@ -87,9 +87,9 @@ def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil) end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. attr_accessor :country @@ -118,9 +118,9 @@ def initialize(bank_transfer: nil, funding_type: nil) end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. attr_accessor :account_subcategories diff --git a/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb b/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb index 8633f7005..670513452 100644 --- a/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +++ b/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. attr_accessor :limit diff --git a/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb b/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb index 0a49b2532..7c3c080c0 100644 --- a/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb b/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb index 12f229c0c..8697343da 100644 --- a/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +++ b/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. attr_accessor :identifier diff --git a/lib/stripe/params/v2/billing/meter_event_create_params.rb b/lib/stripe/params/v2/billing/meter_event_create_params.rb index e54acaece..1d0329e02 100644 --- a/lib/stripe/params/v2/billing/meter_event_create_params.rb +++ b/lib/stripe/params/v2/billing/meter_event_create_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. attr_accessor :event_name # A unique identifier for the event. If not provided, one will be generated. diff --git a/lib/stripe/params/v2/billing/meter_event_session_create_params.rb b/lib/stripe/params/v2/billing/meter_event_session_create_params.rb index 3d029f62e..863ed89a5 100644 --- a/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +++ b/lib/stripe/params/v2/billing/meter_event_session_create_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class MeterEventSessionCreateParams < Stripe::RequestParams; end + class MeterEventSessionCreateParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb b/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb index b978b1c0a..e9618e47f 100644 --- a/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +++ b/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Billing - class MeterEventStreamCreateParams < Stripe::RequestParams - class Event < Stripe::RequestParams + class MeterEventStreamCreateParams < ::Stripe::RequestParams + class Event < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. attr_accessor :event_name # A unique identifier for the event. If not provided, one will be generated. diff --git a/lib/stripe/params/v2/billing/profile_create_params.rb b/lib/stripe/params/v2/billing/profile_create_params.rb index 94dbf327b..c669185bf 100644 --- a/lib/stripe/params/v2/billing/profile_create_params.rb +++ b/lib/stripe/params/v2/billing/profile_create_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class ProfileCreateParams < Stripe::RequestParams + class ProfileCreateParams < ::Stripe::RequestParams # The ID of the customer object. attr_accessor :customer # The ID of the payment method object. diff --git a/lib/stripe/params/v2/billing/profile_list_params.rb b/lib/stripe/params/v2/billing/profile_list_params.rb index ad4e93e2e..4033d71b7 100644 --- a/lib/stripe/params/v2/billing/profile_list_params.rb +++ b/lib/stripe/params/v2/billing/profile_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class ProfileListParams < Stripe::RequestParams + class ProfileListParams < ::Stripe::RequestParams # Filter billing profiles by a customer. Mutually exclusive # with `lookup_keys` and `default_payment_method`. attr_accessor :customer diff --git a/lib/stripe/params/v2/billing/profile_retrieve_params.rb b/lib/stripe/params/v2/billing/profile_retrieve_params.rb index 26e478dbd..8a449c1fe 100644 --- a/lib/stripe/params/v2/billing/profile_retrieve_params.rb +++ b/lib/stripe/params/v2/billing/profile_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class ProfileRetrieveParams < Stripe::RequestParams; end + class ProfileRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/billing/profile_update_params.rb b/lib/stripe/params/v2/billing/profile_update_params.rb index 05b92f0b5..d8615a8dc 100644 --- a/lib/stripe/params/v2/billing/profile_update_params.rb +++ b/lib/stripe/params/v2/billing/profile_update_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Billing - class ProfileUpdateParams < Stripe::RequestParams + class ProfileUpdateParams < ::Stripe::RequestParams # The ID of the payment method object. attr_accessor :default_payment_method # A customer-facing name for the billing profile. diff --git a/lib/stripe/params/v2/core/account_close_params.rb b/lib/stripe/params/v2/core/account_close_params.rb index 9cfb12a37..ef4c2cd08 100644 --- a/lib/stripe/params/v2/core/account_close_params.rb +++ b/lib/stripe/params/v2/core/account_close_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class AccountCloseParams < Stripe::RequestParams + class AccountCloseParams < ::Stripe::RequestParams # Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed. attr_accessor :applied_configurations diff --git a/lib/stripe/params/v2/core/account_create_params.rb b/lib/stripe/params/v2/core/account_create_params.rb index 933f745ef..88dba939b 100644 --- a/lib/stripe/params/v2/core/account_create_params.rb +++ b/lib/stripe/params/v2/core/account_create_params.rb @@ -4,10 +4,10 @@ module Stripe module V2 module Core - class AccountCreateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. attr_accessor :exempt # A recent IP address of the customer used for tax reporting and tax location inference. @@ -22,9 +22,9 @@ def initialize(exempt: nil, ip_address: nil, location_source: nil) end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. @@ -36,7 +36,7 @@ def initialize(name: nil, value: nil) end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for future invoices. @@ -80,8 +80,8 @@ def initialize(invoice: nil) end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -97,8 +97,8 @@ def initialize(automatic_indirect_tax: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -167,8 +167,8 @@ def initialize( end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. attr_accessor :display_name @@ -177,7 +177,7 @@ def initialize(display_name: nil) end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. attr_accessor :icon # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. @@ -195,8 +195,8 @@ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil) end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -205,7 +205,7 @@ def initialize(requested: nil) end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -214,7 +214,7 @@ def initialize(requested: nil) end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -223,7 +223,7 @@ def initialize(requested: nil) end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -232,7 +232,7 @@ def initialize(requested: nil) end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -241,7 +241,7 @@ def initialize(requested: nil) end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -250,7 +250,7 @@ def initialize(requested: nil) end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -259,7 +259,7 @@ def initialize(requested: nil) end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -268,7 +268,7 @@ def initialize(requested: nil) end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -277,7 +277,7 @@ def initialize(requested: nil) end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -286,7 +286,7 @@ def initialize(requested: nil) end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -295,7 +295,7 @@ def initialize(requested: nil) end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -304,7 +304,7 @@ def initialize(requested: nil) end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -313,7 +313,7 @@ def initialize(requested: nil) end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -322,7 +322,7 @@ def initialize(requested: nil) end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -331,7 +331,7 @@ def initialize(requested: nil) end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -340,7 +340,7 @@ def initialize(requested: nil) end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -349,7 +349,7 @@ def initialize(requested: nil) end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -358,7 +358,7 @@ def initialize(requested: nil) end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -367,7 +367,7 @@ def initialize(requested: nil) end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -376,7 +376,7 @@ def initialize(requested: nil) end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -385,7 +385,7 @@ def initialize(requested: nil) end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -394,7 +394,7 @@ def initialize(requested: nil) end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -403,7 +403,7 @@ def initialize(requested: nil) end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -412,7 +412,7 @@ def initialize(requested: nil) end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -421,7 +421,7 @@ def initialize(requested: nil) end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -430,7 +430,7 @@ def initialize(requested: nil) end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -439,7 +439,7 @@ def initialize(requested: nil) end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -448,7 +448,7 @@ def initialize(requested: nil) end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -457,7 +457,7 @@ def initialize(requested: nil) end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -466,7 +466,7 @@ def initialize(requested: nil) end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -475,7 +475,7 @@ def initialize(requested: nil) end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -484,7 +484,7 @@ def initialize(requested: nil) end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -493,7 +493,7 @@ def initialize(requested: nil) end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -502,7 +502,7 @@ def initialize(requested: nil) end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -511,7 +511,7 @@ def initialize(requested: nil) end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -520,7 +520,7 @@ def initialize(requested: nil) end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -529,7 +529,7 @@ def initialize(requested: nil) end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -538,7 +538,7 @@ def initialize(requested: nil) end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -547,7 +547,7 @@ def initialize(requested: nil) end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -556,7 +556,7 @@ def initialize(requested: nil) end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -565,7 +565,7 @@ def initialize(requested: nil) end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -574,7 +574,7 @@ def initialize(requested: nil) end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -583,7 +583,7 @@ def initialize(requested: nil) end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -773,8 +773,8 @@ def initialize( end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_accessor :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -793,7 +793,7 @@ def initialize(decline_on: nil) end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. attr_accessor :descriptor # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. @@ -805,8 +805,8 @@ def initialize(descriptor: nil, prefix: nil) end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -890,10 +890,10 @@ def initialize( end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -902,7 +902,7 @@ def initialize(requested: nil) end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -921,7 +921,7 @@ def initialize(local: nil, wire: nil) end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -930,8 +930,8 @@ def initialize(requested: nil) end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -967,10 +967,10 @@ def initialize(capabilities: nil) end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -986,8 +986,8 @@ def initialize(bank_accounts: nil) end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1003,8 +1003,8 @@ def initialize(gbp: nil) end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1020,8 +1020,8 @@ def initialize(bank_accounts: nil) end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1030,7 +1030,7 @@ def initialize(requested: nil) end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1039,7 +1039,7 @@ def initialize(requested: nil) end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1061,8 +1061,8 @@ def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil) end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1071,7 +1071,7 @@ def initialize(requested: nil) end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1138,8 +1138,8 @@ def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil) end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. attr_accessor :business_url # The name which is used by the business. @@ -1154,7 +1154,7 @@ def initialize(business_url: nil, doing_business_as: nil, product_description: n end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. attr_accessor :fees_collector # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments. @@ -1182,9 +1182,9 @@ def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil) end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the director attestation was made. @@ -1199,7 +1199,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the beneficial owner attestation was made. @@ -1214,7 +1214,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). attr_accessor :directors # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). @@ -1237,8 +1237,8 @@ def initialize( end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -1253,7 +1253,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -1299,8 +1299,8 @@ def initialize( end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1335,7 +1335,7 @@ def initialize( end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. attr_accessor :amount # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -1347,8 +1347,8 @@ def initialize(amount: nil, fiscal_year_end: nil) end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1360,7 +1360,7 @@ def initialize(files: nil, type: nil) end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1372,7 +1372,7 @@ def initialize(files: nil, type: nil) end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1384,7 +1384,7 @@ def initialize(files: nil, type: nil) end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1396,7 +1396,7 @@ def initialize(files: nil, type: nil) end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1408,7 +1408,7 @@ def initialize(files: nil, type: nil) end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1420,8 +1420,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1443,7 +1443,7 @@ def initialize(front_back: nil, type: nil) end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1455,7 +1455,7 @@ def initialize(files: nil, type: nil) end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1467,7 +1467,7 @@ def initialize(files: nil, type: nil) end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1524,7 +1524,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). attr_accessor :registrar # Open Enum. The ID number type of a business entity. @@ -1539,7 +1539,7 @@ def initialize(registrar: nil, type: nil, value: nil) end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. attr_accessor :amount @@ -1548,8 +1548,8 @@ def initialize(amount: nil) end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1584,7 +1584,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1629,8 +1629,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. attr_accessor :registered_name @@ -1639,7 +1639,7 @@ def initialize(registered_name: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. attr_accessor :registered_name @@ -1707,8 +1707,8 @@ def initialize( end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1747,7 +1747,7 @@ def initialize( end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. attr_accessor :full_name # The person's first or given name. @@ -1765,7 +1765,7 @@ def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1800,7 +1800,7 @@ def initialize( end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. attr_accessor :day # The month of birth. @@ -1815,8 +1815,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1828,7 +1828,7 @@ def initialize(files: nil, type: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1840,8 +1840,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1863,8 +1863,8 @@ def initialize(front_back: nil, type: nil) end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1886,7 +1886,7 @@ def initialize(front_back: nil, type: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1923,7 +1923,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. attr_accessor :type # The value of the ID number. @@ -1935,7 +1935,7 @@ def initialize(type: nil, value: nil) end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. attr_accessor :director # Whether the person has significant responsibility to control, manage, or direct the organization. @@ -1962,8 +1962,8 @@ def initialize( end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1998,7 +1998,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2043,8 +2043,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. @@ -2056,7 +2056,7 @@ def initialize(given_name: nil, surname: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. diff --git a/lib/stripe/params/v2/core/account_link_create_params.rb b/lib/stripe/params/v2/core/account_link_create_params.rb index 14dfb87a5..bc3d6256e 100644 --- a/lib/stripe/params/v2/core/account_link_create_params.rb +++ b/lib/stripe/params/v2/core/account_link_create_params.rb @@ -4,10 +4,10 @@ module Stripe module V2 module Core - class AccountLinkCreateParams < Stripe::RequestParams - class UseCase < Stripe::RequestParams - class AccountOnboarding < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class UseCase < ::Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. attr_accessor :fields # Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. @@ -40,8 +40,8 @@ def initialize( end end - class AccountUpdate < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountUpdate < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. attr_accessor :fields # Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. diff --git a/lib/stripe/params/v2/core/account_list_params.rb b/lib/stripe/params/v2/core/account_list_params.rb index 44aa6017d..035a8a318 100644 --- a/lib/stripe/params/v2/core/account_list_params.rb +++ b/lib/stripe/params/v2/core/account_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class AccountListParams < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. attr_accessor :applied_configurations # The upper limit on the number of accounts returned by the List Account request. diff --git a/lib/stripe/params/v2/core/account_retrieve_params.rb b/lib/stripe/params/v2/core/account_retrieve_params.rb index 8d85fbf9a..028c850a3 100644 --- a/lib/stripe/params/v2/core/account_retrieve_params.rb +++ b/lib/stripe/params/v2/core/account_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. attr_accessor :include diff --git a/lib/stripe/params/v2/core/account_update_params.rb b/lib/stripe/params/v2/core/account_update_params.rb index 5d3ffa0f5..88450b08a 100644 --- a/lib/stripe/params/v2/core/account_update_params.rb +++ b/lib/stripe/params/v2/core/account_update_params.rb @@ -4,10 +4,10 @@ module Stripe module V2 module Core - class AccountUpdateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. attr_accessor :exempt # A recent IP address of the customer used for tax reporting and tax location inference. @@ -30,9 +30,9 @@ def initialize( end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. attr_accessor :name # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. @@ -44,7 +44,7 @@ def initialize(name: nil, value: nil) end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_accessor :amount_tax_display # ID of the invoice rendering template to use for future invoices. @@ -91,8 +91,8 @@ def initialize(default_payment_method: nil, invoice: nil) end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -108,8 +108,8 @@ def initialize(automatic_indirect_tax: nil) end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -182,8 +182,8 @@ def initialize( end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. attr_accessor :display_name @@ -192,7 +192,7 @@ def initialize(display_name: nil) end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. attr_accessor :icon # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. @@ -210,8 +210,8 @@ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil) end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -220,7 +220,7 @@ def initialize(requested: nil) end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -229,7 +229,7 @@ def initialize(requested: nil) end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -238,7 +238,7 @@ def initialize(requested: nil) end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -247,7 +247,7 @@ def initialize(requested: nil) end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -256,7 +256,7 @@ def initialize(requested: nil) end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -265,7 +265,7 @@ def initialize(requested: nil) end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -274,7 +274,7 @@ def initialize(requested: nil) end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -283,7 +283,7 @@ def initialize(requested: nil) end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -292,7 +292,7 @@ def initialize(requested: nil) end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -301,7 +301,7 @@ def initialize(requested: nil) end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -310,7 +310,7 @@ def initialize(requested: nil) end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -319,7 +319,7 @@ def initialize(requested: nil) end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -328,7 +328,7 @@ def initialize(requested: nil) end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -337,7 +337,7 @@ def initialize(requested: nil) end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -346,7 +346,7 @@ def initialize(requested: nil) end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -355,7 +355,7 @@ def initialize(requested: nil) end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -364,7 +364,7 @@ def initialize(requested: nil) end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -373,7 +373,7 @@ def initialize(requested: nil) end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -382,7 +382,7 @@ def initialize(requested: nil) end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -391,7 +391,7 @@ def initialize(requested: nil) end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -400,7 +400,7 @@ def initialize(requested: nil) end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -409,7 +409,7 @@ def initialize(requested: nil) end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -418,7 +418,7 @@ def initialize(requested: nil) end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -427,7 +427,7 @@ def initialize(requested: nil) end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -436,7 +436,7 @@ def initialize(requested: nil) end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -445,7 +445,7 @@ def initialize(requested: nil) end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -454,7 +454,7 @@ def initialize(requested: nil) end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -463,7 +463,7 @@ def initialize(requested: nil) end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -472,7 +472,7 @@ def initialize(requested: nil) end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -481,7 +481,7 @@ def initialize(requested: nil) end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -490,7 +490,7 @@ def initialize(requested: nil) end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -499,7 +499,7 @@ def initialize(requested: nil) end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -508,7 +508,7 @@ def initialize(requested: nil) end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -517,7 +517,7 @@ def initialize(requested: nil) end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -526,7 +526,7 @@ def initialize(requested: nil) end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -535,7 +535,7 @@ def initialize(requested: nil) end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -544,7 +544,7 @@ def initialize(requested: nil) end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -553,7 +553,7 @@ def initialize(requested: nil) end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -562,7 +562,7 @@ def initialize(requested: nil) end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -571,7 +571,7 @@ def initialize(requested: nil) end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -580,7 +580,7 @@ def initialize(requested: nil) end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -589,7 +589,7 @@ def initialize(requested: nil) end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -598,7 +598,7 @@ def initialize(requested: nil) end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -788,8 +788,8 @@ def initialize( end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_accessor :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -808,7 +808,7 @@ def initialize(decline_on: nil) end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. attr_accessor :descriptor # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. @@ -820,8 +820,8 @@ def initialize(descriptor: nil, prefix: nil) end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -909,10 +909,10 @@ def initialize( end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -921,7 +921,7 @@ def initialize(requested: nil) end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -940,7 +940,7 @@ def initialize(local: nil, wire: nil) end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -949,8 +949,8 @@ def initialize(requested: nil) end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -992,10 +992,10 @@ def initialize(applied: nil, capabilities: nil, default_outbound_destination: ni end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1011,8 +1011,8 @@ def initialize(bank_accounts: nil) end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1028,8 +1028,8 @@ def initialize(gbp: nil) end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1045,8 +1045,8 @@ def initialize(bank_accounts: nil) end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1055,7 +1055,7 @@ def initialize(requested: nil) end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1064,7 +1064,7 @@ def initialize(requested: nil) end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1086,8 +1086,8 @@ def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil) end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1096,7 +1096,7 @@ def initialize(requested: nil) end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. attr_accessor :requested @@ -1166,8 +1166,8 @@ def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil) end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. attr_accessor :business_url # The name which is used by the business. @@ -1182,7 +1182,7 @@ def initialize(business_url: nil, doing_business_as: nil, product_description: n end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. attr_accessor :fees_collector # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments. @@ -1210,9 +1210,9 @@ def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil) end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the director attestation was made. @@ -1227,7 +1227,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the beneficial owner attestation was made. @@ -1242,7 +1242,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). attr_accessor :directors # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). @@ -1265,8 +1265,8 @@ def initialize( end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -1281,7 +1281,7 @@ def initialize(date: nil, ip: nil, user_agent: nil) end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -1327,8 +1327,8 @@ def initialize( end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1363,7 +1363,7 @@ def initialize( end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. attr_accessor :amount # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -1375,8 +1375,8 @@ def initialize(amount: nil, fiscal_year_end: nil) end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1388,7 +1388,7 @@ def initialize(files: nil, type: nil) end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1400,7 +1400,7 @@ def initialize(files: nil, type: nil) end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1412,7 +1412,7 @@ def initialize(files: nil, type: nil) end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1424,7 +1424,7 @@ def initialize(files: nil, type: nil) end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1436,7 +1436,7 @@ def initialize(files: nil, type: nil) end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1448,8 +1448,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1471,7 +1471,7 @@ def initialize(front_back: nil, type: nil) end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1483,7 +1483,7 @@ def initialize(files: nil, type: nil) end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1495,7 +1495,7 @@ def initialize(files: nil, type: nil) end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1552,7 +1552,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). attr_accessor :registrar # Open Enum. The ID number type of a business entity. @@ -1567,7 +1567,7 @@ def initialize(registrar: nil, type: nil, value: nil) end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. attr_accessor :amount @@ -1576,8 +1576,8 @@ def initialize(amount: nil) end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1612,7 +1612,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1657,8 +1657,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. attr_accessor :registered_name @@ -1667,7 +1667,7 @@ def initialize(registered_name: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. attr_accessor :registered_name @@ -1735,8 +1735,8 @@ def initialize( end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1775,7 +1775,7 @@ def initialize( end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. attr_accessor :full_name # The person's first or given name. @@ -1793,7 +1793,7 @@ def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1828,7 +1828,7 @@ def initialize( end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. attr_accessor :day # The month of birth. @@ -1843,8 +1843,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1856,7 +1856,7 @@ def initialize(files: nil, type: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1868,8 +1868,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1891,8 +1891,8 @@ def initialize(front_back: nil, type: nil) end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -1914,7 +1914,7 @@ def initialize(front_back: nil, type: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -1951,7 +1951,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. attr_accessor :type # The value of the ID number. @@ -1963,7 +1963,7 @@ def initialize(type: nil, value: nil) end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. attr_accessor :director # Whether the person has significant responsibility to control, manage, or direct the organization. @@ -1990,8 +1990,8 @@ def initialize( end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2026,7 +2026,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2071,8 +2071,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. @@ -2084,7 +2084,7 @@ def initialize(given_name: nil, surname: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. diff --git a/lib/stripe/params/v2/core/accounts/person_create_params.rb b/lib/stripe/params/v2/core/accounts/person_create_params.rb index 5b8663798..975ce698b 100644 --- a/lib/stripe/params/v2/core/accounts/person_create_params.rb +++ b/lib/stripe/params/v2/core/accounts/person_create_params.rb @@ -5,8 +5,8 @@ module Stripe module V2 module Core module Accounts - class PersonCreateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonCreateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -45,7 +45,7 @@ def initialize( end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. attr_accessor :full_name # The person's first or given name. @@ -63,8 +63,8 @@ def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil) end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -86,7 +86,7 @@ def initialize(account: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -121,7 +121,7 @@ def initialize( end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. attr_accessor :day # The month of birth. @@ -136,8 +136,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -149,7 +149,7 @@ def initialize(files: nil, type: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -161,8 +161,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -184,8 +184,8 @@ def initialize(front_back: nil, type: nil) end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -207,7 +207,7 @@ def initialize(front_back: nil, type: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -244,7 +244,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. attr_accessor :type # The value of the ID number. @@ -256,7 +256,7 @@ def initialize(type: nil, value: nil) end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. attr_accessor :authorizer # Indicates whether the person is a director of the associated legal entity. @@ -295,8 +295,8 @@ def initialize( end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -331,7 +331,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -376,8 +376,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. @@ -389,7 +389,7 @@ def initialize(given_name: nil, surname: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. diff --git a/lib/stripe/params/v2/core/accounts/person_delete_params.rb b/lib/stripe/params/v2/core/accounts/person_delete_params.rb index bfd68f81e..c4479c9da 100644 --- a/lib/stripe/params/v2/core/accounts/person_delete_params.rb +++ b/lib/stripe/params/v2/core/accounts/person_delete_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Accounts - class PersonDeleteParams < Stripe::RequestParams; end + class PersonDeleteParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/accounts/person_list_params.rb b/lib/stripe/params/v2/core/accounts/person_list_params.rb index 2513d9dc6..023d352cc 100644 --- a/lib/stripe/params/v2/core/accounts/person_list_params.rb +++ b/lib/stripe/params/v2/core/accounts/person_list_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Accounts - class PersonListParams < Stripe::RequestParams + class PersonListParams < ::Stripe::RequestParams # The upper limit on the number of accounts returned by the List Account request. attr_accessor :limit diff --git a/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb b/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb index 90cdccd1e..08f3fb5db 100644 --- a/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +++ b/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Accounts - class PersonRetrieveParams < Stripe::RequestParams; end + class PersonRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/accounts/person_update_params.rb b/lib/stripe/params/v2/core/accounts/person_update_params.rb index 26e6b36a6..ecb3fa4c4 100644 --- a/lib/stripe/params/v2/core/accounts/person_update_params.rb +++ b/lib/stripe/params/v2/core/accounts/person_update_params.rb @@ -5,8 +5,8 @@ module Stripe module V2 module Core module Accounts - class PersonUpdateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonUpdateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -45,7 +45,7 @@ def initialize( end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. attr_accessor :full_name # The person's first or given name. @@ -63,8 +63,8 @@ def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil) end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_accessor :date # The IP address from which the Account's representative accepted the terms of service. @@ -86,7 +86,7 @@ def initialize(account: nil) end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -121,7 +121,7 @@ def initialize( end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. attr_accessor :day # The month of birth. @@ -136,8 +136,8 @@ def initialize(day: nil, month: nil, year: nil) end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -149,7 +149,7 @@ def initialize(files: nil, type: nil) end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -161,8 +161,8 @@ def initialize(files: nil, type: nil) end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -184,8 +184,8 @@ def initialize(front_back: nil, type: nil) end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_accessor :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -207,7 +207,7 @@ def initialize(front_back: nil, type: nil) end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_accessor :files # The format of the document. Currently supports `files` only. @@ -244,7 +244,7 @@ def initialize( end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. attr_accessor :type # The value of the ID number. @@ -256,7 +256,7 @@ def initialize(type: nil, value: nil) end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. attr_accessor :authorizer # Indicates whether the person is a director of the associated legal entity. @@ -295,8 +295,8 @@ def initialize( end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -331,7 +331,7 @@ def initialize( end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. attr_accessor :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -376,8 +376,8 @@ def initialize(kana: nil, kanji: nil) end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. @@ -389,7 +389,7 @@ def initialize(given_name: nil, surname: nil) end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. attr_accessor :given_name # The person's last or family name. diff --git a/lib/stripe/params/v2/core/event_destination_create_params.rb b/lib/stripe/params/v2/core/event_destination_create_params.rb index ddabe9735..a5ed754fa 100644 --- a/lib/stripe/params/v2/core/event_destination_create_params.rb +++ b/lib/stripe/params/v2/core/event_destination_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Core - class EventDestinationCreateParams < Stripe::RequestParams - class AmazonEventbridge < Stripe::RequestParams + class EventDestinationCreateParams < ::Stripe::RequestParams + class AmazonEventbridge < ::Stripe::RequestParams # The AWS account ID. attr_accessor :aws_account_id # The region of the AWS event source. @@ -17,7 +17,7 @@ def initialize(aws_account_id: nil, aws_region: nil) end end - class WebhookEndpoint < Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. attr_accessor :url diff --git a/lib/stripe/params/v2/core/event_destination_delete_params.rb b/lib/stripe/params/v2/core/event_destination_delete_params.rb index 31d1cca73..4328fec29 100644 --- a/lib/stripe/params/v2/core/event_destination_delete_params.rb +++ b/lib/stripe/params/v2/core/event_destination_delete_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationDeleteParams < Stripe::RequestParams; end + class EventDestinationDeleteParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/event_destination_disable_params.rb b/lib/stripe/params/v2/core/event_destination_disable_params.rb index 4c280a2d1..1ccac5100 100644 --- a/lib/stripe/params/v2/core/event_destination_disable_params.rb +++ b/lib/stripe/params/v2/core/event_destination_disable_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationDisableParams < Stripe::RequestParams; end + class EventDestinationDisableParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/event_destination_enable_params.rb b/lib/stripe/params/v2/core/event_destination_enable_params.rb index 1e1d1e64e..9ee414291 100644 --- a/lib/stripe/params/v2/core/event_destination_enable_params.rb +++ b/lib/stripe/params/v2/core/event_destination_enable_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationEnableParams < Stripe::RequestParams; end + class EventDestinationEnableParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/event_destination_list_params.rb b/lib/stripe/params/v2/core/event_destination_list_params.rb index 97af37781..3cea59d93 100644 --- a/lib/stripe/params/v2/core/event_destination_list_params.rb +++ b/lib/stripe/params/v2/core/event_destination_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationListParams < Stripe::RequestParams + class EventDestinationListParams < ::Stripe::RequestParams # Additional fields to include in the response. Currently supports `webhook_endpoint.url`. attr_accessor :include # The page size. diff --git a/lib/stripe/params/v2/core/event_destination_ping_params.rb b/lib/stripe/params/v2/core/event_destination_ping_params.rb index 8b185127a..13fa8825c 100644 --- a/lib/stripe/params/v2/core/event_destination_ping_params.rb +++ b/lib/stripe/params/v2/core/event_destination_ping_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationPingParams < Stripe::RequestParams; end + class EventDestinationPingParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/event_destination_retrieve_params.rb b/lib/stripe/params/v2/core/event_destination_retrieve_params.rb index be41e1a96..8e4e98cdb 100644 --- a/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +++ b/lib/stripe/params/v2/core/event_destination_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventDestinationRetrieveParams < Stripe::RequestParams + class EventDestinationRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. attr_accessor :include diff --git a/lib/stripe/params/v2/core/event_destination_update_params.rb b/lib/stripe/params/v2/core/event_destination_update_params.rb index d327db3d3..6dabd9623 100644 --- a/lib/stripe/params/v2/core/event_destination_update_params.rb +++ b/lib/stripe/params/v2/core/event_destination_update_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Core - class EventDestinationUpdateParams < Stripe::RequestParams - class WebhookEndpoint < Stripe::RequestParams + class EventDestinationUpdateParams < ::Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. attr_accessor :url diff --git a/lib/stripe/params/v2/core/event_list_params.rb b/lib/stripe/params/v2/core/event_list_params.rb index 9931279c9..3181b3e44 100644 --- a/lib/stripe/params/v2/core/event_list_params.rb +++ b/lib/stripe/params/v2/core/event_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventListParams < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams # The page size. attr_accessor :limit # Primary object ID used to retrieve related events. diff --git a/lib/stripe/params/v2/core/event_retrieve_params.rb b/lib/stripe/params/v2/core/event_retrieve_params.rb index 982339f08..9448285f2 100644 --- a/lib/stripe/params/v2/core/event_retrieve_params.rb +++ b/lib/stripe/params/v2/core/event_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Core - class EventRetrieveParams < Stripe::RequestParams; end + class EventRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb index 29c2dc85c..ed933d7bd 100644 --- a/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountAcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end + class GbBankAccountAcknowledgeConfirmationOfPayeeParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb index ffad526e7..0a045db07 100644 --- a/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountArchiveParams < Stripe::RequestParams; end + class GbBankAccountArchiveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb index 2cea611f6..dea5a29c1 100644 --- a/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb @@ -5,8 +5,8 @@ module Stripe module V2 module Core module Vault - class GbBankAccountCreateParams < Stripe::RequestParams - class ConfirmationOfPayee < Stripe::RequestParams + class GbBankAccountCreateParams < ::Stripe::RequestParams + class ConfirmationOfPayee < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. # Closed enum. attr_accessor :business_type diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb index f4c66530c..11bd6cbb6 100644 --- a/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountInitiateConfirmationOfPayeeParams < Stripe::RequestParams + class GbBankAccountInitiateConfirmationOfPayeeParams < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. attr_accessor :business_type # The name of the user to be checked against. Legal entity information will be used if unspecified. diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb index fde01b38e..5c8caae96 100644 --- a/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountRetrieveParams < Stripe::RequestParams; end + class GbBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb index 0a583771d..34d2562a8 100644 --- a/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +++ b/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountArchiveParams < Stripe::RequestParams; end + class UsBankAccountArchiveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb index 233b596f8..ad06dc2ed 100644 --- a/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +++ b/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountCreateParams < Stripe::RequestParams + class UsBankAccountCreateParams < ::Stripe::RequestParams # The account number of the bank account. attr_accessor :account_number # Closed Enum. The type of the bank account (checking or savings). diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb index 679b38781..ce6df8568 100644 --- a/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +++ b/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountRetrieveParams < Stripe::RequestParams; end + class UsBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb index ce5eeaf54..fc93ac381 100644 --- a/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +++ b/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb @@ -5,7 +5,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountUpdateParams < Stripe::RequestParams + class UsBankAccountUpdateParams < ::Stripe::RequestParams # The bank account's fedwire routing number can be provided for update it was were empty previously. attr_accessor :fedwire_routing_number # The bank account's ACH routing number can be provided for update if it was empty previously. diff --git a/lib/stripe/params/v2/money_management/adjustment_list_params.rb b/lib/stripe/params/v2/money_management/adjustment_list_params.rb index 49aeda4e0..95063f363 100644 --- a/lib/stripe/params/v2/money_management/adjustment_list_params.rb +++ b/lib/stripe/params/v2/money_management/adjustment_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class AdjustmentListParams < Stripe::RequestParams + class AdjustmentListParams < ::Stripe::RequestParams # Filter for Adjustments linked to a Flow. attr_accessor :adjusted_flow # Filter for objects created at the specified timestamp. diff --git a/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb b/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb index 4b9e310e6..28e9eeeb8 100644 --- a/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class AdjustmentRetrieveParams < Stripe::RequestParams; end + class AdjustmentRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/financial_account_close_params.rb b/lib/stripe/params/v2/money_management/financial_account_close_params.rb index b19cba075..38fd40324 100644 --- a/lib/stripe/params/v2/money_management/financial_account_close_params.rb +++ b/lib/stripe/params/v2/money_management/financial_account_close_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The address to send forwarded payments to. attr_accessor :payment_method # The address to send forwarded payouts to. diff --git a/lib/stripe/params/v2/money_management/financial_account_create_params.rb b/lib/stripe/params/v2/money_management/financial_account_create_params.rb index e7be3d28e..e276d3075 100644 --- a/lib/stripe/params/v2/money_management/financial_account_create_params.rb +++ b/lib/stripe/params/v2/money_management/financial_account_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountCreateParams < Stripe::RequestParams - class Storage < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Storage < ::Stripe::RequestParams # The currencies that this FinancialAccount can hold. attr_accessor :holds_currencies diff --git a/lib/stripe/params/v2/money_management/financial_account_list_params.rb b/lib/stripe/params/v2/money_management/financial_account_list_params.rb index 2d40cbfc4..dd3b40ee7 100644 --- a/lib/stripe/params/v2/money_management/financial_account_list_params.rb +++ b/lib/stripe/params/v2/money_management/financial_account_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountListParams < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams # The page limit. attr_accessor :limit # The status of the FinancialAccount to filter by. By default, closed FinancialAccounts are not returned. diff --git a/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb b/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb index 65d298117..882b0e95b 100644 --- a/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountRetrieveParams < Stripe::RequestParams; end + class FinancialAccountRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/financial_address_create_params.rb b/lib/stripe/params/v2/money_management/financial_address_create_params.rb index 0140ce932..9a507ff53 100644 --- a/lib/stripe/params/v2/money_management/financial_address_create_params.rb +++ b/lib/stripe/params/v2/money_management/financial_address_create_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressCreateParams < Stripe::RequestParams + class FinancialAddressCreateParams < ::Stripe::RequestParams # The ID of the FinancialAccount the new FinancialAddress should be associated with. attr_accessor :financial_account # The type of FinancialAddress details to provision. diff --git a/lib/stripe/params/v2/money_management/financial_address_list_params.rb b/lib/stripe/params/v2/money_management/financial_address_list_params.rb index 0887c4686..95e667717 100644 --- a/lib/stripe/params/v2/money_management/financial_address_list_params.rb +++ b/lib/stripe/params/v2/money_management/financial_address_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressListParams < Stripe::RequestParams + class FinancialAddressListParams < ::Stripe::RequestParams # The ID of the FinancialAccount for which FinancialAddresses are to be returned. attr_accessor :financial_account # Open Enum. A list of fields to reveal in the FinancialAddresses returned. diff --git a/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb b/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb index a15bb692c..7cde198ba 100644 --- a/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressRetrieveParams < Stripe::RequestParams + class FinancialAddressRetrieveParams < ::Stripe::RequestParams # Open Enum. A list of fields to reveal in the FinancialAddresses returned. attr_accessor :include diff --git a/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb b/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb index f2f801583..e3cf77f5b 100644 --- a/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +++ b/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class InboundTransferCreateParams < Stripe::RequestParams - class From < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams + class From < ::Stripe::RequestParams # An optional currency field used to specify which currency is debited from the Payment Method. # Since many Payment Methods support only one currency, this field is optional. attr_accessor :currency @@ -18,7 +18,7 @@ def initialize(currency: nil, payment_method: nil) end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # The currency in which funds will land in. attr_accessor :currency # The FinancialAccount that funds will land in. diff --git a/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb b/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb index ac25c836b..e0f0a05f7 100644 --- a/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +++ b/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. attr_accessor :created diff --git a/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb b/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb index 71dd5a9ed..68e18c6c9 100644 --- a/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class InboundTransferRetrieveParams < Stripe::RequestParams; end + class InboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb index 1ab70ba65..cb9afad80 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentCancelParams < Stripe::RequestParams; end + class OutboundPaymentCancelParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb index 6ce14f832..d921a3d33 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. attr_accessor :bank_account @@ -14,7 +14,7 @@ def initialize(bank_account: nil) end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. attr_accessor :currency # The FinancialAccount that funds were pulled from. @@ -26,7 +26,7 @@ def initialize(currency: nil, financial_account: nil) end end - class RecipientNotification < Stripe::RequestParams + class RecipientNotification < ::Stripe::RequestParams # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. attr_accessor :setting @@ -36,7 +36,7 @@ def initialize(setting: nil) end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: diff --git a/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb index 9d9a7f8df..bb87a9c42 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentListParams < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. attr_accessor :created diff --git a/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb index 04bb9f677..964d8fccb 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentQuoteCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. attr_accessor :bank_account @@ -14,7 +14,7 @@ def initialize(bank_account: nil) end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAccount's currency drawn from. attr_accessor :currency # The FinancialAccount that funds were pulled from. @@ -26,7 +26,7 @@ def initialize(currency: nil, financial_account: nil) end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: diff --git a/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb index 15608d7d4..6dabf709f 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentQuoteRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb b/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb index 30acedfbd..986716ec3 100644 --- a/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb b/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb index 87a452ebf..964ac597a 100644 --- a/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCancelParams < Stripe::RequestParams; end + class OutboundSetupIntentCancelParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb b/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb index 497d54e4f..98a3c04b1 100644 --- a/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCreateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentCreateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. attr_accessor :account_number # Closed Enum. The type of the bank account (checking or savings). @@ -37,7 +37,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. attr_accessor :exp_month # The expiration year of the card. diff --git a/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb b/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb index 01e315c82..a3bc184e8 100644 --- a/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentListParams < Stripe::RequestParams + class OutboundSetupIntentListParams < ::Stripe::RequestParams # The page size. attr_accessor :limit diff --git a/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb b/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb index 6ef073e68..1e9b48148 100644 --- a/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentRetrieveParams < Stripe::RequestParams; end + class OutboundSetupIntentRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb b/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb index b1c6a851c..9421356bb 100644 --- a/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb @@ -4,9 +4,9 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentUpdateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentUpdateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. attr_accessor :account_number # Closed Enum. The type of the bank account (checking or savings). @@ -37,7 +37,7 @@ def initialize( end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. attr_accessor :exp_month # The expiration year of the card. diff --git a/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb b/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb index c850576f0..1914caddd 100644 --- a/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferCancelParams < Stripe::RequestParams; end + class OutboundTransferCancelParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb b/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb index 469cbd4dd..c353afd4b 100644 --- a/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. attr_accessor :bank_account @@ -14,7 +14,7 @@ def initialize(bank_account: nil) end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. attr_accessor :currency # The FinancialAccount that funds were pulled from. @@ -26,7 +26,7 @@ def initialize(currency: nil, financial_account: nil) end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: diff --git a/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb b/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb index b24554222..11ed70254 100644 --- a/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. attr_accessor :created diff --git a/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb b/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb index de54d2857..50c850d3c 100644 --- a/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferRetrieveParams < Stripe::RequestParams; end + class OutboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/payout_method_archive_params.rb b/lib/stripe/params/v2/money_management/payout_method_archive_params.rb index d7f9da690..fdb1dfdb0 100644 --- a/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +++ b/lib/stripe/params/v2/money_management/payout_method_archive_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodArchiveParams < Stripe::RequestParams; end + class PayoutMethodArchiveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/payout_method_list_params.rb b/lib/stripe/params/v2/money_management/payout_method_list_params.rb index 7ab93f385..140681ccb 100644 --- a/lib/stripe/params/v2/money_management/payout_method_list_params.rb +++ b/lib/stripe/params/v2/money_management/payout_method_list_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodListParams < Stripe::RequestParams - class UsageStatus < Stripe::RequestParams + class PayoutMethodListParams < ::Stripe::RequestParams + class UsageStatus < ::Stripe::RequestParams # List of payments status to filter by. attr_accessor :payments # List of transfers status to filter by. diff --git a/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb b/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb index c651163e4..e270442a0 100644 --- a/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodRetrieveParams < Stripe::RequestParams; end + class PayoutMethodRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb b/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb index dc6772da0..1c6b35245 100644 --- a/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +++ b/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodUnarchiveParams < Stripe::RequestParams; end + class PayoutMethodUnarchiveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb b/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb index 5e04284de..1fbd32652 100644 --- a/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodsBankAccountSpecRetrieveParams < Stripe::RequestParams + class PayoutMethodsBankAccountSpecRetrieveParams < ::Stripe::RequestParams # The countries to fetch the bank account spec for. attr_accessor :countries diff --git a/lib/stripe/params/v2/money_management/received_credit_list_params.rb b/lib/stripe/params/v2/money_management/received_credit_list_params.rb index 1e5491c88..d3f511153 100644 --- a/lib/stripe/params/v2/money_management/received_credit_list_params.rb +++ b/lib/stripe/params/v2/money_management/received_credit_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedCreditListParams < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. attr_accessor :created diff --git a/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb b/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb index 50be86179..5e7a39705 100644 --- a/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedCreditRetrieveParams < Stripe::RequestParams; end + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/received_debit_list_params.rb b/lib/stripe/params/v2/money_management/received_debit_list_params.rb index 4ca8e3808..bf9d8ba61 100644 --- a/lib/stripe/params/v2/money_management/received_debit_list_params.rb +++ b/lib/stripe/params/v2/money_management/received_debit_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # The page limit. attr_accessor :limit diff --git a/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb b/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb index 03e57058b..cf5df6491 100644 --- a/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedDebitRetrieveParams < Stripe::RequestParams; end + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb b/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb index 292a35808..043a28840 100644 --- a/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +++ b/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class TransactionEntryListParams < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. attr_accessor :created # Filter for Transactions created after the specified timestamp. diff --git a/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb b/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb index 51b604aa1..a236e083b 100644 --- a/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class TransactionEntryRetrieveParams < Stripe::RequestParams; end + class TransactionEntryRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/money_management/transaction_list_params.rb b/lib/stripe/params/v2/money_management/transaction_list_params.rb index 5bb9e277e..e95f0e09a 100644 --- a/lib/stripe/params/v2/money_management/transaction_list_params.rb +++ b/lib/stripe/params/v2/money_management/transaction_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class TransactionListParams < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. attr_accessor :created # Filter for Transactions created after the specified timestamp. diff --git a/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb b/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb index 13e332e0c..a00c83cec 100644 --- a/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +++ b/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module MoneyManagement - class TransactionRetrieveParams < Stripe::RequestParams; end + class TransactionRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb b/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb index 22baafea6..52ad2bb18 100644 --- a/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +++ b/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentCancelParams < Stripe::RequestParams; end + class OffSessionPaymentCancelParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb b/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb index e4ce52923..a96830cbb 100644 --- a/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +++ b/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb @@ -4,8 +4,8 @@ module Stripe module V2 module Payments - class OffSessionPaymentCaptureParams < Stripe::RequestParams - class TransferData < Stripe::RequestParams + class OffSessionPaymentCaptureParams < ::Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount diff --git a/lib/stripe/params/v2/payments/off_session_payment_create_params.rb b/lib/stripe/params/v2/payments/off_session_payment_create_params.rb index b4e8c90b4..732c50837 100644 --- a/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +++ b/lib/stripe/params/v2/payments/off_session_payment_create_params.rb @@ -4,10 +4,10 @@ module Stripe module V2 module Payments - class OffSessionPaymentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class OffSessionPaymentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -45,7 +45,7 @@ def initialize( end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. attr_accessor :amount # The postal code that represents the shipping source. @@ -60,7 +60,7 @@ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil) end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. attr_accessor :total_tax_amount @@ -85,7 +85,7 @@ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil) end end - class Capture < Stripe::RequestParams + class Capture < ::Stripe::RequestParams # The method to use to capture the payment. attr_accessor :capture_method @@ -94,8 +94,8 @@ def initialize(capture_method: nil) end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # If you are making a Credential On File transaction with a previously saved card, you should pass the Network Transaction ID # from a prior initial authorization on Stripe (from a successful SetupIntent or a PaymentIntent with `setup_future_usage` set), # or one that you have obtained from another payment processor. This is a token from the network which uniquely identifies the transaction. @@ -116,7 +116,7 @@ def initialize(card: nil) end end - class PaymentsOrchestration < Stripe::RequestParams + class PaymentsOrchestration < ::Stripe::RequestParams # True when you want to enable payments orchestration for this off-session payment. False otherwise. attr_accessor :enabled @@ -125,7 +125,7 @@ def initialize(enabled: nil) end end - class RetryDetails < Stripe::RequestParams + class RetryDetails < ::Stripe::RequestParams # The pre-configured retry policy to use for the payment. attr_accessor :retry_policy # Indicates the strategy for how you want Stripe to retry the payment. @@ -137,7 +137,7 @@ def initialize(retry_policy: nil, retry_strategy: nil) end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount diff --git a/lib/stripe/params/v2/payments/off_session_payment_list_params.rb b/lib/stripe/params/v2/payments/off_session_payment_list_params.rb index 07ac60d37..d5438503a 100644 --- a/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +++ b/lib/stripe/params/v2/payments/off_session_payment_list_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentListParams < Stripe::RequestParams + class OffSessionPaymentListParams < ::Stripe::RequestParams # The page size limit. If not provided, the default is 20. attr_accessor :limit diff --git a/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb b/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb index afea037ad..5938bceda 100644 --- a/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +++ b/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentRetrieveParams < Stripe::RequestParams; end + class OffSessionPaymentRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb b/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb index 81516bc92..9bf8c8213 100644 --- a/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +++ b/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module TestHelpers - class FinancialAddressCreditParams < Stripe::RequestParams + class FinancialAddressCreditParams < ::Stripe::RequestParams # Object containing the amount value and currency to credit. attr_accessor :amount # Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit. diff --git a/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb b/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb index 7a10c5ccc..8305b87a6 100644 --- a/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +++ b/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb @@ -4,7 +4,7 @@ module Stripe module V2 module TestHelpers - class FinancialAddressGenerateMicrodepositsParams < Stripe::RequestParams; end + class FinancialAddressGenerateMicrodepositsParams < ::Stripe::RequestParams; end end end end diff --git a/lib/stripe/params/webhook_endpoint_create_params.rb b/lib/stripe/params/webhook_endpoint_create_params.rb index b597da3a8..0d75230ba 100644 --- a/lib/stripe/params/webhook_endpoint_create_params.rb +++ b/lib/stripe/params/webhook_endpoint_create_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class WebhookEndpointCreateParams < Stripe::RequestParams + class WebhookEndpointCreateParams < ::Stripe::RequestParams # Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version. attr_accessor :api_version # Whether this endpoint should receive events from connected accounts (`true`), or from your account (`false`). Defaults to `false`. diff --git a/lib/stripe/params/webhook_endpoint_delete_params.rb b/lib/stripe/params/webhook_endpoint_delete_params.rb index f99121b44..423997168 100644 --- a/lib/stripe/params/webhook_endpoint_delete_params.rb +++ b/lib/stripe/params/webhook_endpoint_delete_params.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Stripe - class WebhookEndpointDeleteParams < Stripe::RequestParams; end + class WebhookEndpointDeleteParams < ::Stripe::RequestParams; end end diff --git a/lib/stripe/params/webhook_endpoint_list_params.rb b/lib/stripe/params/webhook_endpoint_list_params.rb index 206b6f672..d761bb91d 100644 --- a/lib/stripe/params/webhook_endpoint_list_params.rb +++ b/lib/stripe/params/webhook_endpoint_list_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class WebhookEndpointListParams < Stripe::RequestParams + class WebhookEndpointListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. attr_accessor :ending_before # Specifies which fields in the response should be expanded. diff --git a/lib/stripe/params/webhook_endpoint_retrieve_params.rb b/lib/stripe/params/webhook_endpoint_retrieve_params.rb index 08f7dea46..c195b0463 100644 --- a/lib/stripe/params/webhook_endpoint_retrieve_params.rb +++ b/lib/stripe/params/webhook_endpoint_retrieve_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class WebhookEndpointRetrieveParams < Stripe::RequestParams + class WebhookEndpointRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/params/webhook_endpoint_update_params.rb b/lib/stripe/params/webhook_endpoint_update_params.rb index 27fd79566..57a21bb7d 100644 --- a/lib/stripe/params/webhook_endpoint_update_params.rb +++ b/lib/stripe/params/webhook_endpoint_update_params.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module Stripe - class WebhookEndpointUpdateParams < Stripe::RequestParams + class WebhookEndpointUpdateParams < ::Stripe::RequestParams # An optional description of what the webhook is used for. attr_accessor :description # Disable the webhook endpoint if set to true. diff --git a/lib/stripe/resources.rb b/lib/stripe/resources.rb index 49d5101a9..f4010a258 100644 --- a/lib/stripe/resources.rb +++ b/lib/stripe/resources.rb @@ -202,7 +202,6 @@ require "stripe/resources/webhook_endpoint" require "stripe/events/v1_billing_meter_error_report_triggered_event" require "stripe/events/v1_billing_meter_no_meter_found_event" -require "stripe/events/v2_billing_bill_setting_updated_event" require "stripe/events/v2_core_account_closed_event" require "stripe/events/v2_core_account_created_event" require "stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event" diff --git a/lib/stripe/resources/account.rb b/lib/stripe/resources/account.rb index 509c72f62..9885f621f 100644 --- a/lib/stripe/resources/account.rb +++ b/lib/stripe/resources/account.rb @@ -34,8 +34,8 @@ def self.object_name nested_resource_class_methods :login_link, operations: %i[create] nested_resource_class_methods :person, operations: %i[create retrieve update delete list] - class BusinessProfile < Stripe::StripeObject - class AnnualRevenue < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). attr_reader :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -52,7 +52,7 @@ def self.field_remappings end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). attr_reader :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -67,7 +67,7 @@ def self.field_remappings end end - class SupportAddress < Stripe::StripeObject + class SupportAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -127,7 +127,7 @@ def self.field_remappings end end - class Capabilities < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject # The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges. attr_reader :acss_debit_payments # The status of the Affirm capability of the account, or whether the account can directly process Affirm charges. @@ -286,8 +286,8 @@ def self.field_remappings end end - class Company < Stripe::StripeObject - class Address < Stripe::StripeObject + class Company < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -310,7 +310,7 @@ def self.field_remappings end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -335,7 +335,7 @@ def self.field_remappings end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -360,7 +360,7 @@ def self.field_remappings end end - class DirectorshipDeclaration < Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the directorship declaration attestation was made. attr_reader :date # The IP address from which the directorship declaration attestation was made. @@ -377,7 +377,7 @@ def self.field_remappings end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the beneficial owner attestation was made. attr_reader :date # The IP address from which the beneficial owner attestation was made. @@ -394,7 +394,7 @@ def self.field_remappings end end - class RegistrationDate < Stripe::StripeObject + class RegistrationDate < ::Stripe::StripeObject # The day of registration, between 1 and 31. attr_reader :day # The month of registration, between 1 and 12. @@ -411,8 +411,25 @@ def self.field_remappings end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class RepresentativeDeclaration < ::Stripe::StripeObject + # The Unix timestamp marking when the representative declaration attestation was made. + attr_reader :date + # The IP address from which the representative declaration attestation was made. + attr_reader :ip + # The user-agent string from the browser where the representative declaration attestation was made. + attr_reader :user_agent + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file). attr_reader :back # A user-displayable string describing the verification state of this document. @@ -473,6 +490,8 @@ def self.field_remappings attr_reader :phone # Attribute for field registration_date attr_reader :registration_date + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_reader :representative_declaration # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. attr_reader :structure # Whether the company's business ID number was provided. @@ -492,6 +511,7 @@ def self.inner_class_types directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, registration_date: RegistrationDate, + representative_declaration: RepresentativeDeclaration, verification: Verification, } end @@ -501,8 +521,8 @@ def self.field_remappings end end - class Controller < Stripe::StripeObject - class Application < Stripe::StripeObject + class Controller < ::Stripe::StripeObject + class Application < ::Stripe::StripeObject # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account. attr_reader :loss_liable # `true` if the Connect application is responsible for onboarding the account. @@ -519,7 +539,7 @@ def self.field_remappings end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`). attr_reader :type @@ -532,7 +552,7 @@ def self.field_remappings end end - class Fees < Stripe::StripeObject + class Fees < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). attr_reader :payer @@ -545,7 +565,7 @@ def self.field_remappings end end - class Losses < Stripe::StripeObject + class Losses < ::Stripe::StripeObject # A value indicating who is liable when this account can't pay back negative balances from payments. attr_reader :payments @@ -558,7 +578,7 @@ def self.field_remappings end end - class StripeDashboard < Stripe::StripeObject + class StripeDashboard < ::Stripe::StripeObject # A value indicating the Stripe dashboard this account has access to independent of the Connect application. attr_reader :type @@ -602,8 +622,8 @@ def self.field_remappings end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -618,7 +638,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -660,7 +680,7 @@ def self.field_remappings end end - class Groups < Stripe::StripeObject + class Groups < ::Stripe::StripeObject # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. attr_reader :payments_pricing @@ -673,8 +693,8 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -689,7 +709,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -731,8 +751,8 @@ def self.field_remappings end end - class RiskControls < Stripe::StripeObject - class Charges < Stripe::StripeObject + class RiskControls < ::Stripe::StripeObject + class Charges < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. attr_reader :pause_requested @@ -745,7 +765,7 @@ def self.field_remappings end end - class Payouts < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. attr_reader :pause_requested @@ -773,8 +793,8 @@ def self.field_remappings end end - class Settings < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. attr_reader :display_name # The Bacs Direct Debit Service user number for this account. For payments made with Bacs Direct Debit, this number is a unique identifier of the account with our banking partners. @@ -789,7 +809,7 @@ def self.field_remappings end end - class BankBcaOnboarding < Stripe::StripeObject + class BankBcaOnboarding < ::Stripe::StripeObject # Bank BCA business account holder name. attr_reader :account_holder_name # Bank BCA business account number. @@ -804,7 +824,7 @@ def self.field_remappings end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. attr_reader :icon # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. @@ -823,7 +843,7 @@ def self.field_remappings end end - class Capital < Stripe::StripeObject + class Capital < ::Stripe::StripeObject # Per-currency mapping of user-selected destination accounts used to pay out loans. attr_reader :payout_destination # Per-currency mapping of all destination accounts eligible to receive loan payouts. @@ -838,8 +858,8 @@ def self.field_remappings end end - class CardIssuing < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. attr_reader :date # The IP address from which the account representative accepted the service agreement. @@ -867,8 +887,8 @@ def self.field_remappings end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_reader :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -900,7 +920,7 @@ def self.field_remappings end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts. attr_reader :display_name # The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). @@ -915,7 +935,7 @@ def self.field_remappings end end - class Invoices < Stripe::StripeObject + class Invoices < ::Stripe::StripeObject # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. attr_reader :default_account_tax_ids # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. @@ -930,7 +950,7 @@ def self.field_remappings end end - class Payments < Stripe::StripeObject + class Payments < ::Stripe::StripeObject # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. attr_reader :statement_descriptor # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). @@ -951,8 +971,8 @@ def self.field_remappings end end - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # The number of days charges for the account will be held before being paid out. attr_reader :delay_days # How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. @@ -990,7 +1010,7 @@ def self.field_remappings end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # SEPA creditor identifier that identifies the company making the payment. attr_reader :creditor_id @@ -1003,7 +1023,7 @@ def self.field_remappings end end - class TaxForms < Stripe::StripeObject + class TaxForms < ::Stripe::StripeObject # Whether the account opted out of receiving their tax forms by postal delivery. attr_reader :consented_to_paperless_delivery @@ -1016,8 +1036,8 @@ def self.field_remappings end end - class Treasury < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. attr_reader :date # The IP address from which the account representative accepted the service agreement. @@ -1094,7 +1114,7 @@ def self.field_remappings end end - class TosAcceptance < Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted their service agreement attr_reader :date # The IP address from which the account representative accepted their service agreement diff --git a/lib/stripe/resources/account_notice.rb b/lib/stripe/resources/account_notice.rb index 0e5c398ce..e07e41af4 100644 --- a/lib/stripe/resources/account_notice.rb +++ b/lib/stripe/resources/account_notice.rb @@ -14,7 +14,7 @@ def self.object_name "account_notice" end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. attr_reader :plain_text # Email address of the recipient. @@ -31,7 +31,7 @@ def self.field_remappings end end - class LinkedObjects < Stripe::StripeObject + class LinkedObjects < ::Stripe::StripeObject # Associated [Capability](https://stripe.com/docs/api/capabilities) attr_reader :capability # Associated [Credit Underwriting Record](https://stripe.com/docs/api/issuing/credit_underwriting_record) diff --git a/lib/stripe/resources/account_session.rb b/lib/stripe/resources/account_session.rb index db3894f10..17015378a 100644 --- a/lib/stripe/resources/account_session.rb +++ b/lib/stripe/resources/account_session.rb @@ -17,9 +17,9 @@ def self.object_name "account_session" end - class Components < Stripe::StripeObject - class AccountManagement < Stripe::StripeObject - class Features < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class AccountManagement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -47,8 +47,8 @@ def self.field_remappings end end - class AccountOnboarding < Stripe::StripeObject - class Features < Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -76,8 +76,8 @@ def self.field_remappings end end - class Balances < Stripe::StripeObject - class Features < Stripe::StripeObject + class Balances < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`. @@ -111,8 +111,8 @@ def self.field_remappings end end - class CapitalFinancing < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancing < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -135,8 +135,8 @@ def self.field_remappings end end - class CapitalFinancingApplication < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingApplication < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -159,8 +159,8 @@ def self.field_remappings end end - class CapitalFinancingPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -183,8 +183,8 @@ def self.field_remappings end end - class DisputesList < Stripe::StripeObject - class Features < Stripe::StripeObject + class DisputesList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_reader :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -216,8 +216,8 @@ def self.field_remappings end end - class Documents < Stripe::StripeObject - class Features < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -240,8 +240,8 @@ def self.field_remappings end end - class FinancialAccount < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -273,8 +273,8 @@ def self.field_remappings end end - class FinancialAccountTransactions < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccountTransactions < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card spend dispute management features. attr_reader :card_spend_dispute_management @@ -300,8 +300,8 @@ def self.field_remappings end end - class InstantPayoutsPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class InstantPayoutsPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -331,8 +331,8 @@ def self.field_remappings end end - class IssuingCard < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCard < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. attr_reader :card_management # Whether to allow card spend dispute management features. @@ -364,8 +364,8 @@ def self.field_remappings end end - class IssuingCardsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCardsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. attr_reader :card_management # Whether to allow card spend dispute management features. @@ -399,8 +399,8 @@ def self.field_remappings end end - class NotificationBanner < Stripe::StripeObject - class Features < Stripe::StripeObject + class NotificationBanner < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`. @@ -428,8 +428,8 @@ def self.field_remappings end end - class PaymentDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_reader :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -461,8 +461,8 @@ def self.field_remappings end end - class PaymentDisputes < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDisputes < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. attr_reader :destination_on_behalf_of_charge_management # Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default. @@ -492,8 +492,8 @@ def self.field_remappings end end - class Payments < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. attr_reader :capture_payments # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. @@ -525,8 +525,8 @@ def self.field_remappings end end - class PayoutDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -549,8 +549,8 @@ def self.field_remappings end end - class Payouts < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. attr_reader :disable_stripe_user_authentication # Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`. @@ -584,8 +584,8 @@ def self.field_remappings end end - class PayoutsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -608,8 +608,8 @@ def self.field_remappings end end - class TaxRegistrations < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxRegistrations < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -632,8 +632,8 @@ def self.field_remappings end end - class TaxSettings < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxSettings < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end diff --git a/lib/stripe/resources/application_fee.rb b/lib/stripe/resources/application_fee.rb index 3e7a8b377..eed96ccff 100644 --- a/lib/stripe/resources/application_fee.rb +++ b/lib/stripe/resources/application_fee.rb @@ -13,7 +13,7 @@ def self.object_name nested_resource_class_methods :refund, operations: %i[create retrieve update list] - class FeeSource < Stripe::StripeObject + class FeeSource < ::Stripe::StripeObject # Charge ID that created this application fee. attr_reader :charge # Payout ID that created this application fee. diff --git a/lib/stripe/resources/apps/secret.rb b/lib/stripe/resources/apps/secret.rb index 973b5ebaa..a8cad6fdd 100644 --- a/lib/stripe/resources/apps/secret.rb +++ b/lib/stripe/resources/apps/secret.rb @@ -21,7 +21,7 @@ def self.object_name "apps.secret" end - class Scope < Stripe::StripeObject + class Scope < ::Stripe::StripeObject # The secret scope type. attr_reader :type # The user ID, if type is set to "user" diff --git a/lib/stripe/resources/balance.rb b/lib/stripe/resources/balance.rb index cde37b188..9803273db 100644 --- a/lib/stripe/resources/balance.rb +++ b/lib/stripe/resources/balance.rb @@ -14,8 +14,8 @@ def self.object_name "balance" end - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -47,8 +47,8 @@ def self.field_remappings end end - class ConnectReserved < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class ConnectReserved < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -80,9 +80,9 @@ def self.field_remappings end end - class InstantAvailable < Stripe::StripeObject - class NetAvailable < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class InstantAvailable < ::Stripe::StripeObject + class NetAvailable < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -114,7 +114,7 @@ def self.field_remappings end end - class SourceTypes < Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -148,9 +148,9 @@ def self.field_remappings end end - class Issuing < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Issuing < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -193,8 +193,8 @@ def self.field_remappings end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -226,9 +226,9 @@ def self.field_remappings end end - class RefundAndDisputePrefunding < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class RefundAndDisputePrefunding < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). @@ -260,8 +260,8 @@ def self.field_remappings end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). attr_reader :bank_account # Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). diff --git a/lib/stripe/resources/balance_settings.rb b/lib/stripe/resources/balance_settings.rb index 5979d64bd..bdd06dd03 100644 --- a/lib/stripe/resources/balance_settings.rb +++ b/lib/stripe/resources/balance_settings.rb @@ -11,9 +11,9 @@ def self.object_name "balance_settings" end - class Payments < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. attr_reader :interval # The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months. @@ -47,7 +47,7 @@ def self.field_remappings end end - class SettlementTiming < Stripe::StripeObject + class SettlementTiming < ::Stripe::StripeObject # The number of days charge funds are held before becoming available. attr_reader :delay_days # The number of days charge funds are held before becoming available. If present, overrides the default, or minimum available, for the account. diff --git a/lib/stripe/resources/balance_transaction.rb b/lib/stripe/resources/balance_transaction.rb index 90b1d53d3..7da51491b 100644 --- a/lib/stripe/resources/balance_transaction.rb +++ b/lib/stripe/resources/balance_transaction.rb @@ -14,7 +14,7 @@ def self.object_name "balance_transaction" end - class FeeDetail < Stripe::StripeObject + class FeeDetail < ::Stripe::StripeObject # Amount of the fee, in cents. attr_reader :amount # ID of the Connect application that earned the fee. diff --git a/lib/stripe/resources/bank_account.rb b/lib/stripe/resources/bank_account.rb index 7f0407985..e32ebb4ec 100644 --- a/lib/stripe/resources/bank_account.rb +++ b/lib/stripe/resources/bank_account.rb @@ -19,8 +19,8 @@ def self.object_name "bank_account" end - class FutureRequirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -54,8 +54,8 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. diff --git a/lib/stripe/resources/billing/alert.rb b/lib/stripe/resources/billing/alert.rb index c22c7f842..f1793da11 100644 --- a/lib/stripe/resources/billing/alert.rb +++ b/lib/stripe/resources/billing/alert.rb @@ -13,8 +13,8 @@ def self.object_name "billing.alert" end - class UsageThreshold < Stripe::StripeObject - class Filter < Stripe::StripeObject + class UsageThreshold < ::Stripe::StripeObject + class Filter < ::Stripe::StripeObject # Limit the scope of the alert to this customer ID attr_reader :customer # Attribute for field type diff --git a/lib/stripe/resources/billing/credit_balance_summary.rb b/lib/stripe/resources/billing/credit_balance_summary.rb index 28587c65f..9c5173c50 100644 --- a/lib/stripe/resources/billing/credit_balance_summary.rb +++ b/lib/stripe/resources/billing/credit_balance_summary.rb @@ -10,9 +10,9 @@ def self.object_name "billing.credit_balance_summary" end - class Balance < Stripe::StripeObject - class AvailableBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class AvailableBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount. @@ -40,8 +40,8 @@ def self.field_remappings end end - class LedgerBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class LedgerBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount. diff --git a/lib/stripe/resources/billing/credit_balance_transaction.rb b/lib/stripe/resources/billing/credit_balance_transaction.rb index 87a5bbbf7..17eb74cdc 100644 --- a/lib/stripe/resources/billing/credit_balance_transaction.rb +++ b/lib/stripe/resources/billing/credit_balance_transaction.rb @@ -12,9 +12,9 @@ def self.object_name "billing.credit_balance_transaction" end - class Credit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Credit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount. @@ -42,7 +42,7 @@ def self.field_remappings end end - class CreditsApplicationInvoiceVoided < Stripe::StripeObject + class CreditsApplicationInvoiceVoided < ::Stripe::StripeObject # The invoice to which the reinstated billing credits were originally applied. attr_reader :invoice # The invoice line item to which the reinstated billing credits were originally applied. @@ -75,9 +75,9 @@ def self.field_remappings end end - class Debit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Debit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount. @@ -105,7 +105,7 @@ def self.field_remappings end end - class CreditsApplied < Stripe::StripeObject + class CreditsApplied < ::Stripe::StripeObject # The invoice to which the billing credits were applied. attr_reader :invoice # The invoice line item to which the billing credits were applied. diff --git a/lib/stripe/resources/billing/credit_grant.rb b/lib/stripe/resources/billing/credit_grant.rb index 34d199b34..d866154ad 100644 --- a/lib/stripe/resources/billing/credit_grant.rb +++ b/lib/stripe/resources/billing/credit_grant.rb @@ -16,8 +16,8 @@ def self.object_name "billing.credit_grant" end - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount. @@ -45,9 +45,9 @@ def self.field_remappings end end - class ApplicabilityConfig < Stripe::StripeObject - class Scope < Stripe::StripeObject - class Price < Stripe::StripeObject + class ApplicabilityConfig < ::Stripe::StripeObject + class Scope < ::Stripe::StripeObject + class Price < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id diff --git a/lib/stripe/resources/billing/meter.rb b/lib/stripe/resources/billing/meter.rb index 723d8bbb8..ffcf29d40 100644 --- a/lib/stripe/resources/billing/meter.rb +++ b/lib/stripe/resources/billing/meter.rb @@ -21,7 +21,7 @@ def self.object_name operations: %i[list], resource_plural: "event_summaries" - class CustomerMapping < Stripe::StripeObject + class CustomerMapping < ::Stripe::StripeObject # The key in the meter event payload to use for mapping the event to a customer. attr_reader :event_payload_key # The method for mapping a meter event to a customer. @@ -36,7 +36,7 @@ def self.field_remappings end end - class DefaultAggregation < Stripe::StripeObject + class DefaultAggregation < ::Stripe::StripeObject # Specifies how events are aggregated. attr_reader :formula @@ -49,7 +49,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time the meter was deactivated, if any. Measured in seconds since Unix epoch. attr_reader :deactivated_at @@ -62,7 +62,7 @@ def self.field_remappings end end - class ValueSettings < Stripe::StripeObject + class ValueSettings < ::Stripe::StripeObject # The key in the meter event payload to use as the value for this meter. attr_reader :event_payload_key diff --git a/lib/stripe/resources/billing/meter_event_adjustment.rb b/lib/stripe/resources/billing/meter_event_adjustment.rb index 04dcaa27d..46a118dee 100644 --- a/lib/stripe/resources/billing/meter_event_adjustment.rb +++ b/lib/stripe/resources/billing/meter_event_adjustment.rb @@ -12,7 +12,7 @@ def self.object_name "billing.meter_event_adjustment" end - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. attr_reader :identifier diff --git a/lib/stripe/resources/billing_portal/configuration.rb b/lib/stripe/resources/billing_portal/configuration.rb index 51602b808..6d4c90ccb 100644 --- a/lib/stripe/resources/billing_portal/configuration.rb +++ b/lib/stripe/resources/billing_portal/configuration.rb @@ -14,7 +14,7 @@ def self.object_name "billing_portal.configuration" end - class BusinessProfile < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject # The messaging shown to customers in the portal. attr_reader :headline # A link to the business’s publicly available privacy policy. @@ -31,8 +31,8 @@ def self.field_remappings end end - class Features < Stripe::StripeObject - class CustomerUpdate < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class CustomerUpdate < ::Stripe::StripeObject # The types of customer updates that are supported. When empty, customers are not updateable. attr_reader :allowed_updates # Whether the feature is enabled. @@ -47,7 +47,7 @@ def self.field_remappings end end - class InvoiceHistory < Stripe::StripeObject + class InvoiceHistory < ::Stripe::StripeObject # Whether the feature is enabled. attr_reader :enabled @@ -60,7 +60,7 @@ def self.field_remappings end end - class PaymentMethodUpdate < Stripe::StripeObject + class PaymentMethodUpdate < ::Stripe::StripeObject # Whether the feature is enabled. attr_reader :enabled @@ -73,8 +73,8 @@ def self.field_remappings end end - class SubscriptionCancel < Stripe::StripeObject - class CancellationReason < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class CancellationReason < ::Stripe::StripeObject # Whether the feature is enabled. attr_reader :enabled # Which cancellation reasons will be given as options to the customer. @@ -106,9 +106,9 @@ def self.field_remappings end end - class SubscriptionUpdate < Stripe::StripeObject - class Product < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject + class Product < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # If true, the quantity can be adjusted to any non-negative integer. attr_reader :enabled # The maximum quantity that can be set for the product. @@ -140,8 +140,8 @@ def self.field_remappings end end - class ScheduleAtPeriodEnd < Stripe::StripeObject - class Condition < Stripe::StripeObject + class ScheduleAtPeriodEnd < ::Stripe::StripeObject + class Condition < ::Stripe::StripeObject # The type of condition. attr_reader :type @@ -211,7 +211,7 @@ def self.field_remappings end end - class LoginPage < Stripe::StripeObject + class LoginPage < ::Stripe::StripeObject # If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal. # # If `false`, the previously generated `url`, if any, will be deactivated. diff --git a/lib/stripe/resources/billing_portal/session.rb b/lib/stripe/resources/billing_portal/session.rb index 4b6bda9a2..174189bf7 100644 --- a/lib/stripe/resources/billing_portal/session.rb +++ b/lib/stripe/resources/billing_portal/session.rb @@ -25,9 +25,9 @@ def self.object_name "billing_portal.session" end - class Flow < Stripe::StripeObject - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class Flow < ::Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # A custom message to display to the customer after the flow is completed. attr_reader :custom_message @@ -40,7 +40,7 @@ def self.field_remappings end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the flow is completed. attr_reader :return_url @@ -68,9 +68,9 @@ def self.field_remappings end end - class SubscriptionCancel < Stripe::StripeObject - class Retention < Stripe::StripeObject - class CouponOffer < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class Retention < ::Stripe::StripeObject + class CouponOffer < ::Stripe::StripeObject # The ID of the coupon to be offered. attr_reader :coupon @@ -109,7 +109,7 @@ def self.field_remappings end end - class SubscriptionUpdate < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject # The ID of the subscription to be updated. attr_reader :subscription @@ -122,8 +122,8 @@ def self.field_remappings end end - class SubscriptionUpdateConfirm < Stripe::StripeObject - class Discount < Stripe::StripeObject + class SubscriptionUpdateConfirm < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The ID of the coupon to apply to this subscription update. attr_reader :coupon # The ID of a promotion code to apply to this subscription update. @@ -138,7 +138,7 @@ def self.field_remappings end end - class Item < Stripe::StripeObject + class Item < ::Stripe::StripeObject # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. attr_reader :id # The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). diff --git a/lib/stripe/resources/capability.rb b/lib/stripe/resources/capability.rb index 279850e4d..edd7a227d 100644 --- a/lib/stripe/resources/capability.rb +++ b/lib/stripe/resources/capability.rb @@ -13,8 +13,8 @@ def self.object_name "capability" end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -29,7 +29,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -71,8 +71,8 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -87,7 +87,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. diff --git a/lib/stripe/resources/capital/financing_offer.rb b/lib/stripe/resources/capital/financing_offer.rb index 7a9841e4d..36b22098a 100644 --- a/lib/stripe/resources/capital/financing_offer.rb +++ b/lib/stripe/resources/capital/financing_offer.rb @@ -13,7 +13,7 @@ def self.object_name "capital.financing_offer" end - class AcceptedTerms < Stripe::StripeObject + class AcceptedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. attr_reader :advance_amount # Currency that the financing offer is transacted in. For example, `usd`. @@ -35,7 +35,7 @@ def self.field_remappings end end - class OfferedTerms < Stripe::StripeObject + class OfferedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. attr_reader :advance_amount # Describes the type of user the offer is being extended to. diff --git a/lib/stripe/resources/capital/financing_summary.rb b/lib/stripe/resources/capital/financing_summary.rb index bc191f3e0..df9b55c7b 100644 --- a/lib/stripe/resources/capital/financing_summary.rb +++ b/lib/stripe/resources/capital/financing_summary.rb @@ -11,8 +11,8 @@ def self.object_name "capital.financing_summary" end - class Details < Stripe::StripeObject - class CurrentRepaymentInterval < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class CurrentRepaymentInterval < ::Stripe::StripeObject # The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited. # Given in seconds since unix epoch. attr_reader :due_at diff --git a/lib/stripe/resources/capital/financing_transaction.rb b/lib/stripe/resources/capital/financing_transaction.rb index 87decc06d..63187feae 100644 --- a/lib/stripe/resources/capital/financing_transaction.rb +++ b/lib/stripe/resources/capital/financing_transaction.rb @@ -12,8 +12,8 @@ def self.object_name "capital.financing_transaction" end - class Details < Stripe::StripeObject - class Transaction < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class Transaction < ::Stripe::StripeObject # The linked payment ID. attr_reader :charge # The linked Treasury Financing Transaction ID. diff --git a/lib/stripe/resources/card.rb b/lib/stripe/resources/card.rb index 10b63c3a3..31a84c531 100644 --- a/lib/stripe/resources/card.rb +++ b/lib/stripe/resources/card.rb @@ -17,7 +17,7 @@ def self.object_name "card" end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. attr_reader :preferred diff --git a/lib/stripe/resources/cash_balance.rb b/lib/stripe/resources/cash_balance.rb index 37b245583..10c58d936 100644 --- a/lib/stripe/resources/cash_balance.rb +++ b/lib/stripe/resources/cash_balance.rb @@ -9,7 +9,7 @@ def self.object_name "cash_balance" end - class Settings < Stripe::StripeObject + class Settings < ::Stripe::StripeObject # The configuration for how funds that land in the customer cash balance are reconciled. attr_reader :reconciliation_mode # A flag to indicate if reconciliation mode returned is the user's default or is specific to this customer cash balance diff --git a/lib/stripe/resources/charge.rb b/lib/stripe/resources/charge.rb index 91c6874dd..34c3b50a1 100644 --- a/lib/stripe/resources/charge.rb +++ b/lib/stripe/resources/charge.rb @@ -19,8 +19,8 @@ def self.object_name nested_resource_class_methods :refund, operations: %i[retrieve list] - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -62,7 +62,7 @@ def self.field_remappings end end - class FraudDetails < Stripe::StripeObject + class FraudDetails < ::Stripe::StripeObject # Assessments from Stripe. If set, the value is `fraudulent`. attr_reader :stripe_report # Assessments reported by you. If set, possible values of are `safe` and `fraudulent`. @@ -77,8 +77,8 @@ def self.field_remappings end end - class Level3 < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class Level3 < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # Attribute for field discount_amount attr_reader :discount_amount # Attribute for field product_code @@ -122,8 +122,8 @@ def self.field_remappings end end - class Outcome < Stripe::StripeObject - class Rule < Stripe::StripeObject + class Outcome < ::Stripe::StripeObject + class Rule < ::Stripe::StripeObject # The action taken on the payment. attr_reader :action # Unique identifier for the object. @@ -169,8 +169,8 @@ def self.field_remappings end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. attr_reader :account_number # Name of the bank associated with the routing number. @@ -189,7 +189,7 @@ def self.field_remappings end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. attr_reader :account_holder_type # Name of the bank associated with the bank account. @@ -212,7 +212,7 @@ def self.field_remappings end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -235,7 +235,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -252,7 +252,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. attr_reader :order_id # Order identifier shown to the merchant in Afterpay’s online portal. @@ -267,7 +267,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. attr_reader :buyer_id # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. @@ -284,8 +284,8 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. attr_reader :count @@ -311,9 +311,9 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -364,7 +364,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -383,7 +383,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. attr_reader :fingerprint # Last four digits of the bank account number. @@ -402,7 +402,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -431,7 +431,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. attr_reader :transaction_id @@ -444,7 +444,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. attr_reader :buyer_id @@ -457,7 +457,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) attr_reader :tax_id @@ -470,8 +470,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_line1_check # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. @@ -488,7 +488,7 @@ def self.field_remappings end end - class DecrementalAuthorization < Stripe::StripeObject + class DecrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the decremental authorization feature is supported. attr_reader :status @@ -501,7 +501,7 @@ def self.field_remappings end end - class ExtendedAuthorization < Stripe::StripeObject + class ExtendedAuthorization < ::Stripe::StripeObject # Indicates whether or not the capture window is extended beyond the standard authorization. attr_reader :status @@ -514,7 +514,7 @@ def self.field_remappings end end - class IncrementalAuthorization < Stripe::StripeObject + class IncrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the incremental authorization feature is supported. attr_reader :status @@ -527,8 +527,8 @@ def self.field_remappings end end - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. attr_reader :count # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. @@ -557,7 +557,7 @@ def self.field_remappings end end - class Multicapture < Stripe::StripeObject + class Multicapture < ::Stripe::StripeObject # Indicates whether or not multiple captures are supported. attr_reader :status @@ -570,7 +570,7 @@ def self.field_remappings end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. attr_reader :used @@ -583,7 +583,7 @@ def self.field_remappings end end - class Overcapture < Stripe::StripeObject + class Overcapture < ::Stripe::StripeObject # The maximum amount that can be captured. attr_reader :maximum_amount_capturable # Indicates whether or not the authorized amount can be over-captured. @@ -598,7 +598,7 @@ def self.field_remappings end end - class PartialAuthorization < Stripe::StripeObject + class PartialAuthorization < ::Stripe::StripeObject # Indicates whether the transaction requested for partial authorization feature and the authorization outcome. attr_reader :status @@ -611,7 +611,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. attr_reader :authentication_flow @@ -643,8 +643,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -654,7 +654,7 @@ def self.field_remappings end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -664,7 +664,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -674,7 +674,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -684,8 +684,8 @@ def self.field_remappings end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -708,7 +708,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -751,7 +751,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -761,8 +761,8 @@ def self.field_remappings end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -785,7 +785,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -948,8 +948,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -964,7 +964,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -993,7 +993,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -1067,7 +1067,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. attr_reader :buyer_id # A public identifier for buyers using Cash App. @@ -1084,7 +1084,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. attr_reader :buyer_address # The blockchain network that the transaction was sent on. @@ -1103,7 +1103,7 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1113,7 +1113,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. attr_reader :bank # Owner's verified full name. Values are verified or provided by EPS directly @@ -1130,7 +1130,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. attr_reader :account_holder_type # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. @@ -1147,7 +1147,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -1168,7 +1168,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1178,7 +1178,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay attr_reader :transaction_id @@ -1191,7 +1191,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. attr_reader :account_number # Bank where the account is located. @@ -1212,7 +1212,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank. @@ -1236,8 +1236,8 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -1313,7 +1313,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Kakao Pay transaction ID associated with this payment. @@ -1328,9 +1328,9 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country attr_reader :country @@ -1371,8 +1371,8 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. attr_reader :chain @@ -1396,7 +1396,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. attr_reader :brand # A unique identifier for the buyer as determined by the local payment processor. @@ -1415,7 +1415,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. attr_reader :country @@ -1429,7 +1429,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1439,8 +1439,8 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction attr_reader :brand # Two-letter ISO code representing the country of the card @@ -1472,7 +1472,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. attr_reader :entity # Reference number associated with this Multibanco payment. @@ -1487,7 +1487,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Naver Pay transaction ID associated with this payment. @@ -1502,7 +1502,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_reader :account_holder_name # The numeric code for the bank account's bank. @@ -1525,7 +1525,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number attr_reader :number @@ -1538,7 +1538,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. attr_reader :bank # Unique reference for this Przelewy24 payment. @@ -1557,7 +1557,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1567,7 +1567,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Payco transaction ID associated with this payment. @@ -1582,7 +1582,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -1599,8 +1599,8 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. attr_reader :dispute_categories # Indicates whether the transaction is eligible for PayPal's seller protection. @@ -1615,7 +1615,7 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1638,7 +1638,7 @@ def self.field_remappings end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1702,7 +1702,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1712,7 +1712,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Last four digits of the bank account number. @@ -1731,7 +1731,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB attr_reader :bank_transaction_id # ID of the multi use Mandate generated by the PaymentIntent @@ -1746,7 +1746,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay attr_reader :reference @@ -1759,7 +1759,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1769,7 +1769,10 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + attr_reader :payment_portal_url + def self.inner_class_types @inner_class_types = {} end @@ -1779,9 +1782,9 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -1832,7 +1835,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Samsung Pay transaction ID associated with this payment. @@ -1847,7 +1850,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. attr_reader :transaction_id @@ -1860,7 +1863,7 @@ def self.field_remappings end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Bank Identifier Code of the bank associated with the bank account. @@ -1877,7 +1880,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Branch code of bank associated with the bank account. @@ -1900,7 +1903,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1910,7 +1913,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -1941,7 +1944,7 @@ def self.field_remappings end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1951,7 +1954,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment attr_reader :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1966,7 +1969,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer attr_reader :fingerprint # Payer bank reference number for the payment @@ -1983,7 +1986,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1993,7 +1996,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. attr_reader :account_holder_type # Account type: checkings or savings. Defaults to checking if omitted. @@ -2020,7 +2023,7 @@ def self.field_remappings end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2030,7 +2033,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. attr_reader :fingerprint # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. @@ -2049,7 +2052,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2265,7 +2268,7 @@ def self.field_remappings end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. attr_reader :presentment_amount # Currency presented to the customer during payment. @@ -2280,7 +2283,7 @@ def self.field_remappings end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_reader :session @@ -2293,8 +2296,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2336,7 +2339,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. attr_reader :amount # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request. diff --git a/lib/stripe/resources/checkout/session.rb b/lib/stripe/resources/checkout/session.rb index ba68b9c7d..995ea491b 100644 --- a/lib/stripe/resources/checkout/session.rb +++ b/lib/stripe/resources/checkout/session.rb @@ -27,7 +27,7 @@ def self.object_name "checkout.session" end - class AdaptivePricing < Stripe::StripeObject + class AdaptivePricing < ::Stripe::StripeObject # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). attr_reader :enabled @@ -40,8 +40,8 @@ def self.field_remappings end end - class AfterExpiration < Stripe::StripeObject - class Recovery < Stripe::StripeObject + class AfterExpiration < ::Stripe::StripeObject + class Recovery < ::Stripe::StripeObject # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` attr_reader :allow_promotion_codes # If `true`, a recovery url will be generated to recover this Checkout Session if it @@ -73,8 +73,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -106,8 +106,8 @@ def self.field_remappings end end - class BrandingSettings < Stripe::StripeObject - class Icon < Stripe::StripeObject + class BrandingSettings < ::Stripe::StripeObject + class Icon < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. attr_reader :file # The type of image for the icon. Must be one of `file` or `url`. @@ -124,7 +124,7 @@ def self.field_remappings end end - class Logo < Stripe::StripeObject + class Logo < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. attr_reader :file # The type of image for the logo. Must be one of `file` or `url`. @@ -164,9 +164,9 @@ def self.field_remappings end end - class CollectedInformation < Stripe::StripeObject - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CollectedInformation < ::Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -202,7 +202,7 @@ def self.field_remappings end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -238,7 +238,7 @@ def self.field_remappings end end - class Consent < Stripe::StripeObject + class Consent < ::Stripe::StripeObject # If `opt_in`, the customer consents to receiving promotional communications # from the merchant about this Checkout Session. attr_reader :promotions @@ -254,8 +254,8 @@ def self.field_remappings end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -287,7 +287,7 @@ def self.field_remappings end end - class CurrencyConversion < Stripe::StripeObject + class CurrencyConversion < ::Stripe::StripeObject # Total of all items in source currency before discounts or taxes are applied. attr_reader :amount_subtotal # Total of all items in source currency after discounts and taxes are applied. @@ -306,9 +306,9 @@ def self.field_remappings end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. attr_reader :label # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. @@ -338,7 +338,7 @@ def self.field_remappings end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. attr_reader :custom # The type of the label. @@ -353,7 +353,7 @@ def self.field_remappings end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. attr_reader :default_value # The maximum character length constraint for the customer's input. @@ -372,7 +372,7 @@ def self.field_remappings end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. attr_reader :default_value # The maximum character length constraint for the customer's input. @@ -414,8 +414,8 @@ def self.field_remappings end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -428,7 +428,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -441,7 +441,7 @@ def self.field_remappings end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -454,7 +454,7 @@ def self.field_remappings end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -489,8 +489,8 @@ def self.field_remappings end end - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -513,7 +513,7 @@ def self.field_remappings end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -554,7 +554,7 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # Coupon attached to the Checkout Session. attr_reader :coupon # Promotion code attached to the Checkout Session. @@ -569,9 +569,9 @@ def self.field_remappings end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. attr_reader :name # The value of the custom field. @@ -586,7 +586,7 @@ def self.field_remappings end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -601,7 +601,7 @@ def self.field_remappings end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. attr_reader :amount_tax_display # ID of the invoice rendering template to be used for the generated invoice. @@ -656,8 +656,8 @@ def self.field_remappings end end - class NameCollection < Stripe::StripeObject - class Business < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject # Indicates whether business name collection is enabled for the session attr_reader :enabled # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. @@ -672,7 +672,7 @@ def self.field_remappings end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Indicates whether individual name collection is enabled for the session attr_reader :enabled # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. @@ -700,8 +700,8 @@ def self.field_remappings end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. attr_reader :enabled # The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. @@ -733,7 +733,7 @@ def self.field_remappings end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. attr_reader :id # ID of the parent payment method configuration used. @@ -748,9 +748,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text attr_reader :custom_mandate_url # List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode. @@ -796,7 +796,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -817,7 +817,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -838,7 +838,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -857,7 +857,7 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -870,7 +870,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -891,7 +891,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -912,8 +912,8 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_reader :reference_prefix @@ -947,7 +947,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -966,7 +966,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -979,7 +979,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1000,8 +1000,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Indicates if installments are enabled attr_reader :enabled @@ -1014,7 +1014,7 @@ def self.field_remappings end end - class Restrictions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. attr_reader :brands_blocked @@ -1066,7 +1066,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1087,9 +1087,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -1140,7 +1140,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1159,7 +1159,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1178,7 +1178,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1197,7 +1197,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1216,7 +1216,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1235,7 +1235,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1256,7 +1256,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1277,7 +1277,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1298,7 +1298,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1319,7 +1319,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1340,7 +1340,7 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1361,7 +1361,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1380,7 +1380,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1401,7 +1401,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1422,7 +1422,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1441,7 +1441,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -1454,7 +1454,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1473,7 +1473,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Preferred locale of the PayPal checkout page that the customer is redirected to. @@ -1500,8 +1500,8 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_reader :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -1545,8 +1545,8 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # Determines if the amount includes the IOF tax. @@ -1596,7 +1596,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1617,7 +1617,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -1630,7 +1630,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -1643,8 +1643,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_reader :reference_prefix @@ -1678,7 +1678,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1697,7 +1697,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. attr_reader :reference @@ -1710,9 +1710,28 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + attr_reader :setup_future_usage + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -1727,7 +1746,7 @@ def self.field_remappings end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. attr_reader :mode @@ -1861,6 +1880,8 @@ def self.field_remappings attr_reader :sofort # Attribute for field swish attr_reader :swish + # Attribute for field twint + attr_reader :twint # Attribute for field us_bank_account attr_reader :us_bank_account @@ -1906,6 +1927,7 @@ def self.inner_class_types sepa_debit: SepaDebit, sofort: Sofort, swish: Swish, + twint: Twint, us_bank_account: UsBankAccount, } end @@ -1915,8 +1937,8 @@ def self.field_remappings end end - class Permissions < Stripe::StripeObject - class Update < Stripe::StripeObject + class Permissions < ::Stripe::StripeObject + class Update < ::Stripe::StripeObject # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -1962,7 +1984,7 @@ def self.field_remappings end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # Indicates whether phone number collection is enabled for the session attr_reader :enabled @@ -1975,7 +1997,7 @@ def self.field_remappings end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. attr_reader :presentment_amount # Currency presented to the customer during payment. @@ -1990,7 +2012,7 @@ def self.field_remappings end end - class SavedPaymentMethodOptions < Stripe::StripeObject + class SavedPaymentMethodOptions < ::Stripe::StripeObject # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. attr_reader :allow_redisplay_filters # Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. @@ -2007,7 +2029,7 @@ def self.field_remappings end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. attr_reader :allowed_countries @@ -2021,8 +2043,8 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -2062,7 +2084,7 @@ def self.field_remappings end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. attr_reader :shipping_amount # The shipping rate. @@ -2077,7 +2099,7 @@ def self.field_remappings end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session attr_reader :enabled # Indicates whether a tax ID is required on the payment page @@ -2092,9 +2114,9 @@ def self.field_remappings end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -2112,7 +2134,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -2163,8 +2185,8 @@ def self.field_remappings end end - class WalletOptions < Stripe::StripeObject - class Link < Stripe::StripeObject + class WalletOptions < ::Stripe::StripeObject + class Link < ::Stripe::StripeObject # Describes whether Checkout should display Link. Defaults to `auto`. attr_reader :display diff --git a/lib/stripe/resources/climate/order.rb b/lib/stripe/resources/climate/order.rb index be9b7cd3f..0636d9864 100644 --- a/lib/stripe/resources/climate/order.rb +++ b/lib/stripe/resources/climate/order.rb @@ -15,7 +15,7 @@ def self.object_name "climate.order" end - class Beneficiary < Stripe::StripeObject + class Beneficiary < ::Stripe::StripeObject # Publicly displayable name for the end beneficiary of carbon removal. attr_reader :public_name @@ -28,8 +28,8 @@ def self.field_remappings end end - class DeliveryDetail < Stripe::StripeObject - class Location < Stripe::StripeObject + class DeliveryDetail < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. attr_reader :city # Two-letter ISO code representing the country where the supplier is located. diff --git a/lib/stripe/resources/climate/product.rb b/lib/stripe/resources/climate/product.rb index d8344d388..6a60ef9ec 100644 --- a/lib/stripe/resources/climate/product.rb +++ b/lib/stripe/resources/climate/product.rb @@ -13,7 +13,7 @@ def self.object_name "climate.product" end - class CurrentPricesPerMetricTon < Stripe::StripeObject + class CurrentPricesPerMetricTon < ::Stripe::StripeObject # Fees for one metric ton of carbon removal in the currency's smallest unit. attr_reader :amount_fees # Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit. diff --git a/lib/stripe/resources/climate/supplier.rb b/lib/stripe/resources/climate/supplier.rb index 939d034fd..dccbe5112 100644 --- a/lib/stripe/resources/climate/supplier.rb +++ b/lib/stripe/resources/climate/supplier.rb @@ -12,7 +12,7 @@ def self.object_name "climate.supplier" end - class Location < Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. attr_reader :city # Two-letter ISO code representing the country where the supplier is located. diff --git a/lib/stripe/resources/confirmation_token.rb b/lib/stripe/resources/confirmation_token.rb index 322c34673..8ab2b90f6 100644 --- a/lib/stripe/resources/confirmation_token.rb +++ b/lib/stripe/resources/confirmation_token.rb @@ -15,9 +15,9 @@ def self.object_name "confirmation_token" end - class MandateData < Stripe::StripeObject - class CustomerAcceptance < Stripe::StripeObject - class Online < Stripe::StripeObject + class MandateData < ::Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Online < ::Stripe::StripeObject # The IP address from which the Mandate was accepted by the customer. attr_reader :ip_address # The user agent of the browser from which the Mandate was accepted by the customer. @@ -56,10 +56,10 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. attr_reader :count # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. @@ -112,8 +112,8 @@ def self.field_remappings end end - class PaymentMethodPreview < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodPreview < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. attr_reader :account_number # Name of the bank associated with the bank account. @@ -136,7 +136,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -146,7 +146,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -156,7 +156,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -166,7 +166,7 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -176,7 +176,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -186,7 +186,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. attr_reader :bsb_number # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -203,7 +203,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. attr_reader :fingerprint # Last four digits of the bank account number. @@ -220,7 +220,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -230,7 +230,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -240,8 +240,8 @@ def self.field_remappings end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -283,7 +283,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -293,7 +293,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) attr_reader :tax_id @@ -306,8 +306,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_line1_check # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. @@ -324,10 +324,10 @@ def self.field_remappings end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -342,7 +342,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -371,7 +371,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -473,7 +473,7 @@ def self.field_remappings end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. @@ -488,7 +488,7 @@ def self.field_remappings end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. attr_reader :supported @@ -501,8 +501,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -512,7 +512,7 @@ def self.field_remappings end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -522,7 +522,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -532,7 +532,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -542,8 +542,8 @@ def self.field_remappings end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -566,7 +566,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -609,7 +609,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -619,8 +619,8 @@ def self.field_remappings end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -643,7 +643,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -772,8 +772,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for the card. @@ -788,7 +788,7 @@ def self.field_remappings end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -803,7 +803,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -861,7 +861,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. attr_reader :buyer_id # A public identifier for buyers using Cash App. @@ -876,7 +876,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -886,7 +886,7 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -896,7 +896,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. attr_reader :bank @@ -909,7 +909,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. attr_reader :account_holder_type # The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. @@ -924,7 +924,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -934,7 +934,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -944,7 +944,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -954,7 +954,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank attr_reader :bank # Attribute for field bank_code @@ -973,7 +973,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank, if the bank was provided. @@ -988,8 +988,8 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for the card. @@ -1043,7 +1043,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1053,8 +1053,8 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -1082,7 +1082,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1092,7 +1092,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. attr_reader :brand # The last four digits of the card. This may not be present for American Express cards. @@ -1107,7 +1107,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. attr_reader :email # [Deprecated] This is a legacy parameter that no longer has any function. @@ -1122,7 +1122,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1132,7 +1132,7 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1142,7 +1142,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1152,7 +1152,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. attr_reader :buyer_id # Whether to fund this transaction with Naver Pay points or a card. @@ -1167,7 +1167,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_reader :account_holder_name # The numeric code for the bank account's bank. @@ -1190,7 +1190,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1200,7 +1200,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. attr_reader :bank @@ -1213,7 +1213,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1223,7 +1223,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1233,7 +1233,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1243,7 +1243,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. attr_reader :country # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. @@ -1266,7 +1266,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1276,7 +1276,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Last four digits of the bank account number. @@ -1293,7 +1293,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1303,7 +1303,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1313,7 +1313,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1323,8 +1323,8 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -1352,7 +1352,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1362,7 +1362,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1372,7 +1372,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1382,8 +1382,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. attr_reader :charge # The ID of the SetupAttempt that generated this PaymentMethod, if any. @@ -1419,7 +1419,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1429,7 +1429,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. attr_reader :country @@ -1442,7 +1442,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment attr_reader :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1457,7 +1457,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1467,7 +1467,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1477,8 +1477,8 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. attr_reader :preferred # All supported networks. @@ -1493,8 +1493,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. attr_reader :network_code # The reason why this PaymentMethod's fingerprint has been blocked @@ -1549,7 +1549,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1559,7 +1559,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1767,8 +1767,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/resources/country_spec.rb b/lib/stripe/resources/country_spec.rb index dfaafeee0..29eafb3ed 100644 --- a/lib/stripe/resources/country_spec.rb +++ b/lib/stripe/resources/country_spec.rb @@ -16,8 +16,8 @@ def self.object_name "country_spec" end - class VerificationFields < Stripe::StripeObject - class Company < Stripe::StripeObject + class VerificationFields < ::Stripe::StripeObject + class Company < ::Stripe::StripeObject # Additional fields which are only required for some users. attr_reader :additional # Fields which every account must eventually provide. @@ -32,7 +32,7 @@ def self.field_remappings end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Additional fields which are only required for some users. attr_reader :additional # Fields which every account must eventually provide. diff --git a/lib/stripe/resources/coupon.rb b/lib/stripe/resources/coupon.rb index ee71d2a3f..3eda01373 100644 --- a/lib/stripe/resources/coupon.rb +++ b/lib/stripe/resources/coupon.rb @@ -16,7 +16,7 @@ def self.object_name "coupon" end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A list of product IDs this coupon applies to attr_reader :products @@ -29,7 +29,7 @@ def self.field_remappings end end - class CurrencyOptions < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. attr_reader :amount_off @@ -42,7 +42,7 @@ def self.field_remappings end end - class Script < Stripe::StripeObject + class Script < ::Stripe::StripeObject # The configuration values of the script. The keys and values are specific to the script implementation. attr_reader :configuration # The name of the script used to calculate the discount. diff --git a/lib/stripe/resources/credit_note.rb b/lib/stripe/resources/credit_note.rb index a7a4d198e..61b5ccd99 100644 --- a/lib/stripe/resources/credit_note.rb +++ b/lib/stripe/resources/credit_note.rb @@ -15,7 +15,7 @@ def self.object_name "credit_note" end - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. @@ -30,7 +30,7 @@ def self.field_remappings end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. attr_reader :amount # The credit balance transaction that was applied to get this pretax credit amount. @@ -49,14 +49,32 @@ def self.field_remappings end end - class Refund < Stripe::StripeObject + class Refund < ::Stripe::StripeObject + class PaymentRecordRefund < ::Stripe::StripeObject + # ID of the payment record. + attr_reader :payment_record + # ID of the refund group. + attr_reader :refund_group + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). attr_reader :amount_refunded + # The PaymentRecord refund details associated with this credit note refund. + attr_reader :payment_record_refund # ID of the refund. attr_reader :refund + # Type of the refund, one of `refund` or `payment_record_refund`. + attr_reader :type def self.inner_class_types - @inner_class_types = {} + @inner_class_types = { payment_record_refund: PaymentRecordRefund } end def self.field_remappings @@ -64,8 +82,8 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -105,8 +123,8 @@ def self.field_remappings end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate attr_reader :tax_rate diff --git a/lib/stripe/resources/credit_note_line_item.rb b/lib/stripe/resources/credit_note_line_item.rb index 52ae3c74a..f5d7af740 100644 --- a/lib/stripe/resources/credit_note_line_item.rb +++ b/lib/stripe/resources/credit_note_line_item.rb @@ -9,7 +9,7 @@ def self.object_name "credit_note_line_item" end - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. @@ -24,7 +24,7 @@ def self.field_remappings end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. attr_reader :amount # The credit balance transaction that was applied to get this pretax credit amount. @@ -43,7 +43,7 @@ def self.field_remappings end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. attr_reader :calculation_id # The calculation identifier for tax calculation response line item. @@ -58,8 +58,8 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate attr_reader :tax_rate diff --git a/lib/stripe/resources/customer.rb b/lib/stripe/resources/customer.rb index 39ad2b21f..b1342641c 100644 --- a/lib/stripe/resources/customer.rb +++ b/lib/stripe/resources/customer.rb @@ -22,7 +22,7 @@ def self.object_name nested_resource_class_methods :source, operations: %i[create retrieve update delete list] nested_resource_class_methods :tax_id, operations: %i[create retrieve delete list] - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -45,8 +45,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. attr_reader :name # The value of the custom field. @@ -61,7 +61,7 @@ def self.field_remappings end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. attr_reader :amount_tax_display # ID of the invoice rendering template to be used for this customer's invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice. @@ -93,8 +93,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -136,8 +136,8 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. attr_reader :country # The data source used to infer the customer's location. diff --git a/lib/stripe/resources/customer_cash_balance_transaction.rb b/lib/stripe/resources/customer_cash_balance_transaction.rb index 7c7fc5757..79034f49a 100644 --- a/lib/stripe/resources/customer_cash_balance_transaction.rb +++ b/lib/stripe/resources/customer_cash_balance_transaction.rb @@ -12,7 +12,7 @@ def self.object_name "customer_cash_balance_transaction" end - class AdjustedForOverdraft < Stripe::StripeObject + class AdjustedForOverdraft < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds taken out of your Stripe balance. attr_reader :balance_transaction # The [Cash Balance Transaction](https://stripe.com/docs/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds. @@ -27,7 +27,7 @@ def self.field_remappings end end - class AppliedToPayment < Stripe::StripeObject + class AppliedToPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were applied to. attr_reader :payment_intent @@ -40,9 +40,9 @@ def self.field_remappings end end - class Funded < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class Funded < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The BIC of the bank of the sender of the funding. attr_reader :bic # The last 4 digits of the IBAN of the sender of the funding. @@ -59,7 +59,7 @@ def self.field_remappings end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The last 4 digits of the account number of the sender of the funding. attr_reader :account_number_last4 # The full name of the sender, as supplied by the sending bank. @@ -76,7 +76,7 @@ def self.field_remappings end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The name of the bank of the sender of the funding. attr_reader :sender_bank # The name of the bank branch of the sender of the funding. @@ -93,7 +93,7 @@ def self.field_remappings end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The banking network used for this funding. attr_reader :network # The full name of the sender, as supplied by the sending bank. @@ -145,7 +145,7 @@ def self.field_remappings end end - class RefundedFromPayment < Stripe::StripeObject + class RefundedFromPayment < ::Stripe::StripeObject # The [Refund](https://stripe.com/docs/api/refunds/object) that moved these funds into the customer's cash balance. attr_reader :refund @@ -158,7 +158,7 @@ def self.field_remappings end end - class TransferredToBalance < Stripe::StripeObject + class TransferredToBalance < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance. attr_reader :balance_transaction @@ -171,7 +171,7 @@ def self.field_remappings end end - class UnappliedFromPayment < Stripe::StripeObject + class UnappliedFromPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were unapplied from. attr_reader :payment_intent diff --git a/lib/stripe/resources/customer_session.rb b/lib/stripe/resources/customer_session.rb index ef5930c4b..d500e2a2a 100644 --- a/lib/stripe/resources/customer_session.rb +++ b/lib/stripe/resources/customer_session.rb @@ -16,8 +16,8 @@ def self.object_name "customer_session" end - class Components < Stripe::StripeObject - class BuyButton < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class BuyButton < ::Stripe::StripeObject # Whether the buy button is enabled. attr_reader :enabled @@ -30,8 +30,8 @@ def self.field_remappings end end - class PaymentElement < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -75,7 +75,7 @@ def self.field_remappings end end - class PricingTable < Stripe::StripeObject + class PricingTable < ::Stripe::StripeObject # Whether the pricing table is enabled. attr_reader :enabled diff --git a/lib/stripe/resources/discount.rb b/lib/stripe/resources/discount.rb index 32f55799d..2fc89c565 100644 --- a/lib/stripe/resources/discount.rb +++ b/lib/stripe/resources/discount.rb @@ -12,7 +12,7 @@ def self.object_name "discount" end - class Source < Stripe::StripeObject + class Source < ::Stripe::StripeObject # The coupon that was redeemed to create this discount. attr_reader :coupon # The source type of the discount. diff --git a/lib/stripe/resources/dispute.rb b/lib/stripe/resources/dispute.rb index ee957f875..ce7bd4151 100644 --- a/lib/stripe/resources/dispute.rb +++ b/lib/stripe/resources/dispute.rb @@ -16,11 +16,11 @@ def self.object_name "dispute" end - class Evidence < Stripe::StripeObject - class EnhancedEvidence < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject - class DisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class EnhancedEvidence < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject + class DisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -68,8 +68,8 @@ def self.field_remappings end end - class PriorUndisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class PriorUndisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -133,7 +133,7 @@ def self.field_remappings end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. attr_reader :fee_acknowledged @@ -227,9 +227,9 @@ def self.field_remappings end end - class EvidenceDetails < Stripe::StripeObject - class EnhancedEligibility < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject + class EvidenceDetails < ::Stripe::StripeObject + class EnhancedEligibility < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject # List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission. attr_reader :required_actions # Visa Compelling Evidence 3.0 eligibility status. @@ -244,7 +244,7 @@ def self.field_remappings end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # Visa compliance eligibility status. attr_reader :status @@ -294,8 +294,8 @@ def self.field_remappings end end - class PaymentMethodDetails < Stripe::StripeObject - class AmazonPay < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # The AmazonPay dispute type, chargeback or claim attr_reader :dispute_type @@ -308,7 +308,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The type of dispute opened. Different case types may have varying fees and financial impact. @@ -325,7 +325,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Chargeback loss reason mapped by Stripe from Klarna's chargeback loss reason attr_reader :chargeback_loss_reason_code # The reason for the dispute as defined by Klarna @@ -340,7 +340,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The ID of the dispute in PayPal. attr_reader :case_id # The reason for the dispute as defined by PayPal @@ -374,7 +374,7 @@ def self.field_remappings end end - class SmartDisputes < Stripe::StripeObject + class SmartDisputes < ::Stripe::StripeObject # Evidence that could be provided to improve the SmartDisputes packet attr_reader :recommended_evidence # Smart Disputes auto representment packet availability status. diff --git a/lib/stripe/resources/event.rb b/lib/stripe/resources/event.rb index 272c257f9..b958d7211 100644 --- a/lib/stripe/resources/event.rb +++ b/lib/stripe/resources/event.rb @@ -28,7 +28,7 @@ def self.object_name "event" end - class Data < Stripe::StripeObject + class Data < ::Stripe::StripeObject # Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. attr_reader :object # Object containing the names of the updated attributes and their values prior to the event (only included in events of type `*.updated`). If an array attribute has any updated elements, this object contains the entire array. In Stripe API versions 2017-04-06 or earlier, an updated array attribute in this object includes only the updated array elements. @@ -43,9 +43,9 @@ def self.field_remappings end end - class Reason < Stripe::StripeObject - class AutomationAction < Stripe::StripeObject - class StripeSendWebhookCustomEvent < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class AutomationAction < ::Stripe::StripeObject + class StripeSendWebhookCustomEvent < ::Stripe::StripeObject # Set of key-value pairs attached to the action when creating an Automation. attr_reader :custom_data @@ -74,7 +74,7 @@ def self.field_remappings end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. attr_reader :id # The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. @@ -104,7 +104,7 @@ def self.field_remappings end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. attr_reader :id # The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. diff --git a/lib/stripe/resources/financial_connections/account.rb b/lib/stripe/resources/financial_connections/account.rb index 3f1f11780..71d29e896 100644 --- a/lib/stripe/resources/financial_connections/account.rb +++ b/lib/stripe/resources/financial_connections/account.rb @@ -15,7 +15,7 @@ def self.object_name nested_resource_class_methods :inferred_balance, operations: %i[list] - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. attr_reader :account # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. @@ -34,8 +34,8 @@ def self.field_remappings end end - class Balance < Stripe::StripeObject - class Cash < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class Cash < ::Stripe::StripeObject # The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -52,7 +52,7 @@ def self.field_remappings end end - class Credit < Stripe::StripeObject + class Credit < ::Stripe::StripeObject # The credit that has been used by the account holder. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -92,7 +92,7 @@ def self.field_remappings end end - class BalanceRefresh < Stripe::StripeObject + class BalanceRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. attr_reader :last_attempted_at # Time at which the next balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. @@ -109,7 +109,7 @@ def self.field_remappings end end - class InferredBalancesRefresh < Stripe::StripeObject + class InferredBalancesRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. attr_reader :last_attempted_at # Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. @@ -126,7 +126,7 @@ def self.field_remappings end end - class OwnershipRefresh < Stripe::StripeObject + class OwnershipRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. attr_reader :last_attempted_at # Time at which the next ownership refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. @@ -143,7 +143,7 @@ def self.field_remappings end end - class TransactionRefresh < Stripe::StripeObject + class TransactionRefresh < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. diff --git a/lib/stripe/resources/financial_connections/institution.rb b/lib/stripe/resources/financial_connections/institution.rb index 0218836d0..735ac039c 100644 --- a/lib/stripe/resources/financial_connections/institution.rb +++ b/lib/stripe/resources/financial_connections/institution.rb @@ -12,8 +12,8 @@ def self.object_name "financial_connections.institution" end - class Features < Stripe::StripeObject - class Balances < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class Balances < ::Stripe::StripeObject # Whether the given feature is supported by this institution. attr_reader :supported @@ -26,7 +26,7 @@ def self.field_remappings end end - class Ownership < Stripe::StripeObject + class Ownership < ::Stripe::StripeObject # Whether the given feature is supported by this institution. attr_reader :supported @@ -39,7 +39,7 @@ def self.field_remappings end end - class PaymentMethod < Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # Whether the given feature is supported by this institution. attr_reader :supported @@ -52,7 +52,7 @@ def self.field_remappings end end - class Transactions < Stripe::StripeObject + class Transactions < ::Stripe::StripeObject # Whether the given feature is supported by this institution. attr_reader :supported diff --git a/lib/stripe/resources/financial_connections/session.rb b/lib/stripe/resources/financial_connections/session.rb index 2e73c1174..8632a2b39 100644 --- a/lib/stripe/resources/financial_connections/session.rb +++ b/lib/stripe/resources/financial_connections/session.rb @@ -12,7 +12,7 @@ def self.object_name "financial_connections.session" end - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. attr_reader :account # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. @@ -31,7 +31,7 @@ def self.field_remappings end end - class Filters < Stripe::StripeObject + class Filters < ::Stripe::StripeObject # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. attr_reader :account_subcategories # List of countries from which to filter accounts. @@ -48,7 +48,7 @@ def self.field_remappings end end - class Limits < Stripe::StripeObject + class Limits < ::Stripe::StripeObject # The number of accounts that can be linked in this Session. attr_reader :accounts @@ -61,7 +61,7 @@ def self.field_remappings end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -71,8 +71,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Cancelled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Cancelled < ::Stripe::StripeObject # The reason for the Session being cancelled. attr_reader :reason diff --git a/lib/stripe/resources/financial_connections/transaction.rb b/lib/stripe/resources/financial_connections/transaction.rb index e15d976f4..0c286331b 100644 --- a/lib/stripe/resources/financial_connections/transaction.rb +++ b/lib/stripe/resources/financial_connections/transaction.rb @@ -12,7 +12,7 @@ def self.object_name "financial_connections.transaction" end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Time at which this transaction posted. Measured in seconds since the Unix epoch. attr_reader :posted_at # Time at which this transaction was voided. Measured in seconds since the Unix epoch. diff --git a/lib/stripe/resources/forwarding/request.rb b/lib/stripe/resources/forwarding/request.rb index 5e83f906a..0b941314d 100644 --- a/lib/stripe/resources/forwarding/request.rb +++ b/lib/stripe/resources/forwarding/request.rb @@ -28,7 +28,7 @@ def self.object_name "forwarding.request" end - class RequestContext < Stripe::StripeObject + class RequestContext < ::Stripe::StripeObject # The time it took in milliseconds for the destination endpoint to respond. attr_reader :destination_duration # The IP address of the destination. @@ -43,8 +43,8 @@ def self.field_remappings end end - class RequestDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class RequestDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. attr_reader :name # The header value. @@ -74,8 +74,8 @@ def self.field_remappings end end - class ResponseDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class ResponseDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. attr_reader :name # The header value. diff --git a/lib/stripe/resources/funding_instructions.rb b/lib/stripe/resources/funding_instructions.rb index 034d54a13..716834be9 100644 --- a/lib/stripe/resources/funding_instructions.rb +++ b/lib/stripe/resources/funding_instructions.rb @@ -13,10 +13,10 @@ def self.object_name "funding_instructions" end - class BankTransfer < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -39,7 +39,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -88,8 +88,8 @@ def self.field_remappings end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -112,7 +112,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -159,8 +159,8 @@ def self.field_remappings end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -183,7 +183,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -228,8 +228,8 @@ def self.field_remappings end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -252,7 +252,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -299,8 +299,8 @@ def self.field_remappings end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -323,7 +323,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -372,8 +372,8 @@ def self.field_remappings end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -396,7 +396,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/resources/fx_quote.rb b/lib/stripe/resources/fx_quote.rb index a7e8c9553..182f5d74e 100644 --- a/lib/stripe/resources/fx_quote.rb +++ b/lib/stripe/resources/fx_quote.rb @@ -17,8 +17,8 @@ def self.object_name "fx_quote" end - class Rates < Stripe::StripeObject - class RateDetails < Stripe::StripeObject + class Rates < ::Stripe::StripeObject + class RateDetails < ::Stripe::StripeObject # The rate for the currency pair. attr_reader :base_rate # The fee for locking the conversion rates. @@ -52,8 +52,8 @@ def self.field_remappings end end - class Usage < Stripe::StripeObject - class Payment < Stripe::StripeObject + class Usage < ::Stripe::StripeObject + class Payment < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -72,7 +72,7 @@ def self.field_remappings end end - class Transfer < Stripe::StripeObject + class Transfer < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. diff --git a/lib/stripe/resources/identity/verification_report.rb b/lib/stripe/resources/identity/verification_report.rb index 0d0dea77a..50b2c1730 100644 --- a/lib/stripe/resources/identity/verification_report.rb +++ b/lib/stripe/resources/identity/verification_report.rb @@ -22,8 +22,8 @@ def self.object_name "identity.verification_report" end - class Document < Stripe::StripeObject - class Address < Stripe::StripeObject + class Document < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -46,7 +46,7 @@ def self.field_remappings end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. attr_reader :day # Numerical month between 1 and 12. @@ -63,7 +63,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. attr_reader :code # A human-readable message giving the reason for the failure. These messages can be shown to your users. @@ -78,7 +78,7 @@ def self.field_remappings end end - class ExpirationDate < Stripe::StripeObject + class ExpirationDate < ::Stripe::StripeObject # Numerical day between 1 and 31. attr_reader :day # Numerical month between 1 and 12. @@ -95,7 +95,7 @@ def self.field_remappings end end - class IssuedDate < Stripe::StripeObject + class IssuedDate < ::Stripe::StripeObject # Numerical day between 1 and 31. attr_reader :day # Numerical month between 1 and 12. @@ -157,8 +157,8 @@ def self.field_remappings end end - class Email < Stripe::StripeObject - class Error < Stripe::StripeObject + class Email < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. attr_reader :code # A human-readable message giving the reason for the failure. These messages can be shown to your users. @@ -188,8 +188,8 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject - class Dob < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. attr_reader :day # Numerical month between 1 and 12. @@ -206,7 +206,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. attr_reader :code # A human-readable message giving the reason for the failure. These messages can be shown to your users. @@ -244,8 +244,8 @@ def self.field_remappings end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. attr_reader :allowed_types # Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth. @@ -264,7 +264,7 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -287,8 +287,8 @@ def self.field_remappings end end - class Phone < Stripe::StripeObject - class Error < Stripe::StripeObject + class Phone < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. attr_reader :code # A human-readable message giving the reason for the failure. These messages can be shown to your users. @@ -318,8 +318,8 @@ def self.field_remappings end end - class Selfie < Stripe::StripeObject - class Error < Stripe::StripeObject + class Selfie < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. attr_reader :code # A human-readable message giving the reason for the failure. These messages can be shown to your users. diff --git a/lib/stripe/resources/identity/verification_session.rb b/lib/stripe/resources/identity/verification_session.rb index b4bdf430b..b0a2aa1c9 100644 --- a/lib/stripe/resources/identity/verification_session.rb +++ b/lib/stripe/resources/identity/verification_session.rb @@ -24,7 +24,7 @@ def self.object_name "identity.verification_session" end - class LastError < Stripe::StripeObject + class LastError < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification or user-session failure. attr_reader :code # A message that explains the reason for verification or user-session failure. @@ -39,8 +39,8 @@ def self.field_remappings end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. attr_reader :allowed_types # Collect an ID number and perform an [ID number check](https://stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth. @@ -59,7 +59,7 @@ def self.field_remappings end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Request one time password verification of `provided_details.email`. attr_reader :require_verification @@ -72,7 +72,7 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -82,7 +82,7 @@ def self.field_remappings end end - class Matching < Stripe::StripeObject + class Matching < ::Stripe::StripeObject # Strictness of the DOB matching policy to apply. attr_reader :dob # Strictness of the name matching policy to apply. @@ -97,7 +97,7 @@ def self.field_remappings end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # Request one time password verification of `provided_details.phone`. attr_reader :require_verification @@ -135,7 +135,7 @@ def self.field_remappings end end - class ProvidedDetails < Stripe::StripeObject + class ProvidedDetails < ::Stripe::StripeObject # Email of user being verified attr_reader :email # Phone number of user being verified @@ -150,7 +150,7 @@ def self.field_remappings end end - class Redaction < Stripe::StripeObject + class Redaction < ::Stripe::StripeObject # Indicates whether this object and its related objects have been redacted or not. attr_reader :status @@ -163,7 +163,7 @@ def self.field_remappings end end - class RelatedPerson < Stripe::StripeObject + class RelatedPerson < ::Stripe::StripeObject # Token referencing the associated Account of the related Person resource. attr_reader :account # Token referencing the related Person resource. @@ -178,8 +178,8 @@ def self.field_remappings end end - class VerifiedOutputs < Stripe::StripeObject - class Address < Stripe::StripeObject + class VerifiedOutputs < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -202,7 +202,7 @@ def self.field_remappings end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. attr_reader :day # Numerical month between 1 and 12. diff --git a/lib/stripe/resources/invoice.rb b/lib/stripe/resources/invoice.rb index 7bbce72b2..ad656df8c 100644 --- a/lib/stripe/resources/invoice.rb +++ b/lib/stripe/resources/invoice.rb @@ -49,7 +49,7 @@ def self.object_name nested_resource_class_methods :line, operations: %i[list] - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). attr_reader :amount # The amount in cents (or local equivalent) that was paid for this payment. @@ -76,8 +76,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -111,7 +111,7 @@ def self.field_remappings end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. attr_reader :client_secret # The type of client_secret. Currently this is always payment_intent, referencing the default payment_intent that Stripe creates during invoice finalization @@ -126,7 +126,7 @@ def self.field_remappings end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. attr_reader :name # The value of the custom field. @@ -141,7 +141,7 @@ def self.field_remappings end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -164,8 +164,8 @@ def self.field_remappings end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -207,7 +207,7 @@ def self.field_remappings end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -222,7 +222,7 @@ def self.field_remappings end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice attr_reader :action # The invoice that was cloned. @@ -237,7 +237,7 @@ def self.field_remappings end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -252,7 +252,7 @@ def self.field_remappings end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. attr_reader :advice_code # For card errors, the ID of the failed charge. @@ -329,8 +329,8 @@ def self.field_remappings end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice attr_reader :billing_cadence @@ -343,7 +343,7 @@ def self.field_remappings end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice attr_reader :quote @@ -356,8 +356,8 @@ def self.field_remappings end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior # The time after which the subscription will resume collecting payments. @@ -411,10 +411,10 @@ def self.field_remappings end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -440,7 +440,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -453,8 +453,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. attr_reader :enabled @@ -480,9 +480,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -521,7 +521,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -531,7 +531,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -541,7 +541,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. attr_reader :amount_includes_iof @@ -554,7 +554,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -564,8 +564,8 @@ def self.field_remappings end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -595,9 +595,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -695,8 +695,8 @@ def self.field_remappings end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. attr_reader :page_size @@ -726,8 +726,8 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -767,8 +767,8 @@ def self.field_remappings end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -810,7 +810,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. attr_reader :finalized_at # The time that the invoice was marked uncollectible. @@ -829,8 +829,8 @@ def self.field_remappings end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. attr_reader :line_item_ids # The quantity threshold boundary that applied to the given line item. @@ -858,7 +858,7 @@ def self.field_remappings end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. @@ -873,7 +873,7 @@ def self.field_remappings end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. attr_reader :amount # The margin that was applied to get this margin amount. @@ -888,7 +888,7 @@ def self.field_remappings end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. attr_reader :amount # The credit balance transaction that was applied to get this pretax credit amount. @@ -909,8 +909,8 @@ def self.field_remappings end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate attr_reader :tax_rate diff --git a/lib/stripe/resources/invoice_item.rb b/lib/stripe/resources/invoice_item.rb index e26ec631f..d2cb3f38a 100644 --- a/lib/stripe/resources/invoice_item.rb +++ b/lib/stripe/resources/invoice_item.rb @@ -21,8 +21,8 @@ def self.object_name "invoiceitem" end - class Parent < Stripe::StripeObject - class SubscriptionDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject # The subscription that generated this invoice item attr_reader :subscription # The subscription item that generated this invoice item @@ -50,7 +50,7 @@ def self.field_remappings end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_reader :end # The start of the period. This value is inclusive. @@ -65,8 +65,8 @@ def self.field_remappings end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. attr_reader :price # The ID of the product this item is associated with. @@ -96,8 +96,8 @@ def self.field_remappings end end - class ProrationDetails < Stripe::StripeObject - class DiscountAmount < Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. diff --git a/lib/stripe/resources/invoice_line_item.rb b/lib/stripe/resources/invoice_line_item.rb index ffba34c9a..6eb95b717 100644 --- a/lib/stripe/resources/invoice_line_item.rb +++ b/lib/stripe/resources/invoice_line_item.rb @@ -13,7 +13,7 @@ def self.object_name "line_item" end - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. @@ -28,7 +28,7 @@ def self.field_remappings end end - class MarginAmount < Stripe::StripeObject + class MarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. attr_reader :amount # The margin that was applied to get this margin amount. @@ -43,10 +43,10 @@ def self.field_remappings end end - class Parent < Stripe::StripeObject - class InvoiceItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class InvoiceItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items attr_reader :invoice # Credited invoice line items @@ -89,9 +89,9 @@ def self.field_remappings end end - class SubscriptionItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class SubscriptionItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items attr_reader :invoice # Credited invoice line items @@ -154,7 +154,7 @@ def self.field_remappings end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. attr_reader :end # The start of the period. This value is inclusive. @@ -169,7 +169,7 @@ def self.field_remappings end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. attr_reader :amount # The credit balance transaction that was applied to get this pretax credit amount. @@ -190,8 +190,8 @@ def self.field_remappings end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. attr_reader :price # The ID of the product this item is associated with. @@ -221,7 +221,7 @@ def self.field_remappings end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. attr_reader :calculation_id # The calculation identifier for tax calculation response line item. @@ -236,8 +236,8 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate attr_reader :tax_rate diff --git a/lib/stripe/resources/invoice_payment.rb b/lib/stripe/resources/invoice_payment.rb index ac35fc0ba..ba2223b0b 100644 --- a/lib/stripe/resources/invoice_payment.rb +++ b/lib/stripe/resources/invoice_payment.rb @@ -18,7 +18,7 @@ def self.object_name "invoice_payment" end - class Payment < Stripe::StripeObject + class Payment < ::Stripe::StripeObject # ID of the successful charge for this payment when `type` is `charge`.Note: charge is only surfaced if the charge object is not associated with a payment intent. If the charge object does have a payment intent, the Invoice Payment surfaces the payment intent instead. attr_reader :charge # ID of the PaymentIntent associated with this payment when `type` is `payment_intent`. Note: This property is only populated for invoices finalized on or after March 15th, 2019. @@ -37,7 +37,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the payment was canceled. attr_reader :canceled_at # The time that the payment succeeded. diff --git a/lib/stripe/resources/issuing/authorization.rb b/lib/stripe/resources/issuing/authorization.rb index b2a1a26e8..3b4dbf916 100644 --- a/lib/stripe/resources/issuing/authorization.rb +++ b/lib/stripe/resources/issuing/authorization.rb @@ -18,7 +18,7 @@ def self.object_name "issuing.authorization" end - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. attr_reader :atm_fee # The amount of cash requested by the cardholder. @@ -33,8 +33,8 @@ def self.field_remappings end end - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. attr_reader :alphanumeric_id # Driver ID. @@ -57,8 +57,8 @@ def self.field_remappings end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. attr_reader :gross_amount_decimal @@ -71,7 +71,7 @@ def self.field_remappings end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_reader :gross_amount_decimal @@ -84,7 +84,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. attr_reader :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax. @@ -134,7 +134,7 @@ def self.field_remappings end end - class FraudChallenge < Stripe::StripeObject + class FraudChallenge < ::Stripe::StripeObject # The method by which the fraud challenge was delivered to the cardholder. attr_reader :channel # The status of the fraud challenge. @@ -151,7 +151,7 @@ def self.field_remappings end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_reader :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -172,7 +172,7 @@ def self.field_remappings end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_reader :category # The merchant category code for the seller’s business @@ -205,7 +205,7 @@ def self.field_remappings end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. attr_reader :acquiring_institution_id # The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements. @@ -222,8 +222,8 @@ def self.field_remappings end end - class PendingRequest < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class PendingRequest < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. attr_reader :atm_fee # The amount of cash requested by the cardholder. @@ -261,8 +261,8 @@ def self.field_remappings end end - class RequestHistory < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class RequestHistory < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. attr_reader :atm_fee # The amount of cash requested by the cardholder. @@ -310,7 +310,7 @@ def self.field_remappings end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The array of [ReceivedCredits](https://stripe.com/docs/api/treasury/received_credits) associated with this authorization attr_reader :received_credits # The array of [ReceivedDebits](https://stripe.com/docs/api/treasury/received_debits) associated with this authorization @@ -327,8 +327,8 @@ def self.field_remappings end end - class VerificationData < Stripe::StripeObject - class AuthenticationExemption < Stripe::StripeObject + class VerificationData < ::Stripe::StripeObject + class AuthenticationExemption < ::Stripe::StripeObject # The entity that requested the exemption, either the acquiring merchant or the Issuing user. attr_reader :claimed_by # The specific exemption claimed for this authorization. @@ -343,7 +343,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # The outcome of the 3D Secure authentication request. attr_reader :result diff --git a/lib/stripe/resources/issuing/card.rb b/lib/stripe/resources/issuing/card.rb index 1d44c9095..f55dff4c3 100644 --- a/lib/stripe/resources/issuing/card.rb +++ b/lib/stripe/resources/issuing/card.rb @@ -14,8 +14,8 @@ def self.object_name "issuing.card" end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -38,8 +38,8 @@ def self.field_remappings end end - class AddressValidation < Stripe::StripeObject - class NormalizedAddress < Stripe::StripeObject + class AddressValidation < ::Stripe::StripeObject + class NormalizedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -77,7 +77,7 @@ def self.field_remappings end end - class Customs < Stripe::StripeObject + class Customs < ::Stripe::StripeObject # A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU. attr_reader :eori_number @@ -129,8 +129,8 @@ def self.field_remappings end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_reader :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. @@ -168,8 +168,8 @@ def self.field_remappings end end - class Wallets < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallets < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Apple Pay Eligibility attr_reader :eligible # Reason the card is ineligible for Apple Pay @@ -184,7 +184,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject # Google Pay Eligibility attr_reader :eligible # Reason the card is ineligible for Google Pay diff --git a/lib/stripe/resources/issuing/cardholder.rb b/lib/stripe/resources/issuing/cardholder.rb index 6606ac0a6..c792fbb57 100644 --- a/lib/stripe/resources/issuing/cardholder.rb +++ b/lib/stripe/resources/issuing/cardholder.rb @@ -16,8 +16,8 @@ def self.object_name "issuing.cardholder" end - class Billing < Stripe::StripeObject - class Address < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -51,7 +51,7 @@ def self.field_remappings end end - class Company < Stripe::StripeObject + class Company < ::Stripe::StripeObject # Whether the company's business ID number was provided. attr_reader :tax_id_provided @@ -64,9 +64,9 @@ def self.field_remappings end end - class Individual < Stripe::StripeObject - class CardIssuing < Stripe::StripeObject - class UserTermsAcceptance < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class UserTermsAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. attr_reader :date # The IP address from which the cardholder accepted the Authorized User Terms. @@ -94,7 +94,7 @@ def self.field_remappings end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -111,8 +111,8 @@ def self.field_remappings end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. attr_reader :back # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. @@ -157,7 +157,7 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject # If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. attr_reader :disabled_reason # Array of fields that need to be collected in order to verify and re-enable the cardholder. @@ -172,8 +172,8 @@ def self.field_remappings end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_reader :amount # Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. diff --git a/lib/stripe/resources/issuing/credit_underwriting_record.rb b/lib/stripe/resources/issuing/credit_underwriting_record.rb index b194727eb..ad78d653e 100644 --- a/lib/stripe/resources/issuing/credit_underwriting_record.rb +++ b/lib/stripe/resources/issuing/credit_underwriting_record.rb @@ -14,7 +14,7 @@ def self.object_name "issuing.credit_underwriting_record" end - class Application < Stripe::StripeObject + class Application < ::Stripe::StripeObject # The channel through which the applicant has submitted their application. attr_reader :application_method # Scope of demand made by the applicant. @@ -31,7 +31,7 @@ def self.field_remappings end end - class CreditUser < Stripe::StripeObject + class CreditUser < ::Stripe::StripeObject # Email of the applicant or accountholder. attr_reader :email # Full name of the company or person. @@ -46,8 +46,8 @@ def self.field_remappings end end - class Decision < Stripe::StripeObject - class ApplicationRejected < Stripe::StripeObject + class Decision < ::Stripe::StripeObject + class ApplicationRejected < ::Stripe::StripeObject # Details about the `reasons.other` when present. attr_reader :reason_other_explanation # List of reasons why the application was rejected up to 4 reasons, in order of importance. @@ -62,7 +62,7 @@ def self.field_remappings end end - class CreditLimitApproved < Stripe::StripeObject + class CreditLimitApproved < ::Stripe::StripeObject # Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). attr_reader :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -77,7 +77,7 @@ def self.field_remappings end end - class CreditLimitDecreased < Stripe::StripeObject + class CreditLimitDecreased < ::Stripe::StripeObject # Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). attr_reader :amount # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -96,7 +96,7 @@ def self.field_remappings end end - class CreditLineClosed < Stripe::StripeObject + class CreditLineClosed < ::Stripe::StripeObject # Details about the `reasons.other` when present. attr_reader :reason_other_explanation # List of reasons why the existing account was closed, up to 4 reasons, in order of importance. @@ -135,7 +135,7 @@ def self.field_remappings end end - class UnderwritingException < Stripe::StripeObject + class UnderwritingException < ::Stripe::StripeObject # Written explanation for the exception. attr_reader :explanation # The decision before the exception was applied. diff --git a/lib/stripe/resources/issuing/dispute.rb b/lib/stripe/resources/issuing/dispute.rb index f07067bbb..09645a123 100644 --- a/lib/stripe/resources/issuing/dispute.rb +++ b/lib/stripe/resources/issuing/dispute.rb @@ -16,8 +16,8 @@ def self.object_name "issuing.dispute" end - class Evidence < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Date when order was canceled. @@ -48,7 +48,7 @@ def self.field_remappings end end - class Duplicate < Stripe::StripeObject + class Duplicate < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. @@ -71,7 +71,7 @@ def self.field_remappings end end - class Fraudulent < Stripe::StripeObject + class Fraudulent < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -86,7 +86,7 @@ def self.field_remappings end end - class MerchandiseNotAsDescribed < Stripe::StripeObject + class MerchandiseNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -109,7 +109,7 @@ def self.field_remappings end end - class NoValidAuthorization < Stripe::StripeObject + class NoValidAuthorization < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -124,7 +124,7 @@ def self.field_remappings end end - class NotReceived < Stripe::StripeObject + class NotReceived < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Date when the cardholder expected to receive the product. @@ -145,7 +145,7 @@ def self.field_remappings end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Explanation of why the cardholder is disputing this transaction. @@ -164,7 +164,7 @@ def self.field_remappings end end - class ServiceNotAsDescribed < Stripe::StripeObject + class ServiceNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. attr_reader :additional_documentation # Date when order was canceled. @@ -221,7 +221,7 @@ def self.field_remappings end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [DebitReversal](https://stripe.com/docs/api/treasury/debit_reversals) representing this Issuing dispute attr_reader :debit_reversal # The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) that is being disputed. diff --git a/lib/stripe/resources/issuing/dispute_settlement_detail.rb b/lib/stripe/resources/issuing/dispute_settlement_detail.rb index b400606d2..788ed4df2 100644 --- a/lib/stripe/resources/issuing/dispute_settlement_detail.rb +++ b/lib/stripe/resources/issuing/dispute_settlement_detail.rb @@ -12,7 +12,7 @@ def self.object_name "issuing.dispute_settlement_detail" end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. attr_reader :processing_date diff --git a/lib/stripe/resources/issuing/personalization_design.rb b/lib/stripe/resources/issuing/personalization_design.rb index 94cc45ca6..2ee423a92 100644 --- a/lib/stripe/resources/issuing/personalization_design.rb +++ b/lib/stripe/resources/issuing/personalization_design.rb @@ -14,7 +14,7 @@ def self.object_name "issuing.personalization_design" end - class CarrierText < Stripe::StripeObject + class CarrierText < ::Stripe::StripeObject # The footer body text of the carrier letter. attr_reader :footer_body # The footer title text of the carrier letter. @@ -33,7 +33,7 @@ def self.field_remappings end end - class Preferences < Stripe::StripeObject + class Preferences < ::Stripe::StripeObject # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. attr_reader :is_default # Whether this personalization design is used to create cards when one is not specified and a default for this connected account does not exist. @@ -48,7 +48,7 @@ def self.field_remappings end end - class RejectionReasons < Stripe::StripeObject + class RejectionReasons < ::Stripe::StripeObject # The reason(s) the card logo was rejected. attr_reader :card_logo # The reason(s) the carrier text was rejected. diff --git a/lib/stripe/resources/issuing/physical_bundle.rb b/lib/stripe/resources/issuing/physical_bundle.rb index a9d6e1630..0e7ab5e24 100644 --- a/lib/stripe/resources/issuing/physical_bundle.rb +++ b/lib/stripe/resources/issuing/physical_bundle.rb @@ -12,7 +12,7 @@ def self.object_name "issuing.physical_bundle" end - class Features < Stripe::StripeObject + class Features < ::Stripe::StripeObject # The policy for how to use card logo images in a card design with this physical bundle. attr_reader :card_logo # The policy for how to use carrier letter text in a card design with this physical bundle. diff --git a/lib/stripe/resources/issuing/token.rb b/lib/stripe/resources/issuing/token.rb index 911954cd5..caa8195f1 100644 --- a/lib/stripe/resources/issuing/token.rb +++ b/lib/stripe/resources/issuing/token.rb @@ -13,8 +13,8 @@ def self.object_name "issuing.token" end - class NetworkData < Stripe::StripeObject - class Device < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject + class Device < ::Stripe::StripeObject # An obfuscated ID derived from the device ID. attr_reader :device_fingerprint # The IP address of the device at provisioning time. @@ -37,7 +37,7 @@ def self.field_remappings end end - class Mastercard < Stripe::StripeObject + class Mastercard < ::Stripe::StripeObject # A unique reference ID from MasterCard to represent the card account number. attr_reader :card_reference_id # The network-unique identifier for the token. @@ -56,7 +56,7 @@ def self.field_remappings end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # A unique reference ID from Visa to represent the card account number. attr_reader :card_reference_id # The network-unique identifier for the token. @@ -75,8 +75,8 @@ def self.field_remappings end end - class WalletProvider < Stripe::StripeObject - class CardholderAddress < Stripe::StripeObject + class WalletProvider < ::Stripe::StripeObject + class CardholderAddress < ::Stripe::StripeObject # The street address of the cardholder tokenizing the card. attr_reader :line1 # The postal code of the cardholder tokenizing the card. diff --git a/lib/stripe/resources/issuing/transaction.rb b/lib/stripe/resources/issuing/transaction.rb index 67f4a5e99..5270710db 100644 --- a/lib/stripe/resources/issuing/transaction.rb +++ b/lib/stripe/resources/issuing/transaction.rb @@ -17,7 +17,7 @@ def self.object_name "issuing.transaction" end - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. attr_reader :atm_fee # The amount of cash requested by the cardholder. @@ -32,7 +32,7 @@ def self.field_remappings end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. attr_reader :category # The merchant category code for the seller’s business @@ -65,7 +65,7 @@ def self.field_remappings end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. attr_reader :authorization_code # The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. @@ -82,9 +82,9 @@ def self.field_remappings end end - class PurchaseDetails < Stripe::StripeObject - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class PurchaseDetails < ::Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # Driver ID. attr_reader :driver_id # Odometer reading. @@ -105,8 +105,8 @@ def self.field_remappings end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. attr_reader :gross_amount_decimal @@ -119,7 +119,7 @@ def self.field_remappings end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. attr_reader :gross_amount_decimal @@ -132,7 +132,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. attr_reader :local_amount_decimal # Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. @@ -182,8 +182,8 @@ def self.field_remappings end end - class Flight < Stripe::StripeObject - class Segment < Stripe::StripeObject + class Flight < ::Stripe::StripeObject + class Segment < ::Stripe::StripeObject # The three-letter IATA airport code of the flight's destination. attr_reader :arrival_airport_code # The airline carrier code. @@ -225,7 +225,7 @@ def self.field_remappings end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. attr_reader :industry_product_code # The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. @@ -246,7 +246,7 @@ def self.field_remappings end end - class Lodging < Stripe::StripeObject + class Lodging < ::Stripe::StripeObject # The time of checking into the lodging. attr_reader :check_in_at # The number of nights stayed at the lodging. @@ -261,7 +261,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The description of the item. The maximum length of this field is 26 characters. attr_reader :description # The quantity of the item. @@ -307,7 +307,7 @@ def self.field_remappings end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [ReceivedCredit](https://stripe.com/docs/api/treasury/received_credits) representing this Issuing transaction if it is a refund attr_reader :received_credit # The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) representing this Issuing transaction if it is a capture diff --git a/lib/stripe/resources/line_item.rb b/lib/stripe/resources/line_item.rb index c3b31e633..21fb42cc1 100644 --- a/lib/stripe/resources/line_item.rb +++ b/lib/stripe/resources/line_item.rb @@ -9,7 +9,7 @@ def self.object_name "item" end - class AdjustableQuantity < Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Attribute for field enabled attr_reader :enabled # Attribute for field maximum @@ -26,7 +26,7 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -44,7 +44,7 @@ def self.field_remappings end end - class Display < Stripe::StripeObject + class Display < ::Stripe::StripeObject # Attribute for field description attr_reader :description # Attribute for field images @@ -61,7 +61,7 @@ def self.field_remappings end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. attr_reader :calculation_id # The calculation identifier for tax calculation response line item. @@ -76,7 +76,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. diff --git a/lib/stripe/resources/mandate.rb b/lib/stripe/resources/mandate.rb index 43f45c22e..dc67e1d51 100644 --- a/lib/stripe/resources/mandate.rb +++ b/lib/stripe/resources/mandate.rb @@ -11,8 +11,8 @@ def self.object_name "mandate" end - class CustomerAcceptance < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -22,7 +22,7 @@ def self.field_remappings end end - class Online < Stripe::StripeObject + class Online < ::Stripe::StripeObject # The customer accepts the mandate from this IP address. attr_reader :ip_address # The customer accepts the mandate using the user agent of the browser. @@ -54,7 +54,7 @@ def self.field_remappings end end - class MultiUse < Stripe::StripeObject + class MultiUse < ::Stripe::StripeObject # The amount of the payment on a multi use mandate. attr_reader :amount # The currency of the payment on a multi use mandate. @@ -69,8 +69,8 @@ def self.field_remappings end end - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # List of Stripe products where this mandate can be selected automatically. attr_reader :default_for # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'. @@ -89,7 +89,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -99,7 +99,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. attr_reader :url @@ -112,7 +112,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`. attr_reader :network_status # The unique reference identifying the mandate on the Bacs network. @@ -131,7 +131,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -141,7 +141,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -151,7 +151,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -161,7 +161,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -171,7 +171,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -181,7 +181,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -191,7 +191,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -201,7 +201,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -211,7 +211,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. attr_reader :billing_agreement_id # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. @@ -231,7 +231,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_reader :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -256,7 +256,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. attr_reader :amount_includes_iof # Type of amount. @@ -279,7 +279,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -289,7 +289,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # The unique reference of the mandate. attr_reader :reference # The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. @@ -304,7 +304,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Mandate collection method attr_reader :collection_method @@ -383,7 +383,7 @@ def self.field_remappings end end - class SingleUse < Stripe::StripeObject + class SingleUse < ::Stripe::StripeObject # The amount of the payment on a single use mandate. attr_reader :amount # The currency of the payment on a single use mandate. diff --git a/lib/stripe/resources/order.rb b/lib/stripe/resources/order.rb index 71f557010..18d906ed1 100644 --- a/lib/stripe/resources/order.rb +++ b/lib/stripe/resources/order.rb @@ -17,7 +17,7 @@ def self.object_name "order" end - class AutomaticTax < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject # Whether Stripe automatically computes tax on this Order. attr_reader :enabled # The status of the most recent automated tax calculation for this Order. @@ -32,8 +32,8 @@ def self.field_remappings end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -73,9 +73,9 @@ def self.field_remappings end end - class Payment < Stripe::StripeObject - class Settings < Stripe::StripeObject - class AutomaticPaymentMethods < Stripe::StripeObject + class Payment < ::Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Whether this Order has been opted into managing payment method types via the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). attr_reader :enabled @@ -88,9 +88,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text attr_reader :custom_mandate_url # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'. @@ -132,7 +132,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Order identifier shown to the user in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. @@ -155,7 +155,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -174,7 +174,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -195,7 +195,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with the payment method. @@ -216,9 +216,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -269,7 +269,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -288,7 +288,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Preferred locale of the Klarna checkout page that the customer is redirected to. @@ -311,7 +311,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # [Deprecated] This is a legacy parameter that no longer has any function. @@ -334,7 +334,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -355,7 +355,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -374,9 +374,9 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_reader :amount # The tax behavior for the line item. @@ -445,8 +445,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_reader :reference_prefix @@ -480,7 +480,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. attr_reader :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -501,7 +501,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_reader :app_id # The client type that the end customer will pay from @@ -579,7 +579,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. attr_reader :amount # ID of the Connected account receiving the transfer. @@ -638,8 +638,8 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -679,8 +679,8 @@ def self.field_remappings end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -718,8 +718,8 @@ def self.field_remappings end end - class TaxDetails < Stripe::StripeObject - class TaxId < Stripe::StripeObject + class TaxDetails < ::Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -747,9 +747,9 @@ def self.field_remappings end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -767,7 +767,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. diff --git a/lib/stripe/resources/payment_attempt_record.rb b/lib/stripe/resources/payment_attempt_record.rb index 8bcb4bc9c..b8c4b3baa 100644 --- a/lib/stripe/resources/payment_attempt_record.rb +++ b/lib/stripe/resources/payment_attempt_record.rb @@ -14,7 +14,7 @@ def self.object_name "payment_attempt_record" end - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -29,7 +29,7 @@ def self.field_remappings end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -44,7 +44,7 @@ def self.field_remappings end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -59,7 +59,7 @@ def self.field_remappings end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -74,7 +74,7 @@ def self.field_remappings end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -89,7 +89,7 @@ def self.field_remappings end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -104,7 +104,7 @@ def self.field_remappings end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -119,7 +119,7 @@ def self.field_remappings end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. attr_reader :customer # The customer's email address. @@ -138,8 +138,8 @@ def self.field_remappings end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. attr_reader :account_number # Name of the bank associated with the routing number. @@ -158,7 +158,7 @@ def self.field_remappings end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. attr_reader :account_holder_type # Name of the bank associated with the bank account. @@ -181,7 +181,7 @@ def self.field_remappings end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -204,7 +204,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -221,7 +221,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. attr_reader :order_id # Order identifier shown to the merchant in Afterpay’s online portal. @@ -236,7 +236,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. attr_reader :buyer_id # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. @@ -253,8 +253,8 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. attr_reader :count @@ -280,9 +280,9 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -333,7 +333,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -352,7 +352,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. attr_reader :fingerprint # Last four digits of the bank account number. @@ -371,7 +371,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -400,7 +400,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. attr_reader :transaction_id @@ -413,8 +413,8 @@ def self.field_remappings end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -454,7 +454,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. attr_reader :buyer_id @@ -467,7 +467,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) attr_reader :tax_id @@ -480,8 +480,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check attr_reader :address_line1_check # Attribute for field address_postal_code_check @@ -498,7 +498,7 @@ def self.field_remappings end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. attr_reader :used @@ -511,7 +511,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow attr_reader :authentication_flow # Attribute for field result @@ -530,8 +530,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. attr_reader :type @@ -544,7 +544,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -617,8 +617,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -633,7 +633,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -662,7 +662,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -736,7 +736,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. attr_reader :buyer_id # A public identifier for buyers using Cash App. @@ -753,7 +753,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. attr_reader :buyer_address # The blockchain network that the transaction was sent on. @@ -772,7 +772,7 @@ def self.field_remappings end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. attr_reader :display_name # The custom payment method type associated with this payment. @@ -787,7 +787,7 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -797,7 +797,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. attr_reader :bank # Owner's verified full name. Values are verified or provided by EPS directly @@ -814,7 +814,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. attr_reader :account_holder_type # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. @@ -831,7 +831,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -852,7 +852,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -862,7 +862,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay attr_reader :transaction_id @@ -875,7 +875,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. attr_reader :account_number # Bank where the account is located. @@ -896,7 +896,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank. @@ -920,8 +920,8 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -997,7 +997,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Kakao Pay transaction ID associated with this payment. @@ -1012,9 +1012,9 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country attr_reader :country @@ -1055,8 +1055,8 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. attr_reader :chain @@ -1080,7 +1080,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. attr_reader :brand # A unique identifier for the buyer as determined by the local payment processor. @@ -1099,7 +1099,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. attr_reader :country @@ -1113,7 +1113,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1123,8 +1123,8 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction attr_reader :brand # Two-letter ISO code representing the country of the card @@ -1156,7 +1156,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. attr_reader :entity # Reference number associated with this Multibanco payment. @@ -1171,7 +1171,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Naver Pay transaction ID associated with this payment. @@ -1186,7 +1186,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_reader :account_holder_name # The numeric code for the bank account's bank. @@ -1209,7 +1209,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number attr_reader :number @@ -1222,7 +1222,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. attr_reader :bank # Unique reference for this Przelewy24 payment. @@ -1241,7 +1241,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1251,7 +1251,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Payco transaction ID associated with this payment. @@ -1266,7 +1266,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -1283,8 +1283,8 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. attr_reader :dispute_categories # Indicates whether the transaction is eligible for PayPal's seller protection. @@ -1299,7 +1299,7 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1322,7 +1322,7 @@ def self.field_remappings end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1386,7 +1386,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1396,7 +1396,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Last four digits of the bank account number. @@ -1415,7 +1415,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB attr_reader :bank_transaction_id # ID of the multi use Mandate generated by the PaymentIntent @@ -1430,7 +1430,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay attr_reader :reference @@ -1443,7 +1443,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1453,7 +1453,10 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + attr_reader :payment_portal_url + def self.inner_class_types @inner_class_types = {} end @@ -1463,9 +1466,9 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -1516,7 +1519,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Samsung Pay transaction ID associated with this payment. @@ -1531,7 +1534,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. attr_reader :transaction_id @@ -1544,7 +1547,7 @@ def self.field_remappings end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Bank Identifier Code of the bank associated with the bank account. @@ -1561,7 +1564,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Branch code of bank associated with the bank account. @@ -1584,7 +1587,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1594,7 +1597,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -1625,7 +1628,7 @@ def self.field_remappings end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1635,7 +1638,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment attr_reader :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1650,7 +1653,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer attr_reader :fingerprint # Payer bank reference number for the payment @@ -1667,7 +1670,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1677,7 +1680,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type attr_reader :account_holder_type # Attribute for field account_type @@ -1704,7 +1707,7 @@ def self.field_remappings end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1714,7 +1717,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. attr_reader :fingerprint # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. @@ -1733,7 +1736,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1959,8 +1962,8 @@ def self.field_remappings end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. attr_reader :payment_reference @@ -1988,8 +1991,8 @@ def self.field_remappings end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb index 225ba256a..46a54513f 100644 --- a/lib/stripe/resources/payment_intent.rb +++ b/lib/stripe/resources/payment_intent.rb @@ -27,8 +27,8 @@ def self.object_name nested_resource_class_methods :amount_details_line_item, operations: %i[list] - class AmountDetails < Stripe::StripeObject - class Shipping < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. attr_reader :amount # The postal code that represents the shipping source. @@ -45,7 +45,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. attr_reader :total_tax_amount @@ -58,7 +58,7 @@ def self.field_remappings end end - class Tip < Stripe::StripeObject + class Tip < ::Stripe::StripeObject # Portion of the amount that corresponds to a tip. attr_reader :amount @@ -90,7 +90,7 @@ def self.field_remappings end end - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -107,9 +107,9 @@ def self.field_remappings end end - class Hooks < Stripe::StripeObject - class Inputs < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Hooks < ::Stripe::StripeObject + class Inputs < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id attr_reader :calculation @@ -144,7 +144,7 @@ def self.field_remappings end end - class LastPaymentError < Stripe::StripeObject + class LastPaymentError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. attr_reader :advice_code # For card errors, the ID of the failed charge. @@ -221,8 +221,8 @@ def self.field_remappings end end - class NextAction < Stripe::StripeObject - class AlipayHandleRedirect < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class AlipayHandleRedirect < ::Stripe::StripeObject # The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App. attr_reader :native_data # The native URL you must redirect your customer to in order to authenticate the payment in an iOS App. @@ -241,7 +241,7 @@ def self.field_remappings end end - class BoletoDisplayDetails < Stripe::StripeObject + class BoletoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the boleto expires. attr_reader :expires_at # The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. @@ -260,7 +260,7 @@ def self.field_remappings end end - class CardAwaitNotification < Stripe::StripeObject + class CardAwaitNotification < ::Stripe::StripeObject # The time that payment will be attempted. If customer approval is required, they need to provide approval before this time. attr_reader :charge_attempt_at # For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required. @@ -275,8 +275,8 @@ def self.field_remappings end end - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. attr_reader :expires_at # The image_url_png string used to render QR code @@ -308,10 +308,10 @@ def self.field_remappings end end - class DisplayBankTransferInstructions < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class DisplayBankTransferInstructions < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -334,7 +334,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -383,8 +383,8 @@ def self.field_remappings end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -407,7 +407,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -454,8 +454,8 @@ def self.field_remappings end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -478,7 +478,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -523,8 +523,8 @@ def self.field_remappings end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -547,7 +547,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -594,8 +594,8 @@ def self.field_remappings end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -618,7 +618,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -667,8 +667,8 @@ def self.field_remappings end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -691,7 +691,7 @@ def self.field_remappings end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -797,9 +797,9 @@ def self.field_remappings end end - class KonbiniDisplayDetails < Stripe::StripeObject - class Stores < Stripe::StripeObject - class Familymart < Stripe::StripeObject + class KonbiniDisplayDetails < ::Stripe::StripeObject + class Stores < ::Stripe::StripeObject + class Familymart < ::Stripe::StripeObject # The confirmation number. attr_reader :confirmation_number # The payment code. @@ -814,7 +814,7 @@ def self.field_remappings end end - class Lawson < Stripe::StripeObject + class Lawson < ::Stripe::StripeObject # The confirmation number. attr_reader :confirmation_number # The payment code. @@ -829,7 +829,7 @@ def self.field_remappings end end - class Ministop < Stripe::StripeObject + class Ministop < ::Stripe::StripeObject # The confirmation number. attr_reader :confirmation_number # The payment code. @@ -844,7 +844,7 @@ def self.field_remappings end end - class Seicomart < Stripe::StripeObject + class Seicomart < ::Stripe::StripeObject # The confirmation number. attr_reader :confirmation_number # The payment code. @@ -896,7 +896,7 @@ def self.field_remappings end end - class MultibancoDisplayDetails < Stripe::StripeObject + class MultibancoDisplayDetails < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. attr_reader :entity # The timestamp at which the Multibanco voucher expires. @@ -915,7 +915,7 @@ def self.field_remappings end end - class OxxoDisplayDetails < Stripe::StripeObject + class OxxoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the OXXO voucher expires. attr_reader :expires_after # The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. @@ -932,7 +932,7 @@ def self.field_remappings end end - class PaynowDisplayQrCode < Stripe::StripeObject + class PaynowDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. attr_reader :data # The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code. @@ -951,7 +951,7 @@ def self.field_remappings end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. attr_reader :data # The date (unix timestamp) when the PIX expires. @@ -972,7 +972,7 @@ def self.field_remappings end end - class PromptpayDisplayQrCode < Stripe::StripeObject + class PromptpayDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. attr_reader :data # The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code. @@ -991,7 +991,7 @@ def self.field_remappings end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. attr_reader :return_url # The URL you must redirect your customer to in order to authenticate the payment. @@ -1006,8 +1006,8 @@ def self.field_remappings end end - class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. attr_reader :data # The image_url_png string used to render QR code @@ -1039,7 +1039,7 @@ def self.field_remappings end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. attr_reader :arrival_date # The URL for the hosted verification page, which allows customers to verify their bank account. @@ -1056,7 +1056,7 @@ def self.field_remappings end end - class WechatPayDisplayQrCode < Stripe::StripeObject + class WechatPayDisplayQrCode < ::Stripe::StripeObject # The data being used to generate QR code attr_reader :data # The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code. @@ -1077,7 +1077,7 @@ def self.field_remappings end end - class WechatPayRedirectToAndroidApp < Stripe::StripeObject + class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject # app_id is the APP ID registered on WeChat open platform attr_reader :app_id # nonce_str is a random string @@ -1102,7 +1102,7 @@ def self.field_remappings end end - class WechatPayRedirectToIosApp < Stripe::StripeObject + class WechatPayRedirectToIosApp < ::Stripe::StripeObject # An universal link that redirect to WeChat Pay app attr_reader :native_url @@ -1180,9 +1180,9 @@ def self.field_remappings end end - class PaymentDetails < Stripe::StripeObject - class CarRental < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class CarRental < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. attr_reader :name @@ -1195,8 +1195,8 @@ def self.field_remappings end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. attr_reader :email # The name of the recipient the ticket is delivered to. @@ -1226,7 +1226,7 @@ def self.field_remappings end end - class Distance < Stripe::StripeObject + class Distance < ::Stripe::StripeObject # Distance traveled. attr_reader :amount # Unit of measurement for the distance traveled. One of `miles` or `kilometers` @@ -1241,7 +1241,7 @@ def self.field_remappings end end - class Driver < Stripe::StripeObject + class Driver < ::Stripe::StripeObject # Driver's identification number. attr_reader :driver_identification_number # Driver's tax number. @@ -1258,7 +1258,7 @@ def self.field_remappings end end - class PickupAddress < Stripe::StripeObject + class PickupAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1281,7 +1281,7 @@ def self.field_remappings end end - class ReturnAddress < Stripe::StripeObject + class ReturnAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1368,8 +1368,8 @@ def self.field_remappings end end - class EventDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class EventDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1392,7 +1392,7 @@ def self.field_remappings end end - class Affiliate < Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. attr_reader :name @@ -1405,8 +1405,8 @@ def self.field_remappings end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. attr_reader :email # The name of the recipient the ticket is delivered to. @@ -1463,8 +1463,8 @@ def self.field_remappings end end - class Subscription < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class Subscription < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. attr_reader :name @@ -1477,7 +1477,7 @@ def self.field_remappings end end - class BillingInterval < Stripe::StripeObject + class BillingInterval < ::Stripe::StripeObject # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. attr_reader :count # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. @@ -1536,7 +1536,7 @@ def self.field_remappings end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. attr_reader :id # ID of the parent payment method configuration used. @@ -1551,9 +1551,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text attr_reader :custom_mandate_url # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'. @@ -1595,7 +1595,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Preferred language of the Affirm authorization page that the customer is redirected to. @@ -1618,7 +1618,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. @@ -1642,7 +1642,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1661,7 +1661,7 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -1674,7 +1674,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1695,7 +1695,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1716,8 +1716,8 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_reader :reference_prefix @@ -1751,7 +1751,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1772,7 +1772,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -1785,7 +1785,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1804,7 +1804,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1825,9 +1825,9 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class AvailablePlan < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class AvailablePlan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. attr_reader :count # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. @@ -1845,7 +1845,7 @@ def self.field_remappings end end - class Plan < Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. attr_reader :count # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. @@ -1878,7 +1878,7 @@ def self.field_remappings end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -1907,8 +1907,8 @@ def self.field_remappings end end - class StatementDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class StatementDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1997,8 +1997,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Routing < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Routing < ::Stripe::StripeObject # Requested routing priority attr_reader :requested_priority @@ -2026,7 +2026,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2047,7 +2047,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2066,9 +2066,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -2119,7 +2119,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2138,7 +2138,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2157,7 +2157,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2176,7 +2176,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2195,7 +2195,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2214,7 +2214,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now. attr_reader :expires_after # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. @@ -2237,7 +2237,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2256,7 +2256,7 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2266,7 +2266,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2287,7 +2287,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Preferred locale of the Klarna checkout page that the customer is redirected to. @@ -2310,7 +2310,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. attr_reader :confirmation_number # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. @@ -2337,7 +2337,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2358,7 +2358,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # [Deprecated] This is a legacy parameter that no longer has any function. @@ -2381,7 +2381,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2400,7 +2400,7 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2421,7 +2421,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2440,7 +2440,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2461,7 +2461,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2482,7 +2482,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. attr_reader :expires_after_days # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2503,7 +2503,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2522,7 +2522,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2532,7 +2532,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -2545,7 +2545,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2564,9 +2564,9 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. attr_reader :amount # The tax behavior for the line item. @@ -2635,7 +2635,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2645,8 +2645,8 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_reader :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -2688,8 +2688,8 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # Determines if the amount includes the IOF tax. @@ -2741,7 +2741,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2760,7 +2760,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2779,7 +2779,7 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2789,7 +2789,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2810,7 +2810,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -2823,7 +2823,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. attr_reader :capture_method @@ -2836,8 +2836,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_reader :reference_prefix @@ -2871,7 +2871,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2890,7 +2890,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. attr_reader :preferred_language # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2911,7 +2911,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2930,7 +2930,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # A reference for this payment to be displayed in the Swish app. attr_reader :reference # Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2951,7 +2951,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2970,9 +2970,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -2987,7 +2987,7 @@ def self.field_remappings end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. attr_reader :mode @@ -3019,7 +3019,7 @@ def self.field_remappings end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method attr_reader :collection_method @@ -3062,7 +3062,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. attr_reader :app_id # The client type that the end customer will pay from @@ -3085,7 +3085,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3291,7 +3291,7 @@ def self.field_remappings end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. attr_reader :presentment_amount # Currency presented to the customer during payment. @@ -3306,9 +3306,9 @@ def self.field_remappings end end - class Processing < Stripe::StripeObject - class Card < Stripe::StripeObject - class CustomerNotification < Stripe::StripeObject + class Processing < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class CustomerNotification < ::Stripe::StripeObject # Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank. attr_reader :approval_requested # If customer approval is required, they need to provide approval before this time. @@ -3347,8 +3347,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3390,7 +3390,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. # The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer # representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). diff --git a/lib/stripe/resources/payment_intent_amount_details_line_item.rb b/lib/stripe/resources/payment_intent_amount_details_line_item.rb index 5ed1d5132..c313937bd 100644 --- a/lib/stripe/resources/payment_intent_amount_details_line_item.rb +++ b/lib/stripe/resources/payment_intent_amount_details_line_item.rb @@ -8,8 +8,8 @@ def self.object_name "payment_intent_amount_details_line_item" end - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field commodity_code attr_reader :commodity_code @@ -22,7 +22,7 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field commodity_code attr_reader :commodity_code @@ -35,7 +35,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field image_url attr_reader :image_url # Attribute for field product_url @@ -50,7 +50,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Type of the line item. attr_reader :category # Description of the line item. @@ -84,7 +84,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. attr_reader :total_tax_amount diff --git a/lib/stripe/resources/payment_link.rb b/lib/stripe/resources/payment_link.rb index 8a39198ed..888751f7c 100644 --- a/lib/stripe/resources/payment_link.rb +++ b/lib/stripe/resources/payment_link.rb @@ -17,8 +17,8 @@ def self.object_name "payment_link" end - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # The custom message that is displayed to the customer after the purchase is complete. attr_reader :custom_message @@ -31,7 +31,7 @@ def self.field_remappings end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the purchase is complete. attr_reader :url @@ -59,8 +59,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -88,8 +88,8 @@ def self.field_remappings end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -119,9 +119,9 @@ def self.field_remappings end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. attr_reader :label # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. @@ -149,7 +149,7 @@ def self.field_remappings end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. attr_reader :custom # The type of the label. @@ -164,7 +164,7 @@ def self.field_remappings end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. attr_reader :default_value # The maximum character length constraint for the customer's input. @@ -181,7 +181,7 @@ def self.field_remappings end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. attr_reader :default_value # The maximum character length constraint for the customer's input. @@ -221,8 +221,8 @@ def self.field_remappings end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -235,7 +235,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -248,7 +248,7 @@ def self.field_remappings end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -261,7 +261,7 @@ def self.field_remappings end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. attr_reader :message @@ -296,9 +296,9 @@ def self.field_remappings end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. attr_reader :name # The value of the custom field. @@ -313,7 +313,7 @@ def self.field_remappings end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -328,7 +328,7 @@ def self.field_remappings end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. attr_reader :amount_tax_display # ID of the invoice rendering template to be used for the generated invoice. @@ -383,8 +383,52 @@ def self.field_remappings end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject + # Indicates whether business name collection is enabled for the payment link. + attr_reader :enabled + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + attr_reader :optional + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + + class Individual < ::Stripe::StripeObject + # Indicates whether individual name collection is enabled for the payment link. + attr_reader :enabled + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + attr_reader :optional + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Attribute for field business + attr_reader :business + # Attribute for field individual + attr_reader :individual + + def self.inner_class_types + @inner_class_types = { business: Business, individual: Individual } + end + + def self.field_remappings + @field_remappings = {} + end + end + + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. attr_reader :enabled # The maximum quantity of this item the customer can purchase. By default this value is 99. @@ -416,7 +460,7 @@ def self.field_remappings end end - class PaymentIntentData < Stripe::StripeObject + class PaymentIntentData < ::Stripe::StripeObject # Indicates when the funds will be captured from the customer's account. attr_reader :capture_method # An arbitrary string attached to the object. Often useful for displaying to users. @@ -441,7 +485,7 @@ def self.field_remappings end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # If `true`, a phone number will be collected during checkout. attr_reader :enabled @@ -454,8 +498,8 @@ def self.field_remappings end end - class Restrictions < Stripe::StripeObject - class CompletedSessions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CompletedSessions < ::Stripe::StripeObject # The current number of checkout sessions that have been completed on the payment link which count towards the `completed_sessions` restriction to be met. attr_reader :count # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. @@ -481,7 +525,7 @@ def self.field_remappings end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. attr_reader :allowed_countries @@ -494,7 +538,7 @@ def self.field_remappings end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. attr_reader :shipping_amount # The ID of the Shipping Rate to use for this shipping option. @@ -509,9 +553,9 @@ def self.field_remappings end end - class SubscriptionData < Stripe::StripeObject - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -537,8 +581,8 @@ def self.field_remappings end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_reader :missing_payment_method @@ -581,7 +625,7 @@ def self.field_remappings end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session. attr_reader :enabled # Attribute for field required @@ -596,7 +640,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount # The connected account receiving the transfer. @@ -648,6 +692,8 @@ def self.field_remappings attr_reader :livemode # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. attr_reader :metadata + # Attribute for field name_collection + attr_reader :name_collection # String representing the object's type. Objects of the same type share the same value. attr_reader :object # The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. @@ -727,6 +773,7 @@ def self.inner_class_types custom_fields: CustomField, custom_text: CustomText, invoice_creation: InvoiceCreation, + name_collection: NameCollection, optional_items: OptionalItem, payment_intent_data: PaymentIntentData, phone_number_collection: PhoneNumberCollection, diff --git a/lib/stripe/resources/payment_method.rb b/lib/stripe/resources/payment_method.rb index d2c9b547a..4011f3d72 100644 --- a/lib/stripe/resources/payment_method.rb +++ b/lib/stripe/resources/payment_method.rb @@ -17,7 +17,7 @@ def self.object_name "payment_method" end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. attr_reader :account_number # Name of the bank associated with the bank account. @@ -40,7 +40,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -50,7 +50,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -60,7 +60,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -70,7 +70,7 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -80,7 +80,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -90,7 +90,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. attr_reader :bsb_number # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -107,7 +107,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. attr_reader :fingerprint # Last four digits of the bank account number. @@ -124,7 +124,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -134,7 +134,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -144,8 +144,8 @@ def self.field_remappings end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -187,7 +187,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -197,7 +197,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) attr_reader :tax_id @@ -210,8 +210,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_line1_check # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. @@ -228,10 +228,10 @@ def self.field_remappings end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -246,7 +246,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -275,7 +275,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -377,7 +377,7 @@ def self.field_remappings end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. @@ -392,7 +392,7 @@ def self.field_remappings end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. attr_reader :supported @@ -405,8 +405,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -416,7 +416,7 @@ def self.field_remappings end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -426,7 +426,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -436,7 +436,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -446,8 +446,8 @@ def self.field_remappings end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -470,7 +470,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -513,7 +513,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -523,8 +523,8 @@ def self.field_remappings end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -547,7 +547,7 @@ def self.field_remappings end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -676,8 +676,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for the card. @@ -692,7 +692,7 @@ def self.field_remappings end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -707,7 +707,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -765,7 +765,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. attr_reader :buyer_id # A public identifier for buyers using Cash App. @@ -780,7 +780,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -790,7 +790,7 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -800,7 +800,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. attr_reader :bank @@ -813,7 +813,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. attr_reader :account_holder_type # The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. @@ -828,7 +828,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -838,7 +838,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -848,7 +848,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -858,7 +858,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank attr_reader :bank # Attribute for field bank_code @@ -877,7 +877,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank, if the bank was provided. @@ -892,8 +892,8 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). attr_reader :available # The preferred network for the card. @@ -947,7 +947,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -957,8 +957,8 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -986,7 +986,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -996,7 +996,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. attr_reader :brand # The last four digits of the card. This may not be present for American Express cards. @@ -1011,7 +1011,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. attr_reader :email # [Deprecated] This is a legacy parameter that no longer has any function. @@ -1026,7 +1026,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1036,7 +1036,7 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1046,7 +1046,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1056,7 +1056,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. attr_reader :buyer_id # Whether to fund this transaction with Naver Pay points or a card. @@ -1071,7 +1071,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_reader :account_holder_name # The numeric code for the bank account's bank. @@ -1094,7 +1094,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1104,7 +1104,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. attr_reader :bank @@ -1117,7 +1117,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1127,7 +1127,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1137,7 +1137,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1147,7 +1147,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. attr_reader :country # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. @@ -1170,7 +1170,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1180,7 +1180,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Last four digits of the bank account number. @@ -1197,7 +1197,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1207,7 +1207,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1217,7 +1217,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1227,7 +1227,7 @@ def self.field_remappings end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. attr_reader :session @@ -1240,8 +1240,8 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -1269,7 +1269,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1279,7 +1279,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1289,7 +1289,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1299,8 +1299,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. attr_reader :charge # The ID of the SetupAttempt that generated this PaymentMethod, if any. @@ -1336,7 +1336,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1346,7 +1346,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. attr_reader :country @@ -1359,7 +1359,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment attr_reader :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1374,7 +1374,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1384,7 +1384,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1394,8 +1394,8 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. attr_reader :preferred # All supported networks. @@ -1410,8 +1410,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. attr_reader :network_code # The reason why this PaymentMethod's fingerprint has been blocked @@ -1466,7 +1466,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1476,7 +1476,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end diff --git a/lib/stripe/resources/payment_method_configuration.rb b/lib/stripe/resources/payment_method_configuration.rb index b4a523347..5c1c0bfaf 100644 --- a/lib/stripe/resources/payment_method_configuration.rb +++ b/lib/stripe/resources/payment_method_configuration.rb @@ -26,8 +26,8 @@ def self.object_name "payment_method_configuration" end - class AcssDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -57,8 +57,8 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -88,8 +88,8 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -119,8 +119,8 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -150,8 +150,8 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -181,8 +181,8 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -212,8 +212,8 @@ def self.field_remappings end end - class ApplePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -243,8 +243,8 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -274,8 +274,8 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -305,8 +305,8 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -336,8 +336,8 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Billie < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -367,8 +367,8 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Blik < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -398,8 +398,8 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -429,8 +429,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -460,8 +460,8 @@ def self.field_remappings end end - class CartesBancaires < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CartesBancaires < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -491,8 +491,8 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -522,8 +522,8 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -553,8 +553,8 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -584,8 +584,8 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Eps < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -615,8 +615,8 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -646,8 +646,8 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -677,8 +677,8 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -708,8 +708,8 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -739,8 +739,8 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -770,8 +770,8 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -801,8 +801,8 @@ def self.field_remappings end end - class Jcb < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -832,8 +832,8 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Jcb < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -863,8 +863,8 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -894,8 +894,8 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -925,8 +925,8 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -956,8 +956,8 @@ def self.field_remappings end end - class Link < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -987,8 +987,8 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1018,8 +1018,8 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1049,8 +1049,8 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1080,8 +1080,8 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1111,8 +1111,8 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1142,8 +1142,8 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1173,8 +1173,8 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1204,8 +1204,8 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class P24 < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1235,8 +1235,8 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1266,8 +1266,8 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1297,8 +1297,8 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1328,8 +1328,8 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1359,8 +1359,8 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1390,8 +1390,8 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1421,8 +1421,8 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1452,8 +1452,8 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1483,8 +1483,8 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Qris < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1514,8 +1514,8 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1545,8 +1545,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1576,8 +1576,8 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1607,8 +1607,8 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1638,8 +1638,8 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1669,8 +1669,8 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1700,8 +1700,8 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Swish < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1731,8 +1731,8 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1762,8 +1762,70 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + attr_reader :overridable + # The account's display preference. + attr_reader :preference + # The effective display preference value. + attr_reader :value + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + attr_reader :available + # Attribute for field display_preference + attr_reader :display_preference + + def self.inner_class_types + @inner_class_types = { display_preference: DisplayPreference } + end + + def self.field_remappings + @field_remappings = {} + end + end + + class WechatPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + attr_reader :overridable + # The account's display preference. + attr_reader :preference + # The effective display preference value. + attr_reader :value + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + attr_reader :available + # Attribute for field display_preference + attr_reader :display_preference + + def self.inner_class_types + @inner_class_types = { display_preference: DisplayPreference } + end + + def self.field_remappings + @field_remappings = {} + end + end + + class Zip < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. attr_reader :overridable # The account's display preference. @@ -1828,6 +1890,8 @@ def self.field_remappings attr_reader :cartes_bancaires # Attribute for field cashapp attr_reader :cashapp + # Attribute for field crypto + attr_reader :crypto # Attribute for field customer_balance attr_reader :customer_balance # Attribute for field eps @@ -1864,6 +1928,8 @@ def self.field_remappings attr_reader :link # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. attr_reader :livemode + # Attribute for field mb_way + attr_reader :mb_way # Attribute for field mobilepay attr_reader :mobilepay # Attribute for field multibanco @@ -1971,6 +2037,7 @@ def self.inner_class_types card: Card, cartes_bancaires: CartesBancaires, cashapp: Cashapp, + crypto: Crypto, customer_balance: CustomerBalance, eps: Eps, fpx: Fpx, @@ -1986,6 +2053,7 @@ def self.inner_class_types konbini: Konbini, kr_card: KrCard, link: Link, + mb_way: MbWay, mobilepay: Mobilepay, multibanco: Multibanco, naver_pay: NaverPay, diff --git a/lib/stripe/resources/payment_method_domain.rb b/lib/stripe/resources/payment_method_domain.rb index 98ad1e36d..2db877445 100644 --- a/lib/stripe/resources/payment_method_domain.rb +++ b/lib/stripe/resources/payment_method_domain.rb @@ -16,8 +16,8 @@ def self.object_name "payment_method_domain" end - class AmazonPay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message @@ -43,8 +43,8 @@ def self.field_remappings end end - class ApplePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message @@ -70,8 +70,8 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message @@ -97,8 +97,8 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message @@ -124,8 +124,8 @@ def self.field_remappings end end - class Link < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message @@ -151,8 +151,8 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. attr_reader :error_message diff --git a/lib/stripe/resources/payment_record.rb b/lib/stripe/resources/payment_record.rb index 32c7a3584..6399ebbd7 100644 --- a/lib/stripe/resources/payment_record.rb +++ b/lib/stripe/resources/payment_record.rb @@ -12,7 +12,7 @@ def self.object_name "payment_record" end - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -27,7 +27,7 @@ def self.field_remappings end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -42,7 +42,7 @@ def self.field_remappings end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -57,7 +57,7 @@ def self.field_remappings end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -72,7 +72,7 @@ def self.field_remappings end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -87,7 +87,7 @@ def self.field_remappings end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -102,7 +102,7 @@ def self.field_remappings end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). attr_reader :currency # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. @@ -117,7 +117,7 @@ def self.field_remappings end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. attr_reader :customer # The customer's email address. @@ -136,8 +136,8 @@ def self.field_remappings end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. attr_reader :account_number # Name of the bank associated with the routing number. @@ -156,7 +156,7 @@ def self.field_remappings end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. attr_reader :account_holder_type # Name of the bank associated with the bank account. @@ -179,7 +179,7 @@ def self.field_remappings end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -202,7 +202,7 @@ def self.field_remappings end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -219,7 +219,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. attr_reader :order_id # Order identifier shown to the merchant in Afterpay’s online portal. @@ -234,7 +234,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. attr_reader :buyer_id # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. @@ -251,8 +251,8 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. attr_reader :count @@ -278,9 +278,9 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -331,7 +331,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. @@ -350,7 +350,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. attr_reader :fingerprint # Last four digits of the bank account number. @@ -369,7 +369,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -398,7 +398,7 @@ def self.field_remappings end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. attr_reader :transaction_id @@ -411,8 +411,8 @@ def self.field_remappings end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -452,7 +452,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. attr_reader :buyer_id @@ -465,7 +465,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) attr_reader :tax_id @@ -478,8 +478,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check attr_reader :address_line1_check # Attribute for field address_postal_code_check @@ -496,7 +496,7 @@ def self.field_remappings end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. attr_reader :used @@ -509,7 +509,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow attr_reader :authentication_flow # Attribute for field result @@ -528,8 +528,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. attr_reader :type @@ -542,7 +542,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -615,8 +615,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -631,7 +631,7 @@ def self.field_remappings end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -660,7 +660,7 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. attr_reader :type @@ -734,7 +734,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. attr_reader :buyer_id # A public identifier for buyers using Cash App. @@ -751,7 +751,7 @@ def self.field_remappings end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. attr_reader :buyer_address # The blockchain network that the transaction was sent on. @@ -770,7 +770,7 @@ def self.field_remappings end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. attr_reader :display_name # The custom payment method type associated with this payment. @@ -785,7 +785,7 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -795,7 +795,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. attr_reader :bank # Owner's verified full name. Values are verified or provided by EPS directly @@ -812,7 +812,7 @@ def self.field_remappings end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. attr_reader :account_holder_type # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. @@ -829,7 +829,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -850,7 +850,7 @@ def self.field_remappings end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -860,7 +860,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay attr_reader :transaction_id @@ -873,7 +873,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. attr_reader :account_number # Bank where the account is located. @@ -894,7 +894,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank. @@ -918,8 +918,8 @@ def self.field_remappings end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited attr_reader :account_type # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers. @@ -995,7 +995,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Kakao Pay transaction ID associated with this payment. @@ -1010,9 +1010,9 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country attr_reader :country @@ -1053,8 +1053,8 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. attr_reader :chain @@ -1078,7 +1078,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. attr_reader :brand # A unique identifier for the buyer as determined by the local payment processor. @@ -1097,7 +1097,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. attr_reader :country @@ -1111,7 +1111,7 @@ def self.field_remappings end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1121,8 +1121,8 @@ def self.field_remappings end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction attr_reader :brand # Two-letter ISO code representing the country of the card @@ -1154,7 +1154,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. attr_reader :entity # Reference number associated with this Multibanco payment. @@ -1169,7 +1169,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Naver Pay transaction ID associated with this payment. @@ -1184,7 +1184,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. attr_reader :account_holder_name # The numeric code for the bank account's bank. @@ -1207,7 +1207,7 @@ def self.field_remappings end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number attr_reader :number @@ -1220,7 +1220,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. attr_reader :bank # Unique reference for this Przelewy24 payment. @@ -1239,7 +1239,7 @@ def self.field_remappings end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1249,7 +1249,7 @@ def self.field_remappings end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Payco transaction ID associated with this payment. @@ -1264,7 +1264,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. attr_reader :location # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on. @@ -1281,8 +1281,8 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. attr_reader :dispute_categories # Indicates whether the transaction is eligible for PayPal's seller protection. @@ -1297,7 +1297,7 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1320,7 +1320,7 @@ def self.field_remappings end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1384,7 +1384,7 @@ def self.field_remappings end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1394,7 +1394,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. attr_reader :bsb_number # Last four digits of the bank account number. @@ -1413,7 +1413,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB attr_reader :bank_transaction_id # ID of the multi use Mandate generated by the PaymentIntent @@ -1428,7 +1428,7 @@ def self.field_remappings end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay attr_reader :reference @@ -1441,7 +1441,7 @@ def self.field_remappings end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1451,7 +1451,10 @@ def self.field_remappings end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + attr_reader :payment_portal_url + def self.inner_class_types @inner_class_types = {} end @@ -1461,9 +1464,9 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. attr_reader :brand # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) @@ -1514,7 +1517,7 @@ def self.field_remappings end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. attr_reader :buyer_id # The Samsung Pay transaction ID associated with this payment. @@ -1529,7 +1532,7 @@ def self.field_remappings end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. attr_reader :transaction_id @@ -1542,7 +1545,7 @@ def self.field_remappings end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. attr_reader :bank_name # Bank Identifier Code of the bank associated with the bank account. @@ -1559,7 +1562,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Branch code of bank associated with the bank account. @@ -1582,7 +1585,7 @@ def self.field_remappings end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1592,7 +1595,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -1623,7 +1626,7 @@ def self.field_remappings end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1633,7 +1636,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment attr_reader :account # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance @@ -1648,7 +1651,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer attr_reader :fingerprint # Payer bank reference number for the payment @@ -1665,7 +1668,7 @@ def self.field_remappings end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1675,7 +1678,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type attr_reader :account_holder_type # Attribute for field account_type @@ -1702,7 +1705,7 @@ def self.field_remappings end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1712,7 +1715,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. attr_reader :fingerprint # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. @@ -1731,7 +1734,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1957,8 +1960,8 @@ def self.field_remappings end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. attr_reader :payment_reference @@ -1986,8 +1989,8 @@ def self.field_remappings end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2185,6 +2188,28 @@ def self.report_payment_attempt_informational(id, params = {}, opts = {}) ) end + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + def report_refund(params = {}, opts = {}) + request_stripe_object( + method: :post, + path: format("/v1/payment_records/%s/report_refund", { id: CGI.escape(self["id"]) }), + params: params, + opts: opts + ) + end + + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + def self.report_refund(id, params = {}, opts = {}) + request_stripe_object( + method: :post, + path: format("/v1/payment_records/%s/report_refund", { id: CGI.escape(id) }), + params: params, + opts: opts + ) + end + def self.inner_class_types @inner_class_types = { amount: Amount, diff --git a/lib/stripe/resources/payout.rb b/lib/stripe/resources/payout.rb index a59577a76..1f8fd6a12 100644 --- a/lib/stripe/resources/payout.rb +++ b/lib/stripe/resources/payout.rb @@ -20,7 +20,7 @@ def self.object_name "payout" end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. When `payout.status` is `pending` or `in_transit`, this will be `pending`. When the payout transitions to `paid`, `failed`, or `canceled`, this status will become `supported` or `unsupported` shortly after in most cases. In some cases, this may appear as `pending` for up to 10 days after `arrival_date` until transitioning to `supported` or `unsupported`. attr_reader :status # The trace ID value if `trace_id.status` is `supported`, otherwise `nil`. @@ -123,7 +123,7 @@ def self.list(params = {}, opts = {}) request_stripe_object(method: :get, path: "/v1/payouts", params: params, opts: opts) end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. def reverse(params = {}, opts = {}) @@ -135,7 +135,7 @@ def reverse(params = {}, opts = {}) ) end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. def self.reverse(payout, params = {}, opts = {}) diff --git a/lib/stripe/resources/person.rb b/lib/stripe/resources/person.rb index acbea4c6d..c932667ab 100644 --- a/lib/stripe/resources/person.rb +++ b/lib/stripe/resources/person.rb @@ -15,8 +15,8 @@ def self.object_name "person" end - class AdditionalTosAcceptances < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTosAcceptances < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The Unix timestamp marking when the legal guardian accepted the service agreement. attr_reader :date # The IP address from which the legal guardian accepted the service agreement. @@ -44,7 +44,7 @@ def self.field_remappings end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -67,7 +67,7 @@ def self.field_remappings end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -92,7 +92,7 @@ def self.field_remappings end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -117,7 +117,7 @@ def self.field_remappings end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -134,8 +134,8 @@ def self.field_remappings end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -150,7 +150,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -188,7 +188,7 @@ def self.field_remappings end end - class RegisteredAddress < Stripe::StripeObject + class RegisteredAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -211,7 +211,7 @@ def self.field_remappings end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the person is the authorizer of the account's representative. attr_reader :authorizer # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -238,8 +238,8 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. attr_reader :alternative_fields_due # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. @@ -254,7 +254,7 @@ def self.field_remappings end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. attr_reader :code # An informative message that indicates the error type and provides additional details about the error. @@ -292,8 +292,8 @@ def self.field_remappings end end - class UsCfpbData < Stripe::StripeObject - class EthnicityDetails < Stripe::StripeObject + class UsCfpbData < ::Stripe::StripeObject + class EthnicityDetails < ::Stripe::StripeObject # The persons ethnicity attr_reader :ethnicity # Please specify your origin, when other is selected. @@ -308,7 +308,7 @@ def self.field_remappings end end - class RaceDetails < Stripe::StripeObject + class RaceDetails < ::Stripe::StripeObject # The persons race. attr_reader :race # Please specify your race, when other is selected. @@ -338,8 +338,8 @@ def self.field_remappings end end - class Verification < Stripe::StripeObject - class AdditionalDocument < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class AdditionalDocument < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. attr_reader :back # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". @@ -358,7 +358,7 @@ def self.field_remappings end end - class Document < Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. attr_reader :back # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". diff --git a/lib/stripe/resources/plan.rb b/lib/stripe/resources/plan.rb index 7c8a1d8aa..8acc8955c 100644 --- a/lib/stripe/resources/plan.rb +++ b/lib/stripe/resources/plan.rb @@ -21,7 +21,7 @@ def self.object_name "plan" end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. attr_reader :flat_amount # Same as `flat_amount`, but contains a decimal value with at most 12 decimal places. @@ -42,7 +42,7 @@ def self.field_remappings end end - class TransformUsage < Stripe::StripeObject + class TransformUsage < ::Stripe::StripeObject # Divide usage by this number. attr_reader :divide_by # After division, either round the result `up` or `down`. diff --git a/lib/stripe/resources/price.rb b/lib/stripe/resources/price.rb index 3e7598fb3..b787842a9 100644 --- a/lib/stripe/resources/price.rb +++ b/lib/stripe/resources/price.rb @@ -19,8 +19,8 @@ def self.object_name "price" end - class CurrencyOptions < Stripe::StripeObject - class CustomUnitAmount < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. attr_reader :maximum # The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount. @@ -37,7 +37,7 @@ def self.field_remappings end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. attr_reader :flat_amount # Same as `flat_amount`, but contains a decimal value with at most 12 decimal places. @@ -77,7 +77,7 @@ def self.field_remappings end end - class CustomUnitAmount < Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. attr_reader :maximum # The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount. @@ -94,7 +94,7 @@ def self.field_remappings end end - class MigrateTo < Stripe::StripeObject + class MigrateTo < ::Stripe::StripeObject # The behavior controlling at what point in the subscription lifecycle to migrate the price attr_reader :behavior # The unix timestamp after at which subscriptions will start to migrate to the new price. @@ -111,7 +111,7 @@ def self.field_remappings end end - class Recurring < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject # The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`. attr_reader :interval # The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. @@ -132,7 +132,7 @@ def self.field_remappings end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. attr_reader :flat_amount # Same as `flat_amount`, but contains a decimal value with at most 12 decimal places. @@ -153,7 +153,7 @@ def self.field_remappings end end - class TransformQuantity < Stripe::StripeObject + class TransformQuantity < ::Stripe::StripeObject # Divide usage by this number. attr_reader :divide_by # After division, either round the result `up` or `down`. diff --git a/lib/stripe/resources/privacy/redaction_job.rb b/lib/stripe/resources/privacy/redaction_job.rb index f3ad99b30..4dcb37ffb 100644 --- a/lib/stripe/resources/privacy/redaction_job.rb +++ b/lib/stripe/resources/privacy/redaction_job.rb @@ -20,7 +20,7 @@ def self.object_name nested_resource_class_methods :validation_error, operations: %i[list] - class Objects < Stripe::StripeObject + class Objects < ::Stripe::StripeObject # Charge object identifiers usually starting with `ch_` attr_reader :charges # CheckoutSession object identifiers starting with `cs_` diff --git a/lib/stripe/resources/privacy/redaction_job_validation_error.rb b/lib/stripe/resources/privacy/redaction_job_validation_error.rb index 68f76f9e4..622b53085 100644 --- a/lib/stripe/resources/privacy/redaction_job_validation_error.rb +++ b/lib/stripe/resources/privacy/redaction_job_validation_error.rb @@ -12,7 +12,7 @@ def self.object_name "privacy.redaction_job_validation_error" end - class ErroringObject < Stripe::StripeObject + class ErroringObject < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id # Erroring object type diff --git a/lib/stripe/resources/product.rb b/lib/stripe/resources/product.rb index c86727cc1..0f84021a3 100644 --- a/lib/stripe/resources/product.rb +++ b/lib/stripe/resources/product.rb @@ -25,7 +25,7 @@ def self.object_name nested_resource_class_methods :feature, operations: %i[create retrieve delete list] - class MarketingFeature < Stripe::StripeObject + class MarketingFeature < ::Stripe::StripeObject # The marketing feature name. Up to 80 characters long. attr_reader :name @@ -38,7 +38,7 @@ def self.field_remappings end end - class PackageDimensions < Stripe::StripeObject + class PackageDimensions < ::Stripe::StripeObject # Height, in inches. attr_reader :height # Length, in inches. diff --git a/lib/stripe/resources/promotion_code.rb b/lib/stripe/resources/promotion_code.rb index d0f208450..256896780 100644 --- a/lib/stripe/resources/promotion_code.rb +++ b/lib/stripe/resources/promotion_code.rb @@ -17,7 +17,7 @@ def self.object_name "promotion_code" end - class Promotion < Stripe::StripeObject + class Promotion < ::Stripe::StripeObject # If promotion `type` is `coupon`, the coupon for this promotion. attr_reader :coupon # The type of promotion. @@ -32,8 +32,8 @@ def self.field_remappings end end - class Restrictions < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). attr_reader :minimum_amount diff --git a/lib/stripe/resources/quote.rb b/lib/stripe/resources/quote.rb index df254d160..eb5104587 100644 --- a/lib/stripe/resources/quote.rb +++ b/lib/stripe/resources/quote.rb @@ -18,8 +18,8 @@ def self.object_name nested_resource_class_methods :preview_invoice, operations: %i[list] nested_resource_class_methods :preview_subscription_schedule, operations: %i[list] - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -51,9 +51,9 @@ def self.field_remappings end end - class Computed < Stripe::StripeObject - class LastReestimationDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class Computed < ::Stripe::StripeObject + class LastReestimationDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field. attr_reader :failure_code # Information derived from the `failure_code` or a freeform message that explains the error as a human-readable English string. For example, "margin ID is not a valid ID". @@ -83,10 +83,10 @@ def self.field_remappings end end - class Recurring < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -104,7 +104,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -174,10 +174,10 @@ def self.field_remappings end end - class Upfront < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Upfront < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -195,7 +195,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -284,7 +284,7 @@ def self.field_remappings end end - class FromQuote < Stripe::StripeObject + class FromQuote < ::Stripe::StripeObject # Whether this quote is a revision of a different quote. attr_reader :is_revision # The quote that was cloned. @@ -299,8 +299,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -328,8 +328,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # The reason this quote was marked as canceled. attr_reader :reason # Time at which the quote was marked as canceled. Measured in seconds since the Unix epoch. @@ -344,9 +344,9 @@ def self.field_remappings end end - class Stale < Stripe::StripeObject - class LastReason < Stripe::StripeObject - class LinesInvalid < Stripe::StripeObject + class Stale < ::Stripe::StripeObject + class LastReason < ::Stripe::StripeObject + class LinesInvalid < ::Stripe::StripeObject # The timestamp at which the lines were marked as invalid. attr_reader :invalid_at # The list of lines that became invalid at the given timestamp. @@ -361,7 +361,7 @@ def self.field_remappings end end - class SubscriptionChanged < Stripe::StripeObject + class SubscriptionChanged < ::Stripe::StripeObject # The subscription's state before the quote was marked as stale. attr_reader :previous_subscription @@ -374,7 +374,7 @@ def self.field_remappings end end - class SubscriptionScheduleChanged < Stripe::StripeObject + class SubscriptionScheduleChanged < ::Stripe::StripeObject # The subscription schedule's state before the quote was marked as stale. attr_reader :previous_subscription_schedule @@ -450,7 +450,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the quote was accepted. Measured in seconds since Unix epoch. attr_reader :accepted_at # The time that the quote was canceled. Measured in seconds since Unix epoch. @@ -467,10 +467,10 @@ def self.field_remappings end end - class SubscriptionData < Stripe::StripeObject - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id @@ -500,8 +500,8 @@ def self.field_remappings end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_reader :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -516,7 +516,7 @@ def self.field_remappings end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id @@ -561,8 +561,8 @@ def self.field_remappings end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. attr_reader :proration_discounts @@ -588,7 +588,7 @@ def self.field_remappings end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # Attribute for field iterations attr_reader :iterations @@ -638,8 +638,8 @@ def self.field_remappings end end - class SubscriptionDataOverride < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionDataOverride < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_reader :new_reference # The ID of the schedule the line applies to. @@ -656,9 +656,9 @@ def self.field_remappings end end - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id @@ -688,8 +688,8 @@ def self.field_remappings end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_reader :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -704,7 +704,7 @@ def self.field_remappings end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id @@ -772,8 +772,8 @@ def self.field_remappings end end - class SubscriptionSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_reader :new_reference # The ID of the schedule the line applies to. @@ -803,9 +803,9 @@ def self.field_remappings end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. attr_reader :amount # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). @@ -823,7 +823,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -874,7 +874,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination. attr_reader :amount # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination. diff --git a/lib/stripe/resources/quote_line.rb b/lib/stripe/resources/quote_line.rb index 87a8f6169..e2602aa04 100644 --- a/lib/stripe/resources/quote_line.rb +++ b/lib/stripe/resources/quote_line.rb @@ -9,9 +9,9 @@ def self.object_name "quote_line" end - class Action < Stripe::StripeObject - class AddDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class AddDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end type. attr_reader :type @@ -43,9 +43,9 @@ def self.field_remappings end end - class AddItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class AddItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -77,7 +77,7 @@ def self.field_remappings end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. attr_reader :converts_to # Determines the type of trial for this item. @@ -113,8 +113,8 @@ def self.field_remappings end end - class RemoveDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class RemoveDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -146,7 +146,7 @@ def self.field_remappings end end - class RemoveItem < Stripe::StripeObject + class RemoveItem < ::Stripe::StripeObject # ID of a price to remove. attr_reader :price @@ -159,8 +159,8 @@ def self.field_remappings end end - class SetDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -192,9 +192,9 @@ def self.field_remappings end end - class SetItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -226,7 +226,7 @@ def self.field_remappings end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. attr_reader :converts_to # Determines the type of trial for this item. @@ -298,7 +298,7 @@ def self.field_remappings end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_reader :new_reference # The ID of the schedule the line applies to. @@ -315,7 +315,7 @@ def self.field_remappings end end - class CancelSubscriptionSchedule < Stripe::StripeObject + class CancelSubscriptionSchedule < ::Stripe::StripeObject # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. attr_reader :cancel_at # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`. @@ -332,8 +332,8 @@ def self.field_remappings end end - class EndsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class EndsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. attr_reader :discount @@ -346,7 +346,7 @@ def self.field_remappings end end - class Duration < Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. attr_reader :interval # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. @@ -380,8 +380,8 @@ def self.field_remappings end end - class SetPauseCollection < Stripe::StripeObject - class Set < Stripe::StripeObject + class SetPauseCollection < ::Stripe::StripeObject + class Set < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior @@ -407,8 +407,8 @@ def self.field_remappings end end - class StartsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class StartsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. attr_reader :discount @@ -421,7 +421,7 @@ def self.field_remappings end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. attr_reader :id @@ -453,8 +453,8 @@ def self.field_remappings end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_reader :prorate_up_front diff --git a/lib/stripe/resources/quote_preview_invoice.rb b/lib/stripe/resources/quote_preview_invoice.rb index a8f539072..009e88585 100644 --- a/lib/stripe/resources/quote_preview_invoice.rb +++ b/lib/stripe/resources/quote_preview_invoice.rb @@ -40,7 +40,7 @@ def self.object_name "quote_preview_invoice" end - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). attr_reader :amount # The amount in cents (or local equivalent) that was paid for this payment. @@ -67,7 +67,7 @@ def self.field_remappings end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_reader :new_reference # The ID of the schedule the line applies to. @@ -84,8 +84,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -119,7 +119,7 @@ def self.field_remappings end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. attr_reader :client_secret # The type of client_secret. Currently this is always payment_intent, referencing the default payment_intent that Stripe creates during invoice finalization @@ -134,7 +134,7 @@ def self.field_remappings end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. attr_reader :name # The value of the custom field. @@ -149,7 +149,7 @@ def self.field_remappings end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -172,8 +172,8 @@ def self.field_remappings end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -215,7 +215,7 @@ def self.field_remappings end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -230,7 +230,7 @@ def self.field_remappings end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice attr_reader :action # The invoice that was cloned. @@ -245,7 +245,7 @@ def self.field_remappings end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -260,7 +260,7 @@ def self.field_remappings end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. attr_reader :advice_code # For card errors, the ID of the failed charge. @@ -337,8 +337,8 @@ def self.field_remappings end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice attr_reader :billing_cadence @@ -351,7 +351,7 @@ def self.field_remappings end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice attr_reader :quote @@ -364,8 +364,8 @@ def self.field_remappings end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior # The time after which the subscription will resume collecting payments. @@ -419,10 +419,10 @@ def self.field_remappings end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -448,7 +448,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -461,8 +461,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. attr_reader :enabled @@ -488,9 +488,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -529,7 +529,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -539,7 +539,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -549,7 +549,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. attr_reader :amount_includes_iof @@ -562,7 +562,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -572,8 +572,8 @@ def self.field_remappings end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -603,9 +603,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -703,8 +703,8 @@ def self.field_remappings end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. attr_reader :page_size @@ -734,8 +734,8 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. attr_reader :amount # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. @@ -775,8 +775,8 @@ def self.field_remappings end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -818,7 +818,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. attr_reader :finalized_at # The time that the invoice was marked uncollectible. @@ -837,8 +837,8 @@ def self.field_remappings end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. attr_reader :line_item_ids # The quantity threshold boundary that applied to the given line item. @@ -866,7 +866,7 @@ def self.field_remappings end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. attr_reader :amount # The discount that was applied to get this discount amount. @@ -881,7 +881,7 @@ def self.field_remappings end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. attr_reader :amount # The margin that was applied to get this margin amount. @@ -896,7 +896,7 @@ def self.field_remappings end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. attr_reader :amount # The credit balance transaction that was applied to get this pretax credit amount. @@ -917,8 +917,8 @@ def self.field_remappings end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate attr_reader :tax_rate diff --git a/lib/stripe/resources/quote_preview_subscription_schedule.rb b/lib/stripe/resources/quote_preview_subscription_schedule.rb index 9ac19698c..7ad2e006f 100644 --- a/lib/stripe/resources/quote_preview_subscription_schedule.rb +++ b/lib/stripe/resources/quote_preview_subscription_schedule.rb @@ -8,7 +8,7 @@ def self.object_name "quote_preview_subscription_schedule" end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. attr_reader :new_reference # The ID of the schedule the line applies to. @@ -25,8 +25,8 @@ def self.field_remappings end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. attr_reader :proration_discounts @@ -54,7 +54,7 @@ def self.field_remappings end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. attr_reader :end_date # The start of this phase of the subscription schedule. @@ -69,9 +69,9 @@ def self.field_remappings end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -101,7 +101,7 @@ def self.field_remappings end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice attr_reader :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. @@ -116,8 +116,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -147,7 +147,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount_percent # The account where funds from the payment will be transferred to upon payment success. @@ -196,8 +196,8 @@ def self.field_remappings end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. attr_reader :source_price # The intended resulting price of the migration. @@ -227,10 +227,10 @@ def self.field_remappings end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -262,8 +262,8 @@ def self.field_remappings end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_reader :timestamp # Select how to calculate the end of the invoice item period. @@ -278,7 +278,7 @@ def self.field_remappings end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_reader :timestamp # Select how to calculate the start of the invoice item period. @@ -327,8 +327,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -358,7 +358,7 @@ def self.field_remappings end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice attr_reader :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. @@ -373,8 +373,8 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -406,8 +406,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -437,8 +437,8 @@ def self.field_remappings end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice attr_reader :usage_gte @@ -451,8 +451,8 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -484,7 +484,7 @@ def self.field_remappings end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. attr_reader :converts_to # Determines the type of trial for this item. @@ -528,7 +528,7 @@ def self.field_remappings end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior @@ -541,7 +541,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount_percent # The account where funds from the payment will be transferred to upon payment success. @@ -556,8 +556,8 @@ def self.field_remappings end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_reader :prorate_up_front @@ -646,7 +646,7 @@ def self.field_remappings end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. attr_reader :invoice # The end of the last period for which the invoice pre-bills. diff --git a/lib/stripe/resources/refund.rb b/lib/stripe/resources/refund.rb index b899475fe..99ccf672c 100644 --- a/lib/stripe/resources/refund.rb +++ b/lib/stripe/resources/refund.rb @@ -17,8 +17,8 @@ def self.object_name "refund" end - class DestinationDetails < Stripe::StripeObject - class Affirm < Stripe::StripeObject + class DestinationDetails < ::Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -28,7 +28,7 @@ def self.field_remappings end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38,7 +38,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -48,7 +48,7 @@ def self.field_remappings end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -58,7 +58,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -68,7 +68,7 @@ def self.field_remappings end end - class AuBankTransfer < Stripe::StripeObject + class AuBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -78,7 +78,7 @@ def self.field_remappings end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. attr_reader :network_decline_code # The reference assigned to the refund. @@ -95,7 +95,7 @@ def self.field_remappings end end - class BrBankTransfer < Stripe::StripeObject + class BrBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -110,7 +110,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Value of the reference number assigned to the refund. attr_reader :reference # Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`. @@ -129,7 +129,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -139,7 +139,7 @@ def self.field_remappings end end - class CustomerCashBalance < Stripe::StripeObject + class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -149,7 +149,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -159,7 +159,7 @@ def self.field_remappings end end - class EuBankTransfer < Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -174,7 +174,7 @@ def self.field_remappings end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -189,7 +189,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -199,7 +199,7 @@ def self.field_remappings end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -209,7 +209,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -224,7 +224,7 @@ def self.field_remappings end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -239,7 +239,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -249,7 +249,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -264,7 +264,7 @@ def self.field_remappings end end - class MxBankTransfer < Stripe::StripeObject + class MxBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -279,7 +279,7 @@ def self.field_remappings end end - class NzBankTransfer < Stripe::StripeObject + class NzBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -289,7 +289,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -304,7 +304,7 @@ def self.field_remappings end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -314,7 +314,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. attr_reader :network_decline_code @@ -327,7 +327,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -337,7 +337,7 @@ def self.field_remappings end end - class Revolut < Stripe::StripeObject + class Revolut < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -347,7 +347,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -357,7 +357,7 @@ def self.field_remappings end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. attr_reader :network_decline_code # The reference assigned to the refund. @@ -374,7 +374,7 @@ def self.field_remappings end end - class ThBankTransfer < Stripe::StripeObject + class ThBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -389,7 +389,7 @@ def self.field_remappings end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. attr_reader :reference # Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. @@ -404,7 +404,7 @@ def self.field_remappings end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -414,7 +414,7 @@ def self.field_remappings end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -535,9 +535,9 @@ def self.field_remappings end end - class NextAction < Stripe::StripeObject - class DisplayDetails < Stripe::StripeObject - class EmailSent < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class DisplayDetails < ::Stripe::StripeObject + class EmailSent < ::Stripe::StripeObject # The timestamp when the email was sent. attr_reader :email_sent_at # The recipient's email address. @@ -578,7 +578,7 @@ def self.field_remappings end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. attr_reader :presentment_amount # Currency presented to the customer during payment. diff --git a/lib/stripe/resources/reporting/report_run.rb b/lib/stripe/resources/reporting/report_run.rb index 612bec70d..7da9cc0c4 100644 --- a/lib/stripe/resources/reporting/report_run.rb +++ b/lib/stripe/resources/reporting/report_run.rb @@ -20,7 +20,7 @@ def self.object_name "reporting.report_run" end - class Parameters < Stripe::StripeObject + class Parameters < ::Stripe::StripeObject # The set of output columns requested for inclusion in the report run. attr_reader :columns # Connected account ID by which to filter the report run. diff --git a/lib/stripe/resources/review.rb b/lib/stripe/resources/review.rb index e4401b8aa..afa7bba54 100644 --- a/lib/stripe/resources/review.rb +++ b/lib/stripe/resources/review.rb @@ -14,7 +14,7 @@ def self.object_name "review" end - class IpAddressLocation < Stripe::StripeObject + class IpAddressLocation < ::Stripe::StripeObject # The city where the payment originated. attr_reader :city # Two-letter ISO code representing the country where the payment originated. @@ -35,7 +35,7 @@ def self.field_remappings end end - class Session < Stripe::StripeObject + class Session < ::Stripe::StripeObject # The browser used in this browser session (e.g., `Chrome`). attr_reader :browser # Information about the device used for the browser session (e.g., `Samsung SM-G930T`). diff --git a/lib/stripe/resources/setup_attempt.rb b/lib/stripe/resources/setup_attempt.rb index 1e74029ac..2f69109ff 100644 --- a/lib/stripe/resources/setup_attempt.rb +++ b/lib/stripe/resources/setup_attempt.rb @@ -14,8 +14,8 @@ def self.object_name "setup_attempt" end - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -25,7 +25,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35,7 +35,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -45,7 +45,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -55,7 +55,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -84,7 +84,7 @@ def self.field_remappings end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -94,8 +94,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_line1_check # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. @@ -112,7 +112,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. attr_reader :authentication_flow @@ -139,8 +139,8 @@ def self.field_remappings end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -150,7 +150,7 @@ def self.field_remappings end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -214,8 +214,8 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline attr_reader :stored_at # The method used to process this payment method offline. Only deferred is allowed. @@ -243,7 +243,7 @@ def self.field_remappings end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -253,7 +253,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Bank where the account is located. attr_reader :bank # Local bank code of the bank. @@ -272,7 +272,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. attr_reader :bank # The Bank Identifier Code of the customer's bank. @@ -296,7 +296,7 @@ def self.field_remappings end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -306,7 +306,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -316,7 +316,7 @@ def self.field_remappings end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -326,7 +326,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -336,7 +336,7 @@ def self.field_remappings end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. attr_reader :buyer_id @@ -349,7 +349,7 @@ def self.field_remappings end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -359,7 +359,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -369,7 +369,7 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -379,7 +379,7 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -389,7 +389,7 @@ def self.field_remappings end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -399,7 +399,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -409,7 +409,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. attr_reader :bank_code # Name of the bank associated with the bank account. @@ -438,7 +438,7 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -448,7 +448,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -545,7 +545,7 @@ def self.field_remappings end end - class SetupError < Stripe::StripeObject + class SetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. attr_reader :advice_code # For card errors, the ID of the failed charge. diff --git a/lib/stripe/resources/setup_intent.rb b/lib/stripe/resources/setup_intent.rb index a29a145f2..95659ee75 100644 --- a/lib/stripe/resources/setup_intent.rb +++ b/lib/stripe/resources/setup_intent.rb @@ -33,7 +33,7 @@ def self.object_name "setup_intent" end - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -50,7 +50,7 @@ def self.field_remappings end end - class LastSetupError < Stripe::StripeObject + class LastSetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. attr_reader :advice_code # For card errors, the ID of the failed charge. @@ -127,9 +127,9 @@ def self.field_remappings end end - class NextAction < Stripe::StripeObject - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. attr_reader :expires_at # The image_url_png string used to render QR code @@ -161,7 +161,7 @@ def self.field_remappings end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. attr_reader :data # The date (unix timestamp) when the PIX expires. @@ -182,7 +182,7 @@ def self.field_remappings end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. attr_reader :return_url # The URL you must redirect your customer to in order to authenticate. @@ -197,7 +197,7 @@ def self.field_remappings end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. attr_reader :arrival_date # The URL for the hosted verification page, which allows customers to verify their bank account. @@ -240,7 +240,7 @@ def self.field_remappings end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. attr_reader :id # ID of the parent payment method configuration used. @@ -255,9 +255,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text attr_reader :custom_mandate_url # List of Stripe products where this mandate can be selected automatically. @@ -293,7 +293,7 @@ def self.field_remappings end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -303,8 +303,8 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. attr_reader :reference_prefix @@ -328,8 +328,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -375,7 +375,7 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -385,7 +385,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # The currency of the setup intent. Three letter ISO currency code. attr_reader :currency # Preferred locale of the Klarna checkout page that the customer is redirected to. @@ -400,7 +400,7 @@ def self.field_remappings end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # [Deprecated] This is a legacy parameter that no longer has any function. attr_reader :persistent_token @@ -413,7 +413,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. attr_reader :billing_agreement_id # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -430,8 +430,8 @@ def self.field_remappings end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. attr_reader :amount # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. @@ -467,8 +467,8 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # Determines if the amount includes the IOF tax. @@ -506,8 +506,8 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. attr_reader :reference_prefix @@ -531,9 +531,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -548,7 +548,7 @@ def self.field_remappings end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. attr_reader :mode @@ -580,7 +580,7 @@ def self.field_remappings end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method attr_reader :collection_method @@ -682,6 +682,8 @@ def self.field_remappings attr_reader :customer_account # An arbitrary string attached to the object. Often useful for displaying to users. attr_reader :description + # Payment method types that are excluded from this SetupIntent. + attr_reader :excluded_payment_method_types # Indicates the directions of money movement for which this payment method is intended to be used. # # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes. diff --git a/lib/stripe/resources/shipping_rate.rb b/lib/stripe/resources/shipping_rate.rb index 95b44396f..2963d6e14 100644 --- a/lib/stripe/resources/shipping_rate.rb +++ b/lib/stripe/resources/shipping_rate.rb @@ -14,8 +14,8 @@ def self.object_name "shipping_rate" end - class DeliveryEstimate < Stripe::StripeObject - class Maximum < Stripe::StripeObject + class DeliveryEstimate < ::Stripe::StripeObject + class Maximum < ::Stripe::StripeObject # A unit of time. attr_reader :unit # Must be greater than 0. @@ -30,7 +30,7 @@ def self.field_remappings end end - class Minimum < Stripe::StripeObject + class Minimum < ::Stripe::StripeObject # A unit of time. attr_reader :unit # Must be greater than 0. @@ -58,8 +58,8 @@ def self.field_remappings end end - class FixedAmount < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class FixedAmount < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. attr_reader :amount # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. diff --git a/lib/stripe/resources/sigma/scheduled_query_run.rb b/lib/stripe/resources/sigma/scheduled_query_run.rb index 8291c4941..cff513b15 100644 --- a/lib/stripe/resources/sigma/scheduled_query_run.rb +++ b/lib/stripe/resources/sigma/scheduled_query_run.rb @@ -15,7 +15,7 @@ def self.object_name "scheduled_query_run" end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # Information about the run failure. attr_reader :message diff --git a/lib/stripe/resources/source.rb b/lib/stripe/resources/source.rb index ecbeb22f9..7ba54e367 100644 --- a/lib/stripe/resources/source.rb +++ b/lib/stripe/resources/source.rb @@ -24,7 +24,7 @@ def self.object_name nested_resource_class_methods :source_transaction, operations: %i[retrieve list] - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Attribute for field account_number attr_reader :account_number # Attribute for field bank_name @@ -51,7 +51,7 @@ def self.field_remappings end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Attribute for field bank_name attr_reader :bank_name # Attribute for field country @@ -74,7 +74,7 @@ def self.field_remappings end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Attribute for field bank_address_city attr_reader :bank_address_city # Attribute for field bank_address_line_1 @@ -105,7 +105,7 @@ def self.field_remappings end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Attribute for field data_string attr_reader :data_string # Attribute for field native_url @@ -122,7 +122,7 @@ def self.field_remappings end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Attribute for field bsb_number attr_reader :bsb_number # Attribute for field fingerprint @@ -139,7 +139,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Attribute for field bank_code attr_reader :bank_code # Attribute for field bank_name @@ -162,7 +162,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field address_line1_check attr_reader :address_line1_check # Attribute for field address_zip_check @@ -209,7 +209,7 @@ def self.field_remappings end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field application_cryptogram attr_reader :application_cryptogram # Attribute for field application_preferred_name @@ -274,7 +274,7 @@ def self.field_remappings end end - class CodeVerification < Stripe::StripeObject + class CodeVerification < ::Stripe::StripeObject # The number of attempts remaining to authenticate the source object with a verification code. attr_reader :attempts_remaining # The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0). @@ -289,7 +289,7 @@ def self.field_remappings end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Attribute for field reference attr_reader :reference # Attribute for field statement_descriptor @@ -304,7 +304,7 @@ def self.field_remappings end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Attribute for field bank_code attr_reader :bank_code # Attribute for field bank_name @@ -323,7 +323,7 @@ def self.field_remappings end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Attribute for field bank attr_reader :bank # Attribute for field bic @@ -342,7 +342,7 @@ def self.field_remappings end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field background_image_url attr_reader :background_image_url # Attribute for field client_token @@ -405,7 +405,7 @@ def self.field_remappings end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Attribute for field entity attr_reader :entity # Attribute for field reference @@ -436,8 +436,8 @@ def self.field_remappings end end - class Owner < Stripe::StripeObject - class Address < Stripe::StripeObject + class Owner < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -460,7 +460,7 @@ def self.field_remappings end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -508,7 +508,7 @@ def self.field_remappings end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Attribute for field reference attr_reader :reference @@ -521,7 +521,7 @@ def self.field_remappings end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Attribute for field billing_agreement attr_reader :billing_agreement # Attribute for field fingerprint @@ -550,7 +550,7 @@ def self.field_remappings end end - class Receiver < Stripe::StripeObject + class Receiver < ::Stripe::StripeObject # The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. attr_reader :address # The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency. @@ -573,7 +573,7 @@ def self.field_remappings end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`. attr_reader :failure_reason # The URL you provide to redirect the customer to after they authenticated their payment. @@ -592,7 +592,7 @@ def self.field_remappings end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Attribute for field bank_name attr_reader :bank_name # Attribute for field bic @@ -625,7 +625,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Attribute for field bank_code attr_reader :bank_code # Attribute for field branch_code @@ -650,7 +650,7 @@ def self.field_remappings end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Attribute for field bank_code attr_reader :bank_code # Attribute for field bank_name @@ -675,8 +675,8 @@ def self.field_remappings end end - class SourceOrder < Stripe::StripeObject - class Item < Stripe::StripeObject + class SourceOrder < ::Stripe::StripeObject + class Item < ::Stripe::StripeObject # The amount (price) for this order item. attr_reader :amount # This currency of this order item. Required when `amount` is present. @@ -699,8 +699,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -761,7 +761,7 @@ def self.field_remappings end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field address_line1_check attr_reader :address_line1_check # Attribute for field address_zip_check @@ -814,7 +814,7 @@ def self.field_remappings end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject # Attribute for field prepay_id attr_reader :prepay_id # Attribute for field qr_code_url diff --git a/lib/stripe/resources/source_mandate_notification.rb b/lib/stripe/resources/source_mandate_notification.rb index e2dcabc07..e992425ee 100644 --- a/lib/stripe/resources/source_mandate_notification.rb +++ b/lib/stripe/resources/source_mandate_notification.rb @@ -11,7 +11,7 @@ def self.object_name "source_mandate_notification" end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # The statement descriptor associate with the debit. attr_reader :statement_descriptor @@ -24,7 +24,7 @@ def self.field_remappings end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Last 4 digits of the account number associated with the debit. attr_reader :last4 @@ -37,7 +37,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # SEPA creditor ID. attr_reader :creditor_identifier # Last 4 digits of the account number associated with the debit. diff --git a/lib/stripe/resources/source_transaction.rb b/lib/stripe/resources/source_transaction.rb index 4818d0b35..7dcdc84ab 100644 --- a/lib/stripe/resources/source_transaction.rb +++ b/lib/stripe/resources/source_transaction.rb @@ -12,7 +12,7 @@ def self.object_name "source_transaction" end - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Customer data associated with the transfer. attr_reader :customer_data # Bank account fingerprint associated with the transfer. @@ -31,7 +31,7 @@ def self.field_remappings end end - class ChfCreditTransfer < Stripe::StripeObject + class ChfCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. attr_reader :reference # Sender's country address. @@ -52,7 +52,7 @@ def self.field_remappings end end - class GbpCreditTransfer < Stripe::StripeObject + class GbpCreditTransfer < ::Stripe::StripeObject # Bank account fingerprint associated with the Stripe owned bank account receiving the transfer. attr_reader :fingerprint # The credit transfer rails the sender used to push this transfer. The possible rails are: Faster Payments, BACS, CHAPS, and wire transfers. Currently only Faster Payments is supported. @@ -77,7 +77,7 @@ def self.field_remappings end end - class PaperCheck < Stripe::StripeObject + class PaperCheck < ::Stripe::StripeObject # Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch. attr_reader :available_at # Comma-separated list of invoice IDs associated with the paper check. @@ -92,7 +92,7 @@ def self.field_remappings end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. attr_reader :reference # Sender's bank account IBAN. diff --git a/lib/stripe/resources/subscription.rb b/lib/stripe/resources/subscription.rb index 633f433eb..2667e1ba7 100644 --- a/lib/stripe/resources/subscription.rb +++ b/lib/stripe/resources/subscription.rb @@ -16,8 +16,8 @@ def self.object_name "subscription" end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -47,7 +47,7 @@ def self.field_remappings end end - class BillingCycleAnchorConfig < Stripe::StripeObject + class BillingCycleAnchorConfig < ::Stripe::StripeObject # The day of the month of the billing_cycle_anchor. attr_reader :day_of_month # The hour of the day of the billing_cycle_anchor. @@ -68,8 +68,8 @@ def self.field_remappings end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. attr_reader :proration_discounts @@ -97,8 +97,8 @@ def self.field_remappings end end - class BillingSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class BillingSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # The billing schedule will apply to the subscription item with the given price ID. attr_reader :price # Controls which subscription items the billing schedule applies to. @@ -113,8 +113,8 @@ def self.field_remappings end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies billing duration. Either `day`, `week`, `month` or `year`. attr_reader :interval # The multiplier applied to the interval. @@ -161,7 +161,7 @@ def self.field_remappings end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice attr_reader :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. @@ -176,7 +176,7 @@ def self.field_remappings end end - class CancellationDetails < Stripe::StripeObject + class CancellationDetails < ::Stripe::StripeObject # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. attr_reader :comment # The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. @@ -193,8 +193,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -222,8 +222,8 @@ def self.field_remappings end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. attr_reader :source_price # The intended resulting price of the migration. @@ -253,7 +253,7 @@ def self.field_remappings end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior # The time after which the subscription will resume collecting payments. @@ -268,10 +268,10 @@ def self.field_remappings end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -297,7 +297,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -310,8 +310,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -343,9 +343,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. attr_reader :country @@ -384,7 +384,7 @@ def self.field_remappings end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -394,7 +394,7 @@ def self.field_remappings end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -404,8 +404,8 @@ def self.field_remappings end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # Determines if the amount includes the IOF tax. @@ -435,7 +435,7 @@ def self.field_remappings end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -445,8 +445,8 @@ def self.field_remappings end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. @@ -476,9 +476,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. attr_reader :account_subcategories # The institution to use to filter for possible accounts to link. @@ -576,7 +576,7 @@ def self.field_remappings end end - class PendingInvoiceItemInterval < Stripe::StripeObject + class PendingInvoiceItemInterval < ::Stripe::StripeObject # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. attr_reader :interval # The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). @@ -591,7 +591,7 @@ def self.field_remappings end end - class PendingUpdate < Stripe::StripeObject + class PendingUpdate < ::Stripe::StripeObject # If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format. attr_reader :billing_cycle_anchor # The point after which the changes reflected by this update will be discarded and no longer applied. @@ -614,7 +614,7 @@ def self.field_remappings end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. attr_reader :invoice # The end of the last period for which the invoice pre-bills. @@ -633,7 +633,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount_percent # The account where funds from the payment will be transferred to upon payment success. @@ -648,8 +648,8 @@ def self.field_remappings end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. attr_reader :missing_payment_method diff --git a/lib/stripe/resources/subscription_item.rb b/lib/stripe/resources/subscription_item.rb index 7af9003b4..09b71e74c 100644 --- a/lib/stripe/resources/subscription_item.rb +++ b/lib/stripe/resources/subscription_item.rb @@ -15,7 +15,7 @@ def self.object_name "subscription_item" end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice attr_reader :usage_gte @@ -28,7 +28,7 @@ def self.field_remappings end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. attr_reader :converts_to # Determines the type of trial for this item. diff --git a/lib/stripe/resources/subscription_schedule.rb b/lib/stripe/resources/subscription_schedule.rb index 798d913db..b6603d1f7 100644 --- a/lib/stripe/resources/subscription_schedule.rb +++ b/lib/stripe/resources/subscription_schedule.rb @@ -15,8 +15,8 @@ def self.object_name "subscription_schedule" end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. attr_reader :proration_discounts @@ -44,7 +44,7 @@ def self.field_remappings end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. attr_reader :end_date # The start of this phase of the subscription schedule. @@ -59,9 +59,9 @@ def self.field_remappings end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -91,7 +91,7 @@ def self.field_remappings end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice attr_reader :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. @@ -106,8 +106,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -137,7 +137,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount_percent # The account where funds from the payment will be transferred to upon payment success. @@ -186,8 +186,8 @@ def self.field_remappings end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. attr_reader :source_price # The intended resulting price of the migration. @@ -217,10 +217,10 @@ def self.field_remappings end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -252,8 +252,8 @@ def self.field_remappings end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. attr_reader :timestamp # Select how to calculate the end of the invoice item period. @@ -268,7 +268,7 @@ def self.field_remappings end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. attr_reader :timestamp # Select how to calculate the start of the invoice item period. @@ -317,8 +317,8 @@ def self.field_remappings end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -348,7 +348,7 @@ def self.field_remappings end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice attr_reader :amount_gte # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. @@ -363,8 +363,8 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -396,8 +396,8 @@ def self.field_remappings end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. attr_reader :account # Type of the account referenced. @@ -427,8 +427,8 @@ def self.field_remappings end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice attr_reader :usage_gte @@ -441,8 +441,8 @@ def self.field_remappings end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. attr_reader :timestamp # The discount end type. @@ -474,7 +474,7 @@ def self.field_remappings end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. attr_reader :converts_to # Determines the type of trial for this item. @@ -518,7 +518,7 @@ def self.field_remappings end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. attr_reader :behavior @@ -531,7 +531,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. attr_reader :amount_percent # The account where funds from the payment will be transferred to upon payment success. @@ -546,8 +546,8 @@ def self.field_remappings end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. attr_reader :prorate_up_front @@ -636,7 +636,7 @@ def self.field_remappings end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. attr_reader :invoice # The end of the last period for which the invoice pre-bills. diff --git a/lib/stripe/resources/tax/association.rb b/lib/stripe/resources/tax/association.rb index e598d398a..82917fad9 100644 --- a/lib/stripe/resources/tax/association.rb +++ b/lib/stripe/resources/tax/association.rb @@ -10,8 +10,8 @@ def self.object_name "tax.association" end - class TaxTransactionAttempt < Stripe::StripeObject - class Committed < Stripe::StripeObject + class TaxTransactionAttempt < ::Stripe::StripeObject + class Committed < ::Stripe::StripeObject # The [Tax Transaction](https://stripe.com/docs/api/tax/transaction/object) attr_reader :transaction @@ -24,7 +24,7 @@ def self.field_remappings end end - class Errored < Stripe::StripeObject + class Errored < ::Stripe::StripeObject # Details on why we couldn't commit the tax transaction. attr_reader :reason diff --git a/lib/stripe/resources/tax/calculation.rb b/lib/stripe/resources/tax/calculation.rb index 1cace4cbe..03409e412 100644 --- a/lib/stripe/resources/tax/calculation.rb +++ b/lib/stripe/resources/tax/calculation.rb @@ -14,8 +14,8 @@ def self.object_name "tax.calculation" end - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -38,7 +38,7 @@ def self.field_remappings end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -72,8 +72,8 @@ def self.field_remappings end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -107,9 +107,9 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # A human-readable name for the jurisdiction imposing the tax. @@ -128,7 +128,7 @@ def self.field_remappings end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". attr_reader :display_name # The tax rate percentage as a string. For example, 8.5% is represented as "8.5". @@ -187,9 +187,9 @@ def self.field_remappings end end - class TaxBreakdown < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject - class FlatAmount < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). attr_reader :amount # Three-letter ISO currency code, in lowercase. diff --git a/lib/stripe/resources/tax/calculation_line_item.rb b/lib/stripe/resources/tax/calculation_line_item.rb index aea7ed58c..fbb2246b6 100644 --- a/lib/stripe/resources/tax/calculation_line_item.rb +++ b/lib/stripe/resources/tax/calculation_line_item.rb @@ -9,8 +9,8 @@ def self.object_name "tax.calculation_line_item" end - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # A human-readable name for the jurisdiction imposing the tax. @@ -29,7 +29,7 @@ def self.field_remappings end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". attr_reader :display_name # The tax rate percentage as a string. For example, 8.5% is represented as "8.5". diff --git a/lib/stripe/resources/tax/form.rb b/lib/stripe/resources/tax/form.rb index 355def3ea..559e7d487 100644 --- a/lib/stripe/resources/tax/form.rb +++ b/lib/stripe/resources/tax/form.rb @@ -14,7 +14,7 @@ def self.object_name "tax.form" end - class AuSerr < Stripe::StripeObject + class AuSerr < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. attr_reader :reporting_period_end_date # Start date of the period represented by the information reported on the tax form. @@ -29,7 +29,7 @@ def self.field_remappings end end - class CaMrdp < Stripe::StripeObject + class CaMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. attr_reader :reporting_period_end_date # Start date of the period represented by the information reported on the tax form. @@ -44,7 +44,7 @@ def self.field_remappings end end - class EuDac7 < Stripe::StripeObject + class EuDac7 < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. attr_reader :reporting_period_end_date # Start date of the period represented by the information reported on the tax form. @@ -59,8 +59,8 @@ def self.field_remappings end end - class FilingStatus < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class FilingStatus < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Indicates the level of the jurisdiction where the form was filed. @@ -92,7 +92,7 @@ def self.field_remappings end end - class GbMrdp < Stripe::StripeObject + class GbMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. attr_reader :reporting_period_end_date # Start date of the period represented by the information reported on the tax form. @@ -107,7 +107,7 @@ def self.field_remappings end end - class NzMrdp < Stripe::StripeObject + class NzMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. attr_reader :reporting_period_end_date # Start date of the period represented by the information reported on the tax form. @@ -122,7 +122,7 @@ def self.field_remappings end end - class Payee < Stripe::StripeObject + class Payee < ::Stripe::StripeObject # The ID of the payee's Stripe account. attr_reader :account # The external reference to this payee. @@ -139,7 +139,7 @@ def self.field_remappings end end - class Us1099K < Stripe::StripeObject + class Us1099K < ::Stripe::StripeObject # Year represented by the information reported on the tax form. attr_reader :reporting_year @@ -152,7 +152,7 @@ def self.field_remappings end end - class Us1099Misc < Stripe::StripeObject + class Us1099Misc < ::Stripe::StripeObject # Year represented by the information reported on the tax form. attr_reader :reporting_year @@ -165,7 +165,7 @@ def self.field_remappings end end - class Us1099Nec < Stripe::StripeObject + class Us1099Nec < ::Stripe::StripeObject # Year represented by the information reported on the tax form. attr_reader :reporting_year diff --git a/lib/stripe/resources/tax/registration.rb b/lib/stripe/resources/tax/registration.rb index 708693a0e..ae35a0fa3 100644 --- a/lib/stripe/resources/tax/registration.rb +++ b/lib/stripe/resources/tax/registration.rb @@ -18,9 +18,9 @@ def self.object_name "tax.registration" end - class CountryOptions < Stripe::StripeObject - class Ae < Stripe::StripeObject - class Standard < Stripe::StripeObject + class CountryOptions < ::Stripe::StripeObject + class Ae < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -46,7 +46,7 @@ def self.field_remappings end end - class Al < Stripe::StripeObject + class Al < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -59,7 +59,7 @@ def self.field_remappings end end - class Am < Stripe::StripeObject + class Am < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -72,7 +72,7 @@ def self.field_remappings end end - class Ao < Stripe::StripeObject + class Ao < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -85,8 +85,8 @@ def self.field_remappings end end - class At < Stripe::StripeObject - class Standard < Stripe::StripeObject + class At < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -112,8 +112,8 @@ def self.field_remappings end end - class Au < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Au < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -139,7 +139,7 @@ def self.field_remappings end end - class Aw < Stripe::StripeObject + class Aw < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -152,7 +152,7 @@ def self.field_remappings end end - class Az < Stripe::StripeObject + class Az < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -165,7 +165,7 @@ def self.field_remappings end end - class Ba < Stripe::StripeObject + class Ba < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -178,7 +178,7 @@ def self.field_remappings end end - class Bb < Stripe::StripeObject + class Bb < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -191,7 +191,7 @@ def self.field_remappings end end - class Bd < Stripe::StripeObject + class Bd < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -204,8 +204,8 @@ def self.field_remappings end end - class Be < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Be < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -231,7 +231,7 @@ def self.field_remappings end end - class Bf < Stripe::StripeObject + class Bf < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -244,8 +244,8 @@ def self.field_remappings end end - class Bg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Bg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -271,7 +271,7 @@ def self.field_remappings end end - class Bh < Stripe::StripeObject + class Bh < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -284,7 +284,7 @@ def self.field_remappings end end - class Bj < Stripe::StripeObject + class Bj < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -297,7 +297,7 @@ def self.field_remappings end end - class Bs < Stripe::StripeObject + class Bs < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -310,7 +310,7 @@ def self.field_remappings end end - class By < Stripe::StripeObject + class By < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -323,8 +323,8 @@ def self.field_remappings end end - class Ca < Stripe::StripeObject - class ProvinceStandard < Stripe::StripeObject + class Ca < ::Stripe::StripeObject + class ProvinceStandard < ::Stripe::StripeObject # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). attr_reader :province @@ -350,7 +350,7 @@ def self.field_remappings end end - class Cd < Stripe::StripeObject + class Cd < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -363,8 +363,8 @@ def self.field_remappings end end - class Ch < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ch < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -390,7 +390,7 @@ def self.field_remappings end end - class Cl < Stripe::StripeObject + class Cl < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -403,7 +403,7 @@ def self.field_remappings end end - class Cm < Stripe::StripeObject + class Cm < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -416,7 +416,7 @@ def self.field_remappings end end - class Co < Stripe::StripeObject + class Co < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -429,7 +429,7 @@ def self.field_remappings end end - class Cr < Stripe::StripeObject + class Cr < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -442,7 +442,7 @@ def self.field_remappings end end - class Cv < Stripe::StripeObject + class Cv < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -455,8 +455,8 @@ def self.field_remappings end end - class Cy < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cy < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -482,8 +482,8 @@ def self.field_remappings end end - class Cz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -509,8 +509,8 @@ def self.field_remappings end end - class De < Stripe::StripeObject - class Standard < Stripe::StripeObject + class De < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -536,8 +536,8 @@ def self.field_remappings end end - class Dk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Dk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -563,7 +563,7 @@ def self.field_remappings end end - class Ec < Stripe::StripeObject + class Ec < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -576,8 +576,8 @@ def self.field_remappings end end - class Ee < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ee < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -603,7 +603,7 @@ def self.field_remappings end end - class Eg < Stripe::StripeObject + class Eg < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -616,8 +616,8 @@ def self.field_remappings end end - class Es < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Es < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -643,7 +643,7 @@ def self.field_remappings end end - class Et < Stripe::StripeObject + class Et < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -656,8 +656,8 @@ def self.field_remappings end end - class Fi < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fi < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -683,8 +683,8 @@ def self.field_remappings end end - class Fr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -710,8 +710,8 @@ def self.field_remappings end end - class Gb < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gb < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -737,7 +737,7 @@ def self.field_remappings end end - class Ge < Stripe::StripeObject + class Ge < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -750,7 +750,7 @@ def self.field_remappings end end - class Gn < Stripe::StripeObject + class Gn < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -763,8 +763,8 @@ def self.field_remappings end end - class Gr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -790,8 +790,8 @@ def self.field_remappings end end - class Hr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -817,8 +817,8 @@ def self.field_remappings end end - class Hu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -844,7 +844,7 @@ def self.field_remappings end end - class Id < Stripe::StripeObject + class Id < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -857,8 +857,8 @@ def self.field_remappings end end - class Ie < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ie < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -884,7 +884,7 @@ def self.field_remappings end end - class In < Stripe::StripeObject + class In < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -897,7 +897,7 @@ def self.field_remappings end end - class Is < Stripe::StripeObject + class Is < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -910,8 +910,8 @@ def self.field_remappings end end - class It < Stripe::StripeObject - class Standard < Stripe::StripeObject + class It < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -937,8 +937,8 @@ def self.field_remappings end end - class Jp < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Jp < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -964,7 +964,7 @@ def self.field_remappings end end - class Ke < Stripe::StripeObject + class Ke < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -977,7 +977,7 @@ def self.field_remappings end end - class Kg < Stripe::StripeObject + class Kg < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -990,7 +990,7 @@ def self.field_remappings end end - class Kh < Stripe::StripeObject + class Kh < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1003,7 +1003,7 @@ def self.field_remappings end end - class Kr < Stripe::StripeObject + class Kr < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1016,7 +1016,7 @@ def self.field_remappings end end - class Kz < Stripe::StripeObject + class Kz < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1029,7 +1029,7 @@ def self.field_remappings end end - class La < Stripe::StripeObject + class La < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1042,8 +1042,8 @@ def self.field_remappings end end - class Lt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1069,8 +1069,8 @@ def self.field_remappings end end - class Lu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1096,8 +1096,8 @@ def self.field_remappings end end - class Lv < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lv < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1123,7 +1123,7 @@ def self.field_remappings end end - class Ma < Stripe::StripeObject + class Ma < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1136,7 +1136,7 @@ def self.field_remappings end end - class Md < Stripe::StripeObject + class Md < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1149,7 +1149,7 @@ def self.field_remappings end end - class Me < Stripe::StripeObject + class Me < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1162,7 +1162,7 @@ def self.field_remappings end end - class Mk < Stripe::StripeObject + class Mk < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1175,7 +1175,7 @@ def self.field_remappings end end - class Mr < Stripe::StripeObject + class Mr < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1188,8 +1188,8 @@ def self.field_remappings end end - class Mt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Mt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1215,7 +1215,7 @@ def self.field_remappings end end - class Mx < Stripe::StripeObject + class Mx < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1228,7 +1228,7 @@ def self.field_remappings end end - class My < Stripe::StripeObject + class My < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1241,7 +1241,7 @@ def self.field_remappings end end - class Ng < Stripe::StripeObject + class Ng < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1254,8 +1254,8 @@ def self.field_remappings end end - class Nl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1281,8 +1281,8 @@ def self.field_remappings end end - class No < Stripe::StripeObject - class Standard < Stripe::StripeObject + class No < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -1308,7 +1308,7 @@ def self.field_remappings end end - class Np < Stripe::StripeObject + class Np < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1321,8 +1321,8 @@ def self.field_remappings end end - class Nz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -1348,7 +1348,7 @@ def self.field_remappings end end - class Om < Stripe::StripeObject + class Om < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1361,7 +1361,7 @@ def self.field_remappings end end - class Pe < Stripe::StripeObject + class Pe < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1374,7 +1374,7 @@ def self.field_remappings end end - class Ph < Stripe::StripeObject + class Ph < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1387,8 +1387,8 @@ def self.field_remappings end end - class Pl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1414,8 +1414,8 @@ def self.field_remappings end end - class Pt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1441,8 +1441,8 @@ def self.field_remappings end end - class Ro < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ro < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1468,7 +1468,7 @@ def self.field_remappings end end - class Rs < Stripe::StripeObject + class Rs < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1481,7 +1481,7 @@ def self.field_remappings end end - class Ru < Stripe::StripeObject + class Ru < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1494,7 +1494,7 @@ def self.field_remappings end end - class Sa < Stripe::StripeObject + class Sa < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1507,8 +1507,8 @@ def self.field_remappings end end - class Se < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Se < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1534,8 +1534,8 @@ def self.field_remappings end end - class Sg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. attr_reader :place_of_supply_scheme @@ -1561,8 +1561,8 @@ def self.field_remappings end end - class Si < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Si < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1588,8 +1588,8 @@ def self.field_remappings end end - class Sk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. attr_reader :place_of_supply_scheme @@ -1615,7 +1615,7 @@ def self.field_remappings end end - class Sn < Stripe::StripeObject + class Sn < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1628,7 +1628,7 @@ def self.field_remappings end end - class Sr < Stripe::StripeObject + class Sr < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1641,7 +1641,7 @@ def self.field_remappings end end - class Th < Stripe::StripeObject + class Th < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1654,7 +1654,7 @@ def self.field_remappings end end - class Tj < Stripe::StripeObject + class Tj < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1667,7 +1667,7 @@ def self.field_remappings end end - class Tr < Stripe::StripeObject + class Tr < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1680,7 +1680,7 @@ def self.field_remappings end end - class Tz < Stripe::StripeObject + class Tz < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1693,7 +1693,7 @@ def self.field_remappings end end - class Ua < Stripe::StripeObject + class Ua < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1706,7 +1706,7 @@ def self.field_remappings end end - class Ug < Stripe::StripeObject + class Ug < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1719,8 +1719,8 @@ def self.field_remappings end end - class Us < Stripe::StripeObject - class LocalAmusementTax < Stripe::StripeObject + class Us < ::Stripe::StripeObject + class LocalAmusementTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. attr_reader :jurisdiction @@ -1733,7 +1733,7 @@ def self.field_remappings end end - class LocalLeaseTax < Stripe::StripeObject + class LocalLeaseTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. attr_reader :jurisdiction @@ -1746,8 +1746,8 @@ def self.field_remappings end end - class StateSalesTax < Stripe::StripeObject - class Election < Stripe::StripeObject + class StateSalesTax < ::Stripe::StripeObject + class Election < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. attr_reader :jurisdiction # The type of the election for the state sales tax registration. @@ -1796,7 +1796,7 @@ def self.field_remappings end end - class Uy < Stripe::StripeObject + class Uy < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1809,7 +1809,7 @@ def self.field_remappings end end - class Uz < Stripe::StripeObject + class Uz < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1822,7 +1822,7 @@ def self.field_remappings end end - class Vn < Stripe::StripeObject + class Vn < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1835,7 +1835,7 @@ def self.field_remappings end end - class Za < Stripe::StripeObject + class Za < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1848,7 +1848,7 @@ def self.field_remappings end end - class Zm < Stripe::StripeObject + class Zm < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type @@ -1861,7 +1861,7 @@ def self.field_remappings end end - class Zw < Stripe::StripeObject + class Zw < ::Stripe::StripeObject # Type of registration in `country`. attr_reader :type diff --git a/lib/stripe/resources/tax/settings.rb b/lib/stripe/resources/tax/settings.rb index abec7ed9e..81fd771a7 100644 --- a/lib/stripe/resources/tax/settings.rb +++ b/lib/stripe/resources/tax/settings.rb @@ -14,7 +14,7 @@ def self.object_name "tax.settings" end - class Defaults < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject # The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). attr_reader :provider # Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior. @@ -31,8 +31,8 @@ def self.field_remappings end end - class HeadOffice < Stripe::StripeObject - class Address < Stripe::StripeObject + class HeadOffice < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -66,8 +66,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Active < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Active < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -77,7 +77,7 @@ def self.field_remappings end end - class Pending < Stripe::StripeObject + class Pending < ::Stripe::StripeObject # The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call. attr_reader :missing_fields diff --git a/lib/stripe/resources/tax/transaction.rb b/lib/stripe/resources/tax/transaction.rb index 5ba069eb3..d0692dda4 100644 --- a/lib/stripe/resources/tax/transaction.rb +++ b/lib/stripe/resources/tax/transaction.rb @@ -12,8 +12,8 @@ def self.object_name "tax.transaction" end - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -36,7 +36,7 @@ def self.field_remappings end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` attr_reader :type # The value of the tax ID. @@ -70,7 +70,7 @@ def self.field_remappings end end - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the reversed `Transaction` object. attr_reader :original_transaction @@ -83,8 +83,8 @@ def self.field_remappings end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -118,9 +118,9 @@ def self.field_remappings end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # A human-readable name for the jurisdiction imposing the tax. @@ -139,7 +139,7 @@ def self.field_remappings end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". attr_reader :display_name # The tax rate percentage as a string. For example, 8.5% is represented as "8.5". diff --git a/lib/stripe/resources/tax/transaction_line_item.rb b/lib/stripe/resources/tax/transaction_line_item.rb index 802703e07..feffb2974 100644 --- a/lib/stripe/resources/tax/transaction_line_item.rb +++ b/lib/stripe/resources/tax/transaction_line_item.rb @@ -9,7 +9,7 @@ def self.object_name "tax.transaction_line_item" end - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the line item to reverse in the original transaction. attr_reader :original_line_item diff --git a/lib/stripe/resources/tax_id.rb b/lib/stripe/resources/tax_id.rb index d5b9a273c..afd110928 100644 --- a/lib/stripe/resources/tax_id.rb +++ b/lib/stripe/resources/tax_id.rb @@ -16,7 +16,7 @@ def self.object_name "tax_id" end - class Owner < Stripe::StripeObject + class Owner < ::Stripe::StripeObject # The account being referenced when `type` is `account`. attr_reader :account # The Connect Application being referenced when `type` is `application`. @@ -37,7 +37,7 @@ def self.field_remappings end end - class Verification < Stripe::StripeObject + class Verification < ::Stripe::StripeObject # Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`. attr_reader :status # Verified address. diff --git a/lib/stripe/resources/tax_rate.rb b/lib/stripe/resources/tax_rate.rb index 1eeb9a708..954c35b44 100644 --- a/lib/stripe/resources/tax_rate.rb +++ b/lib/stripe/resources/tax_rate.rb @@ -15,7 +15,7 @@ def self.object_name "tax_rate" end - class FlatAmount < Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). attr_reader :amount # Three-letter ISO currency code, in lowercase. diff --git a/lib/stripe/resources/terminal/configuration.rb b/lib/stripe/resources/terminal/configuration.rb index 13c02175c..7182a8452 100644 --- a/lib/stripe/resources/terminal/configuration.rb +++ b/lib/stripe/resources/terminal/configuration.rb @@ -16,7 +16,7 @@ def self.object_name "terminal.configuration" end - class BbposWisepad3 < Stripe::StripeObject + class BbposWisepad3 < ::Stripe::StripeObject # A File ID representing an image to display on the reader attr_reader :splashscreen @@ -29,7 +29,7 @@ def self.field_remappings end end - class BbposWiseposE < Stripe::StripeObject + class BbposWiseposE < ::Stripe::StripeObject # A File ID representing an image to display on the reader attr_reader :splashscreen @@ -42,7 +42,7 @@ def self.field_remappings end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. attr_reader :enabled @@ -55,7 +55,7 @@ def self.field_remappings end end - class ReaderSecurity < Stripe::StripeObject + class ReaderSecurity < ::Stripe::StripeObject # Passcode used to access a reader's admin menu. attr_reader :admin_menu_passcode @@ -68,7 +68,7 @@ def self.field_remappings end end - class RebootWindow < Stripe::StripeObject + class RebootWindow < ::Stripe::StripeObject # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. attr_reader :end_hour # Integer between 0 to 23 that represents the start hour of the reboot time window. @@ -83,7 +83,7 @@ def self.field_remappings end end - class StripeS700 < Stripe::StripeObject + class StripeS700 < ::Stripe::StripeObject # A File ID representing an image to display on the reader attr_reader :splashscreen @@ -96,8 +96,8 @@ def self.field_remappings end end - class Tipping < Stripe::StripeObject - class Aed < Stripe::StripeObject + class Tipping < ::Stripe::StripeObject + class Aed < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -114,7 +114,7 @@ def self.field_remappings end end - class Aud < Stripe::StripeObject + class Aud < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -131,7 +131,7 @@ def self.field_remappings end end - class Bgn < Stripe::StripeObject + class Bgn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -148,7 +148,7 @@ def self.field_remappings end end - class Cad < Stripe::StripeObject + class Cad < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -165,7 +165,7 @@ def self.field_remappings end end - class Chf < Stripe::StripeObject + class Chf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -182,7 +182,7 @@ def self.field_remappings end end - class Czk < Stripe::StripeObject + class Czk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -199,7 +199,7 @@ def self.field_remappings end end - class Dkk < Stripe::StripeObject + class Dkk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -216,7 +216,7 @@ def self.field_remappings end end - class Eur < Stripe::StripeObject + class Eur < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -233,7 +233,7 @@ def self.field_remappings end end - class Gbp < Stripe::StripeObject + class Gbp < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -250,7 +250,7 @@ def self.field_remappings end end - class Hkd < Stripe::StripeObject + class Gip < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -267,7 +267,7 @@ def self.field_remappings end end - class Huf < Stripe::StripeObject + class Hkd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -284,7 +284,7 @@ def self.field_remappings end end - class Jpy < Stripe::StripeObject + class Huf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -301,7 +301,7 @@ def self.field_remappings end end - class Mxn < Stripe::StripeObject + class Jpy < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -318,7 +318,7 @@ def self.field_remappings end end - class Myr < Stripe::StripeObject + class Mxn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -335,7 +335,7 @@ def self.field_remappings end end - class Nok < Stripe::StripeObject + class Myr < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -352,7 +352,7 @@ def self.field_remappings end end - class Nzd < Stripe::StripeObject + class Nok < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -369,7 +369,7 @@ def self.field_remappings end end - class Pln < Stripe::StripeObject + class Nzd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -386,7 +386,7 @@ def self.field_remappings end end - class Ron < Stripe::StripeObject + class Pln < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -403,7 +403,7 @@ def self.field_remappings end end - class Sek < Stripe::StripeObject + class Ron < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -420,7 +420,7 @@ def self.field_remappings end end - class Sgd < Stripe::StripeObject + class Sek < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -437,7 +437,24 @@ def self.field_remappings end end - class Usd < Stripe::StripeObject + class Sgd < ::Stripe::StripeObject + # Fixed amounts displayed when collecting a tip + attr_reader :fixed_amounts + # Percentages displayed when collecting a tip + attr_reader :percentages + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + attr_reader :smart_tip_threshold + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + + class Usd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip attr_reader :fixed_amounts # Percentages displayed when collecting a tip @@ -471,6 +488,8 @@ def self.field_remappings attr_reader :eur # Attribute for field gbp attr_reader :gbp + # Attribute for field gip + attr_reader :gip # Attribute for field hkd attr_reader :hkd # Attribute for field huf @@ -507,6 +526,7 @@ def self.inner_class_types dkk: Dkk, eur: Eur, gbp: Gbp, + gip: Gip, hkd: Hkd, huf: Huf, jpy: Jpy, @@ -527,7 +547,7 @@ def self.field_remappings end end - class VerifoneP400 < Stripe::StripeObject + class VerifoneP400 < ::Stripe::StripeObject # A File ID representing an image to display on the reader attr_reader :splashscreen @@ -540,8 +560,8 @@ def self.field_remappings end end - class Wifi < Stripe::StripeObject - class EnterpriseEapPeap < Stripe::StripeObject + class Wifi < ::Stripe::StripeObject + class EnterpriseEapPeap < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate attr_reader :ca_certificate_file # Password for connecting to the WiFi network @@ -560,7 +580,7 @@ def self.field_remappings end end - class EnterpriseEapTls < Stripe::StripeObject + class EnterpriseEapTls < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate attr_reader :ca_certificate_file # A File ID representing a PEM file containing the client certificate @@ -581,7 +601,7 @@ def self.field_remappings end end - class PersonalPsk < Stripe::StripeObject + class PersonalPsk < ::Stripe::StripeObject # Password for connecting to the WiFi network attr_reader :password # Name of the WiFi network diff --git a/lib/stripe/resources/terminal/location.rb b/lib/stripe/resources/terminal/location.rb index c692a683f..6f8fec608 100644 --- a/lib/stripe/resources/terminal/location.rb +++ b/lib/stripe/resources/terminal/location.rb @@ -17,7 +17,7 @@ def self.object_name "terminal.location" end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -40,7 +40,7 @@ def self.field_remappings end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -65,7 +65,7 @@ def self.field_remappings end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). diff --git a/lib/stripe/resources/terminal/onboarding_link.rb b/lib/stripe/resources/terminal/onboarding_link.rb index d1296594b..0985fbae1 100644 --- a/lib/stripe/resources/terminal/onboarding_link.rb +++ b/lib/stripe/resources/terminal/onboarding_link.rb @@ -12,8 +12,8 @@ def self.object_name "terminal.onboarding_link" end - class LinkOptions < Stripe::StripeObject - class AppleTermsAndConditions < Stripe::StripeObject + class LinkOptions < ::Stripe::StripeObject + class AppleTermsAndConditions < ::Stripe::StripeObject # Whether the link should also support users relinking their Apple account. attr_reader :allow_relinking # The business name of the merchant accepting Apple's Terms and Conditions. diff --git a/lib/stripe/resources/terminal/reader.rb b/lib/stripe/resources/terminal/reader.rb index da63407de..cb4308dae 100644 --- a/lib/stripe/resources/terminal/reader.rb +++ b/lib/stripe/resources/terminal/reader.rb @@ -17,10 +17,10 @@ def self.object_name "terminal.reader" end - class Action < Stripe::StripeObject - class CollectInputs < Stripe::StripeObject - class Input < Stripe::StripeObject - class CustomText < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class CollectInputs < ::Stripe::StripeObject + class Input < ::Stripe::StripeObject + class CustomText < ::Stripe::StripeObject # Customize the default description for this input attr_reader :description # Customize the default label for this input's skip button @@ -39,7 +39,7 @@ def self.field_remappings end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # The collected email address attr_reader :value @@ -52,7 +52,7 @@ def self.field_remappings end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The collected number attr_reader :value @@ -65,7 +65,7 @@ def self.field_remappings end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # The collected phone number attr_reader :value @@ -78,13 +78,13 @@ def self.field_remappings end end - class Selection < Stripe::StripeObject - class Choice < Stripe::StripeObject - # The id to be selected + class Selection < ::Stripe::StripeObject + class Choice < ::Stripe::StripeObject + # The identifier for the selected choice. Maximum 50 characters. attr_reader :id - # The button style for the choice + # The button style for the choice. Can be `primary` or `secondary`. attr_reader :style - # The text to be selected + # The text to be selected. Maximum 30 characters. attr_reader :text def self.inner_class_types @@ -111,7 +111,7 @@ def self.field_remappings end end - class Signature < Stripe::StripeObject + class Signature < ::Stripe::StripeObject # The File ID of a collected signature image attr_reader :value @@ -124,7 +124,7 @@ def self.field_remappings end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The collected text value attr_reader :value @@ -137,14 +137,14 @@ def self.field_remappings end end - class Toggle < Stripe::StripeObject - # The toggle's default value + class Toggle < ::Stripe::StripeObject + # The toggle's default value. Can be `enabled` or `disabled`. attr_reader :default_value - # The toggle's description text + # The toggle's description text. Maximum 50 characters. attr_reader :description - # The toggle's title text + # The toggle's title text. Maximum 50 characters. attr_reader :title - # The toggle's collected value + # The toggle's collected value. Can be `enabled` or `disabled`. attr_reader :value def self.inner_class_types @@ -209,9 +209,9 @@ def self.field_remappings end end - class CollectPaymentMethod < Stripe::StripeObject - class CollectConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class CollectPaymentMethod < ::Stripe::StripeObject + class CollectConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_reader :amount_eligible @@ -260,8 +260,8 @@ def self.field_remappings end end - class ConfirmPaymentIntent < Stripe::StripeObject - class ConfirmConfig < Stripe::StripeObject + class ConfirmPaymentIntent < ::Stripe::StripeObject + class ConfirmConfig < ::Stripe::StripeObject # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. attr_reader :return_url @@ -289,9 +289,9 @@ def self.field_remappings end end - class ProcessPaymentIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class ProcessPaymentIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_reader :amount_eligible @@ -336,8 +336,8 @@ def self.field_remappings end end - class ProcessSetupIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject + class ProcessSetupIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when processing this SetupIntent. attr_reader :enable_customer_cancellation @@ -365,8 +365,8 @@ def self.field_remappings end end - class RefundPayment < Stripe::StripeObject - class RefundPaymentConfig < Stripe::StripeObject + class RefundPayment < ::Stripe::StripeObject + class RefundPaymentConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when refunding this payment. attr_reader :enable_customer_cancellation @@ -408,9 +408,9 @@ def self.field_remappings end end - class SetReaderDisplay < Stripe::StripeObject - class Cart < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class SetReaderDisplay < ::Stripe::StripeObject + class Cart < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). attr_reader :amount # Description of the line item. @@ -443,9 +443,9 @@ def self.field_remappings @field_remappings = {} end end - # Cart object to be displayed by the reader. + # Cart object to be displayed by the reader, including line items, amounts, and currency. attr_reader :cart - # Type of information to be displayed by the reader. + # Type of information to be displayed by the reader. Only `cart` is currently supported. attr_reader :type def self.inner_class_types @@ -507,6 +507,8 @@ def self.field_remappings attr_reader :ip_address # Custom label given to the reader for easier identification. attr_reader :label + # The last time this reader reported to Stripe backend. + attr_reader :last_seen_at # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. attr_reader :livemode # The location identifier of the reader. @@ -522,7 +524,7 @@ def self.field_remappings # Always true for a deleted object attr_reader :deleted - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. def cancel_action(params = {}, opts = {}) request_stripe_object( method: :post, @@ -532,7 +534,7 @@ def cancel_action(params = {}, opts = {}) ) end - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. def self.cancel_action(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -542,7 +544,7 @@ def self.cancel_action(reader, params = {}, opts = {}) ) end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. def collect_inputs(params = {}, opts = {}) request_stripe_object( method: :post, @@ -552,7 +554,7 @@ def collect_inputs(params = {}, opts = {}) ) end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. def self.collect_inputs(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -562,7 +564,7 @@ def self.collect_inputs(reader, params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. def collect_payment_method(params = {}, opts = {}) request_stripe_object( method: :post, @@ -572,7 +574,7 @@ def collect_payment_method(params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. def self.collect_payment_method(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -582,7 +584,7 @@ def self.collect_payment_method(reader, params = {}, opts = {}) ) end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. def confirm_payment_intent(params = {}, opts = {}) request_stripe_object( method: :post, @@ -592,7 +594,7 @@ def confirm_payment_intent(params = {}, opts = {}) ) end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. def self.confirm_payment_intent(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -642,7 +644,7 @@ def self.list(params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. def process_payment_intent(params = {}, opts = {}) request_stripe_object( method: :post, @@ -652,7 +654,7 @@ def process_payment_intent(params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. def self.process_payment_intent(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -662,7 +664,7 @@ def self.process_payment_intent(reader, params = {}, opts = {}) ) end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. def process_setup_intent(params = {}, opts = {}) request_stripe_object( method: :post, @@ -672,7 +674,7 @@ def process_setup_intent(params = {}, opts = {}) ) end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. def self.process_setup_intent(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -682,7 +684,7 @@ def self.process_setup_intent(reader, params = {}, opts = {}) ) end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. def refund_payment(params = {}, opts = {}) request_stripe_object( method: :post, @@ -692,7 +694,7 @@ def refund_payment(params = {}, opts = {}) ) end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. def self.refund_payment(reader, params = {}, opts = {}) request_stripe_object( method: :post, @@ -702,7 +704,7 @@ def self.refund_payment(reader, params = {}, opts = {}) ) end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). def set_reader_display(params = {}, opts = {}) request_stripe_object( method: :post, @@ -712,7 +714,7 @@ def set_reader_display(params = {}, opts = {}) ) end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). def self.set_reader_display(reader, params = {}, opts = {}) request_stripe_object( method: :post, diff --git a/lib/stripe/resources/terminal/reader_collected_data.rb b/lib/stripe/resources/terminal/reader_collected_data.rb index 470170e37..829fab363 100644 --- a/lib/stripe/resources/terminal/reader_collected_data.rb +++ b/lib/stripe/resources/terminal/reader_collected_data.rb @@ -10,7 +10,7 @@ def self.object_name "terminal.reader_collected_data" end - class Magstripe < Stripe::StripeObject + class Magstripe < ::Stripe::StripeObject # The raw magstripe data collected by the reader. attr_reader :data diff --git a/lib/stripe/resources/test_helpers/test_clock.rb b/lib/stripe/resources/test_helpers/test_clock.rb index 96acee044..c8e4365f7 100644 --- a/lib/stripe/resources/test_helpers/test_clock.rb +++ b/lib/stripe/resources/test_helpers/test_clock.rb @@ -16,8 +16,8 @@ def self.object_name "test_helpers.test_clock" end - class StatusDetails < Stripe::StripeObject - class Advancing < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Advancing < ::Stripe::StripeObject # The `frozen_time` that the Test Clock is advancing towards. attr_reader :target_frozen_time diff --git a/lib/stripe/resources/treasury/credit_reversal.rb b/lib/stripe/resources/treasury/credit_reversal.rb index 74acea6c5..6845a39ea 100644 --- a/lib/stripe/resources/treasury/credit_reversal.rb +++ b/lib/stripe/resources/treasury/credit_reversal.rb @@ -13,7 +13,7 @@ def self.object_name "treasury.credit_reversal" end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the CreditReversal changed status to `posted` attr_reader :posted_at diff --git a/lib/stripe/resources/treasury/debit_reversal.rb b/lib/stripe/resources/treasury/debit_reversal.rb index 202f28411..402c6c1c4 100644 --- a/lib/stripe/resources/treasury/debit_reversal.rb +++ b/lib/stripe/resources/treasury/debit_reversal.rb @@ -13,7 +13,7 @@ def self.object_name "treasury.debit_reversal" end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # Set if there is an Issuing dispute associated with the DebitReversal. attr_reader :issuing_dispute @@ -26,7 +26,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the DebitReversal changed status to `completed`. attr_reader :completed_at diff --git a/lib/stripe/resources/treasury/financial_account.rb b/lib/stripe/resources/treasury/financial_account.rb index 7ce5240cc..79ed9b976 100644 --- a/lib/stripe/resources/treasury/financial_account.rb +++ b/lib/stripe/resources/treasury/financial_account.rb @@ -15,7 +15,7 @@ def self.object_name "treasury.financial_account" end - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Funds the user can spend right now. attr_reader :cash # Funds not spendable yet, but will become available at a later time. @@ -32,8 +32,8 @@ def self.field_remappings end end - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject # The name of the person or business that owns the bank account. attr_reader :account_holder_name # The account number. @@ -69,7 +69,7 @@ def self.field_remappings end end - class PlatformRestrictions < Stripe::StripeObject + class PlatformRestrictions < ::Stripe::StripeObject # Restricts all inbound money movement. attr_reader :inbound_flows # Restricts all outbound money movement. @@ -84,8 +84,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject # The array that contains reasons for a FinancialAccount closure. attr_reader :reasons diff --git a/lib/stripe/resources/treasury/financial_account_features.rb b/lib/stripe/resources/treasury/financial_account_features.rb index 55b139550..aebf82c71 100644 --- a/lib/stripe/resources/treasury/financial_account_features.rb +++ b/lib/stripe/resources/treasury/financial_account_features.rb @@ -11,8 +11,8 @@ def self.object_name "treasury.financial_account_features" end - class CardIssuing < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -44,8 +44,8 @@ def self.field_remappings end end - class DepositInsurance < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class DepositInsurance < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -77,9 +77,9 @@ def self.field_remappings end end - class FinancialAddresses < Stripe::StripeObject - class Aba < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -124,9 +124,9 @@ def self.field_remappings end end - class InboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -169,8 +169,8 @@ def self.field_remappings end end - class IntraStripeFlows < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IntraStripeFlows < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -202,9 +202,9 @@ def self.field_remappings end end - class OutboundPayments < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -236,8 +236,8 @@ def self.field_remappings end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -282,9 +282,9 @@ def self.field_remappings end end - class OutboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. @@ -316,8 +316,8 @@ def self.field_remappings end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. attr_reader :code # Represents what the user should do, if anything, to activate the Feature. diff --git a/lib/stripe/resources/treasury/inbound_transfer.rb b/lib/stripe/resources/treasury/inbound_transfer.rb index 0532a4b7c..85ba2090b 100644 --- a/lib/stripe/resources/treasury/inbound_transfer.rb +++ b/lib/stripe/resources/treasury/inbound_transfer.rb @@ -15,7 +15,7 @@ def self.object_name "treasury.inbound_transfer" end - class FailureDetails < Stripe::StripeObject + class FailureDetails < ::Stripe::StripeObject # Reason for the failure. attr_reader :code @@ -28,7 +28,7 @@ def self.field_remappings end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return. attr_reader :received_debit @@ -41,9 +41,9 @@ def self.field_remappings end end - class OriginPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class OriginPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -81,7 +81,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. attr_reader :account_holder_type # Account type: checkings or savings. Defaults to checking if omitted. @@ -123,7 +123,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an InboundTransfer changed status to `canceled`. attr_reader :canceled_at # Timestamp describing when an InboundTransfer changed status to `failed`. diff --git a/lib/stripe/resources/treasury/outbound_payment.rb b/lib/stripe/resources/treasury/outbound_payment.rb index 338e8b391..160fb13ea 100644 --- a/lib/stripe/resources/treasury/outbound_payment.rb +++ b/lib/stripe/resources/treasury/outbound_payment.rb @@ -17,9 +17,9 @@ def self.object_name "treasury.outbound_payment" end - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -57,7 +57,7 @@ def self.field_remappings end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. attr_reader :id # The rails used to send funds. @@ -72,7 +72,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. attr_reader :account_holder_type # Account type: checkings or savings. Defaults to checking if omitted. @@ -120,7 +120,7 @@ def self.field_remappings end end - class EndUserDetails < Stripe::StripeObject + class EndUserDetails < ::Stripe::StripeObject # IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked. attr_reader :ip_address # `true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`. @@ -135,7 +135,7 @@ def self.field_remappings end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. attr_reader :code # The Transaction associated with this object. @@ -150,7 +150,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. attr_reader :canceled_at # Timestamp describing when an OutboundPayment changed status to `failed`. @@ -169,8 +169,8 @@ def self.field_remappings end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundPayment for payments sent over the `ach` network. attr_reader :trace_id @@ -183,7 +183,7 @@ def self.field_remappings end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network. attr_reader :chips # IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network. diff --git a/lib/stripe/resources/treasury/outbound_transfer.rb b/lib/stripe/resources/treasury/outbound_transfer.rb index 78cd488f5..9a98fa101 100644 --- a/lib/stripe/resources/treasury/outbound_transfer.rb +++ b/lib/stripe/resources/treasury/outbound_transfer.rb @@ -17,9 +17,9 @@ def self.object_name "treasury.outbound_transfer" end - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -57,7 +57,7 @@ def self.field_remappings end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. attr_reader :id # The rails used to send funds. @@ -72,7 +72,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. attr_reader :account_holder_type # Account type: checkings or savings. Defaults to checking if omitted. @@ -120,8 +120,8 @@ def self.field_remappings end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record attr_reader :addenda @@ -147,7 +147,7 @@ def self.field_remappings end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. attr_reader :code # The Transaction associated with this object. @@ -162,7 +162,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled` attr_reader :canceled_at # Timestamp describing when an OutboundTransfer changed status to `failed` @@ -181,8 +181,8 @@ def self.field_remappings end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. attr_reader :trace_id @@ -195,7 +195,7 @@ def self.field_remappings end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. attr_reader :chips # IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. diff --git a/lib/stripe/resources/treasury/received_credit.rb b/lib/stripe/resources/treasury/received_credit.rb index b3dbebeb6..070bc1f31 100644 --- a/lib/stripe/resources/treasury/received_credit.rb +++ b/lib/stripe/resources/treasury/received_credit.rb @@ -12,9 +12,9 @@ def self.object_name "treasury.received_credit" end - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -52,7 +52,7 @@ def self.field_remappings end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. attr_reader :id # The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. @@ -67,7 +67,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. attr_reader :bank_name # The last four digits of the bank account number. @@ -109,8 +109,8 @@ def self.field_remappings end end - class LinkedFlows < Stripe::StripeObject - class SourceFlowDetails < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject + class SourceFlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. attr_reader :credit_reversal # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). @@ -167,8 +167,8 @@ def self.field_remappings end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record attr_reader :addenda @@ -194,7 +194,7 @@ def self.field_remappings end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedCredit can be reversed. attr_reader :deadline # Set if a ReceivedCredit cannot be reversed. diff --git a/lib/stripe/resources/treasury/received_debit.rb b/lib/stripe/resources/treasury/received_debit.rb index ac3c9fa82..c3d7404fd 100644 --- a/lib/stripe/resources/treasury/received_debit.rb +++ b/lib/stripe/resources/treasury/received_debit.rb @@ -12,9 +12,9 @@ def self.object_name "treasury.received_debit" end - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -52,7 +52,7 @@ def self.field_remappings end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. attr_reader :id # The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. @@ -67,7 +67,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. attr_reader :bank_name # The last four digits of the bank account number. @@ -109,7 +109,7 @@ def self.field_remappings end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # The DebitReversal created as a result of this ReceivedDebit being reversed. attr_reader :debit_reversal # Set if the ReceivedDebit is associated with an InboundTransfer's return of funds. @@ -132,8 +132,8 @@ def self.field_remappings end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record attr_reader :addenda @@ -159,7 +159,7 @@ def self.field_remappings end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedDebit can be reversed. attr_reader :deadline # Set if a ReceivedDebit can't be reversed. diff --git a/lib/stripe/resources/treasury/transaction.rb b/lib/stripe/resources/treasury/transaction.rb index 9fab6f3be..ca83e6f62 100644 --- a/lib/stripe/resources/treasury/transaction.rb +++ b/lib/stripe/resources/treasury/transaction.rb @@ -12,7 +12,7 @@ def self.object_name "treasury.transaction" end - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. attr_reader :cash # The change made to funds that are not spendable yet, but will become available at a later time. @@ -29,7 +29,7 @@ def self.field_remappings end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. attr_reader :credit_reversal # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. @@ -72,7 +72,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the Transaction changed status to `posted`. attr_reader :posted_at # Timestamp describing when the Transaction changed status to `void`. diff --git a/lib/stripe/resources/treasury/transaction_entry.rb b/lib/stripe/resources/treasury/transaction_entry.rb index ab002b504..47a6c7c98 100644 --- a/lib/stripe/resources/treasury/transaction_entry.rb +++ b/lib/stripe/resources/treasury/transaction_entry.rb @@ -12,7 +12,7 @@ def self.object_name "treasury.transaction_entry" end - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. attr_reader :cash # The change made to funds that are not spendable yet, but will become available at a later time. @@ -29,7 +29,7 @@ def self.field_remappings end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. attr_reader :credit_reversal # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. diff --git a/lib/stripe/resources/v2/billing/bill_setting.rb b/lib/stripe/resources/v2/billing/bill_setting.rb index 75933479f..3cc76a0ab 100644 --- a/lib/stripe/resources/v2/billing/bill_setting.rb +++ b/lib/stripe/resources/v2/billing/bill_setting.rb @@ -11,8 +11,8 @@ def self.object_name "v2.billing.bill_setting" end - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". attr_reader :type @@ -36,8 +36,8 @@ def self.field_remappings end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. attr_reader :interval # The number of interval units. For example, if interval=day and interval_count=30, diff --git a/lib/stripe/resources/v2/billing/bill_setting_version.rb b/lib/stripe/resources/v2/billing/bill_setting_version.rb index 8432fba2c..ee01039bf 100644 --- a/lib/stripe/resources/v2/billing/bill_setting_version.rb +++ b/lib/stripe/resources/v2/billing/bill_setting_version.rb @@ -10,8 +10,8 @@ def self.object_name "v2.billing.bill_setting_version" end - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". attr_reader :type @@ -35,8 +35,8 @@ def self.field_remappings end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. attr_reader :interval # The number of interval units. For example, if interval=day and interval_count=30, diff --git a/lib/stripe/resources/v2/billing/cadence.rb b/lib/stripe/resources/v2/billing/cadence.rb index 8a9ff8635..f7cf4780f 100644 --- a/lib/stripe/resources/v2/billing/cadence.rb +++ b/lib/stripe/resources/v2/billing/cadence.rb @@ -10,9 +10,9 @@ def self.object_name "v2.billing.cadence" end - class BillingCycle < Stripe::StripeObject - class Day < Stripe::StripeObject - class Time < Stripe::StripeObject + class BillingCycle < ::Stripe::StripeObject + class Day < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -44,8 +44,8 @@ def self.field_remappings end end - class Month < Stripe::StripeObject - class Time < Stripe::StripeObject + class Month < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -84,8 +84,8 @@ def self.field_remappings end end - class Week < Stripe::StripeObject - class Time < Stripe::StripeObject + class Week < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -120,8 +120,8 @@ def self.field_remappings end end - class Year < Stripe::StripeObject - class Time < Stripe::StripeObject + class Year < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -180,7 +180,7 @@ def self.field_remappings end end - class Payer < Stripe::StripeObject + class Payer < ::Stripe::StripeObject # The ID of the Billing Profile object which determines how a bill will be paid. attr_reader :billing_profile # The ID of the Customer object. @@ -197,8 +197,8 @@ def self.field_remappings end end - class Settings < Stripe::StripeObject - class Bill < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject # The ID of the referenced settings object. attr_reader :id # Returns the Settings Version when the cadence is pinned to a specific version. @@ -213,7 +213,7 @@ def self.field_remappings end end - class Collection < Stripe::StripeObject + class Collection < ::Stripe::StripeObject # The ID of the referenced settings object. attr_reader :id # Returns the Settings Version when the cadence is pinned to a specific version. @@ -241,10 +241,10 @@ def self.field_remappings end end - class SettingsData < Stripe::StripeObject - class Bill < Stripe::StripeObject - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class SettingsData < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". attr_reader :type @@ -268,8 +268,8 @@ def self.field_remappings end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. attr_reader :interval # The number of interval units. For example, if interval=day and interval_count=30, @@ -311,9 +311,9 @@ def self.field_remappings end end - class Collection < Stripe::StripeObject - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class Collection < ::Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. @@ -339,9 +339,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -367,7 +367,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -380,8 +380,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # The AmountType for the mandate. One of `fixed` or `maximum`. @@ -416,9 +416,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. attr_reader :country @@ -457,9 +457,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. attr_reader :account_subcategories diff --git a/lib/stripe/resources/v2/billing/collection_setting.rb b/lib/stripe/resources/v2/billing/collection_setting.rb index f0055031f..e9b1280a4 100644 --- a/lib/stripe/resources/v2/billing/collection_setting.rb +++ b/lib/stripe/resources/v2/billing/collection_setting.rb @@ -11,8 +11,8 @@ def self.object_name "v2.billing.collection_setting" end - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. @@ -38,9 +38,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -66,7 +66,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -79,8 +79,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # The AmountType for the mandate. One of `fixed` or `maximum`. @@ -115,9 +115,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. attr_reader :country @@ -156,9 +156,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. attr_reader :account_subcategories diff --git a/lib/stripe/resources/v2/billing/collection_setting_version.rb b/lib/stripe/resources/v2/billing/collection_setting_version.rb index 6cd9e4463..cee6dd8b7 100644 --- a/lib/stripe/resources/v2/billing/collection_setting_version.rb +++ b/lib/stripe/resources/v2/billing/collection_setting_version.rb @@ -10,8 +10,8 @@ def self.object_name "v2.billing.collection_setting_version" end - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. @@ -37,9 +37,9 @@ def self.field_remappings end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. attr_reader :transaction_type @@ -65,7 +65,7 @@ def self.field_remappings end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. attr_reader :preferred_language @@ -78,8 +78,8 @@ def self.field_remappings end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. attr_reader :amount # The AmountType for the mandate. One of `fixed` or `maximum`. @@ -114,9 +114,9 @@ def self.field_remappings end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. attr_reader :country @@ -155,9 +155,9 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. attr_reader :account_subcategories diff --git a/lib/stripe/resources/v2/billing/meter_event_adjustment.rb b/lib/stripe/resources/v2/billing/meter_event_adjustment.rb index 21d8e2bd2..4e19f95b5 100644 --- a/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +++ b/lib/stripe/resources/v2/billing/meter_event_adjustment.rb @@ -10,7 +10,7 @@ def self.object_name "v2.billing.meter_event_adjustment" end - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. attr_reader :identifier diff --git a/lib/stripe/resources/v2/core/account.rb b/lib/stripe/resources/v2/core/account.rb index 668c793b6..ca56eb3b1 100644 --- a/lib/stripe/resources/v2/core/account.rb +++ b/lib/stripe/resources/v2/core/account.rb @@ -11,10 +11,10 @@ def self.object_name "v2.core.account" end - class Configuration < Stripe::StripeObject - class Customer < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Configuration < ::Stripe::StripeObject + class Customer < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. attr_reader :country # The identified tax state, county, province, or region of the customer. @@ -46,9 +46,9 @@ def self.field_remappings end end - class Billing < Stripe::StripeObject - class Invoice < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. This may be up to 40 characters. attr_reader :name # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. @@ -63,7 +63,7 @@ def self.field_remappings end end - class Rendering < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. attr_reader :amount_tax_display # ID of the invoice rendering template to use for future invoices. @@ -110,9 +110,9 @@ def self.field_remappings end end - class Capabilities < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -153,8 +153,8 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -218,8 +218,8 @@ def self.field_remappings end end - class Merchant < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Merchant < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # Display name for Bacs debit payments. attr_reader :display_name # Service user number for Bacs debit payments. @@ -234,7 +234,7 @@ def self.field_remappings end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. attr_reader :icon # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. @@ -253,9 +253,9 @@ def self.field_remappings end end - class Capabilities < Stripe::StripeObject - class AchDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AchDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -285,8 +285,8 @@ def self.field_remappings end end - class AcssDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AcssDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -316,8 +316,8 @@ def self.field_remappings end end - class AffirmPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AffirmPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -347,8 +347,8 @@ def self.field_remappings end end - class AfterpayClearpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AfterpayClearpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -378,8 +378,8 @@ def self.field_remappings end end - class AlmaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AlmaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -409,8 +409,8 @@ def self.field_remappings end end - class AmazonPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AmazonPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -440,8 +440,8 @@ def self.field_remappings end end - class AuBecsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AuBecsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -471,8 +471,8 @@ def self.field_remappings end end - class BacsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -502,8 +502,8 @@ def self.field_remappings end end - class BancontactPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BancontactPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -533,8 +533,8 @@ def self.field_remappings end end - class BlikPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BlikPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -564,8 +564,8 @@ def self.field_remappings end end - class BoletoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BoletoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -595,8 +595,8 @@ def self.field_remappings end end - class CardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -626,8 +626,8 @@ def self.field_remappings end end - class CartesBancairesPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CartesBancairesPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -657,8 +657,8 @@ def self.field_remappings end end - class CashappPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CashappPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -688,8 +688,8 @@ def self.field_remappings end end - class EpsPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class EpsPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -719,8 +719,8 @@ def self.field_remappings end end - class FpxPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FpxPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -750,8 +750,8 @@ def self.field_remappings end end - class GbBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GbBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -781,8 +781,8 @@ def self.field_remappings end end - class GrabpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GrabpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -812,8 +812,8 @@ def self.field_remappings end end - class IdealPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IdealPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -843,8 +843,8 @@ def self.field_remappings end end - class JcbPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JcbPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -874,8 +874,8 @@ def self.field_remappings end end - class JpBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JpBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -905,8 +905,8 @@ def self.field_remappings end end - class KakaoPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KakaoPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -936,8 +936,8 @@ def self.field_remappings end end - class KlarnaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KlarnaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -967,8 +967,8 @@ def self.field_remappings end end - class KonbiniPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KonbiniPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -998,8 +998,8 @@ def self.field_remappings end end - class KrCardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KrCardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1029,8 +1029,8 @@ def self.field_remappings end end - class LinkPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class LinkPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1060,8 +1060,8 @@ def self.field_remappings end end - class MobilepayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MobilepayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1091,8 +1091,8 @@ def self.field_remappings end end - class MultibancoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MultibancoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1122,8 +1122,8 @@ def self.field_remappings end end - class MxBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MxBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1153,8 +1153,8 @@ def self.field_remappings end end - class NaverPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class NaverPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1184,8 +1184,8 @@ def self.field_remappings end end - class OxxoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OxxoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1215,8 +1215,8 @@ def self.field_remappings end end - class P24Payments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class P24Payments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1246,8 +1246,8 @@ def self.field_remappings end end - class PayByBankPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PayByBankPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1277,8 +1277,8 @@ def self.field_remappings end end - class PaycoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaycoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1308,8 +1308,8 @@ def self.field_remappings end end - class PaynowPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaynowPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1339,8 +1339,8 @@ def self.field_remappings end end - class PromptpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PromptpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1370,8 +1370,8 @@ def self.field_remappings end end - class RevolutPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class RevolutPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1401,8 +1401,8 @@ def self.field_remappings end end - class SamsungPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SamsungPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1432,8 +1432,8 @@ def self.field_remappings end end - class SepaBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1463,8 +1463,8 @@ def self.field_remappings end end - class SepaDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1494,9 +1494,9 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1537,8 +1537,8 @@ def self.field_remappings end end - class SwishPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SwishPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1568,8 +1568,8 @@ def self.field_remappings end end - class TwintPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class TwintPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1599,8 +1599,8 @@ def self.field_remappings end end - class UsBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1630,8 +1630,8 @@ def self.field_remappings end end - class ZipPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class ZipPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1806,8 +1806,8 @@ def self.field_remappings end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. attr_reader :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. @@ -1833,7 +1833,7 @@ def self.field_remappings end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # Creditor ID for SEPA debit payments. attr_reader :creditor_id @@ -1846,7 +1846,7 @@ def self.field_remappings end end - class StatementDescriptor < Stripe::StripeObject + class StatementDescriptor < ::Stripe::StripeObject # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. attr_reader :descriptor # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. @@ -1861,8 +1861,8 @@ def self.field_remappings end end - class Support < Stripe::StripeObject - class Address < Stripe::StripeObject + class Support < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -1939,11 +1939,11 @@ def self.field_remappings end end - class Recipient < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class Local < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Recipient < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class Local < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -1973,8 +1973,8 @@ def self.field_remappings end end - class Wire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Wire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2017,8 +2017,8 @@ def self.field_remappings end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2048,9 +2048,9 @@ def self.field_remappings end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2080,8 +2080,8 @@ def self.field_remappings end end - class StripeTransfers < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeTransfers < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2143,7 +2143,7 @@ def self.field_remappings end end - class DefaultOutboundDestination < Stripe::StripeObject + class DefaultOutboundDestination < ::Stripe::StripeObject # The payout method ID of the default outbound destination. attr_reader :id # Closed Enum. The payout method type of the default outbound destination. @@ -2176,11 +2176,11 @@ def self.field_remappings end end - class Storer < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class FinancialAddresses < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Storer < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2221,9 +2221,9 @@ def self.field_remappings end end - class HoldsCurrencies < Stripe::StripeObject - class Gbp < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class HoldsCurrencies < ::Stripe::StripeObject + class Gbp < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2264,9 +2264,9 @@ def self.field_remappings end end - class InboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2307,9 +2307,9 @@ def self.field_remappings end end - class OutboundPayments < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2339,8 +2339,8 @@ def self.field_remappings end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2370,8 +2370,8 @@ def self.field_remappings end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2420,9 +2420,9 @@ def self.field_remappings end end - class OutboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2452,8 +2452,8 @@ def self.field_remappings end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. @@ -2559,8 +2559,8 @@ def self.field_remappings end end - class Defaults < Stripe::StripeObject - class Profile < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject + class Profile < ::Stripe::StripeObject # The business's publicly-available website. attr_reader :business_url # The company’s legal name. @@ -2577,7 +2577,7 @@ def self.field_remappings end end - class Responsibilities < Stripe::StripeObject + class Responsibilities < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account. attr_reader :fees_collector # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments. @@ -2609,9 +2609,9 @@ def self.field_remappings end end - class Identity < Stripe::StripeObject - class Attestations < Stripe::StripeObject - class DirectorshipDeclaration < Stripe::StripeObject + class Identity < ::Stripe::StripeObject + class Attestations < ::Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the director attestation was made. @@ -2628,7 +2628,7 @@ def self.field_remappings end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the beneficial owner attestation was made. @@ -2645,7 +2645,7 @@ def self.field_remappings end end - class PersonsProvided < Stripe::StripeObject + class PersonsProvided < ::Stripe::StripeObject # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). attr_reader :directors # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). @@ -2664,8 +2664,8 @@ def self.field_remappings end end - class TermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class TermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. @@ -2682,7 +2682,7 @@ def self.field_remappings end end - class Storer < Stripe::StripeObject + class Storer < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. @@ -2734,8 +2734,8 @@ def self.field_remappings end end - class BusinessDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BusinessDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -2760,7 +2760,7 @@ def self.field_remappings end end - class AnnualRevenue < Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. attr_reader :amount # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -2775,8 +2775,8 @@ def self.field_remappings end end - class Documents < Stripe::StripeObject - class BankAccountOwnershipVerification < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class BankAccountOwnershipVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2791,7 +2791,7 @@ def self.field_remappings end end - class CompanyLicense < Stripe::StripeObject + class CompanyLicense < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2806,7 +2806,7 @@ def self.field_remappings end end - class CompanyMemorandumOfAssociation < Stripe::StripeObject + class CompanyMemorandumOfAssociation < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2821,7 +2821,7 @@ def self.field_remappings end end - class CompanyMinisterialDecree < Stripe::StripeObject + class CompanyMinisterialDecree < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2836,7 +2836,7 @@ def self.field_remappings end end - class CompanyRegistrationVerification < Stripe::StripeObject + class CompanyRegistrationVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2851,7 +2851,7 @@ def self.field_remappings end end - class CompanyTaxIdVerification < Stripe::StripeObject + class CompanyTaxIdVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2866,8 +2866,8 @@ def self.field_remappings end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_reader :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -2895,7 +2895,7 @@ def self.field_remappings end end - class ProofOfAddress < Stripe::StripeObject + class ProofOfAddress < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2910,7 +2910,7 @@ def self.field_remappings end end - class ProofOfRegistration < Stripe::StripeObject + class ProofOfRegistration < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2925,7 +2925,7 @@ def self.field_remappings end end - class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject + class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -2980,7 +2980,7 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The registrar of the ID number (Only valid for DE ID number types). attr_reader :registrar # Open Enum. The ID number type of a business entity. @@ -2995,7 +2995,7 @@ def self.field_remappings end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. attr_reader :amount @@ -3008,8 +3008,8 @@ def self.field_remappings end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3034,7 +3034,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3072,8 +3072,8 @@ def self.field_remappings end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # Registered name of the business. attr_reader :registered_name @@ -3086,7 +3086,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # Registered name of the business. attr_reader :registered_name @@ -3151,8 +3151,8 @@ def self.field_remappings end end - class Individual < Stripe::StripeObject - class AdditionalAddress < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3179,7 +3179,7 @@ def self.field_remappings end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. attr_reader :full_name # The individual's first or given name. @@ -3198,8 +3198,8 @@ def self.field_remappings end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. @@ -3227,7 +3227,7 @@ def self.field_remappings end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3252,7 +3252,7 @@ def self.field_remappings end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -3269,8 +3269,8 @@ def self.field_remappings end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -3285,7 +3285,7 @@ def self.field_remappings end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -3300,8 +3300,8 @@ def self.field_remappings end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_reader :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -3329,8 +3329,8 @@ def self.field_remappings end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_reader :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -3358,7 +3358,7 @@ def self.field_remappings end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -3398,7 +3398,7 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. attr_reader :type @@ -3411,7 +3411,7 @@ def self.field_remappings end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. attr_reader :authorizer # Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -3438,8 +3438,8 @@ def self.field_remappings end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3464,7 +3464,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -3502,8 +3502,8 @@ def self.field_remappings end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. @@ -3518,7 +3518,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. @@ -3635,9 +3635,9 @@ def self.field_remappings end end - class Requirements < Stripe::StripeObject - class Entry < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Entry < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # Machine-readable code describing the error. attr_reader :code # Human-readable description of the error. @@ -3652,9 +3652,9 @@ def self.field_remappings end end - class Impact < Stripe::StripeObject - class RestrictsCapability < Stripe::StripeObject - class Deadline < Stripe::StripeObject + class Impact < ::Stripe::StripeObject + class RestrictsCapability < ::Stripe::StripeObject + class Deadline < ::Stripe::StripeObject # The current status of the requirement's impact. attr_reader :status @@ -3693,7 +3693,7 @@ def self.field_remappings end end - class MinimumDeadline < Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current status of the requirement's impact. attr_reader :status @@ -3706,7 +3706,7 @@ def self.field_remappings end end - class Reference < Stripe::StripeObject + class Reference < ::Stripe::StripeObject # If `inquiry` is the type, the inquiry token. attr_reader :inquiry # If `resource` is the type, the resource token. @@ -3723,7 +3723,7 @@ def self.field_remappings end end - class RequestedReason < Stripe::StripeObject + class RequestedReason < ::Stripe::StripeObject # Machine-readable description of Stripe's reason for collecting the requirement. attr_reader :code @@ -3765,8 +3765,8 @@ def self.field_remappings end end - class Summary < Stripe::StripeObject - class MinimumDeadline < Stripe::StripeObject + class Summary < ::Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current strictest status of all requirements on the Account. attr_reader :status # The soonest RFC3339 date & time UTC value a requirement can impact the Account. diff --git a/lib/stripe/resources/v2/core/account_link.rb b/lib/stripe/resources/v2/core/account_link.rb index 14f57caef..c72ca3667 100644 --- a/lib/stripe/resources/v2/core/account_link.rb +++ b/lib/stripe/resources/v2/core/account_link.rb @@ -11,9 +11,9 @@ def self.object_name "v2.core.account_link" end - class UseCase < Stripe::StripeObject - class AccountOnboarding < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class UseCase < ::Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. attr_reader :fields # Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. @@ -45,8 +45,8 @@ def self.field_remappings end end - class AccountUpdate < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class AccountUpdate < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. attr_reader :fields # Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. diff --git a/lib/stripe/resources/v2/core/account_person.rb b/lib/stripe/resources/v2/core/account_person.rb index 99a11aed0..83d3fd9f3 100644 --- a/lib/stripe/resources/v2/core/account_person.rb +++ b/lib/stripe/resources/v2/core/account_person.rb @@ -11,7 +11,7 @@ def self.object_name "v2.core.account_person" end - class AdditionalAddress < Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -38,7 +38,7 @@ def self.field_remappings end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. attr_reader :full_name # The individual's first or given name. @@ -57,8 +57,8 @@ def self.field_remappings end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. @@ -86,7 +86,7 @@ def self.field_remappings end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -111,7 +111,7 @@ def self.field_remappings end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. @@ -128,8 +128,8 @@ def self.field_remappings end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -144,7 +144,7 @@ def self.field_remappings end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -159,8 +159,8 @@ def self.field_remappings end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_reader :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -188,8 +188,8 @@ def self.field_remappings end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. attr_reader :back # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. @@ -217,7 +217,7 @@ def self.field_remappings end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. attr_reader :files # The format of the document. Currently supports `files` only. @@ -257,7 +257,7 @@ def self.field_remappings end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. attr_reader :type @@ -270,7 +270,7 @@ def self.field_remappings end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. attr_reader :authorizer # Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. @@ -297,8 +297,8 @@ def self.field_remappings end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -323,7 +323,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -361,8 +361,8 @@ def self.field_remappings end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. @@ -377,7 +377,7 @@ def self.field_remappings end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. diff --git a/lib/stripe/resources/v2/core/event.rb b/lib/stripe/resources/v2/core/event.rb index b6f6adab3..85890fc91 100644 --- a/lib/stripe/resources/v2/core/event.rb +++ b/lib/stripe/resources/v2/core/event.rb @@ -11,8 +11,8 @@ def self.object_name "v2.core.event" end - class Reason < Stripe::StripeObject - class Request < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. attr_reader :id # The idempotency key transmitted during the request. diff --git a/lib/stripe/resources/v2/core/event_destination.rb b/lib/stripe/resources/v2/core/event_destination.rb index e3bb70379..b5e099555 100644 --- a/lib/stripe/resources/v2/core/event_destination.rb +++ b/lib/stripe/resources/v2/core/event_destination.rb @@ -11,8 +11,8 @@ def self.object_name "v2.core.event_destination" end - class StatusDetails < Stripe::StripeObject - class Disabled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Disabled < ::Stripe::StripeObject # Reason event destination has been disabled. attr_reader :reason @@ -36,7 +36,7 @@ def self.field_remappings end end - class AmazonEventbridge < Stripe::StripeObject + class AmazonEventbridge < ::Stripe::StripeObject # The AWS account ID. attr_reader :aws_account_id # The ARN of the AWS event source. @@ -53,7 +53,7 @@ def self.field_remappings end end - class WebhookEndpoint < Stripe::StripeObject + class WebhookEndpoint < ::Stripe::StripeObject # The signing secret of the webhook endpoint, only includable on creation. attr_reader :signing_secret # The URL of the webhook endpoint, includable. diff --git a/lib/stripe/resources/v2/core/vault/gb_bank_account.rb b/lib/stripe/resources/v2/core/vault/gb_bank_account.rb index 33d772790..dbc1c3a59 100644 --- a/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +++ b/lib/stripe/resources/v2/core/vault/gb_bank_account.rb @@ -12,9 +12,9 @@ def self.object_name "v2.core.vault.gb_bank_account" end - class ConfirmationOfPayee < Stripe::StripeObject - class Result < Stripe::StripeObject - class Matched < Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject + class Result < ::Stripe::StripeObject + class Matched < ::Stripe::StripeObject # The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. # Closed enum. attr_reader :business_type @@ -30,7 +30,7 @@ def self.field_remappings end end - class Provided < Stripe::StripeObject + class Provided < ::Stripe::StripeObject # The provided or Legal Entity business type to match against the CoP service. Closed enum. attr_reader :business_type # The provided or Legal Entity name to match against the CoP service. diff --git a/lib/stripe/resources/v2/money_management/adjustment.rb b/lib/stripe/resources/v2/money_management/adjustment.rb index 080c1e5bb..13e31ec37 100644 --- a/lib/stripe/resources/v2/money_management/adjustment.rb +++ b/lib/stripe/resources/v2/money_management/adjustment.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.adjustment" end - class AdjustedFlow < Stripe::StripeObject + class AdjustedFlow < ::Stripe::StripeObject # Closed Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow. attr_reader :type # If applicable, the ID of the Adjustment linked to this Adjustment. diff --git a/lib/stripe/resources/v2/money_management/financial_account.rb b/lib/stripe/resources/v2/money_management/financial_account.rb index 8bcb85fc9..f9c90ecc1 100644 --- a/lib/stripe/resources/v2/money_management/financial_account.rb +++ b/lib/stripe/resources/v2/money_management/financial_account.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.financial_account" end - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Balance that can be used for money movement. attr_reader :available # Balance of inbound funds that will later transition to the `available` balance. @@ -28,7 +28,7 @@ def self.field_remappings end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`. attr_reader :type @@ -41,9 +41,9 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject - class ForwardingSettings < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject + class ForwardingSettings < ::Stripe::StripeObject # The address to send forwarded payments to. attr_reader :payment_method # The address to send forwarded payouts to. @@ -82,7 +82,7 @@ def self.field_remappings end end - class Storage < Stripe::StripeObject + class Storage < ::Stripe::StripeObject # The currencies that this FinancialAccount can hold. attr_reader :holds_currencies diff --git a/lib/stripe/resources/v2/money_management/financial_address.rb b/lib/stripe/resources/v2/money_management/financial_address.rb index 51f835efa..d042d728d 100644 --- a/lib/stripe/resources/v2/money_management/financial_address.rb +++ b/lib/stripe/resources/v2/money_management/financial_address.rb @@ -11,8 +11,8 @@ def self.object_name "v2.money_management.financial_address" end - class Credentials < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class Credentials < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transference. attr_reader :account_holder_name # The account number of the UK Bank Account. @@ -32,7 +32,7 @@ def self.field_remappings end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transfers. attr_reader :account_holder_name # The name of the Bank. @@ -56,7 +56,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The account number of the US Bank Account. attr_reader :account_number # The name of the Bank. diff --git a/lib/stripe/resources/v2/money_management/inbound_transfer.rb b/lib/stripe/resources/v2/money_management/inbound_transfer.rb index 3a2a07284..b58d6baf8 100644 --- a/lib/stripe/resources/v2/money_management/inbound_transfer.rb +++ b/lib/stripe/resources/v2/money_management/inbound_transfer.rb @@ -12,8 +12,8 @@ def self.object_name "v2.money_management.inbound_transfer" end - class From < Stripe::StripeObject - class PaymentMethod < Stripe::StripeObject + class From < ::Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # The type of object this destination represents. For a us bank account, we expect us_bank_account. attr_reader :type # The destination US bank account identifier. eg "usba_***". @@ -41,7 +41,7 @@ def self.field_remappings end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The amount by which the FinancialAccount balance is credited. attr_reader :credited # The FinancialAccount that funds will land in. @@ -56,8 +56,8 @@ def self.field_remappings end end - class TransferHistory < Stripe::StripeObject - class BankDebitFailed < Stripe::StripeObject + class TransferHistory < ::Stripe::StripeObject + class BankDebitFailed < ::Stripe::StripeObject # Open Enum. The return reason for the failed InboundTransfer. attr_reader :failure_reason @@ -70,7 +70,7 @@ def self.field_remappings end end - class BankDebitReturned < Stripe::StripeObject + class BankDebitReturned < ::Stripe::StripeObject # Open Enum. The return reason for the returned InboundTransfer. attr_reader :return_reason diff --git a/lib/stripe/resources/v2/money_management/outbound_payment.rb b/lib/stripe/resources/v2/money_management/outbound_payment.rb index 9802b58f9..075f86d09 100644 --- a/lib/stripe/resources/v2/money_management/outbound_payment.rb +++ b/lib/stripe/resources/v2/money_management/outbound_payment.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.outbound_payment" end - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. attr_reader :bank_account @@ -24,7 +24,7 @@ def self.field_remappings end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. attr_reader :debited # The FinancialAccount that funds were pulled from. @@ -39,7 +39,7 @@ def self.field_remappings end end - class RecipientNotification < Stripe::StripeObject + class RecipientNotification < ::Stripe::StripeObject # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. attr_reader :setting @@ -53,8 +53,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. attr_reader :reason @@ -67,7 +67,7 @@ def self.field_remappings end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. attr_reader :reason @@ -93,7 +93,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :canceled_at @@ -116,7 +116,7 @@ def self.field_remappings end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. attr_reader :credited # The payout method which the OutboundPayment uses to send payout. @@ -133,7 +133,7 @@ def self.field_remappings end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` diff --git a/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb b/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb index c16e85472..8db45eb1f 100644 --- a/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +++ b/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.outbound_payment_quote" end - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. attr_reader :bank_account @@ -24,7 +24,7 @@ def self.field_remappings end end - class EstimatedFee < Stripe::StripeObject + class EstimatedFee < ::Stripe::StripeObject # The fee amount for corresponding fee type. attr_reader :amount # The fee type. @@ -39,7 +39,7 @@ def self.field_remappings end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. attr_reader :debited # The FinancialAccount that funds were pulled from. @@ -54,8 +54,8 @@ def self.field_remappings end end - class FxQuote < Stripe::StripeObject - class Rates < Stripe::StripeObject + class FxQuote < ::Stripe::StripeObject + class Rates < ::Stripe::StripeObject # The exchange rate going from_currency -> to_currency. attr_reader :exchange_rate @@ -87,7 +87,7 @@ def self.field_remappings end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. attr_reader :credited # The payout method which the OutboundPayment uses to send payout. diff --git a/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb b/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb index 18d9351ed..4ed5e2526 100644 --- a/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +++ b/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb @@ -11,8 +11,8 @@ def self.object_name "v2.money_management.outbound_setup_intent" end - class NextAction < Stripe::StripeObject - class ConfirmationOfPayee < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject # The type of the credential. attr_reader :object # The Confirmation of Payee status. diff --git a/lib/stripe/resources/v2/money_management/outbound_transfer.rb b/lib/stripe/resources/v2/money_management/outbound_transfer.rb index 3e8b9e5cd..e8de1e9ad 100644 --- a/lib/stripe/resources/v2/money_management/outbound_transfer.rb +++ b/lib/stripe/resources/v2/money_management/outbound_transfer.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.outbound_transfer" end - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. attr_reader :bank_account @@ -24,7 +24,7 @@ def self.field_remappings end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. attr_reader :debited # The FinancialAccount that funds were pulled from. @@ -39,8 +39,8 @@ def self.field_remappings end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. attr_reader :reason @@ -53,7 +53,7 @@ def self.field_remappings end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. attr_reader :reason @@ -79,7 +79,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :canceled_at @@ -102,7 +102,7 @@ def self.field_remappings end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. attr_reader :credited # The payout method which the OutboundTransfer uses to send payout. @@ -117,7 +117,7 @@ def self.field_remappings end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` diff --git a/lib/stripe/resources/v2/money_management/payout_method.rb b/lib/stripe/resources/v2/money_management/payout_method.rb index bc6f760b7..c4417679b 100644 --- a/lib/stripe/resources/v2/money_management/payout_method.rb +++ b/lib/stripe/resources/v2/money_management/payout_method.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.payout_method" end - class UsageStatus < Stripe::StripeObject + class UsageStatus < ::Stripe::StripeObject # Payments status - used when sending OutboundPayments (sending funds to recipients). attr_reader :payments # Transfers status - used when making an OutboundTransfer (sending funds to yourself). @@ -26,7 +26,7 @@ def self.field_remappings end end - class BankAccount < Stripe::StripeObject + class BankAccount < ::Stripe::StripeObject # Whether this PayoutMethodBankAccount object was archived. PayoutMethodBankAccount objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodBankAccount objects # cannot be used as payout methods and will not appear in the payout method list. @@ -55,7 +55,7 @@ def self.field_remappings end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Whether the PayoutMethodCard object was archived. PayoutMethodCard objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodCard objects # cannot be used as payout methods and will not appear in the payout method list. diff --git a/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb b/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb index 06e11337b..d809f53fe 100644 --- a/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +++ b/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb @@ -11,9 +11,9 @@ def self.object_name "v2.money_management.payout_methods_bank_account_spec" end - class Countries < Stripe::StripeObject - class Field < Stripe::StripeObject - class LocalNameHuman < Stripe::StripeObject + class Countries < ::Stripe::StripeObject + class Field < ::Stripe::StripeObject + class LocalNameHuman < ::Stripe::StripeObject # The default content of the localizable string. attr_reader :content # A unique key representing the instance of this localizable string. diff --git a/lib/stripe/resources/v2/money_management/received_credit.rb b/lib/stripe/resources/v2/money_management/received_credit.rb index 36731ab6e..5366e8c08 100644 --- a/lib/stripe/resources/v2/money_management/received_credit.rb +++ b/lib/stripe/resources/v2/money_management/received_credit.rb @@ -11,8 +11,8 @@ def self.object_name "v2.money_management.received_credit" end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. attr_reader :reason @@ -25,7 +25,7 @@ def self.field_remappings end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. attr_reader :reason @@ -51,7 +51,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the ReceivedCredit was marked as `failed`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. attr_reader :failed_at @@ -71,7 +71,7 @@ def self.field_remappings end end - class BalanceTransfer < Stripe::StripeObject + class BalanceTransfer < ::Stripe::StripeObject # The ID of the account that owns the source object originated the ReceivedCredit. attr_reader :from_account # Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit. @@ -92,8 +92,8 @@ def self.field_remappings end end - class BankTransfer < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. attr_reader :account_holder_name # The bank name the transfer was received from. @@ -114,7 +114,7 @@ def self.field_remappings end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name of the bank account the transfer was received from. attr_reader :account_holder_name # The bank name the transfer was received from. @@ -137,7 +137,7 @@ def self.field_remappings end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. attr_reader :bank_name # The last 4 digits of the account number that originated the transfer. diff --git a/lib/stripe/resources/v2/money_management/received_debit.rb b/lib/stripe/resources/v2/money_management/received_debit.rb index 2b0d245ac..47178eb77 100644 --- a/lib/stripe/resources/v2/money_management/received_debit.rb +++ b/lib/stripe/resources/v2/money_management/received_debit.rb @@ -11,8 +11,8 @@ def self.object_name "v2.money_management.received_debit" end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The reason for the failure of the ReceivedDebit. attr_reader :reason @@ -37,7 +37,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time when the ReceivedDebit was marked as `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. attr_reader :canceled_at @@ -57,8 +57,8 @@ def self.field_remappings end end - class BankTransfer < Stripe::StripeObject - class UsBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The name of the bank the debit originated from. attr_reader :bank_name # Open Enum. The bank network the debit was originated on. diff --git a/lib/stripe/resources/v2/money_management/transaction.rb b/lib/stripe/resources/v2/money_management/transaction.rb index 8fc1fbe59..c001a81ff 100644 --- a/lib/stripe/resources/v2/money_management/transaction.rb +++ b/lib/stripe/resources/v2/money_management/transaction.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.transaction" end - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. attr_reader :available # Impact to the inbound_pending balance. @@ -28,7 +28,7 @@ def self.field_remappings end end - class Flow < Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. attr_reader :type # If applicable, the ID of the Adjustment that created this Transaction. @@ -57,7 +57,7 @@ def self.field_remappings end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time at which the Transaction became posted. Only present if status == posted. attr_reader :posted_at # The time at which the Transaction became void. Only present if status == void. diff --git a/lib/stripe/resources/v2/money_management/transaction_entry.rb b/lib/stripe/resources/v2/money_management/transaction_entry.rb index 9105bc747..12287c741 100644 --- a/lib/stripe/resources/v2/money_management/transaction_entry.rb +++ b/lib/stripe/resources/v2/money_management/transaction_entry.rb @@ -11,7 +11,7 @@ def self.object_name "v2.money_management.transaction_entry" end - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. attr_reader :available # Impact to the inbound_pending balance. @@ -28,8 +28,8 @@ def self.field_remappings end end - class TransactionDetails < Stripe::StripeObject - class Flow < Stripe::StripeObject + class TransactionDetails < ::Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. attr_reader :type # If applicable, the ID of the Adjustment that created this Transaction. diff --git a/lib/stripe/resources/v2/payments/off_session_payment.rb b/lib/stripe/resources/v2/payments/off_session_payment.rb index 1600f48ee..55346555e 100644 --- a/lib/stripe/resources/v2/payments/off_session_payment.rb +++ b/lib/stripe/resources/v2/payments/off_session_payment.rb @@ -11,9 +11,9 @@ def self.object_name "v2.payments.off_session_payment" end - class AmountDetails < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. attr_reader :total_tax_amount @@ -47,7 +47,7 @@ def self.field_remappings end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. attr_reader :amount # The postal code that represents the shipping source. @@ -64,7 +64,7 @@ def self.field_remappings end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. attr_reader :total_tax_amount @@ -94,7 +94,7 @@ def self.field_remappings end end - class Capture < Stripe::StripeObject + class Capture < ::Stripe::StripeObject # The timestamp when this payment is no longer eligible to be captured. attr_reader :capture_before # The method to use to capture the payment. @@ -109,7 +109,7 @@ def self.field_remappings end end - class PaymentsOrchestration < Stripe::StripeObject + class PaymentsOrchestration < ::Stripe::StripeObject # True when you want to enable payments orchestration for this off-session payment. False otherwise. attr_reader :enabled @@ -122,7 +122,7 @@ def self.field_remappings end end - class RetryDetails < Stripe::StripeObject + class RetryDetails < ::Stripe::StripeObject # Number of authorization attempts so far. attr_reader :attempts # The pre-configured retry policy to use for the payment. @@ -139,7 +139,7 @@ def self.field_remappings end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount diff --git a/lib/stripe/services/payment_record_service.rb b/lib/stripe/services/payment_record_service.rb index d4d2083fe..82ba06180 100644 --- a/lib/stripe/services/payment_record_service.rb +++ b/lib/stripe/services/payment_record_service.rb @@ -75,6 +75,18 @@ def report_payment_attempt_informational(id, params = {}, opts = {}) ) end + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + def report_refund(id, params = {}, opts = {}) + request( + method: :post, + path: format("/v1/payment_records/%s/report_refund", { id: CGI.escape(id) }), + params: params, + opts: opts, + base_address: :api + ) + end + # Retrieves a Payment Record with the given ID def retrieve(id, params = {}, opts = {}) request( diff --git a/lib/stripe/services/payout_service.rb b/lib/stripe/services/payout_service.rb index 78596c7d8..9687082de 100644 --- a/lib/stripe/services/payout_service.rb +++ b/lib/stripe/services/payout_service.rb @@ -39,7 +39,7 @@ def retrieve(payout, params = {}, opts = {}) ) end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. def reverse(payout, params = {}, opts = {}) diff --git a/lib/stripe/services/terminal/reader_service.rb b/lib/stripe/services/terminal/reader_service.rb index 25e2effbe..17dc73bb8 100644 --- a/lib/stripe/services/terminal/reader_service.rb +++ b/lib/stripe/services/terminal/reader_service.rb @@ -4,7 +4,7 @@ module Stripe module Terminal class ReaderService < StripeService - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. def cancel_action(reader, params = {}, opts = {}) request( method: :post, @@ -15,7 +15,7 @@ def cancel_action(reader, params = {}, opts = {}) ) end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. def collect_inputs(reader, params = {}, opts = {}) request( method: :post, @@ -26,7 +26,7 @@ def collect_inputs(reader, params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. def collect_payment_method(reader, params = {}, opts = {}) request( method: :post, @@ -37,7 +37,7 @@ def collect_payment_method(reader, params = {}, opts = {}) ) end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. def confirm_payment_intent(reader, params = {}, opts = {}) request( method: :post, @@ -81,7 +81,7 @@ def list(params = {}, opts = {}) ) end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. def process_payment_intent(reader, params = {}, opts = {}) request( method: :post, @@ -92,7 +92,7 @@ def process_payment_intent(reader, params = {}, opts = {}) ) end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. def process_setup_intent(reader, params = {}, opts = {}) request( method: :post, @@ -103,7 +103,7 @@ def process_setup_intent(reader, params = {}, opts = {}) ) end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. def refund_payment(reader, params = {}, opts = {}) request( method: :post, @@ -125,7 +125,7 @@ def retrieve(reader, params = {}, opts = {}) ) end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). def set_reader_display(reader, params = {}, opts = {}) request( method: :post, diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index bdd704681..426e93145 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -48,7 +48,7 @@ module Stripe sig { returns(String) } def object; end # A paginated list of owners for this account. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def owners; end end end @@ -62,7 +62,7 @@ module Stripe sig { returns(String) } def customer; end # The list of entitlements this customer has. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def entitlements; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -78,7 +78,7 @@ module Stripe module Billing class AlertTriggered < APIResource # A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests. - sig { returns(Stripe::Billing::Alert) } + sig { returns(::Stripe::Billing::Alert) } def alert; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -120,8 +120,8 @@ module Stripe module Tax # A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input class Association < APIResource - class TaxTransactionAttempt < Stripe::StripeObject - class Committed < Stripe::StripeObject + class TaxTransactionAttempt < ::Stripe::StripeObject + class Committed < ::Stripe::StripeObject # The [Tax Transaction](https://stripe.com/docs/api/tax/transaction/object) sig { returns(String) } def transaction; end @@ -132,7 +132,7 @@ module Stripe @field_remappings = {} end end - class Errored < Stripe::StripeObject + class Errored < ::Stripe::StripeObject # Details on why we couldn't commit the tax transaction. sig { returns(String) } def reason; end @@ -179,7 +179,7 @@ module Stripe def tax_transaction_attempts; end # Finds a tax association object by PaymentIntent id. sig { - params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Association) + params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Association) } def self.find(params = {}, opts = {}); end end @@ -195,8 +195,8 @@ module Stripe # # Related guide: [Bank debits and transfers](https://docs.stripe.com/payments/bank-debits-transfers) class BankAccount < APIResource - class FutureRequirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -232,8 +232,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -270,7 +270,7 @@ module Stripe end end # The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The name of the person or business that owns the bank account. sig { returns(T.nilable(String)) } @@ -294,7 +294,7 @@ module Stripe sig { returns(String) } def currency; end # The ID of the customer that the bank account is associated with. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Whether this bank account is the default external account for its currency. sig { returns(T.nilable(T::Boolean)) } @@ -337,8 +337,8 @@ end module Stripe module Tax class CalculationLineItem < APIResource - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -358,7 +358,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end @@ -447,7 +447,7 @@ module Stripe # # Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) class Card < APIResource - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. sig { returns(T.nilable(String)) } def preferred; end @@ -459,7 +459,7 @@ module Stripe end end # Attribute for field account - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # City/District/Suburb/Town/Village. sig { returns(T.nilable(String)) } @@ -504,7 +504,7 @@ module Stripe sig { returns(T.nilable(String)) } def currency; end # The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge). sig { returns(T.nilable(String)) } @@ -580,7 +580,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the account that funds are being collected for. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end # Unique identifier for the object. sig { returns(String) } @@ -613,9 +613,9 @@ module Stripe # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) class Discount < StripeObject - class Source < Stripe::StripeObject + class Source < ::Stripe::StripeObject # The coupon that was redeemed to create this discount. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # The source type of the discount. sig { returns(String) } @@ -631,7 +631,7 @@ module Stripe sig { returns(T.nilable(String)) } def checkout_session; end # The ID of the customer associated with this discount. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account associated with this discount. sig { returns(T.nilable(String)) } @@ -652,7 +652,7 @@ module Stripe sig { returns(String) } def object; end # The promotion code applied to create this discount. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end # Attribute for field source sig { returns(Source) } @@ -677,8 +677,8 @@ module Stripe # Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`. # Stripe or the platform can control Features via the requested field. class FinancialAccountFeatures < APIResource - class CardIssuing < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -711,8 +711,8 @@ module Stripe @field_remappings = {} end end - class DepositInsurance < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class DepositInsurance < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -745,9 +745,9 @@ module Stripe @field_remappings = {} end end - class FinancialAddresses < Stripe::StripeObject - class Aba < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -793,9 +793,9 @@ module Stripe @field_remappings = {} end end - class InboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -838,8 +838,8 @@ module Stripe @field_remappings = {} end end - class IntraStripeFlows < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IntraStripeFlows < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -872,9 +872,9 @@ module Stripe @field_remappings = {} end end - class OutboundPayments < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -907,8 +907,8 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -954,9 +954,9 @@ module Stripe @field_remappings = {} end end - class OutboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -989,8 +989,8 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -1084,7 +1084,7 @@ module Stripe module V2 class FinancialAddressGeneratedMicrodeposits < APIResource # The amounts of the microdeposits that were generated. - sig { returns(T::Array[Stripe::V2::Amount]) } + sig { returns(T::Array[::Stripe::V2::Amount]) } def amounts; end # String representing the object's type. Objects of the same type share the same value of the object field. sig { returns(String) } @@ -1106,10 +1106,10 @@ module Stripe # `financial_addresses` field. # Related guide: [Customer balance funding instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) class FundingInstructions < APIResource - class BankTransfer < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1135,7 +1135,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1192,8 +1192,8 @@ module Stripe @field_remappings = {} end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1219,7 +1219,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1273,8 +1273,8 @@ module Stripe @field_remappings = {} end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1300,7 +1300,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1351,8 +1351,8 @@ module Stripe @field_remappings = {} end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1378,7 +1378,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1432,8 +1432,8 @@ module Stripe @field_remappings = {} end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1459,7 +1459,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1516,8 +1516,8 @@ module Stripe @field_remappings = {} end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1543,7 +1543,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1681,7 +1681,7 @@ end module Stripe # A line item. class LineItem < APIResource - class AdjustableQuantity < Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Attribute for field enabled sig { returns(T::Boolean) } def enabled; end @@ -1698,7 +1698,7 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -1706,7 +1706,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -1715,7 +1715,7 @@ module Stripe @field_remappings = {} end end - class Display < Stripe::StripeObject + class Display < ::Stripe::StripeObject # Attribute for field description sig { returns(T.nilable(String)) } def description; end @@ -1732,7 +1732,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -1746,14 +1746,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -1805,12 +1805,12 @@ module Stripe sig { returns(String) } def object; end # The price used to generate the line item. - sig { returns(T.nilable(Stripe::Price)) } + sig { returns(T.nilable(::Stripe::Price)) } def price; end # The ID of the product for this line item. # # This will always be the same as `price.product`. - sig { returns(T.nilable(T.any(String, Stripe::Product))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Product))) } def product; end # The quantity of products being purchased. sig { returns(T.nilable(Integer)) } @@ -1857,9 +1857,9 @@ end module Stripe # A quote line defines a set of changes, in the order provided, that will be applied upon quote acceptance. class QuoteLine < APIResource - class Action < Stripe::StripeObject - class AddDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class AddDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end type. sig { returns(String) } def type; end @@ -1871,10 +1871,10 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } @@ -1883,7 +1883,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def index; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -1892,9 +1892,9 @@ module Stripe @field_remappings = {} end end - class AddItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class AddItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -1909,16 +1909,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -1927,7 +1927,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -1948,13 +1948,13 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -1966,8 +1966,8 @@ module Stripe @field_remappings = {} end end - class RemoveDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class RemoveDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -1982,16 +1982,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -2000,9 +2000,9 @@ module Stripe @field_remappings = {} end end - class RemoveItem < Stripe::StripeObject + class RemoveItem < ::Stripe::StripeObject # ID of a price to remove. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end def self.inner_class_types @inner_class_types = {} @@ -2011,8 +2011,8 @@ module Stripe @field_remappings = {} end end - class SetDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -2027,16 +2027,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -2045,9 +2045,9 @@ module Stripe @field_remappings = {} end end - class SetItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -2062,16 +2062,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -2080,7 +2080,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -2101,13 +2101,13 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -2163,7 +2163,7 @@ module Stripe @field_remappings = {} end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -2180,7 +2180,7 @@ module Stripe @field_remappings = {} end end - class CancelSubscriptionSchedule < Stripe::StripeObject + class CancelSubscriptionSchedule < ::Stripe::StripeObject # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -2197,8 +2197,8 @@ module Stripe @field_remappings = {} end end - class EndsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class EndsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. sig { returns(String) } def discount; end @@ -2209,7 +2209,7 @@ module Stripe @field_remappings = {} end end - class Duration < Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -2245,8 +2245,8 @@ module Stripe @field_remappings = {} end end - class SetPauseCollection < Stripe::StripeObject - class Set < Stripe::StripeObject + class SetPauseCollection < ::Stripe::StripeObject + class Set < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -2270,8 +2270,8 @@ module Stripe @field_remappings = {} end end - class StartsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class StartsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. sig { returns(String) } def discount; end @@ -2282,7 +2282,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -2315,8 +2315,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -2466,7 +2466,7 @@ module Stripe # a source mandate must be sent to the payer. They will trigger a webhook or # deliver an email to the customer. class SourceMandateNotification < APIResource - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # The statement descriptor associate with the debit. sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -2477,7 +2477,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Last 4 digits of the account number associated with the debit. sig { returns(T.nilable(String)) } def last4; end @@ -2488,7 +2488,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # SEPA creditor ID. sig { returns(T.nilable(String)) } def creditor_identifier; end @@ -2542,7 +2542,7 @@ module Stripe # This newer API provides access to our latest features and payment method types. # # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). - sig { returns(Stripe::Source) } + sig { returns(::Stripe::Source) } def source; end # The status of the mandate notification. Valid statuses are `pending` or `submitted`. sig { returns(String) } @@ -2576,7 +2576,7 @@ end module Stripe module Tax class TransactionLineItem < APIResource - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the line item to reverse in the original transaction. sig { returns(String) } def original_line_item; end @@ -2650,7 +2650,7 @@ module Stripe def url; end # Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. sig { - params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountLink) + params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountLink) } def self.create(params = {}, opts = {}); end end @@ -2661,7 +2661,7 @@ module Stripe # # See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts. class AccountNotice < APIResource - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. sig { returns(String) } def plain_text; end @@ -2678,7 +2678,7 @@ module Stripe @field_remappings = {} end end - class LinkedObjects < Stripe::StripeObject + class LinkedObjects < ::Stripe::StripeObject # Associated [Capability](https://stripe.com/docs/api/capabilities) sig { returns(T.nilable(String)) } def capability; end @@ -2727,13 +2727,13 @@ module Stripe def sent_at; end # Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def self.update(account_notice, params = {}, opts = {}); end end @@ -2748,9 +2748,9 @@ module Stripe # # Related guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components) class AccountSession < APIResource - class Components < Stripe::StripeObject - class AccountManagement < Stripe::StripeObject - class Features < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class AccountManagement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -2777,8 +2777,8 @@ module Stripe @field_remappings = {} end end - class AccountOnboarding < Stripe::StripeObject - class Features < Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -2805,8 +2805,8 @@ module Stripe @field_remappings = {} end end - class Balances < Stripe::StripeObject - class Features < Stripe::StripeObject + class Balances < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -2842,8 +2842,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancing < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancing < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2864,8 +2864,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancingApplication < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingApplication < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2886,8 +2886,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancingPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2908,8 +2908,8 @@ module Stripe @field_remappings = {} end end - class DisputesList < Stripe::StripeObject - class Features < Stripe::StripeObject + class DisputesList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -2942,8 +2942,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class Features < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2964,8 +2964,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -2998,8 +2998,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccountTransactions < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccountTransactions < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card spend dispute management features. sig { returns(T::Boolean) } def card_spend_dispute_management; end @@ -3023,8 +3023,8 @@ module Stripe @field_remappings = {} end end - class InstantPayoutsPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class InstantPayoutsPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -3054,8 +3054,8 @@ module Stripe @field_remappings = {} end end - class IssuingCard < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCard < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. sig { returns(T::Boolean) } def card_management; end @@ -3088,8 +3088,8 @@ module Stripe @field_remappings = {} end end - class IssuingCardsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCardsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. sig { returns(T::Boolean) } def card_management; end @@ -3125,8 +3125,8 @@ module Stripe @field_remappings = {} end end - class NotificationBanner < Stripe::StripeObject - class Features < Stripe::StripeObject + class NotificationBanner < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -3153,8 +3153,8 @@ module Stripe @field_remappings = {} end end - class PaymentDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -3187,8 +3187,8 @@ module Stripe @field_remappings = {} end end - class PaymentDisputes < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDisputes < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. sig { returns(T::Boolean) } def destination_on_behalf_of_charge_management; end @@ -3218,8 +3218,8 @@ module Stripe @field_remappings = {} end end - class Payments < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -3252,8 +3252,8 @@ module Stripe @field_remappings = {} end end - class PayoutDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -3274,8 +3274,8 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -3311,8 +3311,8 @@ module Stripe @field_remappings = {} end end - class PayoutsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -3333,8 +3333,8 @@ module Stripe @field_remappings = {} end end - class TaxRegistrations < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxRegistrations < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -3355,8 +3355,8 @@ module Stripe @field_remappings = {} end end - class TaxSettings < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxSettings < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -3497,7 +3497,7 @@ module Stripe def object; end # Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. sig { - params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountSession) + params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountSession) } def self.create(params = {}, opts = {}); end end @@ -3517,8 +3517,8 @@ module Stripe # until you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions) # to start Connect Onboarding. Learn about the [differences between accounts](https://docs.stripe.com/connect/accounts). class Account < APIResource - class BusinessProfile < Stripe::StripeObject - class AnnualRevenue < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(T.nilable(Integer)) } def amount; end @@ -3535,7 +3535,7 @@ module Stripe @field_remappings = {} end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -3549,7 +3549,7 @@ module Stripe @field_remappings = {} end end - class SupportAddress < Stripe::StripeObject + class SupportAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3622,7 +3622,7 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject # The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges. sig { returns(T.nilable(String)) } def acss_debit_payments; end @@ -3852,8 +3852,8 @@ module Stripe @field_remappings = {} end end - class Company < Stripe::StripeObject - class Address < Stripe::StripeObject + class Company < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3879,7 +3879,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -3908,7 +3908,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -3937,7 +3937,7 @@ module Stripe @field_remappings = {} end end - class DirectorshipDeclaration < Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -3954,7 +3954,7 @@ module Stripe @field_remappings = {} end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -3971,7 +3971,7 @@ module Stripe @field_remappings = {} end end - class RegistrationDate < Stripe::StripeObject + class RegistrationDate < ::Stripe::StripeObject # The day of registration, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -3988,10 +3988,27 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class RepresentativeDeclaration < ::Stripe::StripeObject + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + # The user-agent string from the browser where the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file). - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. sig { returns(T.nilable(String)) } @@ -4000,7 +4017,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file). - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -4067,6 +4084,9 @@ module Stripe # Attribute for field registration_date sig { returns(T.nilable(RegistrationDate)) } def registration_date; end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(RepresentativeDeclaration)) } + def representative_declaration; end # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. sig { returns(T.nilable(String)) } def structure; end @@ -4090,6 +4110,7 @@ module Stripe directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, registration_date: RegistrationDate, + representative_declaration: RepresentativeDeclaration, verification: Verification, } end @@ -4097,8 +4118,8 @@ module Stripe @field_remappings = {} end end - class Controller < Stripe::StripeObject - class Application < Stripe::StripeObject + class Controller < ::Stripe::StripeObject + class Application < ::Stripe::StripeObject # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account. sig { returns(T::Boolean) } def loss_liable; end @@ -4115,7 +4136,7 @@ module Stripe @field_remappings = {} end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`). sig { returns(String) } def type; end @@ -4126,7 +4147,7 @@ module Stripe @field_remappings = {} end end - class Fees < Stripe::StripeObject + class Fees < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). sig { returns(String) } def payer; end @@ -4137,7 +4158,7 @@ module Stripe @field_remappings = {} end end - class Losses < Stripe::StripeObject + class Losses < ::Stripe::StripeObject # A value indicating who is liable when this account can't pay back negative balances from payments. sig { returns(String) } def payments; end @@ -4148,7 +4169,7 @@ module Stripe @field_remappings = {} end end - class StripeDashboard < Stripe::StripeObject + class StripeDashboard < ::Stripe::StripeObject # A value indicating the Stripe dashboard this account has access to independent of the Connect application. sig { returns(String) } def type; end @@ -4196,8 +4217,8 @@ module Stripe @field_remappings = {} end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -4211,7 +4232,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -4259,7 +4280,7 @@ module Stripe @field_remappings = {} end end - class Groups < Stripe::StripeObject + class Groups < ::Stripe::StripeObject # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -4270,8 +4291,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -4285,7 +4306,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -4333,8 +4354,8 @@ module Stripe @field_remappings = {} end end - class RiskControls < Stripe::StripeObject - class Charges < Stripe::StripeObject + class RiskControls < ::Stripe::StripeObject + class Charges < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. sig { returns(T::Boolean) } def pause_requested; end @@ -4345,7 +4366,7 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. sig { returns(T::Boolean) } def pause_requested; end @@ -4372,8 +4393,8 @@ module Stripe @field_remappings = {} end end - class Settings < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -4387,7 +4408,7 @@ module Stripe @field_remappings = {} end end - class BankBcaOnboarding < Stripe::StripeObject + class BankBcaOnboarding < ::Stripe::StripeObject # Bank BCA business account holder name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -4401,12 +4422,12 @@ module Stripe @field_remappings = {} end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def icon; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def logo; end # A CSS hex color value representing the primary branding color for this account sig { returns(T.nilable(String)) } @@ -4421,7 +4442,7 @@ module Stripe @field_remappings = {} end end - class Capital < Stripe::StripeObject + class Capital < ::Stripe::StripeObject # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -4435,8 +4456,8 @@ module Stripe @field_remappings = {} end end - class CardIssuing < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -4463,8 +4484,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T::Boolean) } def avs_failure; end @@ -4497,7 +4518,7 @@ module Stripe @field_remappings = {} end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts. sig { returns(T.nilable(String)) } def display_name; end @@ -4511,9 +4532,9 @@ module Stripe @field_remappings = {} end end - class Invoices < Stripe::StripeObject + class Invoices < ::Stripe::StripeObject # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def default_account_tax_ids; end # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. sig { returns(T.nilable(String)) } @@ -4525,7 +4546,7 @@ module Stripe @field_remappings = {} end end - class Payments < Stripe::StripeObject + class Payments < ::Stripe::StripeObject # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -4548,8 +4569,8 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # The number of days charges for the account will be held before being paid out. sig { returns(Integer) } def delay_days; end @@ -4591,7 +4612,7 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # SEPA creditor identifier that identifies the company making the payment. sig { returns(T.nilable(String)) } def creditor_id; end @@ -4602,7 +4623,7 @@ module Stripe @field_remappings = {} end end - class TaxForms < Stripe::StripeObject + class TaxForms < ::Stripe::StripeObject # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T::Boolean) } def consented_to_paperless_delivery; end @@ -4613,8 +4634,8 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -4701,7 +4722,7 @@ module Stripe @field_remappings = {} end end - class TosAcceptance < Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted their service agreement sig { returns(T.nilable(Integer)) } def date; end @@ -4755,7 +4776,7 @@ module Stripe sig { returns(T.nilable(String)) } def email; end # External accounts (bank accounts and debit cards) currently attached to this account. External accounts are only returned for requests where `controller[is_controller]` is true. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def external_accounts; end # Attribute for field future_requirements sig { returns(T.nilable(FutureRequirements)) } @@ -4771,7 +4792,7 @@ module Stripe # A platform can only access a subset of data in a person for an account where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding. # # See the [Standard onboarding](/connect/standard-accounts) or [Express onboarding](/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](/connect/handling-api-verification#person-information). - sig { returns(T.nilable(Stripe::Person)) } + sig { returns(T.nilable(::Stripe::Person)) } def individual; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -4807,7 +4828,7 @@ module Stripe # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding. # You can prefill any information on the account. sig { - params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.create(params = {}, opts = {}); end @@ -4819,7 +4840,7 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.delete(account, params = {}, opts = {}); end @@ -4831,25 +4852,25 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def delete(params = {}, opts = {}); end # Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty. sig { - params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def persons(params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.persons(account, params = {}, opts = {}); end @@ -4857,7 +4878,7 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def reject(params = {}, opts = {}); end @@ -4865,7 +4886,7 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.reject(account, params = {}, opts = {}); end @@ -4883,7 +4904,7 @@ module Stripe # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our # [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts. sig { - params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.update(account, params = {}, opts = {}); end end @@ -4894,8 +4915,8 @@ module Stripe # # Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities) class Capability < APIResource - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -4909,7 +4930,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -4957,8 +4978,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -4972,7 +4993,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -5021,7 +5042,7 @@ module Stripe end end # The account for which the capability enables functionality. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def account; end # Attribute for field future_requirements sig { returns(T.nilable(FutureRequirements)) } @@ -5070,8 +5091,8 @@ module Stripe # # See the [Standard onboarding](https://docs.stripe.com/connect/standard-accounts) or [Express onboarding](https://docs.stripe.com/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](https://docs.stripe.com/connect/handling-api-verification#person-information). class Person < APIResource - class AdditionalTosAcceptances < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTosAcceptances < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The Unix timestamp marking when the legal guardian accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -5098,7 +5119,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -5124,7 +5145,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -5153,7 +5174,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -5182,7 +5203,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -5199,8 +5220,8 @@ module Stripe @field_remappings = {} end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -5214,7 +5235,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -5256,7 +5277,7 @@ module Stripe @field_remappings = {} end end - class RegisteredAddress < Stripe::StripeObject + class RegisteredAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -5282,7 +5303,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -5314,8 +5335,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -5329,7 +5350,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -5371,8 +5392,8 @@ module Stripe @field_remappings = {} end end - class UsCfpbData < Stripe::StripeObject - class EthnicityDetails < Stripe::StripeObject + class UsCfpbData < ::Stripe::StripeObject + class EthnicityDetails < ::Stripe::StripeObject # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -5386,7 +5407,7 @@ module Stripe @field_remappings = {} end end - class RaceDetails < Stripe::StripeObject + class RaceDetails < ::Stripe::StripeObject # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -5416,10 +5437,10 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class AdditionalDocument < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class AdditionalDocument < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". sig { returns(T.nilable(String)) } @@ -5428,7 +5449,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -5437,9 +5458,9 @@ module Stripe @field_remappings = {} end end - class Document < Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". sig { returns(T.nilable(String)) } @@ -5448,7 +5469,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -5604,25 +5625,25 @@ module Stripe def deleted; end # Create an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def self.create(params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def self.delete(domain, params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def delete(params = {}, opts = {}); end # List apple pay domains. sig { - params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -5630,7 +5651,7 @@ end # typed: true module Stripe class ApplicationFee < APIResource - class FeeSource < Stripe::StripeObject + class FeeSource < ::Stripe::StripeObject # Charge ID that created this application fee. sig { returns(T.nilable(String)) } def charge; end @@ -5648,7 +5669,7 @@ module Stripe end end # ID of the Stripe account this fee was taken from. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def account; end # Amount earned, in cents (or local equivalent). sig { returns(Integer) } @@ -5657,13 +5678,13 @@ module Stripe sig { returns(Integer) } def amount_refunded; end # ID of the Connect application that earned the fee. - sig { returns(T.any(String, Stripe::Application)) } + sig { returns(T.any(String, ::Stripe::Application)) } def application; end # Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds). - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # ID of the charge that the application fee was taken from. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -5684,17 +5705,17 @@ module Stripe sig { returns(String) } def object; end # ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def originating_transaction; end # Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false. sig { returns(T::Boolean) } def refunded; end # A list of refunds that have been applied to the fee. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def refunds; end # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first. sig { - params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -5711,7 +5732,7 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -5720,7 +5741,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the application fee that was refunded. - sig { returns(T.any(String, Stripe::ApplicationFee)) } + sig { returns(T.any(String, ::Stripe::ApplicationFee)) } def fee; end # Unique identifier for the object. sig { returns(String) } @@ -5746,7 +5767,7 @@ module Stripe # # Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects) class Secret < APIResource - class Scope < Stripe::StripeObject + class Scope < ::Stripe::StripeObject # The secret scope type. sig { returns(String) } def type; end @@ -5789,25 +5810,25 @@ module Stripe def scope; end # Create or replace a secret in the secret store. sig { - params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.create(params = {}, opts = {}); end # Deletes a secret from the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.delete_where(params = {}, opts = {}); end # Finds a secret in the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.find(params = {}, opts = {}); end # List all secrets stored on the given scope. sig { - params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -5822,8 +5843,8 @@ module Stripe # # Related guide: [Balances and settlement time](https://stripe.com/docs/payments/balances), [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances) class Balance < SingletonAPIResource - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -5856,8 +5877,8 @@ module Stripe @field_remappings = {} end end - class ConnectReserved < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class ConnectReserved < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -5890,9 +5911,9 @@ module Stripe @field_remappings = {} end end - class InstantAvailable < Stripe::StripeObject - class NetAvailable < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class InstantAvailable < ::Stripe::StripeObject + class NetAvailable < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -5925,7 +5946,7 @@ module Stripe @field_remappings = {} end end - class SourceTypes < Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -5961,9 +5982,9 @@ module Stripe @field_remappings = {} end end - class Issuing < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Issuing < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -6006,8 +6027,8 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -6040,9 +6061,9 @@ module Stripe @field_remappings = {} end end - class RefundAndDisputePrefunding < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class RefundAndDisputePrefunding < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -6075,8 +6096,8 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -6152,9 +6173,9 @@ end module Stripe # Options for customizing account balances and payout settings for a Stripe platform's connected accounts. class BalanceSettings < SingletonAPIResource - class Payments < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. sig { returns(T.nilable(String)) } def interval; end @@ -6190,7 +6211,7 @@ module Stripe @field_remappings = {} end end - class SettlementTiming < Stripe::StripeObject + class SettlementTiming < ::Stripe::StripeObject # The number of days charge funds are held before becoming available. sig { returns(Integer) } def delay_days; end @@ -6235,7 +6256,7 @@ module Stripe # # Related guide: [Balance transaction types](https://stripe.com/docs/reports/balance-transaction-types) class BalanceTransaction < APIResource - class FeeDetail < Stripe::StripeObject + class FeeDetail < ::Stripe::StripeObject # Amount of the fee, in cents. sig { returns(Integer) } def amount; end @@ -6299,7 +6320,7 @@ module Stripe def reporting_category; end # This transaction relates to the Stripe object. sig { - returns(T.nilable(T.any(String, T.any(Stripe::ApplicationFee, Stripe::Charge, Stripe::ConnectCollectionTransfer, Stripe::CustomerCashBalanceTransaction, Stripe::Dispute, Stripe::ApplicationFeeRefund, Stripe::Issuing::Authorization, Stripe::Issuing::Dispute, Stripe::Issuing::Transaction, Stripe::Payout, Stripe::Refund, Stripe::ReserveTransaction, Stripe::TaxDeductedAtSource, Stripe::Topup, Stripe::Transfer, Stripe::Reversal)))) + returns(T.nilable(T.any(String, T.any(::Stripe::ApplicationFee, ::Stripe::Charge, ::Stripe::ConnectCollectionTransfer, ::Stripe::CustomerCashBalanceTransaction, ::Stripe::Dispute, ::Stripe::ApplicationFeeRefund, ::Stripe::Issuing::Authorization, ::Stripe::Issuing::Dispute, ::Stripe::Issuing::Transaction, ::Stripe::Payout, ::Stripe::Refund, ::Stripe::ReserveTransaction, ::Stripe::TaxDeductedAtSource, ::Stripe::Topup, ::Stripe::Transfer, ::Stripe::Reversal)))) } def source; end # The transaction's net funds status in the Stripe balance, which are either `available` or `pending`. @@ -6312,7 +6333,7 @@ module Stripe # # Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. sig { - params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -6322,10 +6343,10 @@ module Stripe module Billing # A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests. class Alert < APIResource - class UsageThreshold < Stripe::StripeObject - class Filter < Stripe::StripeObject + class UsageThreshold < ::Stripe::StripeObject + class Filter < ::Stripe::StripeObject # Limit the scope of the alert to this customer ID - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field type sig { returns(String) } @@ -6344,7 +6365,7 @@ module Stripe sig { returns(Integer) } def gte; end # The [Billing Meter](/api/billing/meter) ID whose usage is monitored. - sig { returns(T.any(String, Stripe::Billing::Meter)) } + sig { returns(T.any(String, ::Stripe::Billing::Meter)) } def meter; end # Defines how the alert will behave. sig { returns(String) } @@ -6379,49 +6400,49 @@ module Stripe def usage_threshold; end # Reactivates this alert, allowing it to trigger again. sig { - params(params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def activate(params = {}, opts = {}); end # Reactivates this alert, allowing it to trigger again. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.activate(id, params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def archive(params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.archive(id, params = {}, opts = {}); end # Creates a billing alert sig { - params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.create(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def deactivate(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.deactivate(id, params = {}, opts = {}); end # Lists billing active and inactive alerts sig { - params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -6443,7 +6464,7 @@ module Stripe sig { returns(Integer) } def refreshed_at; end # Attribute for field rows - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def rows; end end end @@ -6454,9 +6475,9 @@ module Stripe module Billing # Indicates the billing credit balance for billing credits granted to a customer. class CreditBalanceSummary < SingletonAPIResource - class Balance < Stripe::StripeObject - class AvailableBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class AvailableBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -6483,8 +6504,8 @@ module Stripe @field_remappings = {} end end - class LedgerBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class LedgerBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -6528,7 +6549,7 @@ module Stripe sig { returns(T::Array[Balance]) } def balances; end # The customer the balance is for. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The account the balance is for. sig { returns(T.nilable(String)) } @@ -6547,9 +6568,9 @@ module Stripe module Billing # A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant. class CreditBalanceTransaction < APIResource - class Credit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Credit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -6576,9 +6597,9 @@ module Stripe @field_remappings = {} end end - class CreditsApplicationInvoiceVoided < Stripe::StripeObject + class CreditsApplicationInvoiceVoided < ::Stripe::StripeObject # The invoice to which the reinstated billing credits were originally applied. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The invoice line item to which the reinstated billing credits were originally applied. sig { returns(String) } @@ -6609,9 +6630,9 @@ module Stripe @field_remappings = {} end end - class Debit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Debit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -6638,9 +6659,9 @@ module Stripe @field_remappings = {} end end - class CreditsApplied < Stripe::StripeObject + class CreditsApplied < ::Stripe::StripeObject # The invoice to which the billing credits were applied. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The invoice line item to which the billing credits were applied. sig { returns(String) } @@ -6675,7 +6696,7 @@ module Stripe sig { returns(T.nilable(Credit)) } def credit; end # The credit grant associated with this credit balance transaction. - sig { returns(T.any(String, Stripe::Billing::CreditGrant)) } + sig { returns(T.any(String, ::Stripe::Billing::CreditGrant)) } def credit_grant; end # Debit details for this credit balance transaction. Only present if type is `debit`. sig { returns(T.nilable(Debit)) } @@ -6693,14 +6714,14 @@ module Stripe sig { returns(String) } def object; end # ID of the test clock this credit balance transaction belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # The type of credit balance transaction (credit or debit). sig { returns(T.nilable(String)) } def type; end # Retrieve a list of credit balance transactions. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -6713,8 +6734,8 @@ module Stripe # # Related guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits) class CreditGrant < APIResource - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -6741,9 +6762,9 @@ module Stripe @field_remappings = {} end end - class ApplicabilityConfig < Stripe::StripeObject - class Scope < Stripe::StripeObject - class Price < Stripe::StripeObject + class ApplicabilityConfig < ::Stripe::StripeObject + class Scope < ::Stripe::StripeObject + class Price < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(T.nilable(String)) } def id; end @@ -6790,7 +6811,7 @@ module Stripe sig { returns(Integer) } def created; end # ID of the customer receiving the billing credits. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account receiving the billing credits sig { returns(T.nilable(String)) } @@ -6820,7 +6841,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def priority; end # ID of the test clock this credit grant belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Time at which the object was last updated. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -6830,43 +6851,43 @@ module Stripe def voided_at; end # Creates a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.create(params = {}, opts = {}); end # Expires a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def expire(params = {}, opts = {}); end # Expires a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.expire(id, params = {}, opts = {}); end # Retrieve a list of credit grants. sig { - params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.update(id, params = {}, opts = {}); end # Voids a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def void_grant(params = {}, opts = {}); end # Voids a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.void_grant(id, params = {}, opts = {}); end end @@ -6906,19 +6927,19 @@ module Stripe def updated; end # Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item. sig { - params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def self.create(params = {}, opts = {}); end # Retrieve a list of your margins. sig { - params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update the specified margin object. Certain fields of the margin object are not editable. sig { - params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def self.update(margin, params = {}, opts = {}); end end @@ -6928,7 +6949,7 @@ module Stripe module Billing # A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer. class MeterEventAdjustment < APIResource - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. sig { returns(T.nilable(String)) } def identifier; end @@ -6959,7 +6980,7 @@ module Stripe def type; end # Creates a billing meter event adjustment. sig { - params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEventAdjustment) } def self.create(params = {}, opts = {}); end end @@ -6993,7 +7014,7 @@ module Stripe def timestamp; end # Creates a billing meter event. sig { - params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEvent) + params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEvent) } def self.create(params = {}, opts = {}); end end @@ -7006,7 +7027,7 @@ module Stripe # # Related guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based) class Meter < APIResource - class CustomerMapping < Stripe::StripeObject + class CustomerMapping < ::Stripe::StripeObject # The key in the meter event payload to use for mapping the event to a customer. sig { returns(String) } def event_payload_key; end @@ -7020,7 +7041,7 @@ module Stripe @field_remappings = {} end end - class DefaultAggregation < Stripe::StripeObject + class DefaultAggregation < ::Stripe::StripeObject # Specifies how events are aggregated. sig { returns(String) } def formula; end @@ -7031,7 +7052,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time the meter was deactivated, if any. Measured in seconds since Unix epoch. sig { returns(T.nilable(Integer)) } def deactivated_at; end @@ -7042,7 +7063,7 @@ module Stripe @field_remappings = {} end end - class ValueSettings < Stripe::StripeObject + class ValueSettings < ::Stripe::StripeObject # The key in the meter event payload to use as the value for this meter. sig { returns(String) } def event_payload_key; end @@ -7094,43 +7115,43 @@ module Stripe def value_settings; end # Creates a billing meter. sig { - params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.create(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def deactivate(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.deactivate(id, params = {}, opts = {}); end # Retrieve a list of billing meters. sig { - params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def reactivate(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.reactivate(id, params = {}, opts = {}); end # Updates a billing meter. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.update(id, params = {}, opts = {}); end end @@ -7173,7 +7194,7 @@ module Stripe module BillingPortal # A portal configuration describes the functionality and behavior of a portal session. class Configuration < APIResource - class BusinessProfile < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -7190,8 +7211,8 @@ module Stripe @field_remappings = {} end end - class Features < Stripe::StripeObject - class CustomerUpdate < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class CustomerUpdate < ::Stripe::StripeObject # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T::Array[String]) } def allowed_updates; end @@ -7205,7 +7226,7 @@ module Stripe @field_remappings = {} end end - class InvoiceHistory < Stripe::StripeObject + class InvoiceHistory < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -7216,7 +7237,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodUpdate < Stripe::StripeObject + class PaymentMethodUpdate < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -7227,8 +7248,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionCancel < Stripe::StripeObject - class CancellationReason < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class CancellationReason < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -7261,9 +7282,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdate < Stripe::StripeObject - class Product < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject + class Product < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # If true, the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -7296,8 +7317,8 @@ module Stripe @field_remappings = {} end end - class ScheduleAtPeriodEnd < Stripe::StripeObject - class Condition < Stripe::StripeObject + class ScheduleAtPeriodEnd < ::Stripe::StripeObject + class Condition < ::Stripe::StripeObject # The type of condition. sig { returns(String) } def type; end @@ -7371,7 +7392,7 @@ module Stripe @field_remappings = {} end end - class LoginPage < Stripe::StripeObject + class LoginPage < ::Stripe::StripeObject # If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal. # # If `false`, the previously generated `url`, if any, will be deactivated. @@ -7391,7 +7412,7 @@ module Stripe sig { returns(T::Boolean) } def active; end # ID of the Connect Application that created the configuration. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field business_profile sig { returns(BusinessProfile) } @@ -7431,19 +7452,19 @@ module Stripe def updated; end # Creates a configuration that describes the functionality and behavior of a PortalSession sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def self.create(params = {}, opts = {}); end # Returns a list of configurations that describe the functionality of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def self.update(configuration, params = {}, opts = {}); end end @@ -7467,9 +7488,9 @@ module Stripe # # Related guide: [Customer management](https://docs.stripe.com/customer-management) class Session < APIResource - class Flow < Stripe::StripeObject - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class Flow < ::Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # A custom message to display to the customer after the flow is completed. sig { returns(T.nilable(String)) } def custom_message; end @@ -7480,7 +7501,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the flow is completed. sig { returns(String) } def return_url; end @@ -7507,9 +7528,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionCancel < Stripe::StripeObject - class Retention < Stripe::StripeObject - class CouponOffer < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class Retention < ::Stripe::StripeObject + class CouponOffer < ::Stripe::StripeObject # The ID of the coupon to be offered. sig { returns(String) } def coupon; end @@ -7546,7 +7567,7 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdate < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject # The ID of the subscription to be updated. sig { returns(String) } def subscription; end @@ -7557,8 +7578,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdateConfirm < Stripe::StripeObject - class Discount < Stripe::StripeObject + class SubscriptionUpdateConfirm < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The ID of the coupon to apply to this subscription update. sig { returns(T.nilable(String)) } def coupon; end @@ -7572,7 +7593,7 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject + class Item < ::Stripe::StripeObject # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. sig { returns(T.nilable(String)) } def id; end @@ -7633,7 +7654,7 @@ module Stripe end end # The configuration used by this session, describing the features available. - sig { returns(T.any(String, Stripe::BillingPortal::Configuration)) } + sig { returns(T.any(String, ::Stripe::BillingPortal::Configuration)) } def configuration; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -7670,7 +7691,7 @@ module Stripe def url; end # Creates a session of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Session) + params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Session) } def self.create(params = {}, opts = {}); end end @@ -7682,7 +7703,7 @@ module Stripe # This is an object representing an offer of financing from # Stripe Capital to a Connect subaccount. class FinancingOffer < APIResource - class AcceptedTerms < Stripe::StripeObject + class AcceptedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. sig { returns(Integer) } def advance_amount; end @@ -7706,7 +7727,7 @@ module Stripe @field_remappings = {} end end - class OfferedTerms < Stripe::StripeObject + class OfferedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. sig { returns(Integer) } def advance_amount; end @@ -7790,21 +7811,21 @@ module Stripe def type; end # Retrieves the financing offers available for Connected accounts that belong to your platform. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def mark_delivered(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def self.mark_delivered(financing_offer, params = {}, opts = {}); end end @@ -7816,8 +7837,8 @@ module Stripe # A financing object describes an account's current financing state. Used by Connect # platforms to read the state of Capital offered to their connected accounts. class FinancingSummary < SingletonAPIResource - class Details < Stripe::StripeObject - class CurrentRepaymentInterval < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class CurrentRepaymentInterval < ::Stripe::StripeObject # The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited. # Given in seconds since unix epoch. sig { returns(Float) } @@ -7891,8 +7912,8 @@ module Stripe module Capital # This is an object representing the details of a transaction on a Capital financing object. class FinancingTransaction < APIResource - class Details < Stripe::StripeObject - class Transaction < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class Transaction < ::Stripe::StripeObject # The linked payment ID. sig { returns(T.nilable(String)) } def charge; end @@ -7973,7 +7994,7 @@ module Stripe # Returns a list of financing transactions. The transactions are returned in sorted order, # with the most recent transactions appearing first. sig { - params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -7985,8 +8006,8 @@ module Stripe # PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/docs/connect/account-debits) may also create Charges. # Some legacy payment flows create Charges directly, which is not recommended for new integrations. class Charge < APIResource - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -8034,7 +8055,7 @@ module Stripe @field_remappings = {} end end - class FraudDetails < Stripe::StripeObject + class FraudDetails < ::Stripe::StripeObject # Assessments from Stripe. If set, the value is `fraudulent`. sig { returns(T.nilable(String)) } def stripe_report; end @@ -8048,8 +8069,8 @@ module Stripe @field_remappings = {} end end - class Level3 < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class Level3 < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # Attribute for field discount_amount sig { returns(T.nilable(Integer)) } def discount_amount; end @@ -8100,8 +8121,8 @@ module Stripe @field_remappings = {} end end - class Outcome < Stripe::StripeObject - class Rule < Stripe::StripeObject + class Outcome < ::Stripe::StripeObject + class Rule < ::Stripe::StripeObject # The action taken on the payment. sig { returns(String) } def action; end @@ -8155,8 +8176,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -8176,7 +8197,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -8202,7 +8223,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -8228,7 +8249,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -8245,7 +8266,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -8259,7 +8280,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -8276,8 +8297,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -8301,9 +8322,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -8358,7 +8379,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -8378,7 +8399,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -8398,7 +8419,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -8409,10 +8430,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -8432,7 +8453,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -8443,7 +8464,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -8454,7 +8475,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -8465,8 +8486,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -8483,7 +8504,7 @@ module Stripe @field_remappings = {} end end - class DecrementalAuthorization < Stripe::StripeObject + class DecrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the decremental authorization feature is supported. sig { returns(String) } def status; end @@ -8494,7 +8515,7 @@ module Stripe @field_remappings = {} end end - class ExtendedAuthorization < Stripe::StripeObject + class ExtendedAuthorization < ::Stripe::StripeObject # Indicates whether or not the capture window is extended beyond the standard authorization. sig { returns(String) } def status; end @@ -8505,7 +8526,7 @@ module Stripe @field_remappings = {} end end - class IncrementalAuthorization < Stripe::StripeObject + class IncrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the incremental authorization feature is supported. sig { returns(String) } def status; end @@ -8516,8 +8537,8 @@ module Stripe @field_remappings = {} end end - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -8545,7 +8566,7 @@ module Stripe @field_remappings = {} end end - class Multicapture < Stripe::StripeObject + class Multicapture < ::Stripe::StripeObject # Indicates whether or not multiple captures are supported. sig { returns(String) } def status; end @@ -8556,7 +8577,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -8567,7 +8588,7 @@ module Stripe @field_remappings = {} end end - class Overcapture < Stripe::StripeObject + class Overcapture < ::Stripe::StripeObject # The maximum amount that can be captured. sig { returns(Integer) } def maximum_amount_capturable; end @@ -8581,7 +8602,7 @@ module Stripe @field_remappings = {} end end - class PartialAuthorization < Stripe::StripeObject + class PartialAuthorization < ::Stripe::StripeObject # Indicates whether the transaction requested for partial authorization feature and the authorization outcome. sig { returns(String) } def status; end @@ -8592,7 +8613,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. sig { returns(T.nilable(String)) } @@ -8629,8 +8650,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -8638,7 +8659,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -8646,7 +8667,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -8654,7 +8675,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -8662,8 +8683,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -8689,7 +8710,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -8737,7 +8758,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -8745,8 +8766,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -8772,7 +8793,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -8975,8 +8996,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -8990,7 +9011,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -9025,7 +9046,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -9120,7 +9141,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -9137,7 +9158,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -9157,7 +9178,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9165,7 +9186,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -9181,7 +9202,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -9198,7 +9219,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -9220,7 +9241,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9228,7 +9249,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -9239,7 +9260,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -9262,7 +9283,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -9270,10 +9291,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -9289,8 +9310,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -9388,7 +9409,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -9402,9 +9423,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -9443,8 +9464,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -9465,7 +9486,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -9485,7 +9506,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -9497,7 +9518,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9505,8 +9526,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -9539,7 +9560,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -9553,7 +9574,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -9567,7 +9588,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -9593,7 +9614,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -9604,7 +9625,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -9623,7 +9644,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9631,7 +9652,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -9645,7 +9666,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -9662,8 +9683,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -9677,7 +9698,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -9703,7 +9724,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -9778,7 +9799,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9786,7 +9807,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -9806,7 +9827,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -9820,7 +9841,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -9831,7 +9852,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9839,7 +9860,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -9847,9 +9871,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -9904,7 +9928,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -9918,7 +9942,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -9929,7 +9953,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -9946,7 +9970,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -9972,7 +9996,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -9980,7 +10004,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -9994,10 +10018,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -10017,7 +10041,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -10025,7 +10049,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -10039,7 +10063,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -10056,7 +10080,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -10064,7 +10088,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -10081,7 +10105,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer's bank. sig { returns(T.nilable(String)) } @@ -10096,7 +10120,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -10104,7 +10128,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -10124,7 +10148,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -10401,7 +10425,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -10415,7 +10439,7 @@ module Stripe @field_remappings = {} end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -10426,8 +10450,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -10475,12 +10499,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -10499,10 +10523,10 @@ module Stripe sig { returns(Integer) } def amount_refunded; end # ID of the Connect application that created the charge. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details. - sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ApplicationFee))) } def application_fee; end # The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details. sig { returns(T.nilable(Integer)) } @@ -10511,7 +10535,7 @@ module Stripe sig { returns(T.nilable(String)) } def authorization_code; end # ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Attribute for field billing_details sig { returns(BillingDetails) } @@ -10529,7 +10553,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer this charge is for if one exists. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } @@ -10538,7 +10562,7 @@ module Stripe sig { returns(T::Boolean) } def disputed; end # ID of the balance transaction that describes the reversal of the balance on your account due to payment failure. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes). sig { returns(T.nilable(String)) } @@ -10565,7 +10589,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details. sig { returns(T.nilable(Outcome)) } @@ -10574,7 +10598,7 @@ module Stripe sig { returns(T::Boolean) } def paid; end # ID of the PaymentIntent associated with this charge, if one exists. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # ID of the payment method used in this charge. sig { returns(T.nilable(String)) } @@ -10601,21 +10625,21 @@ module Stripe sig { returns(T::Boolean) } def refunded; end # A list of refunds that have been applied to the charge. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def refunds; end # ID of the review associated with this charge if one exists. - sig { returns(T.nilable(T.any(String, Stripe::Review))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Review))) } def review; end # Shipping information for the charge. sig { returns(T.nilable(Shipping)) } def shipping; end # This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead. sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details. - sig { returns(T.nilable(T.any(String, Stripe::Transfer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Transfer))) } def source_transfer; end # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). # @@ -10629,7 +10653,7 @@ module Stripe sig { returns(String) } def status; end # ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter). - sig { returns(T.nilable(T.any(String, Stripe::Transfer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Transfer))) } def transfer; end # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. sig { returns(T.nilable(TransferData)) } @@ -10643,7 +10667,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def capture(params = {}, opts = {}); end @@ -10653,7 +10677,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.capture(charge, params = {}, opts = {}); end @@ -10661,29 +10685,29 @@ module Stripe # to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge # object used to request payment. sig { - params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.create(params = {}, opts = {}); end # Returns a list of charges you've previously created. The charges are returned in sorted order, with the most recent charges appearing first. sig { - params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.update(charge, params = {}, opts = {}); end end @@ -10706,7 +10730,7 @@ module Stripe # # Related guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart) class Session < APIResource - class AdaptivePricing < Stripe::StripeObject + class AdaptivePricing < ::Stripe::StripeObject # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). sig { returns(T::Boolean) } def enabled; end @@ -10717,8 +10741,8 @@ module Stripe @field_remappings = {} end end - class AfterExpiration < Stripe::StripeObject - class Recovery < Stripe::StripeObject + class AfterExpiration < ::Stripe::StripeObject + class Recovery < ::Stripe::StripeObject # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` sig { returns(T::Boolean) } def allow_promotion_codes; end @@ -10750,10 +10774,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -10784,8 +10808,8 @@ module Stripe @field_remappings = {} end end - class BrandingSettings < Stripe::StripeObject - class Icon < Stripe::StripeObject + class BrandingSettings < ::Stripe::StripeObject + class Icon < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -10802,7 +10826,7 @@ module Stripe @field_remappings = {} end end - class Logo < Stripe::StripeObject + class Logo < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -10847,9 +10871,9 @@ module Stripe @field_remappings = {} end end - class CollectedInformation < Stripe::StripeObject - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CollectedInformation < ::Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -10888,7 +10912,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -10927,7 +10951,7 @@ module Stripe @field_remappings = {} end end - class Consent < Stripe::StripeObject + class Consent < ::Stripe::StripeObject # If `opt_in`, the customer consents to receiving promotional communications # from the merchant about this Checkout Session. sig { returns(T.nilable(String)) } @@ -10942,8 +10966,8 @@ module Stripe @field_remappings = {} end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -10974,7 +10998,7 @@ module Stripe @field_remappings = {} end end - class CurrencyConversion < Stripe::StripeObject + class CurrencyConversion < ::Stripe::StripeObject # Total of all items in source currency before discounts or taxes are applied. sig { returns(Integer) } def amount_subtotal; end @@ -10994,9 +11018,9 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -11026,7 +11050,7 @@ module Stripe @field_remappings = {} end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(T.nilable(String)) } def custom; end @@ -11040,7 +11064,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -11060,7 +11084,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -11108,8 +11132,8 @@ module Stripe @field_remappings = {} end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -11120,7 +11144,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -11131,7 +11155,7 @@ module Stripe @field_remappings = {} end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -11142,7 +11166,7 @@ module Stripe @field_remappings = {} end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -11177,8 +11201,8 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -11204,7 +11228,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -11250,12 +11274,12 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # Coupon attached to the Checkout Session. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # Promotion code attached to the Checkout Session. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {} @@ -11264,9 +11288,9 @@ module Stripe @field_remappings = {} end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -11280,9 +11304,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -11294,7 +11318,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -11309,7 +11333,7 @@ module Stripe end end # The account tax IDs associated with the invoice. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Custom fields displayed on the invoice. sig { returns(T.nilable(T::Array[CustomField])) } @@ -11353,8 +11377,8 @@ module Stripe @field_remappings = {} end end - class NameCollection < Stripe::StripeObject - class Business < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject # Indicates whether business name collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -11368,7 +11392,7 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Indicates whether individual name collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -11395,8 +11419,8 @@ module Stripe @field_remappings = {} end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -11429,7 +11453,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -11443,9 +11467,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -11496,7 +11520,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11516,7 +11540,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11536,7 +11560,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11553,7 +11577,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11564,7 +11588,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11584,7 +11608,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11604,8 +11628,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -11638,7 +11662,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11655,7 +11679,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11666,7 +11690,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(Integer) } def expires_after_days; end @@ -11686,8 +11710,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Indicates if installments are enabled sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -11698,7 +11722,7 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. sig { returns(T.nilable(T::Array[String])) } def brands_blocked; end @@ -11758,7 +11782,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11778,9 +11802,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -11831,7 +11855,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11848,7 +11872,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11865,7 +11889,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11882,7 +11906,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11899,7 +11923,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -11916,7 +11940,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11936,7 +11960,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11956,7 +11980,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -11976,7 +12000,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -11996,7 +12020,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12016,7 +12040,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12036,7 +12060,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -12053,7 +12077,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12073,7 +12097,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -12093,7 +12117,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -12110,7 +12134,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12121,7 +12145,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -12138,7 +12162,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12167,8 +12191,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -12216,8 +12240,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -12274,7 +12298,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12294,7 +12318,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12305,7 +12329,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -12316,8 +12340,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -12350,7 +12374,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -12367,7 +12391,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. sig { returns(T.nilable(String)) } def reference; end @@ -12378,9 +12402,26 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + sig { returns(T.nilable(String)) } + def setup_future_usage; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -12394,7 +12435,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -12572,6 +12613,9 @@ module Stripe # Attribute for field swish sig { returns(T.nilable(Swish)) } def swish; end + # Attribute for field twint + sig { returns(T.nilable(Twint)) } + def twint; end # Attribute for field us_bank_account sig { returns(T.nilable(UsBankAccount)) } def us_bank_account; end @@ -12617,6 +12661,7 @@ module Stripe sepa_debit: SepaDebit, sofort: Sofort, swish: Swish, + twint: Twint, us_bank_account: UsBankAccount, } end @@ -12624,8 +12669,8 @@ module Stripe @field_remappings = {} end end - class Permissions < Stripe::StripeObject - class Update < Stripe::StripeObject + class Permissions < ::Stripe::StripeObject + class Update < ::Stripe::StripeObject # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -12671,7 +12716,7 @@ module Stripe @field_remappings = {} end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # Indicates whether phone number collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -12682,7 +12727,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -12696,7 +12741,7 @@ module Stripe @field_remappings = {} end end - class SavedPaymentMethodOptions < Stripe::StripeObject + class SavedPaymentMethodOptions < ::Stripe::StripeObject # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. sig { returns(T.nilable(T::Array[String])) } def allow_redisplay_filters; end @@ -12713,7 +12758,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. sig { returns(T::Array[String]) } @@ -12725,15 +12770,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -12758,7 +12803,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this order. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -12770,12 +12815,12 @@ module Stripe @field_remappings = {} end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def shipping_amount; end # The shipping rate. - sig { returns(T.any(String, Stripe::ShippingRate)) } + sig { returns(T.any(String, ::Stripe::ShippingRate)) } def shipping_rate; end def self.inner_class_types @inner_class_types = {} @@ -12784,7 +12829,7 @@ module Stripe @field_remappings = {} end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -12798,9 +12843,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -12808,7 +12853,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -12817,14 +12862,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -12871,8 +12916,8 @@ module Stripe @field_remappings = {} end end - class WalletOptions < Stripe::StripeObject - class Link < Stripe::StripeObject + class WalletOptions < ::Stripe::StripeObject + class Link < ::Stripe::StripeObject # Describes whether Checkout should display Link. Defaults to `auto`. sig { returns(T.nilable(String)) } def display; end @@ -12958,7 +13003,7 @@ module Stripe # will create a new customer object based on information provided # during the payment flow unless an existing customer was provided when # the Session was created. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account for this Session. sig { returns(T.nilable(String)) } @@ -12989,13 +13034,13 @@ module Stripe sig { returns(String) } def id; end # ID of the invoice created by the Checkout Session, if it exists. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Details on the state of invoice creation for the Checkout Session. sig { returns(T.nilable(InvoiceCreation)) } def invoice_creation; end # The line items purchased by the customer. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -13022,10 +13067,10 @@ module Stripe sig { returns(T.nilable(String)) } def origin_context; end # The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The ID of the Payment Link that created this Session. - sig { returns(T.nilable(T.any(String, Stripe::PaymentLink))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentLink))) } def payment_link; end # Configure whether a Checkout Session should collect a payment method. Defaults to `always`. sig { returns(T.nilable(String)) } @@ -13068,7 +13113,7 @@ module Stripe sig { returns(T.nilable(SavedPaymentMethodOptions)) } def saved_payment_method_options; end # The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. - sig { returns(T.nilable(T.any(String, Stripe::SetupIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupIntent))) } def setup_intent; end # When set, provides configuration for Checkout to collect a shipping address from a customer. sig { returns(T.nilable(ShippingAddressCollection)) } @@ -13088,7 +13133,7 @@ module Stripe sig { returns(T.nilable(String)) } def submit_type; end # The ID of the [Subscription](https://stripe.com/docs/api/subscriptions) for Checkout Sessions in `subscription` mode. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # The URL the customer will be directed to after the payment or # subscription creation is successful. @@ -13112,7 +13157,7 @@ module Stripe def wallet_options; end # Creates a Checkout Session object. sig { - params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.create(params = {}, opts = {}); end @@ -13120,7 +13165,7 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def expire(params = {}, opts = {}); end @@ -13128,25 +13173,25 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.expire(session, params = {}, opts = {}); end # Returns a list of Checkout Sessions. sig { - params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(session: String, params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(session, params = {}, opts = {}); end @@ -13154,7 +13199,7 @@ module Stripe # # Related guide: [Dynamically update Checkout](https://docs.stripe.com/payments/checkout/dynamic-updates) sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.update(session, params = {}, opts = {}); end end @@ -13166,7 +13211,7 @@ module Stripe # Orders represent your intent to purchase a particular Climate product. When you create an order, the # payment is deducted from your merchant balance. class Order < APIResource - class Beneficiary < Stripe::StripeObject + class Beneficiary < ::Stripe::StripeObject # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end @@ -13177,8 +13222,8 @@ module Stripe @field_remappings = {} end end - class DeliveryDetail < Stripe::StripeObject - class Location < Stripe::StripeObject + class DeliveryDetail < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. sig { returns(T.nilable(String)) } def city; end @@ -13214,7 +13259,7 @@ module Stripe sig { returns(T.nilable(String)) } def registry_url; end # A supplier of carbon removal. - sig { returns(Stripe::Climate::Supplier) } + sig { returns(::Stripe::Climate::Supplier) } def supplier; end def self.inner_class_types @inner_class_types = {location: Location} @@ -13281,7 +13326,7 @@ module Stripe sig { returns(String) } def object; end # Unique ID for the Climate `Product` this order is purchasing. - sig { returns(T.any(String, Stripe::Climate::Product)) } + sig { returns(T.any(String, ::Stripe::Climate::Product)) } def product; end # Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch. sig { returns(T.nilable(Integer)) } @@ -13294,7 +13339,7 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def cancel(params = {}, opts = {}); end @@ -13303,27 +13348,27 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.cancel(order, params = {}, opts = {}); end # Creates a Climate order object for a given Climate product. The order will be processed immediately # after creation and payment will be deducted your Stripe balance. sig { - params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.create(params = {}, opts = {}); end # Lists all Climate order objects. The orders are returned sorted by creation date, with the # most recently created orders appearing first. sig { - params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified order by setting the values of the parameters passed. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.update(order, params = {}, opts = {}); end end @@ -13335,7 +13380,7 @@ module Stripe # A Climate product represents a type of carbon removal unit available for reservation. # You can retrieve it to see the current price and availability. class Product < APIResource - class CurrentPricesPerMetricTon < Stripe::StripeObject + class CurrentPricesPerMetricTon < ::Stripe::StripeObject # Fees for one metric ton of carbon removal in the currency's smallest unit. sig { returns(Integer) } def amount_fees; end @@ -13379,11 +13424,11 @@ module Stripe sig { returns(String) } def object; end # The carbon removal suppliers that fulfill orders for this Climate product. - sig { returns(T::Array[Stripe::Climate::Supplier]) } + sig { returns(T::Array[::Stripe::Climate::Supplier]) } def suppliers; end # Lists all available Climate product objects. sig { - params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -13394,7 +13439,7 @@ module Stripe module Climate # A supplier of carbon removal. class Supplier < APIResource - class Location < Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. sig { returns(T.nilable(String)) } def city; end @@ -13440,7 +13485,7 @@ module Stripe def removal_pathway; end # Lists all available Climate supplier objects. sig { - params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -13456,9 +13501,9 @@ module Stripe # - [Finalize payments on the server](https://stripe.com/docs/payments/finalize-payments-on-the-server) # - [Build two-step confirmation](https://stripe.com/docs/payments/build-a-two-step-confirmation). class ConfirmationToken < APIResource - class MandateData < Stripe::StripeObject - class CustomerAcceptance < Stripe::StripeObject - class Online < Stripe::StripeObject + class MandateData < ::Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Online < ::Stripe::StripeObject # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -13495,10 +13540,10 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -13549,8 +13594,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodPreview < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodPreview < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -13576,7 +13621,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13584,7 +13629,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13592,7 +13637,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13600,7 +13645,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13608,7 +13653,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13616,7 +13661,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -13633,7 +13678,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -13650,7 +13695,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13658,7 +13703,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13666,8 +13711,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -13715,7 +13760,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13723,7 +13768,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) sig { returns(String) } def tax_id; end @@ -13734,8 +13779,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -13752,10 +13797,10 @@ module Stripe @field_remappings = {} end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -13769,7 +13814,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -13804,7 +13849,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -13919,7 +13964,7 @@ module Stripe sig { returns(T.nilable(PaymentMethodDetails)) } def payment_method_details; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {payment_method_details: PaymentMethodDetails} @@ -13928,7 +13973,7 @@ module Stripe @field_remappings = {} end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -13942,7 +13987,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. sig { returns(T::Boolean) } def supported; end @@ -13953,8 +13998,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13962,7 +14007,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13970,7 +14015,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13978,7 +14023,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -13986,8 +14031,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -14013,7 +14058,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -14061,7 +14106,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14069,8 +14114,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -14096,7 +14141,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -14252,8 +14297,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -14267,7 +14312,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -14281,7 +14326,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -14352,7 +14397,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -14366,7 +14411,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14374,7 +14419,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14382,7 +14427,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -14393,7 +14438,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -14407,7 +14452,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14415,7 +14460,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14423,7 +14468,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14431,7 +14476,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -14451,7 +14496,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -14465,8 +14510,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -14531,7 +14576,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14539,8 +14584,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -14567,7 +14612,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14575,7 +14620,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -14589,7 +14634,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. sig { returns(T.nilable(String)) } def email; end @@ -14603,7 +14648,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14611,7 +14656,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14619,7 +14664,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14627,7 +14672,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -14641,7 +14686,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -14667,7 +14712,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14675,7 +14720,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. sig { returns(T.nilable(String)) } def bank; end @@ -14686,7 +14731,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14694,7 +14739,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14702,7 +14747,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14710,7 +14755,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. sig { returns(T.nilable(String)) } def country; end @@ -14735,7 +14780,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14743,7 +14788,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -14760,7 +14805,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14768,7 +14813,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14776,7 +14821,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14784,8 +14829,8 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -14812,7 +14857,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14820,7 +14865,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14828,7 +14873,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14836,13 +14881,13 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {} @@ -14876,7 +14921,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14884,7 +14929,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. sig { returns(T.nilable(String)) } def country; end @@ -14895,7 +14940,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -14909,7 +14954,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14917,7 +14962,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14925,8 +14970,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. sig { returns(T.nilable(String)) } def preferred; end @@ -14940,8 +14985,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. sig { returns(T.nilable(String)) } def network_code; end @@ -15002,7 +15047,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -15010,7 +15055,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -15073,7 +15118,7 @@ module Stripe sig { returns(T.nilable(Crypto)) } def crypto; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -15278,8 +15323,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -15376,8 +15421,8 @@ module Stripe # You can also view the information from this API call as [an online # guide](https://docs.stripe.com/docs/connect/required-verification-information). class CountrySpec < APIResource - class VerificationFields < Stripe::StripeObject - class Company < Stripe::StripeObject + class VerificationFields < ::Stripe::StripeObject + class Company < ::Stripe::StripeObject # Additional fields which are only required for some users. sig { returns(T::Array[String]) } def additional; end @@ -15391,7 +15436,7 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Additional fields which are only required for some users. sig { returns(T::Array[String]) } def additional; end @@ -15444,7 +15489,7 @@ module Stripe def verification_fields; end # Lists all Country Spec objects available in the API. sig { - params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -15455,7 +15500,7 @@ module Stripe # might want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices), # [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents). class Coupon < APIResource - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A list of product IDs this coupon applies to sig { returns(T::Array[String]) } def products; end @@ -15466,7 +15511,7 @@ module Stripe @field_remappings = {} end end - class CurrencyOptions < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. sig { returns(Integer) } def amount_off; end @@ -15477,7 +15522,7 @@ module Stripe @field_remappings = {} end end - class Script < Stripe::StripeObject + class Script < ::Stripe::StripeObject # The configuration values of the script. The keys and values are specific to the script implementation. sig { returns(T::Hash[String, T.untyped]) } def configuration; end @@ -15558,31 +15603,31 @@ module Stripe # # A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it. sig { - params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.create(params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.delete(coupon, params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def delete(params = {}, opts = {}); end # Returns a list of your coupons. sig { - params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. sig { - params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.update(coupon, params = {}, opts = {}); end end @@ -15593,12 +15638,12 @@ module Stripe # # Related guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes) class CreditNote < APIResource - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -15607,15 +15652,15 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -15627,29 +15672,49 @@ module Stripe @field_remappings = {} end end - class Refund < Stripe::StripeObject + class Refund < ::Stripe::StripeObject + class PaymentRecordRefund < ::Stripe::StripeObject + # ID of the payment record. + sig { returns(String) } + def payment_record; end + # ID of the refund group. + sig { returns(String) } + def refund_group; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). sig { returns(Integer) } def amount_refunded; end + # The PaymentRecord refund details associated with this credit note refund. + sig { returns(T.nilable(PaymentRecordRefund)) } + def payment_record_refund; end # ID of the refund. - sig { returns(T.any(String, Stripe::Refund)) } + sig { returns(T.any(String, ::Stripe::Refund)) } def refund; end + # Type of the refund, one of `refund` or `payment_record_refund`. + sig { returns(T.nilable(String)) } + def type; end def self.inner_class_types - @inner_class_types = {} + @inner_class_types = {payment_record_refund: PaymentRecordRefund} end def self.field_remappings @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -15674,7 +15739,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -15686,8 +15751,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -15736,13 +15801,13 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account. sig { returns(T.nilable(String)) } def customer_account; end # Customer balance transaction related to this credit note. - sig { returns(T.nilable(T.any(String, Stripe::CustomerBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::CustomerBalanceTransaction))) } def customer_balance_transaction; end # The integer amount in cents (or local equivalent) representing the total amount of discount that was credited. sig { returns(Integer) } @@ -15757,10 +15822,10 @@ module Stripe sig { returns(String) } def id; end # ID of the invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # Line items that make up the credit note - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -15839,43 +15904,43 @@ module Stripe # You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount, # post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation. sig { - params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.create(params = {}, opts = {}); end # Returns a list of credit notes. sig { - params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::CreditNoteListPreviewLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListPreviewLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_preview_line_items(params = {}, opts = {}); end # Get a preview of a credit note without creating it. sig { - params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.preview(params = {}, opts = {}); end # Updates an existing credit note. sig { - params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.update(id, params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def void_credit_note(params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.void_credit_note(id, params = {}, opts = {}); end end @@ -15884,12 +15949,12 @@ end module Stripe # The credit note line item object class CreditNoteLineItem < StripeObject - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -15898,15 +15963,15 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -15918,7 +15983,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -15932,8 +15997,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -16003,7 +16068,7 @@ module Stripe sig { returns(T.nilable(TaxCalculationReference)) } def tax_calculation_reference; end # The tax rates which apply to the line item. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def tax_rates; end # The tax information of the line item. sig { returns(T.nilable(T::Array[Tax])) } @@ -16028,8 +16093,8 @@ module Stripe # [Customer Session with the Pricing Table](https://docs.stripe.com/payments/checkout/pricing-table#customer-session), # [Customer Session with the Buy Button](https://docs.stripe.com/payment-links/buy-button#pass-an-existing-customer). class CustomerSession < APIResource - class Components < Stripe::StripeObject - class BuyButton < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class BuyButton < ::Stripe::StripeObject # Whether the buy button is enabled. sig { returns(T::Boolean) } def enabled; end @@ -16040,8 +16105,8 @@ module Stripe @field_remappings = {} end end - class PaymentElement < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -16088,7 +16153,7 @@ module Stripe @field_remappings = {} end end - class PricingTable < Stripe::StripeObject + class PricingTable < ::Stripe::StripeObject # Whether the pricing table is enabled. sig { returns(T::Boolean) } def enabled; end @@ -16131,7 +16196,7 @@ module Stripe sig { returns(Integer) } def created; end # The Customer the Customer Session was created for. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The Account that the Customer Session was created for. sig { returns(T.nilable(String)) } @@ -16147,7 +16212,7 @@ module Stripe def object; end # Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources. sig { - params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerSession) + params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerSession) } def self.create(params = {}, opts = {}); end end @@ -16157,7 +16222,7 @@ module Stripe # This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information, # and track payments that belong to the same customer. class Customer < APIResource - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -16183,8 +16248,8 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -16198,7 +16263,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -16216,7 +16281,7 @@ module Stripe sig { returns(T.nilable(T::Array[CustomField])) } def custom_fields; end # ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Default footer to be displayed on invoices for this customer. sig { returns(T.nilable(String)) } @@ -16231,8 +16296,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -16280,8 +16345,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. sig { returns(String) } def country; end @@ -16324,7 +16389,7 @@ module Stripe sig { returns(T.nilable(String)) } def business_name; end # The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is "cash_balance". The `settings[reconciliation_mode]` field describes if these funds apply to these payment intents manually or automatically. - sig { returns(T.nilable(Stripe::CashBalance)) } + sig { returns(T.nilable(::Stripe::CashBalance)) } def cash_balance; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -16339,7 +16404,7 @@ module Stripe # # If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`. @@ -16353,7 +16418,7 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # Describes the current discount active on the customer, if there is one. - sig { returns(T.nilable(Stripe::Discount)) } + sig { returns(T.nilable(::Stripe::Discount)) } def discount; end # The customer's email address. sig { returns(T.nilable(String)) } @@ -16398,10 +16463,10 @@ module Stripe sig { returns(T.nilable(Shipping)) } def shipping; end # The customer's payment sources, if any. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def sources; end # The customer's current subscriptions, if any. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def subscriptions; end # Attribute for field tax sig { returns(T.nilable(Tax)) } @@ -16410,17 +16475,17 @@ module Stripe sig { returns(T.nilable(String)) } def tax_exempt; end # The customer's tax IDs. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def tax_ids; end # ID of the test clock that this customer belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end # Creates a new customer object. sig { - params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.create(params = {}, opts = {}); end @@ -16428,7 +16493,7 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def create_funding_instructions(params = {}, opts = {}); end @@ -16436,49 +16501,49 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(customer: String, params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(customer: String, params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def self.create_funding_instructions(customer, params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.delete(customer, params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def delete(params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def self.delete_discount(customer, params = {}, opts = {}); end # Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. sig { - params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Returns a list of PaymentMethods for a given Customer sig { - params(params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_payment_methods(params = {}, opts = {}); end # Returns a list of PaymentMethods for a given Customer sig { - params(customer: String, params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_payment_methods(customer, params = {}, opts = {}); end @@ -16490,23 +16555,23 @@ module Stripe # Retrieves a PaymentMethod object for a given Customer. sig { - params(payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve_payment_method(payment_method, params = {}, opts = {}); end # Retrieves a PaymentMethod object for a given Customer. sig { - params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.retrieve_payment_method(customer, payment_method, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -16514,7 +16579,7 @@ module Stripe # # This request accepts mostly the same arguments as the customer creation call. sig { - params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.update(customer, params = {}, opts = {}); end @@ -16538,19 +16603,19 @@ module Stripe sig { returns(Integer) } def amount; end # The ID of the checkout session (if any) that created the transaction. - sig { returns(T.nilable(T.any(String, Stripe::Checkout::Session))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Checkout::Session))) } def checkout_session; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } def created; end # The ID of the credit note (if any) related to the transaction. - sig { returns(T.nilable(T.any(String, Stripe::CreditNote))) } + sig { returns(T.nilable(T.any(String, ::Stripe::CreditNote))) } def credit_note; end # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end # The ID of the customer the transaction belongs to. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -16565,7 +16630,7 @@ module Stripe sig { returns(String) } def id; end # The ID of the invoice (if any) related to the transaction. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -16585,7 +16650,7 @@ end module Stripe # A customer's `Cash balance` represents real funds. Customers can add funds to their cash balance by sending a bank transfer. These funds can be used for payment and can eventually be paid out to your bank account. class CashBalance < APIResource - class Settings < Stripe::StripeObject + class Settings < ::Stripe::StripeObject # The configuration for how funds that land in the customer cash balance are reconciled. sig { returns(String) } def reconciliation_mode; end @@ -16626,12 +16691,12 @@ module Stripe # represent when funds are moved into or out of this balance. This includes funding by the customer, allocation # to payments, and refunds to the customer. class CustomerCashBalanceTransaction < APIResource - class AdjustedForOverdraft < Stripe::StripeObject + class AdjustedForOverdraft < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds taken out of your Stripe balance. - sig { returns(T.any(String, Stripe::BalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::BalanceTransaction)) } def balance_transaction; end # The [Cash Balance Transaction](https://stripe.com/docs/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds. - sig { returns(T.any(String, Stripe::CustomerCashBalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::CustomerCashBalanceTransaction)) } def linked_transaction; end def self.inner_class_types @inner_class_types = {} @@ -16640,9 +16705,9 @@ module Stripe @field_remappings = {} end end - class AppliedToPayment < Stripe::StripeObject + class AppliedToPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were applied to. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {} @@ -16651,9 +16716,9 @@ module Stripe @field_remappings = {} end end - class Funded < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class Funded < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The BIC of the bank of the sender of the funding. sig { returns(T.nilable(String)) } def bic; end @@ -16670,7 +16735,7 @@ module Stripe @field_remappings = {} end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The last 4 digits of the account number of the sender of the funding. sig { returns(T.nilable(String)) } def account_number_last4; end @@ -16687,7 +16752,7 @@ module Stripe @field_remappings = {} end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The name of the bank of the sender of the funding. sig { returns(T.nilable(String)) } def sender_bank; end @@ -16704,7 +16769,7 @@ module Stripe @field_remappings = {} end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The banking network used for this funding. sig { returns(T.nilable(String)) } def network; end @@ -16758,9 +16823,9 @@ module Stripe @field_remappings = {} end end - class RefundedFromPayment < Stripe::StripeObject + class RefundedFromPayment < ::Stripe::StripeObject # The [Refund](https://stripe.com/docs/api/refunds/object) that moved these funds into the customer's cash balance. - sig { returns(T.any(String, Stripe::Refund)) } + sig { returns(T.any(String, ::Stripe::Refund)) } def refund; end def self.inner_class_types @inner_class_types = {} @@ -16769,9 +16834,9 @@ module Stripe @field_remappings = {} end end - class TransferredToBalance < Stripe::StripeObject + class TransferredToBalance < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance. - sig { returns(T.any(String, Stripe::BalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::BalanceTransaction)) } def balance_transaction; end def self.inner_class_types @inner_class_types = {} @@ -16780,9 +16845,9 @@ module Stripe @field_remappings = {} end end - class UnappliedFromPayment < Stripe::StripeObject + class UnappliedFromPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were unapplied from. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {} @@ -16804,7 +16869,7 @@ module Stripe sig { returns(String) } def currency; end # The customer whose available cash balance changed as a result of this transaction. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -16849,11 +16914,11 @@ module Stripe # # Related guide: [Disputes and fraud](https://stripe.com/docs/disputes) class Dispute < APIResource - class Evidence < Stripe::StripeObject - class EnhancedEvidence < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject - class DisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class EnhancedEvidence < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject + class DisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -16910,8 +16975,8 @@ module Stripe @field_remappings = {} end end - class PriorUndisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class PriorUndisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -16984,7 +17049,7 @@ module Stripe @field_remappings = {} end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. sig { returns(T::Boolean) } def fee_acknowledged; end @@ -17018,7 +17083,7 @@ module Stripe sig { returns(T.nilable(String)) } def billing_address; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def cancellation_policy; end # An explanation of how and when the customer was shown your refund policy prior to purchase. sig { returns(T.nilable(String)) } @@ -17027,7 +17092,7 @@ module Stripe sig { returns(T.nilable(String)) } def cancellation_rebuttal; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def customer_communication; end # The email address of the customer. sig { returns(T.nilable(String)) } @@ -17039,10 +17104,10 @@ module Stripe sig { returns(T.nilable(String)) } def customer_purchase_ip; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def customer_signature; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def duplicate_charge_documentation; end # An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. sig { returns(T.nilable(String)) } @@ -17057,10 +17122,10 @@ module Stripe sig { returns(T.nilable(String)) } def product_description; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def receipt; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def refund_policy; end # Documentation demonstrating that the customer was shown your refund policy prior to purchase. sig { returns(T.nilable(String)) } @@ -17072,7 +17137,7 @@ module Stripe sig { returns(T.nilable(String)) } def service_date; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def service_documentation; end # The address to which a physical product was shipped. You should try to include as complete address information as possible. sig { returns(T.nilable(String)) } @@ -17084,13 +17149,13 @@ module Stripe sig { returns(T.nilable(String)) } def shipping_date; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def shipping_documentation; end # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. sig { returns(T.nilable(String)) } def shipping_tracking_number; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def uncategorized_file; end # Any additional evidence or statements. sig { returns(T.nilable(String)) } @@ -17102,9 +17167,9 @@ module Stripe @field_remappings = {} end end - class EvidenceDetails < Stripe::StripeObject - class EnhancedEligibility < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject + class EvidenceDetails < ::Stripe::StripeObject + class EnhancedEligibility < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject # List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission. sig { returns(T::Array[String]) } def required_actions; end @@ -17118,7 +17183,7 @@ module Stripe @field_remappings = {} end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # Visa compliance eligibility status. sig { returns(String) } def status; end @@ -17170,8 +17235,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AmazonPay < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # The AmazonPay dispute type, chargeback or claim sig { returns(T.nilable(String)) } def dispute_type; end @@ -17182,7 +17247,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(String) } def brand; end @@ -17199,7 +17264,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Chargeback loss reason mapped by Stripe from Klarna's chargeback loss reason sig { returns(T.nilable(String)) } def chargeback_loss_reason_code; end @@ -17213,7 +17278,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The ID of the dispute in PayPal. sig { returns(T.nilable(String)) } def case_id; end @@ -17249,7 +17314,7 @@ module Stripe @field_remappings = {} end end - class SmartDisputes < Stripe::StripeObject + class SmartDisputes < ::Stripe::StripeObject # Evidence that could be provided to improve the SmartDisputes packet sig { returns(T.nilable(T::Array[T::Array[String]])) } def recommended_evidence; end @@ -17267,10 +17332,10 @@ module Stripe sig { returns(Integer) } def amount; end # List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute. - sig { returns(T::Array[Stripe::BalanceTransaction]) } + sig { returns(T::Array[::Stripe::BalanceTransaction]) } def balance_transactions; end # ID of the charge that's disputed. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -17309,7 +17374,7 @@ module Stripe sig { returns(String) } def object; end # ID of the PaymentIntent that's disputed. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Attribute for field payment_method_details sig { returns(T.nilable(PaymentMethodDetails)) } @@ -17327,7 +17392,7 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def close(params = {}, opts = {}); end @@ -17335,13 +17400,13 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def self.close(dispute, params = {}, opts = {}); end # Returns a list of your disputes. sig { - params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -17349,7 +17414,7 @@ module Stripe # # Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://docs.stripe.com/docs/disputes/categories). sig { - params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def self.update(dispute, params = {}, opts = {}); end end @@ -17360,7 +17425,7 @@ module Stripe # An active entitlement describes access to a feature for a customer. class ActiveEntitlement < APIResource # The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to. - sig { returns(T.any(String, Stripe::Entitlements::Feature)) } + sig { returns(T.any(String, ::Stripe::Entitlements::Feature)) } def feature; end # Unique identifier for the object. sig { returns(String) } @@ -17376,7 +17441,7 @@ module Stripe def object; end # Retrieve a list of active entitlements for a customer sig { - params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -17411,19 +17476,19 @@ module Stripe def object; end # Creates a feature sig { - params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def self.create(params = {}, opts = {}); end # Retrieve a list of features sig { - params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update a feature's metadata or permanently deactivate it. sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def self.update(id, params = {}, opts = {}); end end @@ -17452,13 +17517,13 @@ module Stripe def secret; end # Invalidates a short-lived API key for a given resource. sig { - params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def self.delete(key, params = {}, opts = {}); end # Invalidates a short-lived API key for a given resource. sig { - params(params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def delete(params = {}, opts = {}); end end @@ -17484,7 +17549,7 @@ module Stripe # You can access events through the [Retrieve Event API](https://docs.stripe.com/api/events#retrieve_event) # for 30 days. class Event < APIResource - class Data < Stripe::StripeObject + class Data < ::Stripe::StripeObject # Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. sig { returns(T::Hash[String, T.untyped]) } def object; end @@ -17498,9 +17563,9 @@ module Stripe @field_remappings = {} end end - class Reason < Stripe::StripeObject - class AutomationAction < Stripe::StripeObject - class StripeSendWebhookCustomEvent < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class AutomationAction < ::Stripe::StripeObject + class StripeSendWebhookCustomEvent < ::Stripe::StripeObject # Set of key-value pairs attached to the action when creating an Automation. sig { returns(T.nilable(T::Hash[String, String])) } def custom_data; end @@ -17528,7 +17593,7 @@ module Stripe @field_remappings = {} end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. sig { returns(T.nilable(String)) } def id; end @@ -17558,7 +17623,7 @@ module Stripe @field_remappings = {} end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. sig { returns(T.nilable(String)) } def id; end @@ -17610,7 +17675,7 @@ module Stripe def type; end # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). sig { - params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -17659,7 +17724,7 @@ module Stripe # # 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. sig { - params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -17680,7 +17745,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def expires_at; end # The file object this link points to. - sig { returns(T.any(String, Stripe::File)) } + sig { returns(T.any(String, ::Stripe::File)) } def file; end # Unique identifier for the object. sig { returns(String) } @@ -17699,19 +17764,19 @@ module Stripe def url; end # Creates a new file link object. sig { - params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def self.create(params = {}, opts = {}); end # Returns a list of file links. sig { - params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing file link object. Expired links can no longer be updated. sig { - params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def self.update(link, params = {}, opts = {}); end end @@ -17739,7 +17804,7 @@ module Stripe sig { returns(String) } def id; end # A list of [file links](https://stripe.com/docs/api#file_links) that point at this file. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def links; end # String representing the object's type. Objects of the same type share the same value. sig { returns(String) } @@ -17763,13 +17828,13 @@ module Stripe # # All of Stripe's officially supported Client libraries support sending multipart/form-data. sig { - params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def self.create(params = {}, opts = {}); end # Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top. sig { - params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -17779,12 +17844,12 @@ module Stripe module FinancialConnections # A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access. class Account < APIResource - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -17799,8 +17864,8 @@ module Stripe @field_remappings = {} end end - class Balance < Stripe::StripeObject - class Cash < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class Cash < ::Stripe::StripeObject # The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -17815,7 +17880,7 @@ module Stripe @field_remappings = {} end end - class Credit < Stripe::StripeObject + class Credit < ::Stripe::StripeObject # The credit that has been used by the account holder. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -17856,7 +17921,7 @@ module Stripe @field_remappings = {} end end - class BalanceRefresh < Stripe::StripeObject + class BalanceRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -17873,7 +17938,7 @@ module Stripe @field_remappings = {} end end - class InferredBalancesRefresh < Stripe::StripeObject + class InferredBalancesRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -17890,7 +17955,7 @@ module Stripe @field_remappings = {} end end - class OwnershipRefresh < Stripe::StripeObject + class OwnershipRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -17907,7 +17972,7 @@ module Stripe @field_remappings = {} end end - class TransactionRefresh < Stripe::StripeObject + class TransactionRefresh < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -17952,7 +18017,7 @@ module Stripe sig { returns(T.nilable(InferredBalancesRefresh)) } def inferred_balances_refresh; end # The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers). - sig { returns(T.nilable(T.any(String, Stripe::FinancialConnections::Institution))) } + sig { returns(T.nilable(T.any(String, ::Stripe::FinancialConnections::Institution))) } def institution; end # The name of the institution that holds this account. sig { returns(String) } @@ -17967,7 +18032,7 @@ module Stripe sig { returns(String) } def object; end # The most recent information about the account's owners. - sig { returns(T.nilable(T.any(String, Stripe::FinancialConnections::AccountOwnership))) } + sig { returns(T.nilable(T.any(String, ::Stripe::FinancialConnections::AccountOwnership))) } def ownership; end # The state of the most recent attempt to refresh the account owners. sig { returns(T.nilable(OwnershipRefresh)) } @@ -18005,67 +18070,67 @@ module Stripe def transaction_refresh; end # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def disconnect(params = {}, opts = {}); end # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.disconnect(account, params = {}, opts = {}); end # Returns a list of Financial Connections Account objects. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Lists all owners for a given Account sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_owners(params = {}, opts = {}); end # Lists all owners for a given Account sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_owners(account, params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def refresh_account(params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.refresh_account(account, params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.subscribe(account, params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def unsubscribe(params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.unsubscribe(account, params = {}, opts = {}); end end @@ -18100,8 +18165,8 @@ module Stripe module FinancialConnections # An institution represents a financial institution to which an end user can connect using the Financial Connections authentication flow. class Institution < APIResource - class Features < Stripe::StripeObject - class Balances < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class Balances < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -18112,7 +18177,7 @@ module Stripe @field_remappings = {} end end - class Ownership < Stripe::StripeObject + class Ownership < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -18123,7 +18188,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethod < Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -18134,7 +18199,7 @@ module Stripe @field_remappings = {} end end - class Transactions < Stripe::StripeObject + class Transactions < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -18198,7 +18263,7 @@ module Stripe def url; end # Returns a list of Financial Connections Institution objects. sig { - params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -18209,12 +18274,12 @@ module Stripe module FinancialConnections # A Financial Connections Session is the secure way to programmatically launch the client-side Stripe.js modal that lets your users link their accounts. class Session < APIResource - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -18229,7 +18294,7 @@ module Stripe @field_remappings = {} end end - class Filters < Stripe::StripeObject + class Filters < ::Stripe::StripeObject # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -18246,7 +18311,7 @@ module Stripe @field_remappings = {} end end - class Limits < Stripe::StripeObject + class Limits < ::Stripe::StripeObject # The number of accounts that can be linked in this Session. sig { returns(Integer) } def accounts; end @@ -18257,7 +18322,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -18265,8 +18330,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Cancelled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Cancelled < ::Stripe::StripeObject # The reason for the Session being cancelled. sig { returns(String) } def reason; end @@ -18291,7 +18356,7 @@ module Stripe sig { returns(T.nilable(AccountHolder)) } def account_holder; end # The accounts that were collected as part of this Session. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def accounts; end # A value that will be passed to the client to launch the authentication flow. sig { returns(String) } @@ -18331,7 +18396,7 @@ module Stripe def status_details; end # To launch the Financial Connections authorization flow, create a Session. The session's client_secret can be used to launch the flow using Stripe.js. sig { - params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def self.create(params = {}, opts = {}); end end @@ -18342,7 +18407,7 @@ module Stripe module FinancialConnections # A Transaction represents a real transaction that affects a Financial Connections Account balance. class Transaction < APIResource - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Time at which this transaction posted. Measured in seconds since the Unix epoch. sig { returns(T.nilable(Integer)) } def posted_at; end @@ -18394,7 +18459,7 @@ module Stripe def updated; end # Returns a list of Financial Connections Transaction objects. sig { - params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -18420,7 +18485,7 @@ module Stripe # # Related guide: [Forward card details to third-party API endpoints](https://docs.stripe.com/payments/forwarding). class Request < APIResource - class RequestContext < Stripe::StripeObject + class RequestContext < ::Stripe::StripeObject # The time it took in milliseconds for the destination endpoint to respond. sig { returns(Integer) } def destination_duration; end @@ -18434,8 +18499,8 @@ module Stripe @field_remappings = {} end end - class RequestDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class RequestDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. sig { returns(String) } def name; end @@ -18465,8 +18530,8 @@ module Stripe @field_remappings = {} end end - class ResponseDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class ResponseDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. sig { returns(String) } def name; end @@ -18531,13 +18596,13 @@ module Stripe def url; end # Creates a ForwardingRequest object. sig { - params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def self.create(params = {}, opts = {}); end # Lists all ForwardingRequest objects. sig { - params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -18552,8 +18617,8 @@ module Stripe # # [View the docs](https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api) class FxQuote < APIResource - class Rates < Stripe::StripeObject - class RateDetails < Stripe::StripeObject + class Rates < ::Stripe::StripeObject + class RateDetails < ::Stripe::StripeObject # The rate for the currency pair. sig { returns(Float) } def base_rate; end @@ -18589,8 +18654,8 @@ module Stripe @field_remappings = {} end end - class Usage < Stripe::StripeObject - class Payment < Stripe::StripeObject + class Usage < ::Stripe::StripeObject + class Payment < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -18608,7 +18673,7 @@ module Stripe @field_remappings = {} end end - class Transfer < Stripe::StripeObject + class Transfer < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. @@ -18672,13 +18737,13 @@ module Stripe def usage; end # Creates an FX Quote object sig { - params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def self.create(params = {}, opts = {}); end # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first. sig { - params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -18698,8 +18763,8 @@ module Stripe # # Related guide: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results). class VerificationReport < APIResource - class Document < Stripe::StripeObject - class Address < Stripe::StripeObject + class Document < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -18725,7 +18790,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -18742,7 +18807,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -18756,7 +18821,7 @@ module Stripe @field_remappings = {} end end - class ExpirationDate < Stripe::StripeObject + class ExpirationDate < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -18773,7 +18838,7 @@ module Stripe @field_remappings = {} end end - class IssuedDate < Stripe::StripeObject + class IssuedDate < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -18848,8 +18913,8 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject - class Error < Stripe::StripeObject + class Email < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -18879,8 +18944,8 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject - class Dob < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -18897,7 +18962,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -18939,8 +19004,8 @@ module Stripe @field_remappings = {} end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -18960,7 +19025,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -18981,8 +19046,8 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject - class Error < Stripe::StripeObject + class Phone < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -19012,8 +19077,8 @@ module Stripe @field_remappings = {} end end - class Selfie < Stripe::StripeObject - class Error < Stripe::StripeObject + class Selfie < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -19090,7 +19155,7 @@ module Stripe def verification_session; end # List all verification reports. sig { - params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -19111,7 +19176,7 @@ module Stripe # # Related guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions) class VerificationSession < APIResource - class LastError < Stripe::StripeObject + class LastError < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification or user-session failure. sig { returns(T.nilable(String)) } def code; end @@ -19125,8 +19190,8 @@ module Stripe @field_remappings = {} end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -19146,7 +19211,7 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Request one time password verification of `provided_details.email`. sig { returns(T.nilable(T::Boolean)) } def require_verification; end @@ -19157,7 +19222,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -19165,7 +19230,7 @@ module Stripe @field_remappings = {} end end - class Matching < Stripe::StripeObject + class Matching < ::Stripe::StripeObject # Strictness of the DOB matching policy to apply. sig { returns(T.nilable(String)) } def dob; end @@ -19179,7 +19244,7 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # Request one time password verification of `provided_details.phone`. sig { returns(T.nilable(T::Boolean)) } def require_verification; end @@ -19218,7 +19283,7 @@ module Stripe @field_remappings = {} end end - class ProvidedDetails < Stripe::StripeObject + class ProvidedDetails < ::Stripe::StripeObject # Email of user being verified sig { returns(T.nilable(String)) } def email; end @@ -19232,7 +19297,7 @@ module Stripe @field_remappings = {} end end - class Redaction < Stripe::StripeObject + class Redaction < ::Stripe::StripeObject # Indicates whether this object and its related objects have been redacted or not. sig { returns(String) } def status; end @@ -19243,7 +19308,7 @@ module Stripe @field_remappings = {} end end - class RelatedPerson < Stripe::StripeObject + class RelatedPerson < ::Stripe::StripeObject # Token referencing the associated Account of the related Person resource. sig { returns(String) } def account; end @@ -19257,8 +19322,8 @@ module Stripe @field_remappings = {} end end - class VerifiedOutputs < Stripe::StripeObject - class Address < Stripe::StripeObject + class VerifiedOutputs < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -19284,7 +19349,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -19357,7 +19422,7 @@ module Stripe sig { returns(T.nilable(LastError)) } def last_error; end # ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://stripe.com/docs/identity/verification-sessions#results) - sig { returns(T.nilable(T.any(String, Stripe::Identity::VerificationReport))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationReport))) } def last_verification_report; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -19405,7 +19470,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def cancel(params = {}, opts = {}); end @@ -19413,7 +19478,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.cancel(session, params = {}, opts = {}); end @@ -19425,13 +19490,13 @@ module Stripe # # Related guide: [Verify your users' identity documents](https://docs.stripe.com/docs/identity/verify-identity-documents) sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.create(params = {}, opts = {}); end # Returns a list of VerificationSessions sig { - params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -19455,7 +19520,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def redact(params = {}, opts = {}); end @@ -19479,7 +19544,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.redact(session, params = {}, opts = {}); end @@ -19488,7 +19553,7 @@ module Stripe # When the session status is requires_input, you can use this method to update the # verification check and options. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.update(session, params = {}, opts = {}); end end @@ -19505,15 +19570,15 @@ module Stripe # This resource and its endpoints allows you to easily track if a payment is associated with a specific invoice and # monitor the allocation details of the payments. class InvoicePayment < APIResource - class Payment < Stripe::StripeObject + class Payment < ::Stripe::StripeObject # ID of the successful charge for this payment when `type` is `charge`.Note: charge is only surfaced if the charge object is not associated with a payment intent. If the charge object does have a payment intent, the Invoice Payment surfaces the payment intent instead. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # ID of the PaymentIntent associated with this payment when `type` is `payment_intent`. Note: This property is only populated for invoices finalized on or after March 15th, 2019. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # ID of the PaymentRecord associated with this payment when `type` is `payment_record`. - sig { returns(T.nilable(T.any(String, Stripe::PaymentRecord))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentRecord))) } def payment_record; end # Type of payment object associated with this invoice payment. sig { returns(String) } @@ -19525,7 +19590,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the payment was canceled. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -19555,7 +19620,7 @@ module Stripe sig { returns(String) } def id; end # The invoice that was paid. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # Stripe automatically creates a default InvoicePayment when the invoice is finalized, and keeps it synchronized with the invoice’s `amount_remaining`. The PaymentIntent associated with the default payment can’t be edited or canceled directly. sig { returns(T::Boolean) } @@ -19577,7 +19642,7 @@ module Stripe def status_transitions; end # When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments. sig { - params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -19613,31 +19678,31 @@ module Stripe def version; end # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def archive(params = {}, opts = {}); end # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def self.archive(template, params = {}, opts = {}); end # List all templates, ordered by creation date, with the most recently created template appearing first. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def unarchive(params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def self.unarchive(template, params = {}, opts = {}); end end @@ -19653,8 +19718,8 @@ module Stripe # # Related guides: [Integrate with the Invoicing API](https://stripe.com/docs/invoicing/integration), [Subscription Invoices](https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items). class InvoiceItem < APIResource - class Parent < Stripe::StripeObject - class SubscriptionDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject # The subscription that generated this invoice item sig { returns(String) } def subscription; end @@ -19681,7 +19746,7 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -19695,8 +19760,8 @@ module Stripe @field_remappings = {} end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. sig { returns(String) } def price; end @@ -19726,13 +19791,13 @@ module Stripe @field_remappings = {} end end - class ProrationDetails < Stripe::StripeObject - class DiscountAmount < Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -19758,7 +19823,7 @@ module Stripe sig { returns(String) } def currency; end # The ID of the customer who will be billed when this invoice item is billed. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The ID of the account who will be billed when this invoice item is billed. sig { returns(T.nilable(String)) } @@ -19773,19 +19838,19 @@ module Stripe sig { returns(T::Boolean) } def discountable; end # The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Discount)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Discount)])) } def discounts; end # Unique identifier for the object. sig { returns(String) } def id; end # The ID of the invoice this invoice item belongs to. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # The margins which apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def margins; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -19815,41 +19880,41 @@ module Stripe sig { returns(Integer) } def quantity; end # The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # ID of the test clock this invoice item belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end # Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified. sig { - params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.create(params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.delete(invoiceitem, params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def delete(params = {}, opts = {}); end # Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first. sig { - params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.update(invoiceitem, params = {}, opts = {}); end end @@ -19889,7 +19954,7 @@ module Stripe # # Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) class Invoice < APIResource - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -19921,10 +19986,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -19958,7 +20023,7 @@ module Stripe @field_remappings = {} end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. sig { returns(String) } def client_secret; end @@ -19972,7 +20037,7 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -19986,7 +20051,7 @@ module Stripe @field_remappings = {} end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -20012,8 +20077,8 @@ module Stripe @field_remappings = {} end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -20061,7 +20126,7 @@ module Stripe @field_remappings = {} end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -20075,12 +20140,12 @@ module Stripe @field_remappings = {} end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice sig { returns(String) } def action; end # The invoice that was cloned. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end def self.inner_class_types @inner_class_types = {} @@ -20089,9 +20154,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -20103,7 +20168,7 @@ module Stripe @field_remappings = {} end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -20142,14 +20207,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -20178,11 +20243,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -20195,8 +20260,8 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice sig { returns(String) } def billing_cadence; end @@ -20207,7 +20272,7 @@ module Stripe @field_remappings = {} end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice sig { returns(String) } def quote; end @@ -20218,8 +20283,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(T.nilable(String)) } def behavior; end @@ -20241,7 +20306,7 @@ module Stripe sig { returns(T.nilable(PauseCollection)) } def pause_collection; end # The subscription that generated this invoice - sig { returns(T.any(String, Stripe::Subscription)) } + sig { returns(T.any(String, ::Stripe::Subscription)) } def subscription; end # Only set for upcoming invoices that preview prorations. The time used to calculate prorations. sig { returns(T.nilable(Integer)) } @@ -20276,10 +20341,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -20303,7 +20368,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -20314,8 +20379,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -20339,9 +20404,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -20378,7 +20443,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -20386,7 +20451,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -20394,7 +20459,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -20405,7 +20470,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -20413,8 +20478,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -20444,9 +20509,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -20553,8 +20618,8 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. sig { returns(T.nilable(String)) } def page_size; end @@ -20584,15 +20649,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -20617,7 +20682,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -20629,8 +20694,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -20678,7 +20743,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. sig { returns(T.nilable(Integer)) } def finalized_at; end @@ -20698,8 +20763,8 @@ module Stripe @field_remappings = {} end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. sig { returns(T::Array[String]) } def line_item_ids; end @@ -20726,12 +20791,12 @@ module Stripe @field_remappings = {} end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -20740,12 +20805,12 @@ module Stripe @field_remappings = {} end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -20754,18 +20819,18 @@ module Stripe @field_remappings = {} end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -20777,8 +20842,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -20821,7 +20886,7 @@ module Stripe sig { returns(T.nilable(String)) } def account_name; end # The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`. sig { returns(Integer) } @@ -20842,7 +20907,7 @@ module Stripe sig { returns(T.nilable(T::Array[AmountsDue])) } def amounts_due; end # ID of the Connect Application that created the invoice. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained. sig { returns(Integer) } @@ -20886,7 +20951,7 @@ module Stripe sig { returns(T.nilable(T::Array[CustomField])) } def custom_fields; end # The ID of the customer who will be billed. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account who will be billed. sig { returns(T.nilable(String)) } @@ -20913,24 +20978,24 @@ module Stripe sig { returns(T.nilable(T::Array[CustomerTaxId])) } def customer_tax_ids; end # The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def default_margins; end # ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates applied to this invoice, if any. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def default_tax_rates; end # An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -20963,10 +21028,10 @@ module Stripe sig { returns(T.nilable(LastFinalizationError)) } def last_finalization_error; end # The ID of the most recent non-draft revision of this invoice - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_revision; end # The individual line items that make up the invoice. `lines` is sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -20984,7 +21049,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The parent that generated this invoice sig { returns(T.nilable(Parent)) } @@ -20993,7 +21058,7 @@ module Stripe sig { returns(PaymentSettings) } def payment_settings; end # Payments for this invoice - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def payments; end # End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price. sig { returns(Integer) } @@ -21038,7 +21103,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def subtotal_excluding_tax; end # ID of the test clock this invoice belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field threshold_reason sig { returns(T.nilable(ThresholdReason)) } @@ -21069,13 +21134,13 @@ module Stripe def deleted; end # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def add_lines(params = {}, opts = {}); end # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.add_lines(invoice, params = {}, opts = {}); end @@ -21090,7 +21155,7 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def attach_payment(params = {}, opts = {}); end @@ -21105,13 +21170,13 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.attach_payment(invoice, params = {}, opts = {}); end # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers. sig { - params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.create(params = {}, opts = {}); end @@ -21125,83 +21190,83 @@ module Stripe # # Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions) sig { - params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.create_preview(params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.delete(invoice, params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def delete(params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def finalize_invoice(params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.finalize_invoice(invoice, params = {}, opts = {}); end # You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first. sig { - params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def mark_uncollectible(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.mark_uncollectible(invoice, params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def pay(params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.pay(invoice, params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def remove_lines(params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.remove_lines(invoice, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -21209,7 +21274,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def send_invoice(params = {}, opts = {}); end @@ -21217,7 +21282,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.send_invoice(invoice, params = {}, opts = {}); end @@ -21228,19 +21293,19 @@ module Stripe # sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass # auto_advance=false. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.update(invoice, params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update_lines(params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.update_lines(invoice, params = {}, opts = {}); end @@ -21248,7 +21313,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def void_invoice(params = {}, opts = {}); end @@ -21256,7 +21321,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.void_invoice(invoice, params = {}, opts = {}); end end @@ -21267,12 +21332,12 @@ module Stripe # # Each line item is backed by either an [invoice item](https://stripe.com/docs/api/invoiceitems) or a [subscription item](https://stripe.com/docs/api/subscription_items). class InvoiceLineItem < APIResource - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -21281,12 +21346,12 @@ module Stripe @field_remappings = {} end end - class MarginAmount < Stripe::StripeObject + class MarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -21295,10 +21360,10 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class InvoiceItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class InvoiceItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items sig { returns(String) } def invoice; end @@ -21341,9 +21406,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class SubscriptionItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items sig { returns(String) } def invoice; end @@ -21408,7 +21473,7 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -21422,18 +21487,18 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -21445,8 +21510,8 @@ module Stripe @field_remappings = {} end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. sig { returns(String) } def price; end @@ -21476,7 +21541,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -21490,8 +21555,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -21543,7 +21608,7 @@ module Stripe sig { returns(T::Boolean) } def discountable; end # The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -21558,7 +21623,7 @@ module Stripe sig { returns(T.nilable(T::Array[MarginAmount])) } def margin_amounts; end # The margins applied to the line item. When set, the `default_margins` on the invoice do not apply to the line item. Use `expand[]=margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def margins; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation. sig { returns(T::Hash[String, String]) } @@ -21582,7 +21647,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def quantity; end # Attribute for field subscription - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # The tax calculation identifiers of the line item. sig { returns(T.nilable(TaxCalculationReference)) } @@ -21595,7 +21660,7 @@ module Stripe # item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. # Updating an invoice's line item is only possible before the invoice is finalized. sig { - params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceLineItem) + params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceLineItem) } def self.update(invoice, line_item_id, params = {}, opts = {}); end end @@ -21609,7 +21674,7 @@ module Stripe # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) class Authorization < APIResource - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -21623,8 +21688,8 @@ module Stripe @field_remappings = {} end end - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. sig { returns(T.nilable(String)) } def alphanumeric_id; end @@ -21650,8 +21715,8 @@ module Stripe @field_remappings = {} end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -21662,7 +21727,7 @@ module Stripe @field_remappings = {} end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -21673,7 +21738,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -21725,7 +21790,7 @@ module Stripe @field_remappings = {} end end - class FraudChallenge < Stripe::StripeObject + class FraudChallenge < ::Stripe::StripeObject # The method by which the fraud challenge was delivered to the cardholder. sig { returns(String) } def channel; end @@ -21742,7 +21807,7 @@ module Stripe @field_remappings = {} end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -21765,7 +21830,7 @@ module Stripe @field_remappings = {} end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(String) } def category; end @@ -21806,7 +21871,7 @@ module Stripe @field_remappings = {} end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -21823,8 +21888,8 @@ module Stripe @field_remappings = {} end end - class PendingRequest < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class PendingRequest < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -21866,8 +21931,8 @@ module Stripe @field_remappings = {} end end - class RequestHistory < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class RequestHistory < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -21924,7 +21989,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The array of [ReceivedCredits](https://stripe.com/docs/api/treasury/received_credits) associated with this authorization sig { returns(T::Array[String]) } def received_credits; end @@ -21941,8 +22006,8 @@ module Stripe @field_remappings = {} end end - class VerificationData < Stripe::StripeObject - class AuthenticationExemption < Stripe::StripeObject + class VerificationData < ::Stripe::StripeObject + class AuthenticationExemption < ::Stripe::StripeObject # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -21956,7 +22021,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end @@ -22011,13 +22076,13 @@ module Stripe sig { returns(String) } def authorization_method; end # List of balance transactions associated with this authorization. - sig { returns(T::Array[Stripe::BalanceTransaction]) } + sig { returns(T::Array[::Stripe::BalanceTransaction]) } def balance_transactions; end # You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders. - sig { returns(Stripe::Issuing::Card) } + sig { returns(::Stripe::Issuing::Card) } def card; end # The cardholder to whom this authorization belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Cardholder))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Cardholder))) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -22068,10 +22133,10 @@ module Stripe sig { returns(String) } def status; end # [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Token))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Token))) } def token; end # List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization. - sig { returns(T::Array[Stripe::Issuing::Transaction]) } + sig { returns(T::Array[::Stripe::Issuing::Transaction]) } def transactions; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts). sig { returns(T.nilable(Treasury)) } @@ -22088,40 +22153,40 @@ module Stripe # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def approve(params = {}, opts = {}); end # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.approve(authorization, params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def decline(params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.decline(authorization, params = {}, opts = {}); end # Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.update(authorization, params = {}, opts = {}); end end @@ -22134,8 +22199,8 @@ module Stripe # # Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder) class Cardholder < APIResource - class Billing < Stripe::StripeObject - class Address < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -22171,7 +22236,7 @@ module Stripe @field_remappings = {} end end - class Company < Stripe::StripeObject + class Company < ::Stripe::StripeObject # Whether the company's business ID number was provided. sig { returns(T::Boolean) } def tax_id_provided; end @@ -22182,9 +22247,9 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject - class CardIssuing < Stripe::StripeObject - class UserTermsAcceptance < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class UserTermsAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. sig { returns(T.nilable(Integer)) } def date; end @@ -22211,7 +22276,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -22228,13 +22293,13 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -22275,7 +22340,7 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject # If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. sig { returns(T.nilable(String)) } def disabled_reason; end @@ -22289,8 +22354,8 @@ module Stripe @field_remappings = {} end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -22383,19 +22448,19 @@ module Stripe def type; end # Creates a new Issuing Cardholder object that can be issued cards. sig { - params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def self.update(cardholder, params = {}, opts = {}); end end @@ -22406,8 +22471,8 @@ module Stripe module Issuing # You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders. class Card < APIResource - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -22433,8 +22498,8 @@ module Stripe @field_remappings = {} end end - class AddressValidation < Stripe::StripeObject - class NormalizedAddress < Stripe::StripeObject + class AddressValidation < ::Stripe::StripeObject + class NormalizedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -22476,7 +22541,7 @@ module Stripe @field_remappings = {} end end - class Customs < Stripe::StripeObject + class Customs < ::Stripe::StripeObject # A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU. sig { returns(T.nilable(String)) } def eori_number; end @@ -22537,8 +22602,8 @@ module Stripe @field_remappings = {} end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -22580,8 +22645,8 @@ module Stripe @field_remappings = {} end end - class Wallets < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallets < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Apple Pay Eligibility sig { returns(T::Boolean) } def eligible; end @@ -22595,7 +22660,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject # Google Pay Eligibility sig { returns(T::Boolean) } def eligible; end @@ -22634,7 +22699,7 @@ module Stripe # An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. # # Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder) - sig { returns(Stripe::Issuing::Cardholder) } + sig { returns(::Stripe::Issuing::Cardholder) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -22673,13 +22738,13 @@ module Stripe sig { returns(String) } def object; end # The personalization design object belonging to this card. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::PersonalizationDesign))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::PersonalizationDesign))) } def personalization_design; end # The latest card that replaces this card, if any. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Card))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Card))) } def replaced_by; end # The card this card replaces, if any. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Card))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Card))) } def replacement_for; end # The reason why the previous card needed to be replaced. sig { returns(T.nilable(String)) } @@ -22704,19 +22769,19 @@ module Stripe def wallets; end # Creates an Issuing Card object. sig { - params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def self.update(card, params = {}, opts = {}); end end @@ -22729,7 +22794,7 @@ module Stripe # # [Follow the guide](https://stripe.com/docs/issuing/credit/report-credit-decisions-and-manage-aans) to learn about your requirements as a platform. class CreditUnderwritingRecord < APIResource - class Application < Stripe::StripeObject + class Application < ::Stripe::StripeObject # The channel through which the applicant has submitted their application. sig { returns(String) } def application_method; end @@ -22746,7 +22811,7 @@ module Stripe @field_remappings = {} end end - class CreditUser < Stripe::StripeObject + class CreditUser < ::Stripe::StripeObject # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -22760,8 +22825,8 @@ module Stripe @field_remappings = {} end end - class Decision < Stripe::StripeObject - class ApplicationRejected < Stripe::StripeObject + class Decision < ::Stripe::StripeObject + class ApplicationRejected < ::Stripe::StripeObject # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -22775,7 +22840,7 @@ module Stripe @field_remappings = {} end end - class CreditLimitApproved < Stripe::StripeObject + class CreditLimitApproved < ::Stripe::StripeObject # Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). sig { returns(Integer) } def amount; end @@ -22789,7 +22854,7 @@ module Stripe @field_remappings = {} end end - class CreditLimitDecreased < Stripe::StripeObject + class CreditLimitDecreased < ::Stripe::StripeObject # Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). sig { returns(Integer) } def amount; end @@ -22809,7 +22874,7 @@ module Stripe @field_remappings = {} end end - class CreditLineClosed < Stripe::StripeObject + class CreditLineClosed < ::Stripe::StripeObject # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -22850,7 +22915,7 @@ module Stripe @field_remappings = {} end end - class UnderwritingException < Stripe::StripeObject + class UnderwritingException < ::Stripe::StripeObject # Written explanation for the exception. sig { returns(String) } def explanation; end @@ -22905,43 +22970,43 @@ module Stripe def underwriting_exception; end # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def correct(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.correct(credit_underwriting_record, params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object with information about a credit application submission. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.create_from_application(params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.create_from_proactive_review(params = {}, opts = {}); end # Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def report_decision(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.report_decision(credit_underwriting_record, params = {}, opts = {}); end end @@ -22952,7 +23017,7 @@ module Stripe module Issuing # Represents a record from the card network of a money movement or change in state for an Issuing dispute. These records are included in the settlement reports that we receive from networks and expose to users as Settlement objects. class DisputeSettlementDetail < APIResource - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. sig { returns(T.nilable(String)) } def processing_date; end @@ -23001,7 +23066,7 @@ module Stripe def settlement; end # Returns a list of Issuing DisputeSettlementDetail objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -23014,10 +23079,10 @@ module Stripe # # Related guide: [Issuing disputes](https://stripe.com/docs/issuing/purchases/disputes) class Dispute < APIResource - class Evidence < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when order was canceled. sig { returns(T.nilable(Integer)) } @@ -23053,18 +23118,18 @@ module Stripe @field_remappings = {} end end - class Duplicate < Stripe::StripeObject + class Duplicate < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def card_statement; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def cash_receipt; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def check_image; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -23079,9 +23144,9 @@ module Stripe @field_remappings = {} end end - class Fraudulent < Stripe::StripeObject + class Fraudulent < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -23093,9 +23158,9 @@ module Stripe @field_remappings = {} end end - class MerchandiseNotAsDescribed < Stripe::StripeObject + class MerchandiseNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -23119,9 +23184,9 @@ module Stripe @field_remappings = {} end end - class NoValidAuthorization < Stripe::StripeObject + class NoValidAuthorization < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -23133,9 +23198,9 @@ module Stripe @field_remappings = {} end end - class NotReceived < Stripe::StripeObject + class NotReceived < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when the cardholder expected to receive the product. sig { returns(T.nilable(Integer)) } @@ -23156,9 +23221,9 @@ module Stripe @field_remappings = {} end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -23176,9 +23241,9 @@ module Stripe @field_remappings = {} end end - class ServiceNotAsDescribed < Stripe::StripeObject + class ServiceNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when order was canceled. sig { returns(T.nilable(Integer)) } @@ -23242,7 +23307,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [DebitReversal](https://stripe.com/docs/api/treasury/debit_reversals) representing this Issuing dispute sig { returns(T.nilable(String)) } def debit_reversal; end @@ -23260,7 +23325,7 @@ module Stripe sig { returns(Integer) } def amount; end # List of balance transactions associated with the dispute. - sig { returns(T.nilable(T::Array[Stripe::BalanceTransaction])) } + sig { returns(T.nilable(T::Array[::Stripe::BalanceTransaction])) } def balance_transactions; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -23290,38 +23355,38 @@ module Stripe sig { returns(String) } def status; end # The transaction being disputed. - sig { returns(T.any(String, Stripe::Issuing::Transaction)) } + sig { returns(T.any(String, ::Stripe::Issuing::Transaction)) } def transaction; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts sig { returns(T.nilable(Treasury)) } def treasury; end # Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements. sig { - params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def submit(params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.submit(dispute, params = {}, opts = {}); end # Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.update(dispute, params = {}, opts = {}); end end @@ -23336,7 +23401,7 @@ module Stripe sig { returns(Integer) } def amount; end # ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -23358,7 +23423,7 @@ module Stripe def object; end # Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -23369,7 +23434,7 @@ module Stripe module Issuing # A Personalization Design is a logical grouping of a Physical Bundle, card logo, and carrier text that represents a product line. class PersonalizationDesign < APIResource - class CarrierText < Stripe::StripeObject + class CarrierText < ::Stripe::StripeObject # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -23389,7 +23454,7 @@ module Stripe @field_remappings = {} end end - class Preferences < Stripe::StripeObject + class Preferences < ::Stripe::StripeObject # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end @@ -23403,7 +23468,7 @@ module Stripe @field_remappings = {} end end - class RejectionReasons < Stripe::StripeObject + class RejectionReasons < ::Stripe::StripeObject # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end @@ -23418,7 +23483,7 @@ module Stripe end end # The file for the card logo to use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def card_logo; end # Hash containing carrier text, for use with physical bundles that support carrier text. sig { returns(T.nilable(CarrierText)) } @@ -23445,7 +23510,7 @@ module Stripe sig { returns(String) } def object; end # The physical bundle object belonging to this personalization design. - sig { returns(T.any(String, Stripe::Issuing::PhysicalBundle)) } + sig { returns(T.any(String, ::Stripe::Issuing::PhysicalBundle)) } def physical_bundle; end # Attribute for field preferences sig { returns(Preferences) } @@ -23458,19 +23523,19 @@ module Stripe def status; end # Creates a personalization design object. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def self.create(params = {}, opts = {}); end # Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a card personalization object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def self.update(personalization_design, params = {}, opts = {}); end end @@ -23481,7 +23546,7 @@ module Stripe module Issuing # A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card. class PhysicalBundle < APIResource - class Features < Stripe::StripeObject + class Features < ::Stripe::StripeObject # The policy for how to use card logo images in a card design with this physical bundle. sig { returns(String) } def card_logo; end @@ -23521,7 +23586,7 @@ module Stripe def type; end # Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -23532,8 +23597,8 @@ module Stripe module Issuing # An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe. class Token < APIResource - class NetworkData < Stripe::StripeObject - class Device < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject + class Device < ::Stripe::StripeObject # An obfuscated ID derived from the device ID. sig { returns(T.nilable(String)) } def device_fingerprint; end @@ -23559,7 +23624,7 @@ module Stripe @field_remappings = {} end end - class Mastercard < Stripe::StripeObject + class Mastercard < ::Stripe::StripeObject # A unique reference ID from MasterCard to represent the card account number. sig { returns(T.nilable(String)) } def card_reference_id; end @@ -23579,7 +23644,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # A unique reference ID from Visa to represent the card account number. sig { returns(String) } def card_reference_id; end @@ -23599,8 +23664,8 @@ module Stripe @field_remappings = {} end end - class WalletProvider < Stripe::StripeObject - class CardholderAddress < Stripe::StripeObject + class WalletProvider < ::Stripe::StripeObject + class CardholderAddress < ::Stripe::StripeObject # The street address of the cardholder tokenizing the card. sig { returns(String) } def line1; end @@ -23679,7 +23744,7 @@ module Stripe end end # Card associated with this token. - sig { returns(T.any(String, Stripe::Issuing::Card)) } + sig { returns(T.any(String, ::Stripe::Issuing::Card)) } def card; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -23716,13 +23781,13 @@ module Stripe def wallet_provider; end # Lists all Issuing Token objects for a given card. sig { - params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Attempts to update the specified Issuing Token object to the status specified. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def self.update(token, params = {}, opts = {}); end end @@ -23737,7 +23802,7 @@ module Stripe # # Related guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions) class Transaction < APIResource - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -23751,7 +23816,7 @@ module Stripe @field_remappings = {} end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(String) } def category; end @@ -23792,7 +23857,7 @@ module Stripe @field_remappings = {} end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. sig { returns(T.nilable(String)) } def authorization_code; end @@ -23809,9 +23874,9 @@ module Stripe @field_remappings = {} end end - class PurchaseDetails < Stripe::StripeObject - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class PurchaseDetails < ::Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -23834,8 +23899,8 @@ module Stripe @field_remappings = {} end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -23846,7 +23911,7 @@ module Stripe @field_remappings = {} end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -23857,7 +23922,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -23909,8 +23974,8 @@ module Stripe @field_remappings = {} end end - class Flight < Stripe::StripeObject - class Segment < Stripe::StripeObject + class Flight < ::Stripe::StripeObject + class Segment < ::Stripe::StripeObject # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -23958,7 +24023,7 @@ module Stripe @field_remappings = {} end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -23981,7 +24046,7 @@ module Stripe @field_remappings = {} end end - class Lodging < Stripe::StripeObject + class Lodging < ::Stripe::StripeObject # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -23995,7 +24060,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The description of the item. The maximum length of this field is 26 characters. sig { returns(T.nilable(String)) } def description; end @@ -24046,7 +24111,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [ReceivedCredit](https://stripe.com/docs/api/treasury/received_credits) representing this Issuing transaction if it is a refund sig { returns(T.nilable(String)) } def received_credit; end @@ -24067,16 +24132,16 @@ module Stripe sig { returns(T.nilable(AmountDetails)) } def amount_details; end # The `Authorization` object that led to this transaction. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Authorization))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Authorization))) } def authorization; end # ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this transaction. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # The card used to make this transaction. - sig { returns(T.any(String, Stripe::Issuing::Card)) } + sig { returns(T.any(String, ::Stripe::Issuing::Card)) } def card; end # The cardholder to whom this transaction belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Cardholder))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Cardholder))) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -24085,7 +24150,7 @@ module Stripe sig { returns(String) } def currency; end # If you've disputed the transaction, the ID of the dispute. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Dispute))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Dispute))) } def dispute; end # Unique identifier for the object. sig { returns(String) } @@ -24115,10 +24180,10 @@ module Stripe sig { returns(T.nilable(PurchaseDetails)) } def purchase_details; end # The ID of the [settlement](https://stripe.com/docs/api/issuing/settlements) to which this transaction belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Settlement))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Settlement))) } def settlement; end # [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Token))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Token))) } def token; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts sig { returns(T.nilable(Treasury)) } @@ -24131,13 +24196,13 @@ module Stripe def wallet; end # Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def self.update(transaction, params = {}, opts = {}); end end @@ -24147,8 +24212,8 @@ end module Stripe # A Mandate is a record of the permission that your customer gives you to debit their payment method. class Mandate < APIResource - class CustomerAcceptance < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24156,7 +24221,7 @@ module Stripe @field_remappings = {} end end - class Online < Stripe::StripeObject + class Online < ::Stripe::StripeObject # The customer accepts the mandate from this IP address. sig { returns(T.nilable(String)) } def ip_address; end @@ -24189,7 +24254,7 @@ module Stripe @field_remappings = {} end end - class MultiUse < Stripe::StripeObject + class MultiUse < ::Stripe::StripeObject # The amount of the payment on a multi use mandate. sig { returns(T.nilable(Integer)) } def amount; end @@ -24203,8 +24268,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # List of Stripe products where this mandate can be selected automatically. sig { returns(T.nilable(T::Array[String])) } def default_for; end @@ -24224,7 +24289,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24232,7 +24297,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. sig { returns(String) } def url; end @@ -24243,7 +24308,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`. sig { returns(String) } def network_status; end @@ -24263,7 +24328,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24271,7 +24336,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24279,7 +24344,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24287,7 +24352,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24295,7 +24360,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24303,7 +24368,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24311,7 +24376,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24319,7 +24384,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24327,7 +24392,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -24348,7 +24413,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -24377,7 +24442,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -24403,7 +24468,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -24411,7 +24476,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # The unique reference of the mandate. sig { returns(String) } def reference; end @@ -24425,7 +24490,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -24519,7 +24584,7 @@ module Stripe @field_remappings = {} end end - class SingleUse < Stripe::StripeObject + class SingleUse < ::Stripe::StripeObject # The amount of the payment on a single use mandate. sig { returns(Integer) } def amount; end @@ -24552,7 +24617,7 @@ module Stripe sig { returns(T.nilable(String)) } def on_behalf_of; end # ID of the payment method associated with this mandate. - sig { returns(T.any(String, Stripe::PaymentMethod)) } + sig { returns(T.any(String, ::Stripe::PaymentMethod)) } def payment_method; end # Attribute for field payment_method_details sig { returns(PaymentMethodDetails) } @@ -24568,7 +24633,7 @@ module Stripe def type; end # Retrieves a list of Mandates for a given PaymentMethod. sig { - params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -24581,7 +24646,7 @@ module Stripe # # Related guide: [Orders overview](https://stripe.com/docs/orders) class Order < APIResource - class AutomaticTax < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject # Whether Stripe automatically computes tax on this Order. sig { returns(T::Boolean) } def enabled; end @@ -24595,8 +24660,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -24641,9 +24706,9 @@ module Stripe @field_remappings = {} end end - class Payment < Stripe::StripeObject - class Settings < Stripe::StripeObject - class AutomaticPaymentMethods < Stripe::StripeObject + class Payment < ::Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Whether this Order has been opted into managing payment method types via the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). sig { returns(T::Boolean) } def enabled; end @@ -24654,9 +24719,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -24701,7 +24766,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -24724,7 +24789,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -24741,7 +24806,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -24761,7 +24826,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(String) } def capture_method; end @@ -24781,9 +24846,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -24834,7 +24899,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -24851,7 +24916,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -24874,7 +24939,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -24897,7 +24962,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -24917,7 +24982,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -24934,9 +24999,9 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -25015,8 +25080,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -25049,7 +25114,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -25069,7 +25134,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -25160,12 +25225,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end # ID of the Connected account receiving the transfer. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -25210,7 +25275,7 @@ module Stripe end end # ID of the payment intent associated with this order. Null when the order is `open`. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Settings describing how the order should configure generated PaymentIntents. sig { returns(T.nilable(Settings)) } @@ -25225,15 +25290,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -25258,7 +25323,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this order. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -25270,8 +25335,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -25313,8 +25378,8 @@ module Stripe @field_remappings = {} end end - class TaxDetails < Stripe::StripeObject - class TaxId < Stripe::StripeObject + class TaxDetails < ::Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -25341,9 +25406,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -25351,7 +25416,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -25360,14 +25425,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -25421,7 +25486,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # ID of the Connect application that created the Order, if any. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field automatic_tax sig { returns(T.nilable(AutomaticTax)) } @@ -25443,13 +25508,13 @@ module Stripe sig { returns(String) } def currency; end # The customer which this orders belongs to. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the order. Use `expand[]=discounts` to expand each discount. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Discount)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Discount)])) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -25458,7 +25523,7 @@ module Stripe sig { returns(T.nilable(String)) } def ip_address; end # A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost. There is a maximum of 100 line items. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -25489,67 +25554,67 @@ module Stripe def total_details; end # Cancels the order as well as the payment intent if one is attached. sig { - params(params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def cancel(params = {}, opts = {}); end # Cancels the order as well as the payment intent if one is attached. sig { - params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.cancel(id, params = {}, opts = {}); end # Creates a new open order object. sig { - params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.create(params = {}, opts = {}); end # Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first. sig { - params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(id: String, params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(id, params = {}, opts = {}); end # Reopens a submitted order. sig { - params(params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def reopen(params = {}, opts = {}); end # Reopens a submitted order. sig { - params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.reopen(id, params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def submit(params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.submit(id, params = {}, opts = {}); end # Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.update(id, params = {}, opts = {}); end end @@ -25561,7 +25626,7 @@ module Stripe # method. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record # can have guaranteed funds. class PaymentAttemptRecord < APIResource - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25575,7 +25640,7 @@ module Stripe @field_remappings = {} end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25589,7 +25654,7 @@ module Stripe @field_remappings = {} end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25603,7 +25668,7 @@ module Stripe @field_remappings = {} end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25617,7 +25682,7 @@ module Stripe @field_remappings = {} end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25631,7 +25696,7 @@ module Stripe @field_remappings = {} end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25645,7 +25710,7 @@ module Stripe @field_remappings = {} end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -25659,7 +25724,7 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. sig { returns(T.nilable(String)) } def customer; end @@ -25679,8 +25744,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -25700,7 +25765,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -25726,7 +25791,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -25752,7 +25817,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -25769,7 +25834,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -25783,7 +25848,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -25800,8 +25865,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -25825,9 +25890,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -25882,7 +25947,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -25902,7 +25967,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -25922,7 +25987,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -25933,10 +25998,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -25956,7 +26021,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -25967,8 +26032,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -26013,7 +26078,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -26024,7 +26089,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -26035,8 +26100,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -26053,7 +26118,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -26064,7 +26129,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow sig { returns(T.nilable(String)) } def authentication_flow; end @@ -26084,8 +26149,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. sig { returns(String) } def type; end @@ -26096,7 +26161,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26182,8 +26247,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -26197,7 +26262,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -26232,7 +26297,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -26327,7 +26392,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -26344,7 +26409,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -26364,7 +26429,7 @@ module Stripe @field_remappings = {} end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(String) } def display_name; end @@ -26378,7 +26443,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26386,7 +26451,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -26402,7 +26467,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -26419,7 +26484,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -26441,7 +26506,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26449,7 +26514,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -26460,7 +26525,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -26483,7 +26548,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -26491,10 +26556,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -26510,8 +26575,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -26609,7 +26674,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -26623,9 +26688,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -26664,8 +26729,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -26686,7 +26751,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -26706,7 +26771,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -26718,7 +26783,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26726,8 +26791,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -26760,7 +26825,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -26774,7 +26839,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -26788,7 +26853,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -26814,7 +26879,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -26825,7 +26890,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -26844,7 +26909,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26852,7 +26917,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -26866,7 +26931,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -26883,8 +26948,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -26898,7 +26963,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -26924,7 +26989,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -26999,7 +27064,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27007,7 +27072,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -27027,7 +27092,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -27041,7 +27106,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -27052,7 +27117,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27060,7 +27125,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -27068,9 +27136,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -27125,7 +27193,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -27139,7 +27207,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -27150,7 +27218,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -27167,7 +27235,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -27193,7 +27261,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27201,7 +27269,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -27215,10 +27283,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -27238,7 +27306,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27246,7 +27314,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -27260,7 +27328,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -27277,7 +27345,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27285,7 +27353,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type sig { returns(T.nilable(String)) } def account_holder_type; end @@ -27302,7 +27370,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer’s bank. sig { returns(T.nilable(String)) } @@ -27317,7 +27385,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27325,7 +27393,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -27345,7 +27413,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -27635,8 +27703,8 @@ module Stripe @field_remappings = {} end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(T.nilable(String)) } def payment_reference; end @@ -27662,8 +27730,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -27770,7 +27838,7 @@ module Stripe def shipping_details; end # List all the Payment Attempt Records attached to the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -27789,8 +27857,8 @@ module Stripe # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) class PaymentIntent < APIResource - class AmountDetails < Stripe::StripeObject - class Shipping < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -27807,7 +27875,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -27818,7 +27886,7 @@ module Stripe @field_remappings = {} end end - class Tip < Stripe::StripeObject + class Tip < ::Stripe::StripeObject # Portion of the amount that corresponds to a tip. sig { returns(T.nilable(Integer)) } def amount; end @@ -27833,7 +27901,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def discount_amount; end # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Attribute for field shipping sig { returns(T.nilable(Shipping)) } @@ -27851,7 +27919,7 @@ module Stripe @field_remappings = {} end end - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -27867,9 +27935,9 @@ module Stripe @field_remappings = {} end end - class Hooks < Stripe::StripeObject - class Inputs < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Hooks < ::Stripe::StripeObject + class Inputs < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -27900,7 +27968,7 @@ module Stripe @field_remappings = {} end end - class LastPaymentError < Stripe::StripeObject + class LastPaymentError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -27939,14 +28007,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -27975,11 +28043,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -27992,8 +28060,8 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class AlipayHandleRedirect < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class AlipayHandleRedirect < ::Stripe::StripeObject # The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App. sig { returns(T.nilable(String)) } def native_data; end @@ -28013,7 +28081,7 @@ module Stripe @field_remappings = {} end end - class BoletoDisplayDetails < Stripe::StripeObject + class BoletoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the boleto expires. sig { returns(T.nilable(Integer)) } def expires_at; end @@ -28033,7 +28101,7 @@ module Stripe @field_remappings = {} end end - class CardAwaitNotification < Stripe::StripeObject + class CardAwaitNotification < ::Stripe::StripeObject # The time that payment will be attempted. If customer approval is required, they need to provide approval before this time. sig { returns(T.nilable(Integer)) } def charge_attempt_at; end @@ -28047,8 +28115,8 @@ module Stripe @field_remappings = {} end end - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. sig { returns(Integer) } def expires_at; end @@ -28081,10 +28149,10 @@ module Stripe @field_remappings = {} end end - class DisplayBankTransferInstructions < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class DisplayBankTransferInstructions < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28110,7 +28178,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28167,8 +28235,8 @@ module Stripe @field_remappings = {} end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28194,7 +28262,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28248,8 +28316,8 @@ module Stripe @field_remappings = {} end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28275,7 +28343,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28326,8 +28394,8 @@ module Stripe @field_remappings = {} end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28353,7 +28421,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28407,8 +28475,8 @@ module Stripe @field_remappings = {} end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28434,7 +28502,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28491,8 +28559,8 @@ module Stripe @field_remappings = {} end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28518,7 +28586,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -28644,9 +28712,9 @@ module Stripe @field_remappings = {} end end - class KonbiniDisplayDetails < Stripe::StripeObject - class Stores < Stripe::StripeObject - class Familymart < Stripe::StripeObject + class KonbiniDisplayDetails < ::Stripe::StripeObject + class Stores < ::Stripe::StripeObject + class Familymart < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -28660,7 +28728,7 @@ module Stripe @field_remappings = {} end end - class Lawson < Stripe::StripeObject + class Lawson < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -28674,7 +28742,7 @@ module Stripe @field_remappings = {} end end - class Ministop < Stripe::StripeObject + class Ministop < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -28688,7 +28756,7 @@ module Stripe @field_remappings = {} end end - class Seicomart < Stripe::StripeObject + class Seicomart < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -28742,7 +28810,7 @@ module Stripe @field_remappings = {} end end - class MultibancoDisplayDetails < Stripe::StripeObject + class MultibancoDisplayDetails < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -28762,7 +28830,7 @@ module Stripe @field_remappings = {} end end - class OxxoDisplayDetails < Stripe::StripeObject + class OxxoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the OXXO voucher expires. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -28779,7 +28847,7 @@ module Stripe @field_remappings = {} end end - class PaynowDisplayQrCode < Stripe::StripeObject + class PaynowDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -28799,7 +28867,7 @@ module Stripe @field_remappings = {} end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(T.nilable(String)) } def data; end @@ -28822,7 +28890,7 @@ module Stripe @field_remappings = {} end end - class PromptpayDisplayQrCode < Stripe::StripeObject + class PromptpayDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -28842,7 +28910,7 @@ module Stripe @field_remappings = {} end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -28856,8 +28924,8 @@ module Stripe @field_remappings = {} end end - class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -28890,7 +28958,7 @@ module Stripe @field_remappings = {} end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. sig { returns(Integer) } def arrival_date; end @@ -28907,7 +28975,7 @@ module Stripe @field_remappings = {} end end - class WechatPayDisplayQrCode < Stripe::StripeObject + class WechatPayDisplayQrCode < ::Stripe::StripeObject # The data being used to generate QR code sig { returns(String) } def data; end @@ -28930,7 +28998,7 @@ module Stripe @field_remappings = {} end end - class WechatPayRedirectToAndroidApp < Stripe::StripeObject + class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject # app_id is the APP ID registered on WeChat open platform sig { returns(String) } def app_id; end @@ -28959,7 +29027,7 @@ module Stripe @field_remappings = {} end end - class WechatPayRedirectToIosApp < Stripe::StripeObject + class WechatPayRedirectToIosApp < ::Stripe::StripeObject # An universal link that redirect to WeChat Pay app sig { returns(String) } def native_url; end @@ -29052,9 +29120,9 @@ module Stripe @field_remappings = {} end end - class PaymentDetails < Stripe::StripeObject - class CarRental < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class CarRental < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -29065,8 +29133,8 @@ module Stripe @field_remappings = {} end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -29096,7 +29164,7 @@ module Stripe @field_remappings = {} end end - class Distance < Stripe::StripeObject + class Distance < ::Stripe::StripeObject # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -29110,7 +29178,7 @@ module Stripe @field_remappings = {} end end - class Driver < Stripe::StripeObject + class Driver < ::Stripe::StripeObject # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -29127,7 +29195,7 @@ module Stripe @field_remappings = {} end end - class PickupAddress < Stripe::StripeObject + class PickupAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -29153,7 +29221,7 @@ module Stripe @field_remappings = {} end end - class ReturnAddress < Stripe::StripeObject + class ReturnAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -29265,8 +29333,8 @@ module Stripe @field_remappings = {} end end - class EventDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class EventDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -29292,7 +29360,7 @@ module Stripe @field_remappings = {} end end - class Affiliate < Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -29303,8 +29371,8 @@ module Stripe @field_remappings = {} end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -29368,8 +29436,8 @@ module Stripe @field_remappings = {} end end - class Subscription < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class Subscription < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -29380,7 +29448,7 @@ module Stripe @field_remappings = {} end end - class BillingInterval < Stripe::StripeObject + class BillingInterval < ::Stripe::StripeObject # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(T.nilable(Integer)) } def count; end @@ -29445,7 +29513,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -29459,9 +29527,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -29506,7 +29574,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29529,7 +29597,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29553,7 +29621,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -29570,7 +29638,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29581,7 +29649,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29601,7 +29669,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -29621,8 +29689,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -29655,7 +29723,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -29675,7 +29743,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29686,7 +29754,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -29703,7 +29771,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(Integer) } def expires_after_days; end @@ -29723,9 +29791,9 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class AvailablePlan < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class AvailablePlan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -29743,7 +29811,7 @@ module Stripe @field_remappings = {} end end - class Plan < Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -29777,7 +29845,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -29812,8 +29880,8 @@ module Stripe @field_remappings = {} end end - class StatementDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class StatementDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -29919,8 +29987,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Routing < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Routing < ::Stripe::StripeObject # Requested routing priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -29947,7 +30015,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -29967,7 +30035,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -29984,9 +30052,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -30037,7 +30105,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30054,7 +30122,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30071,7 +30139,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30088,7 +30156,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30105,7 +30173,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30122,7 +30190,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -30145,7 +30213,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30162,7 +30230,7 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -30170,7 +30238,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30190,7 +30258,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30213,7 +30281,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -30242,7 +30310,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30262,7 +30330,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30285,7 +30353,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30302,7 +30370,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30322,7 +30390,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30339,7 +30407,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30359,7 +30427,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30379,7 +30447,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -30399,7 +30467,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30416,7 +30484,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -30424,7 +30492,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30435,7 +30503,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30452,9 +30520,9 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -30533,7 +30601,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -30541,8 +30609,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -30587,8 +30655,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -30648,7 +30716,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30665,7 +30733,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30682,7 +30750,7 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -30690,7 +30758,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30710,7 +30778,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30721,7 +30789,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -30732,8 +30800,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -30766,7 +30834,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30783,7 +30851,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -30803,7 +30871,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30820,7 +30888,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -30840,7 +30908,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -30857,9 +30925,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -30873,7 +30941,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -30906,7 +30974,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -30951,7 +31019,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -30974,7 +31042,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -31235,7 +31303,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -31249,9 +31317,9 @@ module Stripe @field_remappings = {} end end - class Processing < Stripe::StripeObject - class Card < Stripe::StripeObject - class CustomerNotification < Stripe::StripeObject + class Processing < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class CustomerNotification < ::Stripe::StripeObject # Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank. sig { returns(T.nilable(T::Boolean)) } def approval_requested; end @@ -31288,8 +31356,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -31337,14 +31405,14 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. # The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer # representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). sig { returns(T.nilable(Integer)) } def amount; end # The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -31366,7 +31434,7 @@ module Stripe sig { returns(Integer) } def amount_received; end # ID of the Connect application that created the PaymentIntent. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). sig { returns(T.nilable(Integer)) } @@ -31404,7 +31472,7 @@ module Stripe # Payment methods attached to other Customers cannot be used with this PaymentIntent. # # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the Account this PaymentIntent belongs to, if one exists. # @@ -31432,7 +31500,7 @@ module Stripe sig { returns(T.nilable(LastPaymentError)) } def last_payment_error; end # ID of the latest [Charge object](https://stripe.com/docs/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def latest_charge; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -31447,13 +31515,13 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # Attribute for field payment_details sig { returns(T.nilable(PaymentDetails)) } def payment_details; end # ID of the payment method used in this PaymentIntent. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def payment_method; end # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent. sig { returns(T.nilable(PaymentMethodConfigurationDetails)) } @@ -31474,7 +31542,7 @@ module Stripe sig { returns(T.nilable(String)) } def receipt_email; end # ID of the review associated with this PaymentIntent, if any. - sig { returns(T.nilable(T.any(String, Stripe::Review))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Review))) } def review; end # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`. sig { returns(T.nilable(String)) } @@ -31493,7 +31561,7 @@ module Stripe def shipping; end # This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def source; end # Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). @@ -31515,13 +31583,13 @@ module Stripe def transfer_group; end # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def apply_customer_balance(params = {}, opts = {}); end # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.apply_customer_balance(intent, params = {}, opts = {}); end @@ -31531,7 +31599,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def cancel(params = {}, opts = {}); end @@ -31541,7 +31609,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.cancel(intent, params = {}, opts = {}); end @@ -31551,7 +31619,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def capture(params = {}, opts = {}); end @@ -31561,7 +31629,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.capture(intent, params = {}, opts = {}); end @@ -31596,7 +31664,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def confirm(params = {}, opts = {}); end @@ -31631,7 +31699,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.confirm(intent, params = {}, opts = {}); end @@ -31646,7 +31714,7 @@ module Stripe # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply # confirm=true. sig { - params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.create(params = {}, opts = {}); end @@ -31667,7 +31735,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def decrement_authorization(params = {}, opts = {}); end @@ -31688,7 +31756,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.decrement_authorization(intent, params = {}, opts = {}); end @@ -31717,7 +31785,7 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def increment_authorization(params = {}, opts = {}); end @@ -31746,35 +31814,35 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.increment_authorization(intent, params = {}, opts = {}); end # Returns a list of PaymentIntents. sig { - params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Trigger an external action on a PaymentIntent. sig { - params(params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def trigger_action(params = {}, opts = {}); end # Trigger an external action on a PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.trigger_action(intent, params = {}, opts = {}); end @@ -31786,19 +31854,19 @@ module Stripe # update and confirm at the same time, we recommend updating properties through # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.update(intent, params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def verify_microdeposits(params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.verify_microdeposits(intent, params = {}, opts = {}); end end @@ -31806,8 +31874,8 @@ end # typed: true module Stripe class PaymentIntentAmountDetailsLineItem < APIResource - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field commodity_code sig { returns(T.nilable(String)) } def commodity_code; end @@ -31818,7 +31886,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field commodity_code sig { returns(T.nilable(String)) } def commodity_code; end @@ -31829,7 +31897,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field image_url sig { returns(T.nilable(String)) } def image_url; end @@ -31843,7 +31911,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -31879,7 +31947,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -31930,8 +31998,8 @@ module Stripe # # Related guide: [Payment Links API](https://stripe.com/docs/payment-links) class PaymentLink < APIResource - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # The custom message that is displayed to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -31942,7 +32010,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the purchase is complete. sig { returns(String) } def url; end @@ -31969,10 +32037,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -31997,8 +32065,8 @@ module Stripe @field_remappings = {} end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -32027,9 +32095,9 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -32056,7 +32124,7 @@ module Stripe @field_remappings = {} end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(T.nilable(String)) } def custom; end @@ -32070,7 +32138,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -32087,7 +32155,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -32132,8 +32200,8 @@ module Stripe @field_remappings = {} end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -32144,7 +32212,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -32155,7 +32223,7 @@ module Stripe @field_remappings = {} end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -32166,7 +32234,7 @@ module Stripe @field_remappings = {} end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -32201,9 +32269,9 @@ module Stripe @field_remappings = {} end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -32217,9 +32285,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -32231,7 +32299,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -32246,7 +32314,7 @@ module Stripe end end # The account tax IDs associated with the invoice. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # A list of up to 4 custom fields to be displayed on the invoice. sig { returns(T.nilable(T::Array[CustomField])) } @@ -32290,8 +32358,50 @@ module Stripe @field_remappings = {} end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject + # Indicates whether business name collection is enabled for the payment link. + sig { returns(T::Boolean) } + def enabled; end + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + sig { returns(T::Boolean) } + def optional; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Individual < ::Stripe::StripeObject + # Indicates whether individual name collection is enabled for the payment link. + sig { returns(T::Boolean) } + def enabled; end + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + sig { returns(T::Boolean) } + def optional; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Attribute for field business + sig { returns(T.nilable(Business)) } + def business; end + # Attribute for field individual + sig { returns(T.nilable(Individual)) } + def individual; end + def self.inner_class_types + @inner_class_types = {business: Business, individual: Individual} + end + def self.field_remappings + @field_remappings = {} + end + end + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -32324,7 +32434,7 @@ module Stripe @field_remappings = {} end end - class PaymentIntentData < Stripe::StripeObject + class PaymentIntentData < ::Stripe::StripeObject # Indicates when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -32353,7 +32463,7 @@ module Stripe @field_remappings = {} end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # If `true`, a phone number will be collected during checkout. sig { returns(T::Boolean) } def enabled; end @@ -32364,8 +32474,8 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject - class CompletedSessions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CompletedSessions < ::Stripe::StripeObject # The current number of checkout sessions that have been completed on the payment link which count towards the `completed_sessions` restriction to be met. sig { returns(Integer) } def count; end @@ -32389,7 +32499,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. sig { returns(T::Array[String]) } def allowed_countries; end @@ -32400,12 +32510,12 @@ module Stripe @field_remappings = {} end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def shipping_amount; end # The ID of the Shipping Rate to use for this shipping option. - sig { returns(T.any(String, Stripe::ShippingRate)) } + sig { returns(T.any(String, ::Stripe::ShippingRate)) } def shipping_rate; end def self.inner_class_types @inner_class_types = {} @@ -32414,11 +32524,11 @@ module Stripe @field_remappings = {} end end - class SubscriptionData < Stripe::StripeObject - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -32440,8 +32550,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -32484,7 +32594,7 @@ module Stripe @field_remappings = {} end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session. sig { returns(T::Boolean) } def enabled; end @@ -32498,12 +32608,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Integer)) } def amount; end # The connected account receiving the transfer. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -32522,7 +32632,7 @@ module Stripe sig { returns(T::Boolean) } def allow_promotion_codes; end # The ID of the Connect application that created the Payment Link. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. sig { returns(T.nilable(Integer)) } @@ -32561,7 +32671,7 @@ module Stripe sig { returns(T.nilable(InvoiceCreation)) } def invoice_creation; end # The line items representing what is being sold. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -32569,11 +32679,14 @@ module Stripe # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T::Hash[String, String]) } def metadata; end + # Attribute for field name_collection + sig { returns(T.nilable(NameCollection)) } + def name_collection; end # String representing the object's type. Objects of the same type share the same value. sig { returns(String) } def object; end # The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The optional items presented to the customer at checkout. sig { returns(T.nilable(T::Array[OptionalItem])) } @@ -32616,31 +32729,31 @@ module Stripe def url; end # Creates a payment link. sig { - params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def self.create(params = {}, opts = {}); end # Returns a list of your payment links. sig { - params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(payment_link, params = {}, opts = {}); end # Updates a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def self.update(payment_link, params = {}, opts = {}); end end @@ -32662,8 +32775,39 @@ module Stripe # - [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs) # - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations) class PaymentMethodConfiguration < APIResource - class AcssDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + sig { returns(T.nilable(T::Boolean)) } + def overridable; end + # The account's display preference. + sig { returns(String) } + def preference; end + # The effective display preference value. + sig { returns(String) } + def value; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + sig { returns(T::Boolean) } + def available; end + # Attribute for field display_preference + sig { returns(DisplayPreference) } + def display_preference; end + def self.inner_class_types + @inner_class_types = {display_preference: DisplayPreference} + end + def self.field_remappings + @field_remappings = {} + end + end + class Affirm < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32693,8 +32837,8 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32724,8 +32868,8 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32755,8 +32899,8 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32786,8 +32930,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32817,8 +32961,8 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32848,8 +32992,8 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32879,8 +33023,8 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32910,8 +33054,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32941,8 +33085,8 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Billie < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -32972,8 +33116,8 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Blik < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33003,8 +33147,8 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33034,8 +33178,8 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33065,8 +33209,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CartesBancaires < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33096,8 +33240,8 @@ module Stripe @field_remappings = {} end end - class CartesBancaires < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33127,8 +33271,8 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33158,8 +33302,8 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33189,8 +33333,8 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Eps < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33220,8 +33364,8 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33251,8 +33395,8 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33282,8 +33426,8 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33313,8 +33457,8 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33344,8 +33488,8 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33375,8 +33519,8 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33406,8 +33550,8 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33437,8 +33581,8 @@ module Stripe @field_remappings = {} end end - class Jcb < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Jcb < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33468,8 +33612,8 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33499,8 +33643,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33530,8 +33674,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33561,8 +33705,8 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33592,8 +33736,8 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33623,8 +33767,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33654,8 +33798,8 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33685,8 +33829,8 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33716,8 +33860,8 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33747,8 +33891,8 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33778,8 +33922,8 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33809,8 +33953,8 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class P24 < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33840,8 +33984,8 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33871,8 +34015,8 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33902,8 +34046,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33933,8 +34077,8 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33964,8 +34108,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -33995,8 +34139,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34026,8 +34170,8 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34057,8 +34201,8 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34088,8 +34232,8 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Qris < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34119,8 +34263,8 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34150,8 +34294,8 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34181,8 +34325,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34212,8 +34356,8 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34243,8 +34387,8 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34274,8 +34418,8 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34305,8 +34449,8 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Swish < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34336,8 +34480,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34367,8 +34511,8 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34398,8 +34542,39 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + sig { returns(T.nilable(T::Boolean)) } + def overridable; end + # The account's display preference. + sig { returns(String) } + def preference; end + # The effective display preference value. + sig { returns(String) } + def value; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + sig { returns(T::Boolean) } + def available; end + # Attribute for field display_preference + sig { returns(DisplayPreference) } + def display_preference; end + def self.inner_class_types + @inner_class_types = {display_preference: DisplayPreference} + end + def self.field_remappings + @field_remappings = {} + end + end + class Zip < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -34483,6 +34658,9 @@ module Stripe # Attribute for field cashapp sig { returns(T.nilable(Cashapp)) } def cashapp; end + # Attribute for field crypto + sig { returns(T.nilable(Crypto)) } + def crypto; end # Attribute for field customer_balance sig { returns(T.nilable(CustomerBalance)) } def customer_balance; end @@ -34537,6 +34715,9 @@ module Stripe # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end + # Attribute for field mb_way + sig { returns(T.nilable(MbWay)) } + def mb_way; end # Attribute for field mobilepay sig { returns(T.nilable(Mobilepay)) } def mobilepay; end @@ -34626,19 +34807,19 @@ module Stripe def zip; end # Creates a payment method configuration sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def self.create(params = {}, opts = {}); end # List payment method configurations sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def self.update(configuration, params = {}, opts = {}); end end @@ -34650,8 +34831,8 @@ module Stripe # # Related guide: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration). class PaymentMethodDomain < APIResource - class AmazonPay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34675,8 +34856,8 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34700,8 +34881,8 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34725,8 +34906,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34750,8 +34931,8 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34775,8 +34956,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -34838,19 +35019,19 @@ module Stripe def paypal; end # Creates a payment method domain. sig { - params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.create(params = {}, opts = {}); end # Lists the details of existing payment method domains. sig { - params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.update(payment_method_domain, params = {}, opts = {}); end @@ -34861,7 +35042,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def validate(params = {}, opts = {}); end @@ -34872,7 +35053,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.validate(payment_method_domain, params = {}, opts = {}); end end @@ -34885,7 +35066,7 @@ module Stripe # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). class PaymentMethod < APIResource - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -34911,7 +35092,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34919,7 +35100,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34927,7 +35108,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34935,7 +35116,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34943,7 +35124,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34951,7 +35132,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -34968,7 +35149,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -34985,7 +35166,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34993,7 +35174,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35001,8 +35182,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35050,7 +35231,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35058,7 +35239,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) sig { returns(String) } def tax_id; end @@ -35069,8 +35250,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -35087,10 +35268,10 @@ module Stripe @field_remappings = {} end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -35104,7 +35285,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -35139,7 +35320,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -35254,7 +35435,7 @@ module Stripe sig { returns(T.nilable(PaymentMethodDetails)) } def payment_method_details; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {payment_method_details: PaymentMethodDetails} @@ -35263,7 +35444,7 @@ module Stripe @field_remappings = {} end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -35277,7 +35458,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. sig { returns(T::Boolean) } def supported; end @@ -35288,8 +35469,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35297,7 +35478,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35305,7 +35486,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35313,7 +35494,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35321,8 +35502,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35348,7 +35529,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35396,7 +35577,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35404,8 +35585,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35431,7 +35612,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35587,8 +35768,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -35602,7 +35783,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -35616,7 +35797,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -35687,7 +35868,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -35701,7 +35882,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35709,7 +35890,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35717,7 +35898,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -35728,7 +35909,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -35742,7 +35923,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35750,7 +35931,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35758,7 +35939,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35766,7 +35947,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -35786,7 +35967,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -35800,8 +35981,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -35866,7 +36047,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35874,8 +36055,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -35902,7 +36083,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35910,7 +36091,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -35924,7 +36105,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. sig { returns(T.nilable(String)) } def email; end @@ -35938,7 +36119,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35946,7 +36127,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35954,7 +36135,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -35962,7 +36143,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -35976,7 +36157,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -36002,7 +36183,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36010,7 +36191,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. sig { returns(T.nilable(String)) } def bank; end @@ -36021,7 +36202,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36029,7 +36210,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36037,7 +36218,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36045,7 +36226,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. sig { returns(T.nilable(String)) } def country; end @@ -36070,7 +36251,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36078,7 +36259,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -36095,7 +36276,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36103,7 +36284,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36111,7 +36292,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36119,7 +36300,7 @@ module Stripe @field_remappings = {} end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -36130,8 +36311,8 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -36158,7 +36339,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36166,7 +36347,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36174,7 +36355,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36182,13 +36363,13 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {} @@ -36222,7 +36403,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36230,7 +36411,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. sig { returns(T.nilable(String)) } def country; end @@ -36241,7 +36422,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -36255,7 +36436,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36263,7 +36444,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36271,8 +36452,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. sig { returns(T.nilable(String)) } def preferred; end @@ -36286,8 +36467,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. sig { returns(T.nilable(String)) } def network_code; end @@ -36348,7 +36529,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36356,7 +36537,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -36422,7 +36603,7 @@ module Stripe sig { returns(T.nilable(Crypto)) } def crypto; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -36470,7 +36651,7 @@ module Stripe sig { returns(T.nilable(KrCard)) } def kr_card; end # The Mandate object of the most recently created Mandate associated with this payment method - sig { returns(T.nilable(Stripe::Mandate)) } + sig { returns(T.nilable(::Stripe::Mandate)) } def latest_active_mandate; end # Attribute for field link sig { returns(T.nilable(Link)) } @@ -36591,7 +36772,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def attach(params = {}, opts = {}); end @@ -36609,7 +36790,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.attach(payment_method, params = {}, opts = {}); end @@ -36617,31 +36798,31 @@ module Stripe # # Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment. sig { - params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.create(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def detach(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.detach(payment_method, params = {}, opts = {}); end # Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer_list) API instead. sig { - params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.update(payment_method, params = {}, opts = {}); end end @@ -36653,7 +36834,7 @@ module Stripe # in order to mark an Invoice as paid and a Subscription as active. Payment Records consist of one or # more Payment Attempt Records, which represent individual attempts made on a payment network. class PaymentRecord < APIResource - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36667,7 +36848,7 @@ module Stripe @field_remappings = {} end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36681,7 +36862,7 @@ module Stripe @field_remappings = {} end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36695,7 +36876,7 @@ module Stripe @field_remappings = {} end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36709,7 +36890,7 @@ module Stripe @field_remappings = {} end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36723,7 +36904,7 @@ module Stripe @field_remappings = {} end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36737,7 +36918,7 @@ module Stripe @field_remappings = {} end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36751,7 +36932,7 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. sig { returns(T.nilable(String)) } def customer; end @@ -36771,8 +36952,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -36792,7 +36973,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -36818,7 +36999,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -36844,7 +37025,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -36861,7 +37042,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -36875,7 +37056,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -36892,8 +37073,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -36917,9 +37098,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -36974,7 +37155,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -36994,7 +37175,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -37014,7 +37195,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -37025,10 +37206,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -37048,7 +37229,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -37059,8 +37240,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -37105,7 +37286,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -37116,7 +37297,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -37127,8 +37308,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -37145,7 +37326,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -37156,7 +37337,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow sig { returns(T.nilable(String)) } def authentication_flow; end @@ -37176,8 +37357,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. sig { returns(String) } def type; end @@ -37188,7 +37369,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -37274,8 +37455,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -37289,7 +37470,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -37324,7 +37505,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -37419,7 +37600,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -37436,7 +37617,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -37456,7 +37637,7 @@ module Stripe @field_remappings = {} end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(String) } def display_name; end @@ -37470,7 +37651,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -37478,7 +37659,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -37494,7 +37675,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -37511,7 +37692,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -37533,7 +37714,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -37541,7 +37722,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -37552,7 +37733,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -37575,7 +37756,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -37583,10 +37764,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -37602,8 +37783,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -37701,7 +37882,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -37715,9 +37896,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -37756,8 +37937,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -37778,7 +37959,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -37798,7 +37979,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -37810,7 +37991,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -37818,8 +37999,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -37852,7 +38033,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -37866,7 +38047,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -37880,7 +38061,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -37906,7 +38087,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -37917,7 +38098,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -37936,7 +38117,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -37944,7 +38125,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -37958,7 +38139,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -37975,8 +38156,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -37990,7 +38171,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -38016,7 +38197,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -38091,7 +38272,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38099,7 +38280,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -38119,7 +38300,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -38133,7 +38314,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -38144,7 +38325,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38152,7 +38333,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -38160,9 +38344,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -38217,7 +38401,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -38231,7 +38415,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -38242,7 +38426,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -38259,7 +38443,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -38285,7 +38469,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38293,7 +38477,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -38307,10 +38491,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -38330,7 +38514,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38338,7 +38522,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -38352,7 +38536,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -38369,7 +38553,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38377,7 +38561,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type sig { returns(T.nilable(String)) } def account_holder_type; end @@ -38394,7 +38578,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer’s bank. sig { returns(T.nilable(String)) } @@ -38409,7 +38593,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38417,7 +38601,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -38437,7 +38621,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -38727,8 +38911,8 @@ module Stripe @field_remappings = {} end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(T.nilable(String)) } def payment_reference; end @@ -38754,8 +38938,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -38861,77 +39045,91 @@ module Stripe # initialized and later report updates through the other report_* methods, or report Payment # Records in a terminal state directly, through this method. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_canceled(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_canceled(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_failed(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_failed(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_guaranteed(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_guaranteed(id, params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_informational(params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_informational(id, params = {}, opts = {}); end + + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def report_refund(params = {}, opts = {}); end + + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(id: String, params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def self.report_refund(id, params = {}, opts = {}); end end end # typed: true @@ -38945,7 +39143,7 @@ module Stripe # # Related guide: [Receiving payouts](https://stripe.com/docs/payouts) class Payout < APIResource - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. When `payout.status` is `pending` or `in_transit`, this will be `pending`. When the payout transitions to `paid`, `failed`, or `canceled`, this status will become `supported` or `unsupported` shortly after in most cases. In some cases, this may appear as `pending` for up to 10 days after `arrival_date` until transitioning to `supported` or `unsupported`. sig { returns(String) } def status; end @@ -38963,7 +39161,7 @@ module Stripe sig { returns(Integer) } def amount; end # The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. - sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ApplicationFee))) } def application_fee; end # The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. sig { returns(T.nilable(Integer)) } @@ -38975,7 +39173,7 @@ module Stripe sig { returns(T::Boolean) } def automatic; end # ID of the balance transaction that describes the impact of this payout on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -38987,10 +39185,10 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # ID of the bank account or card the payout is sent to. - sig { returns(T.nilable(T.any(String, T.any(Stripe::BankAccount, Stripe::Card)))) } + sig { returns(T.nilable(T.any(String, T.any(::Stripe::BankAccount, ::Stripe::Card)))) } def destination; end # If the payout fails or cancels, this is the ID of the balance transaction that reverses the initial balance transaction and returns the funds from the failed payout back in your balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://stripe.com/docs/api#payout_failures). sig { returns(T.nilable(String)) } @@ -39014,7 +39212,7 @@ module Stripe sig { returns(String) } def object; end # If the payout reverses another, this is the ID of the original payout. - sig { returns(T.nilable(T.any(String, Stripe::Payout))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Payout))) } def original_payout; end # ID of the v2 FinancialAccount the funds are sent to. sig { returns(T.nilable(String)) } @@ -39023,7 +39221,7 @@ module Stripe sig { returns(String) } def reconciliation_status; end # If the payout reverses, this is the ID of the payout that reverses this payout. - sig { returns(T.nilable(T.any(String, Stripe::Payout))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Payout))) } def reversed_by; end # The source balance this payout came from, which can be one of the following: `card`, `fpx`, or `bank_account`. sig { returns(String) } @@ -39042,13 +39240,13 @@ module Stripe def type; end # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def cancel(params = {}, opts = {}); end # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.cancel(payout, params = {}, opts = {}); end @@ -39058,35 +39256,35 @@ module Stripe # # If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://docs.stripe.com/api#balance_object) details available and pending amounts by source type. sig { - params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.create(params = {}, opts = {}); end # Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first. sig { - params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def reverse(params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.reverse(payout, params = {}, opts = {}); end # Updates the specified payout by setting the values of the parameters you pass. We don't change parameters that you don't provide. This request only accepts the metadata as arguments. sig { - params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.update(payout, params = {}, opts = {}); end end @@ -39102,7 +39300,7 @@ module Stripe # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview). class Plan < APIResource - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -39125,7 +39323,7 @@ module Stripe @field_remappings = {} end end - class TransformUsage < Stripe::StripeObject + class TransformUsage < ::Stripe::StripeObject # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -39182,7 +39380,7 @@ module Stripe sig { returns(String) } def object; end # The product whose pricing this plan determines. - sig { returns(T.nilable(T.any(String, Stripe::Product))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Product))) } def product; end # Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. sig { returns(T.nilable(T::Array[Tier])) } @@ -39204,31 +39402,31 @@ module Stripe def deleted; end # You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. sig { - params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.create(params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.delete(plan, params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def delete(params = {}, opts = {}); end # Returns a list of your plans. sig { - params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle. sig { - params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.update(plan, params = {}, opts = {}); end end @@ -39242,8 +39440,8 @@ module Stripe # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview). class Price < APIResource - class CurrencyOptions < Stripe::StripeObject - class CustomUnitAmount < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. sig { returns(T.nilable(Integer)) } def maximum; end @@ -39260,7 +39458,7 @@ module Stripe @field_remappings = {} end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -39305,7 +39503,7 @@ module Stripe @field_remappings = {} end end - class CustomUnitAmount < Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. sig { returns(T.nilable(Integer)) } def maximum; end @@ -39322,7 +39520,7 @@ module Stripe @field_remappings = {} end end - class MigrateTo < Stripe::StripeObject + class MigrateTo < ::Stripe::StripeObject # The behavior controlling at what point in the subscription lifecycle to migrate the price sig { returns(String) } def behavior; end @@ -39339,7 +39537,7 @@ module Stripe @field_remappings = {} end end - class Recurring < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject # The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -39362,7 +39560,7 @@ module Stripe @field_remappings = {} end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -39385,7 +39583,7 @@ module Stripe @field_remappings = {} end end - class TransformQuantity < Stripe::StripeObject + class TransformQuantity < ::Stripe::StripeObject # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -39439,7 +39637,7 @@ module Stripe sig { returns(String) } def object; end # The ID of the product this price is associated with. - sig { returns(T.any(String, Stripe::Product)) } + sig { returns(T.any(String, ::Stripe::Product)) } def product; end # The recurring components of a price such as `interval` and `usage_type`. sig { returns(T.nilable(Recurring)) } @@ -39470,29 +39668,29 @@ module Stripe def deleted; end # Creates a new [Price for an existing Product](https://docs.stripe.com/api/prices). The Price can be recurring or one-time. sig { - params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def self.create(params = {}, opts = {}); end # Returns a list of your active prices, excluding [inline prices](https://docs.stripe.com/docs/products-prices/pricing-models#inline-pricing). For the list of inactive prices, set active to false. sig { - params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged. sig { - params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def self.update(price, params = {}, opts = {}); end end @@ -39505,7 +39703,7 @@ module Stripe # objects, making them permanently inaccessible in the Stripe Dashboard # and API. class RedactionJob < APIResource - class Objects < Stripe::StripeObject + class Objects < ::Stripe::StripeObject # Charge object identifiers usually starting with `ch_` sig { returns(T.nilable(T::Array[String])) } def charges; end @@ -39565,7 +39763,7 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def cancel(params = {}, opts = {}); end @@ -39573,19 +39771,19 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.cancel(job, params = {}, opts = {}); end # Creates a redaction job. When a job is created, it will start to validate. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.create(params = {}, opts = {}); end # Returns a list of redaction jobs. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -39595,7 +39793,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def run(params = {}, opts = {}); end @@ -39605,7 +39803,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.run(job, params = {}, opts = {}); end @@ -39613,7 +39811,7 @@ module Stripe # # If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.update(job, params = {}, opts = {}); end @@ -39623,7 +39821,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def validate(params = {}, opts = {}); end @@ -39633,7 +39831,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.validate(job, params = {}, opts = {}); end end @@ -39646,7 +39844,7 @@ module Stripe # errors that affect the ability to redact a specific object in a # redaction job. class RedactionJobValidationError < APIResource - class ErroringObject < Stripe::StripeObject + class ErroringObject < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -39689,7 +39887,7 @@ module Stripe # [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront), # and more about [Products and Prices](https://stripe.com/docs/products-prices/overview) class Product < APIResource - class MarketingFeature < Stripe::StripeObject + class MarketingFeature < ::Stripe::StripeObject # The marketing feature name. Up to 80 characters long. sig { returns(T.nilable(String)) } def name; end @@ -39700,7 +39898,7 @@ module Stripe @field_remappings = {} end end - class PackageDimensions < Stripe::StripeObject + class PackageDimensions < ::Stripe::StripeObject # Height, in inches. sig { returns(Float) } def height; end @@ -39727,7 +39925,7 @@ module Stripe sig { returns(Integer) } def created; end # The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product. - sig { returns(T.nilable(T.any(String, Stripe::Price))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Price))) } def default_price; end # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } @@ -39763,7 +39961,7 @@ module Stripe sig { returns(T.nilable(String)) } def statement_descriptor; end # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. - sig { returns(T.nilable(T.any(String, Stripe::TaxCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TaxCode))) } def tax_code; end # The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans. sig { returns(String) } @@ -39782,41 +39980,41 @@ module Stripe def deleted; end # Creates a new product object. sig { - params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.create(params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.delete(id, params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def delete(params = {}, opts = {}); end # Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first. sig { - params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.update(id, params = {}, opts = {}); end end @@ -39828,7 +40026,7 @@ module Stripe class ProductFeature < APIResource # A feature represents a monetizable ability or functionality in your system. # Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer. - sig { returns(Stripe::Entitlements::Feature) } + sig { returns(::Stripe::Entitlements::Feature) } def entitlement_feature; end # Unique identifier for the object. sig { returns(String) } @@ -39852,9 +40050,9 @@ module Stripe # If you enable promotion codes in your [customer portal configuration](https://stripe.com/docs/customer-management/configure-portal), then customers can redeem a code themselves when updating a subscription in the portal. # Customers can also view the currently active promotion codes and coupons on each of their subscriptions in the portal. class PromotionCode < APIResource - class Promotion < Stripe::StripeObject + class Promotion < ::Stripe::StripeObject # If promotion `type` is `coupon`, the coupon for this promotion. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # The type of promotion. sig { returns(String) } @@ -39866,8 +40064,8 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(Integer) } def minimum_amount; end @@ -39907,7 +40105,7 @@ module Stripe sig { returns(Integer) } def created; end # The customer that this promotion code can be used by. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account that this promotion code can be used by. sig { returns(T.nilable(String)) } @@ -39941,19 +40139,19 @@ module Stripe def times_redeemed; end # A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer, redemption limit, and expiration date. sig { - params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def self.create(params = {}, opts = {}); end # Returns a list of your promotion codes. sig { - params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def self.update(promotion_code, params = {}, opts = {}); end end @@ -39963,10 +40161,10 @@ module Stripe # A Quote is a way to model prices that you'd like to provide to a customer. # Once accepted, it will automatically create an invoice, subscription or subscription schedule. class Quote < APIResource - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -39997,9 +40195,9 @@ module Stripe @field_remappings = {} end end - class Computed < Stripe::StripeObject - class LastReestimationDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class Computed < ::Stripe::StripeObject + class LastReestimationDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field. sig { returns(T.nilable(String)) } def failure_code; end @@ -40029,10 +40227,10 @@ module Stripe @field_remappings = {} end end - class Recurring < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -40040,7 +40238,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -40049,14 +40247,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -40125,10 +40323,10 @@ module Stripe @field_remappings = {} end end - class Upfront < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Upfront < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -40136,7 +40334,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -40145,14 +40343,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -40206,7 +40404,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Attribute for field total_details sig { returns(TotalDetails) } @@ -40241,12 +40439,12 @@ module Stripe @field_remappings = {} end end - class FromQuote < Stripe::StripeObject + class FromQuote < ::Stripe::StripeObject # Whether this quote is a revision of a different quote. sig { returns(T::Boolean) } def is_revision; end # The quote that was cloned. - sig { returns(T.any(String, Stripe::Quote)) } + sig { returns(T.any(String, ::Stripe::Quote)) } def quote; end def self.inner_class_types @inner_class_types = {} @@ -40255,10 +40453,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -40283,8 +40481,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # The reason this quote was marked as canceled. sig { returns(T.nilable(String)) } def reason; end @@ -40298,9 +40496,9 @@ module Stripe @field_remappings = {} end end - class Stale < Stripe::StripeObject - class LastReason < Stripe::StripeObject - class LinesInvalid < Stripe::StripeObject + class Stale < ::Stripe::StripeObject + class LastReason < ::Stripe::StripeObject + class LinesInvalid < ::Stripe::StripeObject # The timestamp at which the lines were marked as invalid. sig { returns(Integer) } def invalid_at; end @@ -40314,9 +40512,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionChanged < Stripe::StripeObject + class SubscriptionChanged < ::Stripe::StripeObject # The subscription's state before the quote was marked as stale. - sig { returns(T.nilable(Stripe::Subscription)) } + sig { returns(T.nilable(::Stripe::Subscription)) } def previous_subscription; end def self.inner_class_types @inner_class_types = {} @@ -40325,9 +40523,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionScheduleChanged < Stripe::StripeObject + class SubscriptionScheduleChanged < ::Stripe::StripeObject # The subscription schedule's state before the quote was marked as stale. - sig { returns(T.nilable(Stripe::SubscriptionSchedule)) } + sig { returns(T.nilable(::Stripe::SubscriptionSchedule)) } def previous_subscription_schedule; end def self.inner_class_types @inner_class_types = {} @@ -40409,7 +40607,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the quote was accepted. Measured in seconds since Unix epoch. sig { returns(T.nilable(Integer)) } def accepted_at; end @@ -40426,10 +40624,10 @@ module Stripe @field_remappings = {} end end - class SubscriptionData < Stripe::StripeObject - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -40459,8 +40657,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -40474,7 +40672,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -40520,8 +40718,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -40545,7 +40743,7 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # Attribute for field iterations sig { returns(Integer) } def iterations; end @@ -40578,7 +40776,7 @@ module Stripe sig { returns(T.nilable(String)) } def end_behavior; end # The id of the subscription that will be updated when the quote is accepted. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def from_subscription; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. sig { returns(T.nilable(T::Hash[String, String])) } @@ -40603,8 +40801,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDataOverride < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionDataOverride < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -40621,9 +40819,9 @@ module Stripe @field_remappings = {} end end - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -40653,8 +40851,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -40668,7 +40866,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -40742,8 +40940,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -40773,9 +40971,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -40783,7 +40981,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -40792,14 +40990,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -40846,7 +41044,7 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Integer)) } def amount; end @@ -40854,7 +41052,7 @@ module Stripe sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -40873,7 +41071,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # ID of the Connect Application that created the quote. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote. sig { returns(T.nilable(Integer)) } @@ -40897,19 +41095,19 @@ module Stripe sig { returns(T.nilable(String)) } def currency; end # The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed. sig { returns(T.nilable(String)) } def customer_account; end # The tax rates applied to this quote. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxRate)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxRate)])) } def default_tax_rates; end # A description that will be displayed on the quote PDF. sig { returns(T.nilable(String)) } def description; end # The discounts applied to this quote. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -40927,13 +41125,13 @@ module Stripe sig { returns(String) } def id; end # The invoice that was created from this quote. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Attribute for field invoice_settings sig { returns(InvoiceSettings) } def invoice_settings; end # A list of items the customer is being quoted for. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { returns(T.nilable(T::Array[String])) } @@ -40951,7 +41149,7 @@ module Stripe sig { returns(String) } def object; end # The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The status of the quote. sig { returns(String) } @@ -40963,7 +41161,7 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The subscription that was created or updated from this quote. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # Attribute for field subscription_data sig { returns(SubscriptionData) } @@ -40972,13 +41170,13 @@ module Stripe sig { returns(T.nilable(T::Array[SubscriptionDataOverride])) } def subscription_data_overrides; end # The subscription schedule that was created or updated from this quote. - sig { returns(T.nilable(T.any(String, Stripe::SubscriptionSchedule))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SubscriptionSchedule))) } def subscription_schedule; end # The subscription schedules that were created or updated from this quote. sig { returns(T.nilable(T::Array[SubscriptionSchedule])) } def subscription_schedules; end # ID of the test clock this quote belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field total_details sig { returns(TotalDetails) } @@ -40988,121 +41186,121 @@ module Stripe def transfer_data; end # Accepts the specified quote. sig { - params(params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def accept(params = {}, opts = {}); end # Accepts the specified quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.accept(quote, params = {}, opts = {}); end # Cancels the quote. sig { - params(params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def cancel(params = {}, opts = {}); end # Cancels the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.cancel(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote). sig { - params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.create(params = {}, opts = {}); end # Finalizes the quote. sig { - params(params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def finalize_quote(params = {}, opts = {}); end # Finalizes the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.finalize_quote(quote, params = {}, opts = {}); end # Returns a list of your quotes. sig { - params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_computed_upfront_line_items(params = {}, opts = {}); end # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_computed_upfront_line_items(quote, params = {}, opts = {}); end # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(quote, params = {}, opts = {}); end # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_lines(params = {}, opts = {}); end # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(quote: String, params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_lines(quote, params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_preview_invoice_lines(preview_invoice, params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_draft(params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.mark_draft(quote, params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_stale(params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.mark_stale(quote, params = {}, opts = {}); end @@ -41120,19 +41318,19 @@ module Stripe # Recompute the upcoming invoice estimate for the quote. sig { - params(params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def reestimate(params = {}, opts = {}); end # Recompute the upcoming invoice estimate for the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.reestimate(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. sig { - params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.update(quote, params = {}, opts = {}); end end @@ -41172,7 +41370,7 @@ module Stripe # # Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) class QuotePreviewInvoice < APIResource - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -41204,7 +41402,7 @@ module Stripe @field_remappings = {} end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -41221,10 +41419,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -41258,7 +41456,7 @@ module Stripe @field_remappings = {} end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. sig { returns(String) } def client_secret; end @@ -41272,7 +41470,7 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -41286,7 +41484,7 @@ module Stripe @field_remappings = {} end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -41312,8 +41510,8 @@ module Stripe @field_remappings = {} end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -41361,7 +41559,7 @@ module Stripe @field_remappings = {} end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -41375,12 +41573,12 @@ module Stripe @field_remappings = {} end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice sig { returns(String) } def action; end # The invoice that was cloned. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end def self.inner_class_types @inner_class_types = {} @@ -41389,9 +41587,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -41403,7 +41601,7 @@ module Stripe @field_remappings = {} end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -41442,14 +41640,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -41478,11 +41676,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -41495,8 +41693,8 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice sig { returns(String) } def billing_cadence; end @@ -41507,7 +41705,7 @@ module Stripe @field_remappings = {} end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice sig { returns(String) } def quote; end @@ -41518,8 +41716,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(T.nilable(String)) } def behavior; end @@ -41541,7 +41739,7 @@ module Stripe sig { returns(T.nilable(PauseCollection)) } def pause_collection; end # The subscription that generated this invoice - sig { returns(T.any(String, Stripe::Subscription)) } + sig { returns(T.any(String, ::Stripe::Subscription)) } def subscription; end # Only set for upcoming invoices that preview prorations. The time used to calculate prorations. sig { returns(T.nilable(Integer)) } @@ -41576,10 +41774,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -41603,7 +41801,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -41614,8 +41812,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -41639,9 +41837,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -41678,7 +41876,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -41686,7 +41884,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -41694,7 +41892,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -41705,7 +41903,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -41713,8 +41911,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -41744,9 +41942,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -41853,8 +42051,8 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. sig { returns(T.nilable(String)) } def page_size; end @@ -41884,15 +42082,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -41917,7 +42115,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -41929,8 +42127,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -41978,7 +42176,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. sig { returns(T.nilable(Integer)) } def finalized_at; end @@ -41998,8 +42196,8 @@ module Stripe @field_remappings = {} end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. sig { returns(T::Array[String]) } def line_item_ids; end @@ -42026,12 +42224,12 @@ module Stripe @field_remappings = {} end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -42040,12 +42238,12 @@ module Stripe @field_remappings = {} end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -42054,18 +42252,18 @@ module Stripe @field_remappings = {} end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -42077,8 +42275,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -42121,7 +42319,7 @@ module Stripe sig { returns(T.nilable(String)) } def account_name; end # The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`. sig { returns(Integer) } @@ -42142,7 +42340,7 @@ module Stripe sig { returns(T.nilable(T::Array[AmountsDue])) } def amounts_due; end # ID of the Connect Application that created the invoice. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field applies_to sig { returns(AppliesTo) } @@ -42210,24 +42408,24 @@ module Stripe sig { returns(T.nilable(T::Array[CustomerTaxId])) } def customer_tax_ids; end # The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def default_margins; end # ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates applied to this invoice, if any. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def default_tax_rates; end # An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -42254,10 +42452,10 @@ module Stripe sig { returns(T.nilable(LastFinalizationError)) } def last_finalization_error; end # The ID of the most recent non-draft revision of this invoice - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_revision; end # The individual line items that make up the invoice. `lines` is sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -42275,7 +42473,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The parent that generated this invoice sig { returns(T.nilable(Parent)) } @@ -42284,7 +42482,7 @@ module Stripe sig { returns(PaymentSettings) } def payment_settings; end # Payments for this invoice - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def payments; end # End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price. sig { returns(Integer) } @@ -42323,7 +42521,7 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # Attribute for field subscription - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated sig { returns(Integer) } @@ -42332,7 +42530,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def subtotal_excluding_tax; end # ID of the test clock this invoice belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field threshold_reason sig { returns(T.nilable(ThresholdReason)) } @@ -42363,7 +42561,7 @@ end # typed: true module Stripe class QuotePreviewSubscriptionSchedule < APIResource - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -42380,8 +42578,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -42408,7 +42606,7 @@ module Stripe @field_remappings = {} end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. sig { returns(Integer) } def end_date; end @@ -42422,11 +42620,11 @@ module Stripe @field_remappings = {} end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -42454,7 +42652,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -42468,10 +42666,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -42484,7 +42682,7 @@ module Stripe end end # The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -42499,12 +42697,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -42529,7 +42727,7 @@ module Stripe sig { returns(T.nilable(String)) } def collection_method; end # ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -42538,7 +42736,7 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -42555,8 +42753,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -42586,10 +42784,10 @@ module Stripe @field_remappings = {} end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -42604,16 +42802,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -42622,8 +42820,8 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -42637,7 +42835,7 @@ module Stripe @field_remappings = {} end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -42674,13 +42872,13 @@ module Stripe sig { returns(Period) } def period; end # ID of the price used to generate the invoice item. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # The quantity of the invoice item. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end def self.inner_class_types @inner_class_types = {discounts: Discount, period: Period} @@ -42689,10 +42887,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -42720,7 +42918,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -42734,8 +42932,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -42750,16 +42948,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -42768,10 +42966,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -42784,7 +42982,7 @@ module Stripe end end # The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -42799,8 +42997,8 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -42811,8 +43009,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -42827,16 +43025,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -42845,7 +43043,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -42869,16 +43067,16 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the plan to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Plan)) } + sig { returns(T.any(String, ::Stripe::Plan)) } def plan; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -42894,7 +43092,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -42905,12 +43103,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -42919,8 +43117,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -42963,10 +43161,10 @@ module Stripe sig { returns(String) } def currency; end # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # The default tax rates to apply to the subscription during this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -42987,7 +43185,7 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -43027,9 +43225,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -43048,7 +43246,7 @@ module Stripe end end # ID of the Connect Application that created the schedule. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field applies_to sig { returns(AppliesTo) } @@ -43072,7 +43270,7 @@ module Stripe sig { returns(T.nilable(CurrentPhase)) } def current_phase; end # ID of the customer who owns the subscription schedule. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription schedule. sig { returns(T.nilable(String)) } @@ -43114,10 +43312,10 @@ module Stripe sig { returns(String) } def status; end # ID of the subscription managed by the subscription schedule. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # ID of the test clock this subscription schedule belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end end end @@ -43133,7 +43331,7 @@ module Stripe sig { returns(T::Boolean) } def actionable; end # ID of the charge this early fraud warning is for, optionally expanded. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -43151,11 +43349,11 @@ module Stripe sig { returns(String) } def object; end # ID of the Payment Intent this early fraud warning is for, optionally expanded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Returns a list of early fraud warnings. sig { - params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -43194,25 +43392,25 @@ module Stripe def deleted; end # Creates a new ValueListItem object, which is added to the specified parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def self.create(params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def self.delete(item, params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def delete(params = {}, opts = {}); end # Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -43241,7 +43439,7 @@ module Stripe sig { returns(String) } def item_type; end # List of items contained within this value list. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def list_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -43260,31 +43458,31 @@ module Stripe def deleted; end # Creates a new ValueList object, which can then be referenced in rules. sig { - params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.create(params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.delete(value_list, params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def delete(params = {}, opts = {}); end # Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.update(value_list, params = {}, opts = {}); end end @@ -43298,8 +43496,8 @@ module Stripe # # Related guide: [Refunds](https://stripe.com/docs/refunds) class Refund < APIResource - class DestinationDetails < Stripe::StripeObject - class Affirm < Stripe::StripeObject + class DestinationDetails < ::Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43307,7 +43505,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43315,7 +43513,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43323,7 +43521,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43331,7 +43529,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43339,7 +43537,7 @@ module Stripe @field_remappings = {} end end - class AuBankTransfer < Stripe::StripeObject + class AuBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43347,7 +43545,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -43364,7 +43562,7 @@ module Stripe @field_remappings = {} end end - class BrBankTransfer < Stripe::StripeObject + class BrBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43378,7 +43576,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Value of the reference number assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43398,7 +43596,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43406,7 +43604,7 @@ module Stripe @field_remappings = {} end end - class CustomerCashBalance < Stripe::StripeObject + class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43414,7 +43612,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43422,7 +43620,7 @@ module Stripe @field_remappings = {} end end - class EuBankTransfer < Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43436,7 +43634,7 @@ module Stripe @field_remappings = {} end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43450,7 +43648,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43458,7 +43656,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43466,7 +43664,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43480,7 +43678,7 @@ module Stripe @field_remappings = {} end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43494,7 +43692,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43502,7 +43700,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43516,7 +43714,7 @@ module Stripe @field_remappings = {} end end - class MxBankTransfer < Stripe::StripeObject + class MxBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43530,7 +43728,7 @@ module Stripe @field_remappings = {} end end - class NzBankTransfer < Stripe::StripeObject + class NzBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43538,7 +43736,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43552,7 +43750,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43560,7 +43758,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -43571,7 +43769,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43579,7 +43777,7 @@ module Stripe @field_remappings = {} end end - class Revolut < Stripe::StripeObject + class Revolut < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43587,7 +43785,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43595,7 +43793,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -43612,7 +43810,7 @@ module Stripe @field_remappings = {} end end - class ThBankTransfer < Stripe::StripeObject + class ThBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43626,7 +43824,7 @@ module Stripe @field_remappings = {} end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -43640,7 +43838,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43648,7 +43846,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43799,9 +43997,9 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class DisplayDetails < Stripe::StripeObject - class EmailSent < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class DisplayDetails < ::Stripe::StripeObject + class EmailSent < ::Stripe::StripeObject # The timestamp when the email was sent. sig { returns(Integer) } def email_sent_at; end @@ -43841,7 +44039,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -43859,10 +44057,10 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # ID of the charge that's refunded. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -43877,7 +44075,7 @@ module Stripe sig { returns(T.nilable(DestinationDetails)) } def destination_details; end # After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`. sig { returns(T.nilable(String)) } @@ -43898,7 +44096,7 @@ module Stripe sig { returns(String) } def object; end # ID of the PaymentIntent that's refunded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`. sig { returns(T.nilable(String)) } @@ -43913,19 +44111,19 @@ module Stripe sig { returns(T.nilable(String)) } def receipt_number; end # The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account. - sig { returns(T.nilable(T.any(String, Stripe::Reversal))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Reversal))) } def source_transfer_reversal; end # Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://stripe.com/docs/refunds#failed-refunds). sig { returns(T.nilable(String)) } def status; end # This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter. - sig { returns(T.nilable(T.any(String, Stripe::Reversal))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Reversal))) } def transfer_reversal; end # Cancels a refund with a status of requires_action. # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def cancel(params = {}, opts = {}); end @@ -43933,7 +44131,7 @@ module Stripe # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.cancel(refund, params = {}, opts = {}); end @@ -43949,13 +44147,13 @@ module Stripe # This method will raise an error when called on an already-refunded charge, # or when trying to refund more money than is left on a charge. sig { - params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.create(params = {}, opts = {}); end # Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object. sig { - params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -43963,7 +44161,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.update(refund, params = {}, opts = {}); end end @@ -43980,7 +44178,7 @@ module Stripe # Note that certain report types can only be run based on your live-mode data (not test-mode # data), and will error when queried without a [live-mode API key](https://stripe.com/docs/keys#test-live-modes). class ReportRun < APIResource - class Parameters < Stripe::StripeObject + class Parameters < ::Stripe::StripeObject # The set of output columns requested for inclusion in the report run. sig { returns(T.nilable(T::Array[String])) } def columns; end @@ -44036,7 +44234,7 @@ module Stripe def report_type; end # The file object representing the result of the report run (populated when # `status=succeeded`). - sig { returns(T.nilable(Stripe::File)) } + sig { returns(T.nilable(::Stripe::File)) } def result; end # Status of this report run. This will be `pending` when the run is initially created. # When the run finishes, this will be set to `succeeded` and the `result` field will be populated. @@ -44049,13 +44247,13 @@ module Stripe def succeeded_at; end # Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def self.create(params = {}, opts = {}); end # Returns a list of Report Runs, with the most recent appearing first. sig { - params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -44102,7 +44300,7 @@ module Stripe def version; end # Returns a full list of Report Types. sig { - params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -44115,7 +44313,7 @@ module Stripe # Learn more about [Radar](https://docs.stripe.com/radar) and reviewing payments # [here](https://stripe.com/docs/radar/reviews). class Review < APIResource - class IpAddressLocation < Stripe::StripeObject + class IpAddressLocation < ::Stripe::StripeObject # The city where the payment originated. sig { returns(T.nilable(String)) } def city; end @@ -44138,7 +44336,7 @@ module Stripe @field_remappings = {} end end - class Session < Stripe::StripeObject + class Session < ::Stripe::StripeObject # The browser used in this browser session (e.g., `Chrome`). sig { returns(T.nilable(String)) } def browser; end @@ -44162,7 +44360,7 @@ module Stripe sig { returns(T.nilable(String)) } def billing_zip; end # The charge associated with this review. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`. sig { returns(T.nilable(String)) } @@ -44192,7 +44390,7 @@ module Stripe sig { returns(String) } def opened_reason; end # The PaymentIntent ID associated with this review, if one exists. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`. sig { returns(String) } @@ -44202,19 +44400,19 @@ module Stripe def session; end # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def approve(params = {}, opts = {}); end # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def self.approve(review, params = {}, opts = {}); end # Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -44226,8 +44424,8 @@ module Stripe # SetupAttempts to inspect details of a specific attempt at setting up a # payment method using a SetupIntent. class SetupAttempt < APIResource - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44235,7 +44433,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44243,7 +44441,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44251,7 +44449,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44259,7 +44457,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -44270,10 +44468,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -44293,7 +44491,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44301,8 +44499,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -44319,7 +44517,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. sig { returns(T.nilable(String)) } @@ -44349,8 +44547,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44358,7 +44556,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44433,8 +44631,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -44449,7 +44647,7 @@ module Stripe end end # The ID of the Card PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_card; end # Details about payments collected offline. sig { returns(T.nilable(Offline)) } @@ -44461,7 +44659,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44469,7 +44667,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Bank where the account is located. sig { returns(T.nilable(String)) } def bank; end @@ -44489,7 +44687,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -44497,10 +44695,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -44516,7 +44714,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44524,7 +44722,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44532,7 +44730,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44540,7 +44738,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44548,7 +44746,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -44559,7 +44757,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44567,7 +44765,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44575,7 +44773,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44583,7 +44781,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44591,7 +44789,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44599,7 +44797,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44607,7 +44805,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -44618,10 +44816,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -44641,7 +44839,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44649,7 +44847,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -44768,7 +44966,7 @@ module Stripe @field_remappings = {} end end - class SetupError < Stripe::StripeObject + class SetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -44807,14 +45005,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -44843,11 +45041,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -44861,7 +45059,7 @@ module Stripe end end # The value of [application](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. # @@ -44872,7 +45070,7 @@ module Stripe sig { returns(Integer) } def created; end # The value of [customer](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The value of [customer_account](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer_account) on the SetupIntent at the time of this confirmation. sig { returns(T.nilable(String)) } @@ -44892,10 +45090,10 @@ module Stripe sig { returns(String) } def object; end # The value of [on_behalf_of](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # ID of the payment method used with this SetupAttempt. - sig { returns(T.any(String, Stripe::PaymentMethod)) } + sig { returns(T.any(String, ::Stripe::PaymentMethod)) } def payment_method; end # Attribute for field payment_method_details sig { returns(PaymentMethodDetails) } @@ -44904,7 +45102,7 @@ module Stripe sig { returns(T.nilable(SetupError)) } def setup_error; end # ID of the SetupIntent that this attempt belongs to. - sig { returns(T.any(String, Stripe::SetupIntent)) } + sig { returns(T.any(String, ::Stripe::SetupIntent)) } def setup_intent; end # Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`. sig { returns(String) } @@ -44914,7 +45112,7 @@ module Stripe def usage; end # Returns a list of SetupAttempts that associate with a provided SetupIntent. sig { - params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -44943,7 +45141,7 @@ module Stripe # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) class SetupIntent < APIResource - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -44959,7 +45157,7 @@ module Stripe @field_remappings = {} end end - class LastSetupError < Stripe::StripeObject + class LastSetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -44998,14 +45196,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -45034,11 +45232,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -45051,9 +45249,9 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. sig { returns(Integer) } def expires_at; end @@ -45086,7 +45284,7 @@ module Stripe @field_remappings = {} end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(T.nilable(String)) } def data; end @@ -45109,7 +45307,7 @@ module Stripe @field_remappings = {} end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -45123,7 +45321,7 @@ module Stripe @field_remappings = {} end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. sig { returns(Integer) } def arrival_date; end @@ -45170,7 +45368,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -45184,9 +45382,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -45225,7 +45423,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -45233,8 +45431,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -45255,8 +45453,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -45310,7 +45508,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -45318,7 +45516,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # The currency of the setup intent. Three letter ISO currency code. sig { returns(T.nilable(String)) } def currency; end @@ -45332,7 +45530,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -45343,7 +45541,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -45360,8 +45558,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -45400,8 +45598,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -45443,8 +45641,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -45465,9 +45663,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -45481,7 +45679,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -45514,7 +45712,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -45601,7 +45799,7 @@ module Stripe end end # ID of the Connect application that created the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. # @@ -45625,7 +45823,7 @@ module Stripe # ID of the Customer this SetupIntent belongs to, if one exists. # # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the Account this SetupIntent belongs to, if one exists. # @@ -45635,6 +45833,9 @@ module Stripe # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end + # Payment method types that are excluded from this SetupIntent. + sig { returns(T.nilable(T::Array[String])) } + def excluded_payment_method_types; end # Indicates the directions of money movement for which this payment method is intended to be used. # # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes. @@ -45647,13 +45848,13 @@ module Stripe sig { returns(T.nilable(LastSetupError)) } def last_setup_error; end # The most recent SetupAttempt for this SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def latest_attempt; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # ID of the multi use Mandate generated by the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -45665,10 +45866,10 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the setup is intended. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def payment_method; end # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent. sig { returns(T.nilable(PaymentMethodConfigurationDetails)) } @@ -45680,7 +45881,7 @@ module Stripe sig { returns(T::Array[String]) } def payment_method_types; end # ID of the single_use Mandate generated by the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def single_use_mandate; end # [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`. sig { returns(String) } @@ -45694,7 +45895,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def cancel(params = {}, opts = {}); end @@ -45702,7 +45903,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.cancel(intent, params = {}, opts = {}); end @@ -45721,7 +45922,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def confirm(params = {}, opts = {}); end @@ -45740,7 +45941,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.confirm(intent, params = {}, opts = {}); end @@ -45749,31 +45950,31 @@ module Stripe # After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm) # it to collect any required permissions to charge the payment method later. sig { - params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.create(params = {}, opts = {}); end # Returns a list of SetupIntents. sig { - params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.update(intent, params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def verify_microdeposits(params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.verify_microdeposits(intent, params = {}, opts = {}); end end @@ -45783,8 +45984,8 @@ module Stripe # Shipping rates describe the price of shipping presented to your customers and # applied to a purchase. For more information, see [Charge for shipping](https://stripe.com/docs/payments/during-payment/charge-shipping). class ShippingRate < APIResource - class DeliveryEstimate < Stripe::StripeObject - class Maximum < Stripe::StripeObject + class DeliveryEstimate < ::Stripe::StripeObject + class Maximum < ::Stripe::StripeObject # A unit of time. sig { returns(String) } def unit; end @@ -45798,7 +45999,7 @@ module Stripe @field_remappings = {} end end - class Minimum < Stripe::StripeObject + class Minimum < ::Stripe::StripeObject # A unit of time. sig { returns(String) } def unit; end @@ -45825,8 +46026,8 @@ module Stripe @field_remappings = {} end end - class FixedAmount < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class FixedAmount < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -45887,26 +46088,26 @@ module Stripe sig { returns(T.nilable(String)) } def tax_behavior; end # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`. - sig { returns(T.nilable(T.any(String, Stripe::TaxCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TaxCode))) } def tax_code; end # The type of calculation to use on the shipping rate. sig { returns(String) } def type; end # Creates a new shipping rate object. sig { - params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def self.create(params = {}, opts = {}); end # Returns a list of your shipping rates. sig { - params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing shipping rate object. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def self.update(shipping_rate_token, params = {}, opts = {}); end end @@ -45919,7 +46120,7 @@ module Stripe # runs. The webhook contains a `ScheduledQueryRun` object, which you can use to # retrieve the query results. class ScheduledQueryRun < APIResource - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # Information about the run failure. sig { returns(String) } def message; end @@ -45940,7 +46141,7 @@ module Stripe sig { returns(T.nilable(Error)) } def error; end # The file object representing the results of the query. - sig { returns(T.nilable(Stripe::File)) } + sig { returns(T.nilable(::Stripe::File)) } def file; end # Unique identifier for the object. sig { returns(String) } @@ -45965,7 +46166,7 @@ module Stripe def title; end # Returns a list of scheduled query runs. sig { - params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -45978,7 +46179,7 @@ module Stripe # multiple transactions. As such, sources can have multiple associated # transactions. class SourceTransaction < StripeObject - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Customer data associated with the transfer. sig { returns(T.nilable(String)) } def customer_data; end @@ -45998,7 +46199,7 @@ module Stripe @field_remappings = {} end end - class ChfCreditTransfer < Stripe::StripeObject + class ChfCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. sig { returns(T.nilable(String)) } def reference; end @@ -46021,7 +46222,7 @@ module Stripe @field_remappings = {} end end - class GbpCreditTransfer < Stripe::StripeObject + class GbpCreditTransfer < ::Stripe::StripeObject # Bank account fingerprint associated with the Stripe owned bank account receiving the transfer. sig { returns(T.nilable(String)) } def fingerprint; end @@ -46050,7 +46251,7 @@ module Stripe @field_remappings = {} end end - class PaperCheck < Stripe::StripeObject + class PaperCheck < ::Stripe::StripeObject # Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch. sig { returns(T.nilable(String)) } def available_at; end @@ -46064,7 +46265,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. sig { returns(T.nilable(String)) } def reference; end @@ -46138,7 +46339,7 @@ module Stripe # # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). class Source < APIResource - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Attribute for field account_number sig { returns(T.nilable(String)) } def account_number; end @@ -46170,7 +46371,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Attribute for field bank_name sig { returns(T.nilable(String)) } def bank_name; end @@ -46196,7 +46397,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Attribute for field bank_address_city sig { returns(T.nilable(String)) } def bank_address_city; end @@ -46234,7 +46435,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Attribute for field data_string sig { returns(T.nilable(String)) } def data_string; end @@ -46251,7 +46452,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Attribute for field bsb_number sig { returns(T.nilable(String)) } def bsb_number; end @@ -46268,7 +46469,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -46294,7 +46495,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -46356,7 +46557,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field application_cryptogram sig { returns(T.nilable(String)) } def application_cryptogram; end @@ -46445,7 +46646,7 @@ module Stripe @field_remappings = {} end end - class CodeVerification < Stripe::StripeObject + class CodeVerification < ::Stripe::StripeObject # The number of attempts remaining to authenticate the source object with a verification code. sig { returns(Integer) } def attempts_remaining; end @@ -46459,7 +46660,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end @@ -46473,7 +46674,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -46493,7 +46694,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -46513,7 +46714,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field background_image_url sig { returns(T.nilable(String)) } def background_image_url; end @@ -46599,7 +46800,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Attribute for field entity sig { returns(T.nilable(String)) } def entity; end @@ -46637,8 +46838,8 @@ module Stripe @field_remappings = {} end end - class Owner < Stripe::StripeObject - class Address < Stripe::StripeObject + class Owner < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -46664,7 +46865,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -46721,7 +46922,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end @@ -46732,7 +46933,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Attribute for field billing_agreement sig { returns(T.nilable(String)) } def billing_agreement; end @@ -46767,7 +46968,7 @@ module Stripe @field_remappings = {} end end - class Receiver < Stripe::StripeObject + class Receiver < ::Stripe::StripeObject # The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. sig { returns(T.nilable(String)) } def address; end @@ -46793,7 +46994,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`. sig { returns(T.nilable(String)) } def failure_reason; end @@ -46813,7 +47014,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Attribute for field bank_name sig { returns(T.nilable(String)) } def bank_name; end @@ -46854,7 +47055,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -46883,7 +47084,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -46912,8 +47113,8 @@ module Stripe @field_remappings = {} end end - class SourceOrder < Stripe::StripeObject - class Item < Stripe::StripeObject + class SourceOrder < ::Stripe::StripeObject + class Item < ::Stripe::StripeObject # The amount (price) for this order item. sig { returns(T.nilable(Integer)) } def amount; end @@ -46939,8 +47140,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -47010,7 +47211,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -47081,7 +47282,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject # Attribute for field prepay_id sig { returns(T.nilable(String)) } def prepay_id; end @@ -47220,7 +47421,7 @@ module Stripe def wechat; end # Creates a new source object. sig { - params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.create(params = {}, opts = {}); end @@ -47228,19 +47429,19 @@ module Stripe # # This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://docs.stripe.com/docs/sources) for more detail. sig { - params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.update(source, params = {}, opts = {}); end # Verify a given source. sig { - params(params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def verify(params = {}, opts = {}); end # Verify a given source. sig { - params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.verify(source, params = {}, opts = {}); end end @@ -47250,7 +47451,7 @@ module Stripe # Subscription items allow you to create customer subscriptions with more than # one plan, making it easy to represent complex billing relationships. class SubscriptionItem < APIResource - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -47261,7 +47462,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -47291,7 +47492,7 @@ module Stripe sig { returns(Integer) } def current_period_start; end # The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -47310,7 +47511,7 @@ module Stripe # For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview). - sig { returns(Stripe::Plan) } + sig { returns(::Stripe::Plan) } def plan; end # Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. # [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. @@ -47318,7 +47519,7 @@ module Stripe # For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview). - sig { returns(Stripe::Price) } + sig { returns(::Stripe::Price) } def price; end # The [quantity](https://stripe.com/docs/subscriptions/quantities) of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } @@ -47327,7 +47528,7 @@ module Stripe sig { returns(String) } def subscription; end # The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -47337,31 +47538,31 @@ module Stripe def deleted; end # Adds a new item to an existing subscription. No existing items will be changed or replaced. sig { - params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.create(params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.delete(item, params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def delete(params = {}, opts = {}); end # Returns a list of your subscription items for a given subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the plan or quantity of an item on a current subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.update(item, params = {}, opts = {}); end end @@ -47372,8 +47573,8 @@ module Stripe # # Related guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules) class SubscriptionSchedule < APIResource - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -47400,7 +47601,7 @@ module Stripe @field_remappings = {} end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. sig { returns(Integer) } def end_date; end @@ -47414,11 +47615,11 @@ module Stripe @field_remappings = {} end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -47446,7 +47647,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -47460,10 +47661,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -47476,7 +47677,7 @@ module Stripe end end # The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -47491,12 +47692,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -47521,7 +47722,7 @@ module Stripe sig { returns(T.nilable(String)) } def collection_method; end # ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -47530,7 +47731,7 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -47547,8 +47748,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -47578,10 +47779,10 @@ module Stripe @field_remappings = {} end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -47596,16 +47797,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -47614,8 +47815,8 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -47629,7 +47830,7 @@ module Stripe @field_remappings = {} end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -47666,13 +47867,13 @@ module Stripe sig { returns(Period) } def period; end # ID of the price used to generate the invoice item. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # The quantity of the invoice item. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end def self.inner_class_types @inner_class_types = {discounts: Discount, period: Period} @@ -47681,10 +47882,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -47712,7 +47913,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -47726,8 +47927,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -47742,16 +47943,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -47760,10 +47961,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -47776,7 +47977,7 @@ module Stripe end end # The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -47791,8 +47992,8 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -47803,8 +48004,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -47819,16 +48020,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -47837,7 +48038,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -47861,16 +48062,16 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the plan to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Plan)) } + sig { returns(T.any(String, ::Stripe::Plan)) } def plan; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -47886,7 +48087,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -47897,12 +48098,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -47911,8 +48112,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -47955,10 +48156,10 @@ module Stripe sig { returns(String) } def currency; end # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # The default tax rates to apply to the subscription during this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -47979,7 +48180,7 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -48019,9 +48220,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -48040,7 +48241,7 @@ module Stripe end end # ID of the Connect Application that created the schedule. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. sig { returns(T.nilable(String)) } @@ -48061,7 +48262,7 @@ module Stripe sig { returns(T.nilable(CurrentPhase)) } def current_phase; end # ID of the customer who owns the subscription schedule. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription schedule. sig { returns(T.nilable(String)) } @@ -48103,62 +48304,62 @@ module Stripe sig { returns(String) } def status; end # ID of the subscription managed by the subscription schedule. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # ID of the test clock this subscription schedule belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Amends an existing subscription schedule. sig { - params(params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def amend(params = {}, opts = {}); end # Amends an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.amend(schedule, params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def cancel(params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.cancel(schedule, params = {}, opts = {}); end # Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.create(params = {}, opts = {}); end # Retrieves the list of your subscription schedules. sig { - params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def release(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.release(schedule, params = {}, opts = {}); end # Updates an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.update(schedule, params = {}, opts = {}); end end @@ -48169,10 +48370,10 @@ module Stripe # # Related guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating) class Subscription < APIResource - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -48200,7 +48401,7 @@ module Stripe @field_remappings = {} end end - class BillingCycleAnchorConfig < Stripe::StripeObject + class BillingCycleAnchorConfig < ::Stripe::StripeObject # The day of the month of the billing_cycle_anchor. sig { returns(Integer) } def day_of_month; end @@ -48223,8 +48424,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -48251,10 +48452,10 @@ module Stripe @field_remappings = {} end end - class BillingSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class BillingSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # The billing schedule will apply to the subscription item with the given price ID. - sig { returns(T.nilable(T.any(String, Stripe::Price))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Price))) } def price; end # Controls which subscription items the billing schedule applies to. sig { returns(String) } @@ -48266,8 +48467,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -48316,7 +48517,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -48330,7 +48531,7 @@ module Stripe @field_remappings = {} end end - class CancellationDetails < Stripe::StripeObject + class CancellationDetails < ::Stripe::StripeObject # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end @@ -48347,10 +48548,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -48363,7 +48564,7 @@ module Stripe end end # The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Attribute for field issuer sig { returns(Issuer) } @@ -48375,8 +48576,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -48406,7 +48607,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -48420,10 +48621,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -48447,7 +48648,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -48458,8 +48659,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -48492,9 +48693,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -48531,7 +48732,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -48539,7 +48740,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -48547,8 +48748,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -48578,7 +48779,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -48586,8 +48787,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -48617,9 +48818,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -48726,7 +48927,7 @@ module Stripe @field_remappings = {} end end - class PendingInvoiceItemInterval < Stripe::StripeObject + class PendingInvoiceItemInterval < ::Stripe::StripeObject # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -48740,7 +48941,7 @@ module Stripe @field_remappings = {} end end - class PendingUpdate < Stripe::StripeObject + class PendingUpdate < ::Stripe::StripeObject # If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format. sig { returns(T.nilable(Integer)) } def billing_cycle_anchor; end @@ -48751,7 +48952,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def prebilling_iterations; end # List of subscription items, each with an attached plan, that will be set if the update is applied. - sig { returns(T.nilable(T::Array[Stripe::SubscriptionItem])) } + sig { returns(T.nilable(T::Array[::Stripe::SubscriptionItem])) } def subscription_items; end # Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied. sig { returns(T.nilable(Integer)) } @@ -48766,9 +48967,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -48786,12 +48987,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -48800,8 +49001,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -48823,7 +49024,7 @@ module Stripe end end # ID of the Connect Application that created the subscription. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. sig { returns(T.nilable(Float)) } @@ -48871,7 +49072,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer who owns the subscription. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription. sig { returns(T.nilable(String)) } @@ -48880,21 +49081,21 @@ module Stripe sig { returns(T.nilable(Integer)) } def days_until_due; end # ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # If the subscription has ended, the date the subscription ended. sig { returns(T.nilable(Integer)) } @@ -48906,13 +49107,13 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # List of subscription items, each with an attached price. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def items; end # Details of the most recent price migration that failed for the subscription. sig { returns(T.nilable(LastPriceMigrationError)) } def last_price_migration_error; end # The most recent invoice this subscription has generated. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -48927,7 +49128,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) the charge was made on behalf of for charges associated with this subscription. See the [Connect documentation](https://stripe.com/docs/connect/subscriptions#on-behalf-of) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -48939,7 +49140,7 @@ module Stripe sig { returns(T.nilable(PendingInvoiceItemInterval)) } def pending_invoice_item_interval; end # You can use this [SetupIntent](https://stripe.com/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-2). - sig { returns(T.nilable(T.any(String, Stripe::SetupIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupIntent))) } def pending_setup_intent; end # If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid. sig { returns(T.nilable(PendingUpdate)) } @@ -48948,7 +49149,7 @@ module Stripe sig { returns(T.nilable(Prebilling)) } def prebilling; end # The schedule attached to the subscription - sig { returns(T.nilable(T.any(String, Stripe::SubscriptionSchedule))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SubscriptionSchedule))) } def schedule; end # Date when the subscription was first created. The date might differ from the `created` date due to backdating. sig { returns(Integer) } @@ -48967,7 +49168,7 @@ module Stripe sig { returns(String) } def status; end # ID of the test clock this subscription belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -48983,13 +49184,13 @@ module Stripe def trial_start; end # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def attach_cadence(params = {}, opts = {}); end # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.attach_cadence(subscription, params = {}, opts = {}); end @@ -48999,7 +49200,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def cancel(params = {}, opts = {}); end @@ -49009,7 +49210,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.cancel(subscription_exposed_id, params = {}, opts = {}); end @@ -49021,59 +49222,59 @@ module Stripe # To start subscriptions where the first invoice always begins in a draft status, use [subscription schedules](https://docs.stripe.com/docs/billing/subscriptions/subscription-schedules#managing) instead. # Schedules provide the flexibility to model more complex billing configurations that change over time. sig { - params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.create(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def self.delete_discount(subscription_exposed_id, params = {}, opts = {}); end # By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. sig { - params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def migrate(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.migrate(subscription, params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def resume(params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.resume(subscription, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -49099,7 +49300,7 @@ module Stripe # # Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing](https://docs.stripe.com/docs/rate-limits) instead. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.update(subscription_exposed_id, params = {}, opts = {}); end end @@ -49111,8 +49312,8 @@ module Stripe # # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom) class Calculation < APIResource - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -49138,7 +49339,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -49174,8 +49375,8 @@ module Stripe @field_remappings = {} end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -49211,9 +49412,9 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -49233,7 +49434,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end @@ -49300,9 +49501,9 @@ module Stripe @field_remappings = {} end end - class TaxBreakdown < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject - class FlatAmount < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -49382,7 +49583,7 @@ module Stripe sig { returns(T.nilable(String)) } def id; end # The list of items the customer is purchasing. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -49410,19 +49611,19 @@ module Stripe def tax_date; end # Calculates tax based on the input and returns a Tax Calculation object. sig { - params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def self.create(params = {}, opts = {}); end # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(calculation, params = {}, opts = {}); end end @@ -49435,7 +49636,7 @@ module Stripe # # Related guide: [US tax reporting for Connect platforms](https://stripe.com/docs/connect/tax-reporting) class Form < APIResource - class AuSerr < Stripe::StripeObject + class AuSerr < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -49449,7 +49650,7 @@ module Stripe @field_remappings = {} end end - class CaMrdp < Stripe::StripeObject + class CaMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -49463,7 +49664,7 @@ module Stripe @field_remappings = {} end end - class EuDac7 < Stripe::StripeObject + class EuDac7 < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -49477,8 +49678,8 @@ module Stripe @field_remappings = {} end end - class FilingStatus < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class FilingStatus < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -49511,7 +49712,7 @@ module Stripe @field_remappings = {} end end - class GbMrdp < Stripe::StripeObject + class GbMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -49525,7 +49726,7 @@ module Stripe @field_remappings = {} end end - class NzMrdp < Stripe::StripeObject + class NzMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -49539,9 +49740,9 @@ module Stripe @field_remappings = {} end end - class Payee < Stripe::StripeObject + class Payee < ::Stripe::StripeObject # The ID of the payee's Stripe account. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The external reference to this payee. sig { returns(T.nilable(String)) } @@ -49556,7 +49757,7 @@ module Stripe @field_remappings = {} end end - class Us1099K < Stripe::StripeObject + class Us1099K < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -49567,7 +49768,7 @@ module Stripe @field_remappings = {} end end - class Us1099Misc < Stripe::StripeObject + class Us1099Misc < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -49578,7 +49779,7 @@ module Stripe @field_remappings = {} end end - class Us1099Nec < Stripe::StripeObject + class Us1099Nec < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -49596,7 +49797,7 @@ module Stripe sig { returns(T.nilable(CaMrdp)) } def ca_mrdp; end # The form that corrects this form, if any. - sig { returns(T.nilable(T.any(String, Stripe::Tax::Form))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Tax::Form))) } def corrected_by; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -49639,7 +49840,7 @@ module Stripe def us_1099_nec; end # Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first. sig { - params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -49666,9 +49867,9 @@ module Stripe # # Related guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api) class Registration < APIResource - class CountryOptions < Stripe::StripeObject - class Ae < Stripe::StripeObject - class Standard < Stripe::StripeObject + class CountryOptions < ::Stripe::StripeObject + class Ae < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49692,7 +49893,7 @@ module Stripe @field_remappings = {} end end - class Al < Stripe::StripeObject + class Al < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49703,7 +49904,7 @@ module Stripe @field_remappings = {} end end - class Am < Stripe::StripeObject + class Am < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49714,7 +49915,7 @@ module Stripe @field_remappings = {} end end - class Ao < Stripe::StripeObject + class Ao < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49725,8 +49926,8 @@ module Stripe @field_remappings = {} end end - class At < Stripe::StripeObject - class Standard < Stripe::StripeObject + class At < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49750,8 +49951,8 @@ module Stripe @field_remappings = {} end end - class Au < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Au < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49775,7 +49976,7 @@ module Stripe @field_remappings = {} end end - class Aw < Stripe::StripeObject + class Aw < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49786,7 +49987,7 @@ module Stripe @field_remappings = {} end end - class Az < Stripe::StripeObject + class Az < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49797,7 +49998,7 @@ module Stripe @field_remappings = {} end end - class Ba < Stripe::StripeObject + class Ba < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49808,7 +50009,7 @@ module Stripe @field_remappings = {} end end - class Bb < Stripe::StripeObject + class Bb < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49819,7 +50020,7 @@ module Stripe @field_remappings = {} end end - class Bd < Stripe::StripeObject + class Bd < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49830,8 +50031,8 @@ module Stripe @field_remappings = {} end end - class Be < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Be < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49855,7 +50056,7 @@ module Stripe @field_remappings = {} end end - class Bf < Stripe::StripeObject + class Bf < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49866,8 +50067,8 @@ module Stripe @field_remappings = {} end end - class Bg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Bg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49891,7 +50092,7 @@ module Stripe @field_remappings = {} end end - class Bh < Stripe::StripeObject + class Bh < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49902,7 +50103,7 @@ module Stripe @field_remappings = {} end end - class Bj < Stripe::StripeObject + class Bj < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49913,7 +50114,7 @@ module Stripe @field_remappings = {} end end - class Bs < Stripe::StripeObject + class Bs < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49924,7 +50125,7 @@ module Stripe @field_remappings = {} end end - class By < Stripe::StripeObject + class By < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49935,8 +50136,8 @@ module Stripe @field_remappings = {} end end - class Ca < Stripe::StripeObject - class ProvinceStandard < Stripe::StripeObject + class Ca < ::Stripe::StripeObject + class ProvinceStandard < ::Stripe::StripeObject # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). sig { returns(String) } def province; end @@ -49960,7 +50161,7 @@ module Stripe @field_remappings = {} end end - class Cd < Stripe::StripeObject + class Cd < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -49971,8 +50172,8 @@ module Stripe @field_remappings = {} end end - class Ch < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ch < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -49996,7 +50197,7 @@ module Stripe @field_remappings = {} end end - class Cl < Stripe::StripeObject + class Cl < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50007,7 +50208,7 @@ module Stripe @field_remappings = {} end end - class Cm < Stripe::StripeObject + class Cm < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50018,7 +50219,7 @@ module Stripe @field_remappings = {} end end - class Co < Stripe::StripeObject + class Co < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50029,7 +50230,7 @@ module Stripe @field_remappings = {} end end - class Cr < Stripe::StripeObject + class Cr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50040,7 +50241,7 @@ module Stripe @field_remappings = {} end end - class Cv < Stripe::StripeObject + class Cv < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50051,8 +50252,8 @@ module Stripe @field_remappings = {} end end - class Cy < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cy < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50076,8 +50277,8 @@ module Stripe @field_remappings = {} end end - class Cz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50101,8 +50302,8 @@ module Stripe @field_remappings = {} end end - class De < Stripe::StripeObject - class Standard < Stripe::StripeObject + class De < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50126,8 +50327,8 @@ module Stripe @field_remappings = {} end end - class Dk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Dk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50151,7 +50352,7 @@ module Stripe @field_remappings = {} end end - class Ec < Stripe::StripeObject + class Ec < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50162,8 +50363,8 @@ module Stripe @field_remappings = {} end end - class Ee < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ee < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50187,7 +50388,7 @@ module Stripe @field_remappings = {} end end - class Eg < Stripe::StripeObject + class Eg < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50198,8 +50399,8 @@ module Stripe @field_remappings = {} end end - class Es < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Es < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50223,7 +50424,7 @@ module Stripe @field_remappings = {} end end - class Et < Stripe::StripeObject + class Et < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50234,8 +50435,8 @@ module Stripe @field_remappings = {} end end - class Fi < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fi < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50259,8 +50460,8 @@ module Stripe @field_remappings = {} end end - class Fr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50284,8 +50485,8 @@ module Stripe @field_remappings = {} end end - class Gb < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gb < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50309,7 +50510,7 @@ module Stripe @field_remappings = {} end end - class Ge < Stripe::StripeObject + class Ge < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50320,7 +50521,7 @@ module Stripe @field_remappings = {} end end - class Gn < Stripe::StripeObject + class Gn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50331,8 +50532,8 @@ module Stripe @field_remappings = {} end end - class Gr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50356,8 +50557,8 @@ module Stripe @field_remappings = {} end end - class Hr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50381,8 +50582,8 @@ module Stripe @field_remappings = {} end end - class Hu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50406,7 +50607,7 @@ module Stripe @field_remappings = {} end end - class Id < Stripe::StripeObject + class Id < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50417,8 +50618,8 @@ module Stripe @field_remappings = {} end end - class Ie < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ie < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50442,7 +50643,7 @@ module Stripe @field_remappings = {} end end - class In < Stripe::StripeObject + class In < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50453,7 +50654,7 @@ module Stripe @field_remappings = {} end end - class Is < Stripe::StripeObject + class Is < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50464,8 +50665,8 @@ module Stripe @field_remappings = {} end end - class It < Stripe::StripeObject - class Standard < Stripe::StripeObject + class It < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50489,8 +50690,8 @@ module Stripe @field_remappings = {} end end - class Jp < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Jp < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50514,7 +50715,7 @@ module Stripe @field_remappings = {} end end - class Ke < Stripe::StripeObject + class Ke < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50525,7 +50726,7 @@ module Stripe @field_remappings = {} end end - class Kg < Stripe::StripeObject + class Kg < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50536,7 +50737,7 @@ module Stripe @field_remappings = {} end end - class Kh < Stripe::StripeObject + class Kh < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50547,7 +50748,7 @@ module Stripe @field_remappings = {} end end - class Kr < Stripe::StripeObject + class Kr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50558,7 +50759,7 @@ module Stripe @field_remappings = {} end end - class Kz < Stripe::StripeObject + class Kz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50569,7 +50770,7 @@ module Stripe @field_remappings = {} end end - class La < Stripe::StripeObject + class La < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50580,8 +50781,8 @@ module Stripe @field_remappings = {} end end - class Lt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50605,8 +50806,8 @@ module Stripe @field_remappings = {} end end - class Lu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50630,8 +50831,8 @@ module Stripe @field_remappings = {} end end - class Lv < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lv < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50655,7 +50856,7 @@ module Stripe @field_remappings = {} end end - class Ma < Stripe::StripeObject + class Ma < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50666,7 +50867,7 @@ module Stripe @field_remappings = {} end end - class Md < Stripe::StripeObject + class Md < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50677,7 +50878,7 @@ module Stripe @field_remappings = {} end end - class Me < Stripe::StripeObject + class Me < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50688,7 +50889,7 @@ module Stripe @field_remappings = {} end end - class Mk < Stripe::StripeObject + class Mk < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50699,7 +50900,7 @@ module Stripe @field_remappings = {} end end - class Mr < Stripe::StripeObject + class Mr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50710,8 +50911,8 @@ module Stripe @field_remappings = {} end end - class Mt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Mt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50735,7 +50936,7 @@ module Stripe @field_remappings = {} end end - class Mx < Stripe::StripeObject + class Mx < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50746,7 +50947,7 @@ module Stripe @field_remappings = {} end end - class My < Stripe::StripeObject + class My < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50757,7 +50958,7 @@ module Stripe @field_remappings = {} end end - class Ng < Stripe::StripeObject + class Ng < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50768,8 +50969,8 @@ module Stripe @field_remappings = {} end end - class Nl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50793,8 +50994,8 @@ module Stripe @field_remappings = {} end end - class No < Stripe::StripeObject - class Standard < Stripe::StripeObject + class No < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50818,7 +51019,7 @@ module Stripe @field_remappings = {} end end - class Np < Stripe::StripeObject + class Np < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50829,8 +51030,8 @@ module Stripe @field_remappings = {} end end - class Nz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50854,7 +51055,7 @@ module Stripe @field_remappings = {} end end - class Om < Stripe::StripeObject + class Om < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50865,7 +51066,7 @@ module Stripe @field_remappings = {} end end - class Pe < Stripe::StripeObject + class Pe < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50876,7 +51077,7 @@ module Stripe @field_remappings = {} end end - class Ph < Stripe::StripeObject + class Ph < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50887,8 +51088,8 @@ module Stripe @field_remappings = {} end end - class Pl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50912,8 +51113,8 @@ module Stripe @field_remappings = {} end end - class Pt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50937,8 +51138,8 @@ module Stripe @field_remappings = {} end end - class Ro < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ro < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -50962,7 +51163,7 @@ module Stripe @field_remappings = {} end end - class Rs < Stripe::StripeObject + class Rs < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50973,7 +51174,7 @@ module Stripe @field_remappings = {} end end - class Ru < Stripe::StripeObject + class Ru < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50984,7 +51185,7 @@ module Stripe @field_remappings = {} end end - class Sa < Stripe::StripeObject + class Sa < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -50995,8 +51196,8 @@ module Stripe @field_remappings = {} end end - class Se < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Se < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -51020,8 +51221,8 @@ module Stripe @field_remappings = {} end end - class Sg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -51045,8 +51246,8 @@ module Stripe @field_remappings = {} end end - class Si < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Si < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -51070,8 +51271,8 @@ module Stripe @field_remappings = {} end end - class Sk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -51095,7 +51296,7 @@ module Stripe @field_remappings = {} end end - class Sn < Stripe::StripeObject + class Sn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51106,7 +51307,7 @@ module Stripe @field_remappings = {} end end - class Sr < Stripe::StripeObject + class Sr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51117,7 +51318,7 @@ module Stripe @field_remappings = {} end end - class Th < Stripe::StripeObject + class Th < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51128,7 +51329,7 @@ module Stripe @field_remappings = {} end end - class Tj < Stripe::StripeObject + class Tj < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51139,7 +51340,7 @@ module Stripe @field_remappings = {} end end - class Tr < Stripe::StripeObject + class Tr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51150,7 +51351,7 @@ module Stripe @field_remappings = {} end end - class Tz < Stripe::StripeObject + class Tz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51161,7 +51362,7 @@ module Stripe @field_remappings = {} end end - class Ua < Stripe::StripeObject + class Ua < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51172,7 +51373,7 @@ module Stripe @field_remappings = {} end end - class Ug < Stripe::StripeObject + class Ug < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51183,8 +51384,8 @@ module Stripe @field_remappings = {} end end - class Us < Stripe::StripeObject - class LocalAmusementTax < Stripe::StripeObject + class Us < ::Stripe::StripeObject + class LocalAmusementTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(String) } def jurisdiction; end @@ -51195,7 +51396,7 @@ module Stripe @field_remappings = {} end end - class LocalLeaseTax < Stripe::StripeObject + class LocalLeaseTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(String) } def jurisdiction; end @@ -51206,8 +51407,8 @@ module Stripe @field_remappings = {} end end - class StateSalesTax < Stripe::StripeObject - class Election < Stripe::StripeObject + class StateSalesTax < ::Stripe::StripeObject + class Election < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(T.nilable(String)) } def jurisdiction; end @@ -51257,7 +51458,7 @@ module Stripe @field_remappings = {} end end - class Uy < Stripe::StripeObject + class Uy < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51268,7 +51469,7 @@ module Stripe @field_remappings = {} end end - class Uz < Stripe::StripeObject + class Uz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51279,7 +51480,7 @@ module Stripe @field_remappings = {} end end - class Vn < Stripe::StripeObject + class Vn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51290,7 +51491,7 @@ module Stripe @field_remappings = {} end end - class Za < Stripe::StripeObject + class Za < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51301,7 +51502,7 @@ module Stripe @field_remappings = {} end end - class Zm < Stripe::StripeObject + class Zm < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51312,7 +51513,7 @@ module Stripe @field_remappings = {} end end - class Zw < Stripe::StripeObject + class Zw < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -51756,13 +51957,13 @@ module Stripe def status; end # Creates a new Tax Registration object. sig { - params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def self.create(params = {}, opts = {}); end # Returns a list of Tax Registration objects. sig { - params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -51770,7 +51971,7 @@ module Stripe # # A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def self.update(id, params = {}, opts = {}); end end @@ -51783,7 +51984,7 @@ module Stripe # # Related guide: [Using the Settings API](https://stripe.com/docs/tax/settings-api) class Settings < SingletonAPIResource - class Defaults < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject # The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). sig { returns(String) } def provider; end @@ -51800,8 +52001,8 @@ module Stripe @field_remappings = {} end end - class HeadOffice < Stripe::StripeObject - class Address < Stripe::StripeObject + class HeadOffice < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -51837,8 +52038,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Active < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Active < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -51846,7 +52047,7 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject + class Pending < ::Stripe::StripeObject # The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call. sig { returns(T.nilable(T::Array[String])) } def missing_fields; end @@ -51898,8 +52099,8 @@ module Stripe # # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction) class Transaction < APIResource - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -51925,7 +52126,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -51961,7 +52162,7 @@ module Stripe @field_remappings = {} end end - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the reversed `Transaction` object. sig { returns(T.nilable(String)) } def original_transaction; end @@ -51972,8 +52173,8 @@ module Stripe @field_remappings = {} end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -52009,9 +52210,9 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -52031,7 +52232,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end @@ -52114,7 +52315,7 @@ module Stripe sig { returns(String) } def id; end # The tax collected or refunded, by line item. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -52148,25 +52349,25 @@ module Stripe def type; end # Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def self.create_from_calculation(params = {}, opts = {}); end # Partially or fully reverses a previously created Transaction. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def self.create_reversal(params = {}, opts = {}); end # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(transaction, params = {}, opts = {}); end end @@ -52190,7 +52391,7 @@ module Stripe def object; end # A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations. sig { - params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -52202,15 +52403,15 @@ module Stripe # # Related guides: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids), [Account tax IDs](https://stripe.com/docs/invoicing/connect#account-tax-ids) class TaxId < APIResource - class Owner < Stripe::StripeObject + class Owner < ::Stripe::StripeObject # The account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The Connect Application being referenced when `type` is `application`. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The customer being referenced when `type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account being referenced when `type` is `customer`. sig { returns(T.nilable(String)) } @@ -52225,7 +52426,7 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject + class Verification < ::Stripe::StripeObject # Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`. sig { returns(String) } def status; end @@ -52249,7 +52450,7 @@ module Stripe sig { returns(Integer) } def created; end # ID of the customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the account. sig { returns(T.nilable(String)) } @@ -52280,25 +52481,25 @@ module Stripe def deleted; end # Creates a new account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def self.create(params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def self.delete(id, params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(params = {}, opts = {}); end # Returns a list of tax IDs. sig { - params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -52309,7 +52510,7 @@ module Stripe # # Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates) class TaxRate < APIResource - class FlatAmount < Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -52381,19 +52582,19 @@ module Stripe def tax_type; end # Creates a new tax rate. sig { - params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def self.create(params = {}, opts = {}); end # Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first. sig { - params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing tax rate. sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def self.update(tax_rate, params = {}, opts = {}); end end @@ -52404,9 +52605,9 @@ module Stripe # A Configurations object represents how features should be configured for terminal readers. # For information about how to use it, see the [Terminal configurations documentation](https://docs.stripe.com/terminal/fleet/configurations-overview). class Configuration < APIResource - class BbposWisepad3 < Stripe::StripeObject + class BbposWisepad3 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -52415,9 +52616,9 @@ module Stripe @field_remappings = {} end end - class BbposWiseposE < Stripe::StripeObject + class BbposWiseposE < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -52426,7 +52627,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -52437,7 +52638,7 @@ module Stripe @field_remappings = {} end end - class ReaderSecurity < Stripe::StripeObject + class ReaderSecurity < ::Stripe::StripeObject # Passcode used to access a reader's admin menu. sig { returns(String) } def admin_menu_passcode; end @@ -52448,7 +52649,7 @@ module Stripe @field_remappings = {} end end - class RebootWindow < Stripe::StripeObject + class RebootWindow < ::Stripe::StripeObject # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -52462,9 +52663,9 @@ module Stripe @field_remappings = {} end end - class StripeS700 < Stripe::StripeObject + class StripeS700 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -52473,8 +52674,8 @@ module Stripe @field_remappings = {} end end - class Tipping < Stripe::StripeObject - class Aed < Stripe::StripeObject + class Tipping < ::Stripe::StripeObject + class Aed < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52491,7 +52692,7 @@ module Stripe @field_remappings = {} end end - class Aud < Stripe::StripeObject + class Aud < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52508,7 +52709,7 @@ module Stripe @field_remappings = {} end end - class Bgn < Stripe::StripeObject + class Bgn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52525,7 +52726,7 @@ module Stripe @field_remappings = {} end end - class Cad < Stripe::StripeObject + class Cad < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52542,7 +52743,7 @@ module Stripe @field_remappings = {} end end - class Chf < Stripe::StripeObject + class Chf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52559,7 +52760,7 @@ module Stripe @field_remappings = {} end end - class Czk < Stripe::StripeObject + class Czk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52576,7 +52777,7 @@ module Stripe @field_remappings = {} end end - class Dkk < Stripe::StripeObject + class Dkk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52593,7 +52794,7 @@ module Stripe @field_remappings = {} end end - class Eur < Stripe::StripeObject + class Eur < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52610,7 +52811,7 @@ module Stripe @field_remappings = {} end end - class Gbp < Stripe::StripeObject + class Gbp < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52627,7 +52828,7 @@ module Stripe @field_remappings = {} end end - class Hkd < Stripe::StripeObject + class Gip < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52644,7 +52845,7 @@ module Stripe @field_remappings = {} end end - class Huf < Stripe::StripeObject + class Hkd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52661,7 +52862,7 @@ module Stripe @field_remappings = {} end end - class Jpy < Stripe::StripeObject + class Huf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52678,7 +52879,7 @@ module Stripe @field_remappings = {} end end - class Mxn < Stripe::StripeObject + class Jpy < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52695,7 +52896,7 @@ module Stripe @field_remappings = {} end end - class Myr < Stripe::StripeObject + class Mxn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52712,7 +52913,7 @@ module Stripe @field_remappings = {} end end - class Nok < Stripe::StripeObject + class Myr < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52729,7 +52930,7 @@ module Stripe @field_remappings = {} end end - class Nzd < Stripe::StripeObject + class Nok < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52746,7 +52947,7 @@ module Stripe @field_remappings = {} end end - class Pln < Stripe::StripeObject + class Nzd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52763,7 +52964,7 @@ module Stripe @field_remappings = {} end end - class Ron < Stripe::StripeObject + class Pln < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52780,7 +52981,7 @@ module Stripe @field_remappings = {} end end - class Sek < Stripe::StripeObject + class Ron < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52797,7 +52998,7 @@ module Stripe @field_remappings = {} end end - class Sgd < Stripe::StripeObject + class Sek < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52814,7 +53015,24 @@ module Stripe @field_remappings = {} end end - class Usd < Stripe::StripeObject + class Sgd < ::Stripe::StripeObject + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Usd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -52858,6 +53076,9 @@ module Stripe # Attribute for field gbp sig { returns(T.nilable(Gbp)) } def gbp; end + # Attribute for field gip + sig { returns(T.nilable(Gip)) } + def gip; end # Attribute for field hkd sig { returns(T.nilable(Hkd)) } def hkd; end @@ -52905,6 +53126,7 @@ module Stripe dkk: Dkk, eur: Eur, gbp: Gbp, + gip: Gip, hkd: Hkd, huf: Huf, jpy: Jpy, @@ -52923,9 +53145,9 @@ module Stripe @field_remappings = {} end end - class VerifoneP400 < Stripe::StripeObject + class VerifoneP400 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -52934,8 +53156,8 @@ module Stripe @field_remappings = {} end end - class Wifi < Stripe::StripeObject - class EnterpriseEapPeap < Stripe::StripeObject + class Wifi < ::Stripe::StripeObject + class EnterpriseEapPeap < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -52955,7 +53177,7 @@ module Stripe @field_remappings = {} end end - class EnterpriseEapTls < Stripe::StripeObject + class EnterpriseEapTls < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -52978,7 +53200,7 @@ module Stripe @field_remappings = {} end end - class PersonalPsk < Stripe::StripeObject + class PersonalPsk < ::Stripe::StripeObject # Password for connecting to the WiFi network sig { returns(String) } def password; end @@ -53062,31 +53284,31 @@ module Stripe def deleted; end # Creates a new Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.create(params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.delete(configuration, params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def delete(params = {}, opts = {}); end # Returns a list of Configuration objects. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a new Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.update(configuration, params = {}, opts = {}); end end @@ -53110,7 +53332,7 @@ module Stripe def secret; end # To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token. sig { - params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ConnectionToken) + params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ConnectionToken) } def self.create(params = {}, opts = {}); end end @@ -53123,7 +53345,7 @@ module Stripe # # Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) class Location < APIResource - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -53149,7 +53371,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -53178,7 +53400,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -53249,31 +53471,31 @@ module Stripe # Creates a new Location object. # For further details, including which address fields are required in each country, see the [Manage locations](https://docs.stripe.com/docs/terminal/fleet/locations) guide. sig { - params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.create(params = {}, opts = {}); end # Deletes a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.delete(location, params = {}, opts = {}); end # Deletes a Location object. sig { - params(params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def delete(params = {}, opts = {}); end # Returns a list of Location objects. sig { - params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.update(location, params = {}, opts = {}); end end @@ -53284,8 +53506,8 @@ module Stripe module Terminal # Returns redirect links used for onboarding onto Tap to Pay on iPhone. class OnboardingLink < APIResource - class LinkOptions < Stripe::StripeObject - class AppleTermsAndConditions < Stripe::StripeObject + class LinkOptions < ::Stripe::StripeObject + class AppleTermsAndConditions < ::Stripe::StripeObject # Whether the link should also support users relinking their Apple account. sig { returns(T.nilable(T::Boolean)) } def allow_relinking; end @@ -53326,7 +53548,7 @@ module Stripe def redirect_url; end # Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone. sig { - params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::OnboardingLink) + params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::OnboardingLink) } def self.create(params = {}, opts = {}); end end @@ -53337,7 +53559,7 @@ module Stripe module Terminal # Returns data collected by Terminal readers. This data is only stored for 24 hours. class ReaderCollectedData < APIResource - class Magstripe < Stripe::StripeObject + class Magstripe < ::Stripe::StripeObject # The raw magstripe data collected by the reader. sig { returns(T.nilable(String)) } def data; end @@ -53376,10 +53598,10 @@ module Stripe # # Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader) class Reader < APIResource - class Action < Stripe::StripeObject - class CollectInputs < Stripe::StripeObject - class Input < Stripe::StripeObject - class CustomText < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class CollectInputs < ::Stripe::StripeObject + class Input < ::Stripe::StripeObject + class CustomText < ::Stripe::StripeObject # Customize the default description for this input sig { returns(T.nilable(String)) } def description; end @@ -53399,7 +53621,7 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # The collected email address sig { returns(T.nilable(String)) } def value; end @@ -53410,7 +53632,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The collected number sig { returns(T.nilable(String)) } def value; end @@ -53421,7 +53643,7 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # The collected phone number sig { returns(T.nilable(String)) } def value; end @@ -53432,15 +53654,15 @@ module Stripe @field_remappings = {} end end - class Selection < Stripe::StripeObject - class Choice < Stripe::StripeObject - # The id to be selected + class Selection < ::Stripe::StripeObject + class Choice < ::Stripe::StripeObject + # The identifier for the selected choice. Maximum 50 characters. sig { returns(T.nilable(String)) } def id; end - # The button style for the choice + # The button style for the choice. Can be `primary` or `secondary`. sig { returns(T.nilable(String)) } def style; end - # The text to be selected + # The text to be selected. Maximum 30 characters. sig { returns(String) } def text; end def self.inner_class_types @@ -53466,7 +53688,7 @@ module Stripe @field_remappings = {} end end - class Signature < Stripe::StripeObject + class Signature < ::Stripe::StripeObject # The File ID of a collected signature image sig { returns(T.nilable(String)) } def value; end @@ -53477,7 +53699,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The collected text value sig { returns(T.nilable(String)) } def value; end @@ -53488,17 +53710,17 @@ module Stripe @field_remappings = {} end end - class Toggle < Stripe::StripeObject - # The toggle's default value + class Toggle < ::Stripe::StripeObject + # The toggle's default value. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def default_value; end - # The toggle's description text + # The toggle's description text. Maximum 50 characters. sig { returns(T.nilable(String)) } def description; end - # The toggle's title text + # The toggle's title text. Maximum 50 characters. sig { returns(T.nilable(String)) } def title; end - # The toggle's collected value + # The toggle's collected value. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def value; end def self.inner_class_types @@ -53570,9 +53792,9 @@ module Stripe @field_remappings = {} end end - class CollectPaymentMethod < Stripe::StripeObject - class CollectConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class CollectPaymentMethod < ::Stripe::StripeObject + class CollectConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -53606,14 +53828,14 @@ module Stripe sig { returns(T.nilable(CollectConfig)) } def collect_config; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end def self.inner_class_types @inner_class_types = {collect_config: CollectConfig} @@ -53622,8 +53844,8 @@ module Stripe @field_remappings = {} end end - class ConfirmPaymentIntent < Stripe::StripeObject - class ConfirmConfig < Stripe::StripeObject + class ConfirmPaymentIntent < ::Stripe::StripeObject + class ConfirmConfig < ::Stripe::StripeObject # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -53641,7 +53863,7 @@ module Stripe sig { returns(T.nilable(ConfirmConfig)) } def confirm_config; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {confirm_config: ConfirmConfig} @@ -53650,9 +53872,9 @@ module Stripe @field_remappings = {} end end - class ProcessPaymentIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class ProcessPaymentIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -53686,7 +53908,7 @@ module Stripe sig { returns(T.nilable(String)) } def account; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end # Represents a per-transaction override of a reader configuration sig { returns(T.nilable(ProcessConfig)) } @@ -53698,8 +53920,8 @@ module Stripe @field_remappings = {} end end - class ProcessSetupIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject + class ProcessSetupIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when processing this SetupIntent. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -53717,7 +53939,7 @@ module Stripe sig { returns(T.nilable(ProcessConfig)) } def process_config; end # Most recent SetupIntent processed by the reader. - sig { returns(T.any(String, Stripe::SetupIntent)) } + sig { returns(T.any(String, ::Stripe::SetupIntent)) } def setup_intent; end def self.inner_class_types @inner_class_types = {process_config: ProcessConfig} @@ -53726,8 +53948,8 @@ module Stripe @field_remappings = {} end end - class RefundPayment < Stripe::StripeObject - class RefundPaymentConfig < Stripe::StripeObject + class RefundPayment < ::Stripe::StripeObject + class RefundPaymentConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when refunding this payment. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -53745,19 +53967,19 @@ module Stripe sig { returns(T.nilable(Integer)) } def amount; end # Charge that is being refunded. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # Payment intent that is being refunded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The reason for the refund. sig { returns(T.nilable(String)) } def reason; end # Unique identifier for the refund object. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def refund; end # Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. sig { returns(T.nilable(T::Boolean)) } @@ -53775,9 +53997,9 @@ module Stripe @field_remappings = {} end end - class SetReaderDisplay < Stripe::StripeObject - class Cart < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class SetReaderDisplay < ::Stripe::StripeObject + class Cart < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -53813,10 +54035,10 @@ module Stripe @field_remappings = {} end end - # Cart object to be displayed by the reader. + # Cart object to be displayed by the reader, including line items, amounts, and currency. sig { returns(T.nilable(Cart)) } def cart; end - # Type of information to be displayed by the reader. + # Type of information to be displayed by the reader. Only `cart` is currently supported. sig { returns(String) } def type; end def self.inner_class_types @@ -53892,11 +54114,14 @@ module Stripe # Custom label given to the reader for easier identification. sig { returns(String) } def label; end + # The last time this reader reported to Stripe backend. + sig { returns(T.nilable(Integer)) } + def last_seen_at; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # The location identifier of the reader. - sig { returns(T.nilable(T.any(String, Stripe::Terminal::Location))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Terminal::Location))) } def location; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T::Hash[String, String]) } @@ -53913,129 +54138,129 @@ module Stripe # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def cancel_action(params = {}, opts = {}); end - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.cancel_action(reader, params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_inputs(params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.collect_inputs(reader, params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_payment_method(params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.collect_payment_method(reader, params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def confirm_payment_intent(params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.confirm_payment_intent(reader, params = {}, opts = {}); end # Creates a new Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.create(params = {}, opts = {}); end # Deletes a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.delete(reader, params = {}, opts = {}); end # Deletes a Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def delete(params = {}, opts = {}); end # Returns a list of Reader objects. sig { - params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_payment_intent(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.process_payment_intent(reader, params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_setup_intent(params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.process_setup_intent(reader, params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def refund_payment(params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.refund_payment(reader, params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def set_reader_display(params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.set_reader_display(reader, params = {}, opts = {}); end # Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.update(reader, params = {}, opts = {}); end end @@ -54048,8 +54273,8 @@ module Stripe # objects at a frozen time in the past or future, and advance to a specific future time to observe webhooks and state changes. After the clock advances, # you can either validate the current state of your scenario (and test your assumptions), change the current state of your scenario (and test more complex scenarios), or keep advancing forward in time. class TestClock < APIResource - class StatusDetails < Stripe::StripeObject - class Advancing < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Advancing < ::Stripe::StripeObject # The `frozen_time` that the Test Clock is advancing towards. sig { returns(Integer) } def target_frozen_time; end @@ -54102,37 +54327,37 @@ module Stripe def deleted; end # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def advance(params = {}, opts = {}); end # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.advance(test_clock, params = {}, opts = {}); end # Creates a new test clock that can be attached to new customers and quotes. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.create(params = {}, opts = {}); end # Deletes a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.delete(test_clock, params = {}, opts = {}); end # Deletes a test clock. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def delete(params = {}, opts = {}); end # Returns a list of your test clocks. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -54168,14 +54393,14 @@ module Stripe # They can be bank accounts or debit cards as well, and are documented in the links above. # # Related guide: [Bank debits and transfers](/payments/bank-debits-transfers) - sig { returns(T.nilable(Stripe::BankAccount)) } + sig { returns(T.nilable(::Stripe::BankAccount)) } def bank_account; end # You can store multiple cards on a customer in order to charge the customer # later. You can also store multiple debit cards on a recipient in order to # transfer to those cards later. # # Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) - sig { returns(T.nilable(Stripe::Card)) } + sig { returns(T.nilable(::Stripe::Card)) } def card; end # IP address of the client that generates the token. sig { returns(T.nilable(String)) } @@ -54201,7 +54426,7 @@ module Stripe # Creates a single-use token that represents a bank account's details. # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://docs.stripe.com/api#accounts) where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. sig { - params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def self.create(params = {}, opts = {}); end end @@ -54218,7 +54443,7 @@ module Stripe sig { returns(Integer) } def amount; end # ID of the balance transaction that describes the impact of this top-up on your account balance. May not be specified depending on status of top-up. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -54251,7 +54476,7 @@ module Stripe sig { returns(String) } def object; end # The source field is deprecated. It might not always be present in the API response. - sig { returns(T.nilable(Stripe::Source)) } + sig { returns(T.nilable(::Stripe::Source)) } def source; end # Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter. sig { returns(T.nilable(String)) } @@ -54264,31 +54489,31 @@ module Stripe def transfer_group; end # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def cancel(params = {}, opts = {}); end # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.cancel(topup, params = {}, opts = {}); end # Top up the balance of an account sig { - params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.create(params = {}, opts = {}); end # Returns a list of top-ups. sig { - params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the metadata of a top-up. Other top-up details are not editable by design. sig { - params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.update(topup, params = {}, opts = {}); end end @@ -54313,7 +54538,7 @@ module Stripe sig { returns(Integer) } def amount_reversed; end # Balance transaction that describes the impact of this transfer on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time that this record of the transfer was first created. sig { returns(Integer) } @@ -54325,10 +54550,10 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # ID of the Stripe account the transfer was sent to. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def destination; end # If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def destination_payment; end # The FX Quote used for the transfer. sig { returns(T.nilable(String)) } @@ -54346,13 +54571,13 @@ module Stripe sig { returns(String) } def object; end # A list of reversals that have been applied to the transfer. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def reversals; end # Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false. sig { returns(T::Boolean) } def reversed; end # ID of the charge that was used to fund the transfer. If null, the transfer was funded from the available balance. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def source_transaction; end # The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`. sig { returns(T.nilable(String)) } @@ -54362,13 +54587,13 @@ module Stripe def transfer_group; end # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. sig { - params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def self.create(params = {}, opts = {}); end # Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first. sig { - params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -54376,7 +54601,7 @@ module Stripe # # This request accepts only metadata as an argument. sig { - params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def self.update(transfer, params = {}, opts = {}); end end @@ -54401,7 +54626,7 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -54410,7 +54635,7 @@ module Stripe sig { returns(String) } def currency; end # Linked payment refund for the transfer reversal. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def destination_payment_refund; end # Unique identifier for the object. sig { returns(String) } @@ -54422,10 +54647,10 @@ module Stripe sig { returns(String) } def object; end # ID of the refund responsible for the transfer reversal. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def source_refund; end # ID of the transfer that was reversed. - sig { returns(T.any(String, Stripe::Transfer)) } + sig { returns(T.any(String, ::Stripe::Transfer)) } def transfer; end end end @@ -54434,7 +54659,7 @@ module Stripe module Treasury # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. class CreditReversal < APIResource - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the CreditReversal changed status to `posted` sig { returns(T.nilable(Integer)) } def posted_at; end @@ -54485,17 +54710,17 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Reverses a ReceivedCredit and creates a CreditReversal object. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def self.create(params = {}, opts = {}); end # Returns a list of CreditReversals. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -54506,7 +54731,7 @@ module Stripe module Treasury # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. class DebitReversal < APIResource - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # Set if there is an Issuing dispute associated with the DebitReversal. sig { returns(T.nilable(String)) } def issuing_dispute; end @@ -54517,7 +54742,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the DebitReversal changed status to `completed`. sig { returns(T.nilable(Integer)) } def completed_at; end @@ -54571,17 +54796,17 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Reverses a ReceivedDebit and creates a DebitReversal object. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def self.create(params = {}, opts = {}); end # Returns a list of DebitReversals. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -54593,7 +54818,7 @@ module Stripe # Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance. # FinancialAccounts serve as the source and destination of Treasury's money movement APIs. class FinancialAccount < APIResource - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Funds the user can spend right now. sig { returns(T::Hash[String, Integer]) } def cash; end @@ -54610,8 +54835,8 @@ module Stripe @field_remappings = {} end end - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject # The name of the person or business that owns the bank account. sig { returns(String) } def account_holder_name; end @@ -54650,7 +54875,7 @@ module Stripe @field_remappings = {} end end - class PlatformRestrictions < Stripe::StripeObject + class PlatformRestrictions < ::Stripe::StripeObject # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end @@ -54664,8 +54889,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject # The array that contains reasons for a FinancialAccount closure. sig { returns(T::Array[String]) } def reasons; end @@ -54703,7 +54928,7 @@ module Stripe def display_name; end # Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`. # Stripe or the platform can control Features via the requested field. - sig { returns(T.nilable(Stripe::Treasury::FinancialAccountFeatures)) } + sig { returns(T.nilable(::Stripe::Treasury::FinancialAccountFeatures)) } def features; end # The set of credentials that resolve to a FinancialAccount. sig { returns(T::Array[FinancialAddress]) } @@ -54746,55 +54971,55 @@ module Stripe def supported_currencies; end # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def close(params = {}, opts = {}); end # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.close(financial_account, params = {}, opts = {}); end # Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.create(params = {}, opts = {}); end # Returns a list of FinancialAccounts. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Retrieves Features information associated with the FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def retrieve_features(params = {}, opts = {}); end # Retrieves Features information associated with the FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def self.retrieve_features(financial_account, params = {}, opts = {}); end # Updates the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.update(financial_account, params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def update_features(params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def self.update_features(financial_account, params = {}, opts = {}); end end @@ -54807,7 +55032,7 @@ module Stripe # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) class InboundTransfer < APIResource - class FailureDetails < Stripe::StripeObject + class FailureDetails < ::Stripe::StripeObject # Reason for the failure. sig { returns(String) } def code; end @@ -54818,7 +55043,7 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return. sig { returns(T.nilable(String)) } def received_debit; end @@ -54829,9 +55054,9 @@ module Stripe @field_remappings = {} end end - class OriginPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class OriginPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -54873,7 +55098,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -54890,7 +55115,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -54921,7 +55146,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an InboundTransfer changed status to `canceled`. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -54996,29 +55221,29 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Cancels an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def cancel(params = {}, opts = {}); end # Cancels an InboundTransfer. sig { - params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def self.cancel(inbound_transfer, params = {}, opts = {}); end # Creates an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def self.create(params = {}, opts = {}); end # Returns a list of InboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -55033,9 +55258,9 @@ module Stripe # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) class OutboundPayment < APIResource - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -55077,7 +55302,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. sig { returns(String) } def id; end @@ -55091,7 +55316,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -55108,7 +55333,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -55146,7 +55371,7 @@ module Stripe @field_remappings = {} end end - class EndUserDetails < Stripe::StripeObject + class EndUserDetails < ::Stripe::StripeObject # IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked. sig { returns(T.nilable(String)) } def ip_address; end @@ -55160,12 +55385,12 @@ module Stripe @field_remappings = {} end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. sig { returns(String) } def code; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end def self.inner_class_types @inner_class_types = {} @@ -55174,7 +55399,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -55194,8 +55419,8 @@ module Stripe @field_remappings = {} end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundPayment for payments sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -55206,7 +55431,7 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -55303,29 +55528,29 @@ module Stripe sig { returns(T.nilable(TrackingDetails)) } def tracking_details; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # Cancel an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def cancel(params = {}, opts = {}); end # Cancel an OutboundPayment. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def self.cancel(id, params = {}, opts = {}); end # Creates an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def self.create(params = {}, opts = {}); end # Returns a list of OutboundPayments sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -55340,9 +55565,9 @@ module Stripe # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) class OutboundTransfer < APIResource - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -55384,7 +55609,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. sig { returns(String) } def id; end @@ -55398,7 +55623,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -55415,7 +55640,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -55453,8 +55678,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -55478,12 +55703,12 @@ module Stripe @field_remappings = {} end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. sig { returns(String) } def code; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end def self.inner_class_types @inner_class_types = {} @@ -55492,7 +55717,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled` sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -55512,8 +55737,8 @@ module Stripe @field_remappings = {} end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -55524,7 +55749,7 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -55618,29 +55843,29 @@ module Stripe sig { returns(T.nilable(TrackingDetails)) } def tracking_details; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def cancel(params = {}, opts = {}); end # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def self.cancel(outbound_transfer, params = {}, opts = {}); end # Creates an OutboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def self.create(params = {}, opts = {}); end # Returns a list of OutboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -55651,9 +55876,9 @@ module Stripe module Treasury # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. class ReceivedCredit < APIResource - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -55695,7 +55920,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. sig { returns(String) } def id; end @@ -55709,7 +55934,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. sig { returns(T.nilable(String)) } def bank_name; end @@ -55755,24 +55980,24 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject - class SourceFlowDetails < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject + class SourceFlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # A `Payout` object is created when you receive funds from Stripe, or when you # initiate a payout to either a bank account or debit card of a [connected @@ -55782,7 +56007,7 @@ module Stripe # industry. # # Related guide: [Receiving payouts](https://stripe.com/docs/payouts) - sig { returns(T.nilable(Stripe::Payout)) } + sig { returns(T.nilable(::Stripe::Payout)) } def payout; end # The type of the source flow that originated the ReceivedCredit. sig { returns(String) } @@ -55819,8 +56044,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -55844,7 +56069,7 @@ module Stripe @field_remappings = {} end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedCredit can be reversed. sig { returns(T.nilable(Integer)) } def deadline; end @@ -55907,11 +56132,11 @@ module Stripe sig { returns(String) } def status; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Returns a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -55922,9 +56147,9 @@ module Stripe module Treasury # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. class ReceivedDebit < APIResource - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -55966,7 +56191,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. sig { returns(String) } def id; end @@ -55980,7 +56205,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. sig { returns(T.nilable(String)) } def bank_name; end @@ -56026,7 +56251,7 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # The DebitReversal created as a result of this ReceivedDebit being reversed. sig { returns(T.nilable(String)) } def debit_reversal; end @@ -56052,8 +56277,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -56077,7 +56302,7 @@ module Stripe @field_remappings = {} end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedDebit can be reversed. sig { returns(T.nilable(Integer)) } def deadline; end @@ -56140,11 +56365,11 @@ module Stripe sig { returns(String) } def status; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Returns a list of ReceivedDebits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -56155,7 +56380,7 @@ module Stripe module Treasury # TransactionEntries represent individual units of money movements within a single [Transaction](https://stripe.com/docs/api#transactions). class TransactionEntry < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. sig { returns(Integer) } def cash; end @@ -56172,44 +56397,44 @@ module Stripe @field_remappings = {} end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - sig { returns(T.nilable(Stripe::Treasury::DebitReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::DebitReversal)) } def debit_reversal; end # Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::InboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::InboundTransfer)) } def inbound_transfer; end # When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization` # object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the # purchase to be completed successfully. # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) - sig { returns(T.nilable(Stripe::Issuing::Authorization)) } + sig { returns(T.nilable(::Stripe::Issuing::Authorization)) } def issuing_authorization; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedCredit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedCredit)) } def received_credit; end # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedDebit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedDebit)) } def received_debit; end # Type of the flow that created the Transaction. Set to the same value as `flow_type`. sig { returns(String) } @@ -56255,14 +56480,14 @@ module Stripe sig { returns(String) } def object; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # The specific money movement that generated the TransactionEntry. sig { returns(String) } def type; end # Retrieves a list of TransactionEntry objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -56273,7 +56498,7 @@ module Stripe module Treasury # Transactions represent changes to a [FinancialAccount's](https://stripe.com/docs/api#financial_accounts) balance. class Transaction < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. sig { returns(Integer) } def cash; end @@ -56290,44 +56515,44 @@ module Stripe @field_remappings = {} end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - sig { returns(T.nilable(Stripe::Treasury::DebitReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::DebitReversal)) } def debit_reversal; end # Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::InboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::InboundTransfer)) } def inbound_transfer; end # When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization` # object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the # purchase to be completed successfully. # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) - sig { returns(T.nilable(Stripe::Issuing::Authorization)) } + sig { returns(T.nilable(::Stripe::Issuing::Authorization)) } def issuing_authorization; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedCredit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedCredit)) } def received_credit; end # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedDebit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedDebit)) } def received_debit; end # Type of the flow that created the Transaction. Set to the same value as `flow_type`. sig { returns(String) } @@ -56339,7 +56564,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the Transaction changed status to `posted`. sig { returns(T.nilable(Integer)) } def posted_at; end @@ -56369,7 +56594,7 @@ module Stripe sig { returns(String) } def description; end # A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def entries; end # The FinancialAccount associated with this object. sig { returns(String) } @@ -56400,7 +56625,7 @@ module Stripe def status_transitions; end # Retrieves a list of Transaction objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end @@ -56457,31 +56682,31 @@ module Stripe def deleted; end # A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the [webhooks settings](https://dashboard.stripe.com/account/webhooks) section of the Dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.create(params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.delete(webhook_endpoint, params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def delete(params = {}, opts = {}); end # Returns a list of your webhook endpoints. sig { - params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.update(webhook_endpoint, params = {}, opts = {}); end end @@ -56492,8 +56717,8 @@ module Stripe module Billing # BillSetting is responsible for settings which dictate generating bills, which include settings for calculating totals on bills, tax on bill items, as well as how to generate and present invoices. class BillSetting < APIResource - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -56514,8 +56739,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -56585,8 +56810,8 @@ module Stripe module V2 module Billing class BillSettingVersion < APIResource - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -56607,8 +56832,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -56663,9 +56888,9 @@ module Stripe module V2 module Billing class Cadence < APIResource - class BillingCycle < Stripe::StripeObject - class Day < Stripe::StripeObject - class Time < Stripe::StripeObject + class BillingCycle < ::Stripe::StripeObject + class Day < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -56696,8 +56921,8 @@ module Stripe @field_remappings = {} end end - class Month < Stripe::StripeObject - class Time < Stripe::StripeObject + class Month < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -56737,8 +56962,8 @@ module Stripe @field_remappings = {} end end - class Week < Stripe::StripeObject - class Time < Stripe::StripeObject + class Week < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -56773,8 +56998,8 @@ module Stripe @field_remappings = {} end end - class Year < Stripe::StripeObject - class Time < Stripe::StripeObject + class Year < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -56838,7 +57063,7 @@ module Stripe @field_remappings = {} end end - class Payer < Stripe::StripeObject + class Payer < ::Stripe::StripeObject # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(String) } def billing_profile; end @@ -56855,8 +57080,8 @@ module Stripe @field_remappings = {} end end - class Settings < Stripe::StripeObject - class Bill < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -56870,7 +57095,7 @@ module Stripe @field_remappings = {} end end - class Collection < Stripe::StripeObject + class Collection < ::Stripe::StripeObject # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -56897,10 +57122,10 @@ module Stripe @field_remappings = {} end end - class SettingsData < Stripe::StripeObject - class Bill < Stripe::StripeObject - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class SettingsData < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -56921,8 +57146,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -56963,9 +57188,9 @@ module Stripe @field_remappings = {} end end - class Collection < Stripe::StripeObject - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class Collection < ::Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -56989,9 +57214,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -57015,7 +57240,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -57026,8 +57251,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -57063,9 +57288,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -57102,9 +57327,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end @@ -57265,8 +57490,8 @@ module Stripe module Billing # Settings that configure and manage the behavior of collecting payments. class CollectionSetting < APIResource - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -57290,9 +57515,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -57316,7 +57541,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -57327,8 +57552,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -57364,9 +57589,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -57403,9 +57628,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end @@ -57530,8 +57755,8 @@ module Stripe module V2 module Billing class CollectionSettingVersion < APIResource - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -57555,9 +57780,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -57581,7 +57806,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -57592,8 +57817,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -57629,9 +57854,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -57668,9 +57893,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end @@ -57780,7 +58005,7 @@ module Stripe module V2 module Billing class MeterEventAdjustment < APIResource - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(String) } def identifier; end @@ -57928,9 +58153,9 @@ module Stripe module Core # 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. class AccountLink < APIResource - class UseCase < Stripe::StripeObject - class AccountOnboarding < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class UseCase < ::Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -57963,8 +58188,8 @@ module Stripe @field_remappings = {} end end - class AccountUpdate < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class AccountUpdate < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -58047,10 +58272,10 @@ module Stripe module Core # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products. class Account < APIResource - class Configuration < Stripe::StripeObject - class Customer < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Configuration < ::Stripe::StripeObject + class Customer < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. sig { returns(T.nilable(String)) } def country; end @@ -58083,9 +58308,9 @@ module Stripe @field_remappings = {} end end - class Billing < Stripe::StripeObject - class Invoice < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -58099,7 +58324,7 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -58148,9 +58373,9 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58190,8 +58415,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -58263,8 +58488,8 @@ module Stripe @field_remappings = {} end end - class Merchant < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Merchant < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -58278,7 +58503,7 @@ module Stripe @field_remappings = {} end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -58298,9 +58523,9 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject - class AchDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AchDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58330,8 +58555,8 @@ module Stripe @field_remappings = {} end end - class AcssDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AcssDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58361,8 +58586,8 @@ module Stripe @field_remappings = {} end end - class AffirmPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AffirmPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58392,8 +58617,8 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AfterpayClearpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58423,8 +58648,8 @@ module Stripe @field_remappings = {} end end - class AlmaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AlmaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58454,8 +58679,8 @@ module Stripe @field_remappings = {} end end - class AmazonPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AmazonPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58485,8 +58710,8 @@ module Stripe @field_remappings = {} end end - class AuBecsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AuBecsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58516,8 +58741,8 @@ module Stripe @field_remappings = {} end end - class BacsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58547,8 +58772,8 @@ module Stripe @field_remappings = {} end end - class BancontactPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BancontactPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58578,8 +58803,8 @@ module Stripe @field_remappings = {} end end - class BlikPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BlikPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58609,8 +58834,8 @@ module Stripe @field_remappings = {} end end - class BoletoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BoletoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58640,8 +58865,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58671,8 +58896,8 @@ module Stripe @field_remappings = {} end end - class CartesBancairesPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CartesBancairesPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58702,8 +58927,8 @@ module Stripe @field_remappings = {} end end - class CashappPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CashappPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58733,8 +58958,8 @@ module Stripe @field_remappings = {} end end - class EpsPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class EpsPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58764,8 +58989,8 @@ module Stripe @field_remappings = {} end end - class FpxPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FpxPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58795,8 +59020,8 @@ module Stripe @field_remappings = {} end end - class GbBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GbBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58826,8 +59051,8 @@ module Stripe @field_remappings = {} end end - class GrabpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GrabpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58857,8 +59082,8 @@ module Stripe @field_remappings = {} end end - class IdealPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IdealPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58888,8 +59113,8 @@ module Stripe @field_remappings = {} end end - class JcbPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JcbPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58919,8 +59144,8 @@ module Stripe @field_remappings = {} end end - class JpBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JpBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58950,8 +59175,8 @@ module Stripe @field_remappings = {} end end - class KakaoPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KakaoPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -58981,8 +59206,8 @@ module Stripe @field_remappings = {} end end - class KlarnaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KlarnaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59012,8 +59237,8 @@ module Stripe @field_remappings = {} end end - class KonbiniPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KonbiniPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59043,8 +59268,8 @@ module Stripe @field_remappings = {} end end - class KrCardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KrCardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59074,8 +59299,8 @@ module Stripe @field_remappings = {} end end - class LinkPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class LinkPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59105,8 +59330,8 @@ module Stripe @field_remappings = {} end end - class MobilepayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MobilepayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59136,8 +59361,8 @@ module Stripe @field_remappings = {} end end - class MultibancoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MultibancoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59167,8 +59392,8 @@ module Stripe @field_remappings = {} end end - class MxBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MxBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59198,8 +59423,8 @@ module Stripe @field_remappings = {} end end - class NaverPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class NaverPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59229,8 +59454,8 @@ module Stripe @field_remappings = {} end end - class OxxoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OxxoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59260,8 +59485,8 @@ module Stripe @field_remappings = {} end end - class P24Payments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class P24Payments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59291,8 +59516,8 @@ module Stripe @field_remappings = {} end end - class PayByBankPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PayByBankPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59322,8 +59547,8 @@ module Stripe @field_remappings = {} end end - class PaycoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaycoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59353,8 +59578,8 @@ module Stripe @field_remappings = {} end end - class PaynowPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaynowPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59384,8 +59609,8 @@ module Stripe @field_remappings = {} end end - class PromptpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PromptpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59415,8 +59640,8 @@ module Stripe @field_remappings = {} end end - class RevolutPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class RevolutPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59446,8 +59671,8 @@ module Stripe @field_remappings = {} end end - class SamsungPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SamsungPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59477,8 +59702,8 @@ module Stripe @field_remappings = {} end end - class SepaBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59508,8 +59733,8 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59539,9 +59764,9 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59581,8 +59806,8 @@ module Stripe @field_remappings = {} end end - class SwishPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SwishPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59612,8 +59837,8 @@ module Stripe @field_remappings = {} end end - class TwintPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class TwintPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59643,8 +59868,8 @@ module Stripe @field_remappings = {} end end - class UsBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59674,8 +59899,8 @@ module Stripe @field_remappings = {} end end - class ZipPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class ZipPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -59893,8 +60118,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -59918,7 +60143,7 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # Creditor ID for SEPA debit payments. sig { returns(T.nilable(String)) } def creditor_id; end @@ -59929,7 +60154,7 @@ module Stripe @field_remappings = {} end end - class StatementDescriptor < Stripe::StripeObject + class StatementDescriptor < ::Stripe::StripeObject # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -59943,8 +60168,8 @@ module Stripe @field_remappings = {} end end - class Support < Stripe::StripeObject - class Address < Stripe::StripeObject + class Support < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -60034,11 +60259,11 @@ module Stripe @field_remappings = {} end end - class Recipient < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class Local < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Recipient < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class Local < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60068,8 +60293,8 @@ module Stripe @field_remappings = {} end end - class Wire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Wire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60112,8 +60337,8 @@ module Stripe @field_remappings = {} end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60143,9 +60368,9 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60175,8 +60400,8 @@ module Stripe @field_remappings = {} end end - class StripeTransfers < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeTransfers < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60239,7 +60464,7 @@ module Stripe @field_remappings = {} end end - class DefaultOutboundDestination < Stripe::StripeObject + class DefaultOutboundDestination < ::Stripe::StripeObject # The payout method ID of the default outbound destination. sig { returns(String) } def id; end @@ -60272,11 +60497,11 @@ module Stripe @field_remappings = {} end end - class Storer < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class FinancialAddresses < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Storer < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60316,9 +60541,9 @@ module Stripe @field_remappings = {} end end - class HoldsCurrencies < Stripe::StripeObject - class Gbp < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class HoldsCurrencies < ::Stripe::StripeObject + class Gbp < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60358,9 +60583,9 @@ module Stripe @field_remappings = {} end end - class InboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60400,9 +60625,9 @@ module Stripe @field_remappings = {} end end - class OutboundPayments < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60432,8 +60657,8 @@ module Stripe @field_remappings = {} end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60463,8 +60688,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60514,9 +60739,9 @@ module Stripe @field_remappings = {} end end - class OutboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60546,8 +60771,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -60658,8 +60883,8 @@ module Stripe @field_remappings = {} end end - class Defaults < Stripe::StripeObject - class Profile < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject + class Profile < ::Stripe::StripeObject # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -60676,7 +60901,7 @@ module Stripe @field_remappings = {} end end - class Responsibilities < Stripe::StripeObject + class Responsibilities < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account. sig { returns(String) } def fees_collector; end @@ -60709,9 +60934,9 @@ module Stripe @field_remappings = {} end end - class Identity < Stripe::StripeObject - class Attestations < Stripe::StripeObject - class DirectorshipDeclaration < Stripe::StripeObject + class Identity < ::Stripe::StripeObject + class Attestations < ::Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -60728,7 +60953,7 @@ module Stripe @field_remappings = {} end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -60745,7 +60970,7 @@ module Stripe @field_remappings = {} end end - class PersonsProvided < Stripe::StripeObject + class PersonsProvided < ::Stripe::StripeObject # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -60765,8 +60990,8 @@ module Stripe @field_remappings = {} end end - class TermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class TermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -60783,7 +61008,7 @@ module Stripe @field_remappings = {} end end - class Storer < Stripe::StripeObject + class Storer < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -60837,8 +61062,8 @@ module Stripe @field_remappings = {} end end - class BusinessDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BusinessDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -60867,9 +61092,9 @@ module Stripe @field_remappings = {} end end - class AnnualRevenue < Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. sig { returns(T.nilable(String)) } @@ -60881,8 +61106,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class BankAccountOwnershipVerification < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class BankAccountOwnershipVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60896,7 +61121,7 @@ module Stripe @field_remappings = {} end end - class CompanyLicense < Stripe::StripeObject + class CompanyLicense < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60910,7 +61135,7 @@ module Stripe @field_remappings = {} end end - class CompanyMemorandumOfAssociation < Stripe::StripeObject + class CompanyMemorandumOfAssociation < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60924,7 +61149,7 @@ module Stripe @field_remappings = {} end end - class CompanyMinisterialDecree < Stripe::StripeObject + class CompanyMinisterialDecree < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60938,7 +61163,7 @@ module Stripe @field_remappings = {} end end - class CompanyRegistrationVerification < Stripe::StripeObject + class CompanyRegistrationVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60952,7 +61177,7 @@ module Stripe @field_remappings = {} end end - class CompanyTaxIdVerification < Stripe::StripeObject + class CompanyTaxIdVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -60966,8 +61191,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -60994,7 +61219,7 @@ module Stripe @field_remappings = {} end end - class ProofOfAddress < Stripe::StripeObject + class ProofOfAddress < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61008,7 +61233,7 @@ module Stripe @field_remappings = {} end end - class ProofOfRegistration < Stripe::StripeObject + class ProofOfRegistration < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61022,7 +61247,7 @@ module Stripe @field_remappings = {} end end - class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject + class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61084,7 +61309,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -61098,9 +61323,9 @@ module Stripe @field_remappings = {} end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end def self.inner_class_types @inner_class_types = {} @@ -61109,8 +61334,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61139,7 +61364,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61181,8 +61406,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -61193,7 +61418,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -61265,8 +61490,8 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject - class AdditionalAddress < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61298,7 +61523,7 @@ module Stripe @field_remappings = {} end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -61318,8 +61543,8 @@ module Stripe @field_remappings = {} end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -61346,7 +61571,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61375,7 +61600,7 @@ module Stripe @field_remappings = {} end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -61392,8 +61617,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61407,7 +61632,7 @@ module Stripe @field_remappings = {} end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61421,8 +61646,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -61449,8 +61674,8 @@ module Stripe @field_remappings = {} end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -61477,7 +61702,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -61519,7 +61744,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. sig { returns(String) } def type; end @@ -61530,7 +61755,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -61562,8 +61787,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61592,7 +61817,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -61634,8 +61859,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -61649,7 +61874,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -61789,9 +62014,9 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Entry < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Entry < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # Machine-readable code describing the error. sig { returns(String) } def code; end @@ -61805,9 +62030,9 @@ module Stripe @field_remappings = {} end end - class Impact < Stripe::StripeObject - class RestrictsCapability < Stripe::StripeObject - class Deadline < Stripe::StripeObject + class Impact < ::Stripe::StripeObject + class RestrictsCapability < ::Stripe::StripeObject + class Deadline < ::Stripe::StripeObject # The current status of the requirement's impact. sig { returns(String) } def status; end @@ -61844,7 +62069,7 @@ module Stripe @field_remappings = {} end end - class MinimumDeadline < Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current status of the requirement's impact. sig { returns(String) } def status; end @@ -61855,7 +62080,7 @@ module Stripe @field_remappings = {} end end - class Reference < Stripe::StripeObject + class Reference < ::Stripe::StripeObject # If `inquiry` is the type, the inquiry token. sig { returns(T.nilable(String)) } def inquiry; end @@ -61872,7 +62097,7 @@ module Stripe @field_remappings = {} end end - class RequestedReason < Stripe::StripeObject + class RequestedReason < ::Stripe::StripeObject # Machine-readable description of Stripe's reason for collecting the requirement. sig { returns(String) } def code; end @@ -61917,8 +62142,8 @@ module Stripe @field_remappings = {} end end - class Summary < Stripe::StripeObject - class MinimumDeadline < Stripe::StripeObject + class Summary < ::Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current strictest status of all requirements on the Account. sig { returns(String) } def status; end @@ -62007,7 +62232,7 @@ module Stripe module Core # Person retrieval response schema. class AccountPerson < APIResource - class AdditionalAddress < Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62039,7 +62264,7 @@ module Stripe @field_remappings = {} end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -62059,8 +62284,8 @@ module Stripe @field_remappings = {} end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -62087,7 +62312,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62116,7 +62341,7 @@ module Stripe @field_remappings = {} end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -62133,8 +62358,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -62148,7 +62373,7 @@ module Stripe @field_remappings = {} end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -62162,8 +62387,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -62190,8 +62415,8 @@ module Stripe @field_remappings = {} end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -62218,7 +62443,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -62260,7 +62485,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. sig { returns(String) } def type; end @@ -62271,7 +62496,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -62303,8 +62528,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62333,7 +62558,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62375,8 +62600,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -62390,7 +62615,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -62499,8 +62724,8 @@ module Stripe module Core # Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events). class EventDestination < APIResource - class StatusDetails < Stripe::StripeObject - class Disabled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Disabled < ::Stripe::StripeObject # Reason event destination has been disabled. sig { returns(String) } def reason; end @@ -62521,7 +62746,7 @@ module Stripe @field_remappings = {} end end - class AmazonEventbridge < Stripe::StripeObject + class AmazonEventbridge < ::Stripe::StripeObject # The AWS account ID. sig { returns(String) } def aws_account_id; end @@ -62538,7 +62763,7 @@ module Stripe @field_remappings = {} end end - class WebhookEndpoint < Stripe::StripeObject + class WebhookEndpoint < ::Stripe::StripeObject # The signing secret of the webhook endpoint, only includable on creation. sig { returns(T.nilable(String)) } def signing_secret; end @@ -62613,8 +62838,8 @@ module Stripe module Core # Events are generated to keep you informed of activity in your business account. APIs in the /v2 namespace generate [thin events](https://docs.stripe.com/event-destinations#benefits-of-thin-events) which have small, unversioned payloads that include a reference to the ID of the object that has changed. The Events v2 API returns these new thin events. [Retrieve the event object](https://docs.stripe.com/event-destinations#fetch-data) for additional data about the event. Use the related object ID in the event payload to [fetch the API resource](https://docs.stripe.com/event-destinations#retrieve-the-object-associated-with-thin-events) of the object associated with the event. Comparatively, events generated by most API v1 include a versioned snapshot of an API object in their payload. class Event < APIResource - class Reason < Stripe::StripeObject - class Request < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. sig { returns(String) } def id; end @@ -62673,9 +62898,9 @@ module Stripe module Vault # Use the GBBankAccounts API to create and manage GB bank account objects class GbBankAccount < APIResource - class ConfirmationOfPayee < Stripe::StripeObject - class Result < Stripe::StripeObject - class Matched < Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject + class Result < ::Stripe::StripeObject + class Matched < ::Stripe::StripeObject # The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. # Closed enum. sig { returns(T.nilable(String)) } @@ -62690,7 +62915,7 @@ module Stripe @field_remappings = {} end end - class Provided < Stripe::StripeObject + class Provided < ::Stripe::StripeObject # The provided or Legal Entity business type to match against the CoP service. Closed enum. sig { returns(String) } def business_type; end @@ -62825,7 +63050,7 @@ module Stripe module MoneyManagement # Adjustments represent Stripe-initiated credits or debits to a user balance. They might be used to amend balances due to technical or operational error. class Adjustment < APIResource - class AdjustedFlow < Stripe::StripeObject + class AdjustedFlow < ::Stripe::StripeObject # Closed Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end @@ -62858,7 +63083,7 @@ module Stripe sig { returns(T.nilable(AdjustedFlow)) } def adjusted_flow; end # The amount of the Adjustment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } @@ -62891,15 +63116,15 @@ module Stripe module MoneyManagement # A FinancialAccount represents a balance and can be used as the source or destination for the money management (`/v2/money_management`) APIs. class FinancialAccount < APIResource - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Balance that can be used for money movement. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def available; end # Balance of inbound funds that will later transition to the `available` balance. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def inbound_pending; end # Balance of funds that are being used for a pending outbound money movement. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -62908,7 +63133,7 @@ module Stripe @field_remappings = {} end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`. sig { returns(String) } def type; end @@ -62919,9 +63144,9 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject - class ForwardingSettings < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject + class ForwardingSettings < ::Stripe::StripeObject # The address to send forwarded payments to. sig { returns(T.nilable(String)) } def payment_method; end @@ -62958,7 +63183,7 @@ module Stripe @field_remappings = {} end end - class Storage < Stripe::StripeObject + class Storage < ::Stripe::StripeObject # The currencies that this FinancialAccount can hold. sig { returns(T::Array[String]) } def holds_currencies; end @@ -63019,8 +63244,8 @@ module Stripe module MoneyManagement # A FinancialAddress contains information needed to transfer money to a Financial Account. A Financial Account can have more than one Financial Address. class FinancialAddress < APIResource - class Credentials < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class Credentials < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transference. sig { returns(String) } def account_holder_name; end @@ -63041,7 +63266,7 @@ module Stripe @field_remappings = {} end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transfers. sig { returns(String) } def account_holder_name; end @@ -63068,7 +63293,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The account number of the US Bank Account. sig { returns(T.nilable(String)) } def account_number; end @@ -63155,8 +63380,8 @@ module Stripe # An InboundTransfer object, representing a money movement from a # user owned PaymentMethod to a FinancialAccount belonging to the same user. class InboundTransfer < APIResource - class From < Stripe::StripeObject - class PaymentMethod < Stripe::StripeObject + class From < ::Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # The type of object this destination represents. For a us bank account, we expect us_bank_account. sig { returns(String) } def type; end @@ -63171,7 +63396,7 @@ module Stripe end end # The amount in specified currency that was debited from the Payment Method. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The Payment Method object used to create the InboundTransfer. sig { returns(PaymentMethod) } @@ -63183,9 +63408,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The amount by which the FinancialAccount balance is credited. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The FinancialAccount that funds will land in. sig { returns(String) } @@ -63197,8 +63422,8 @@ module Stripe @field_remappings = {} end end - class TransferHistory < Stripe::StripeObject - class BankDebitFailed < Stripe::StripeObject + class TransferHistory < ::Stripe::StripeObject + class BankDebitFailed < ::Stripe::StripeObject # Open Enum. The return reason for the failed InboundTransfer. sig { returns(String) } def failure_reason; end @@ -63209,7 +63434,7 @@ module Stripe @field_remappings = {} end end - class BankDebitReturned < Stripe::StripeObject + class BankDebitReturned < ::Stripe::StripeObject # Open Enum. The return reason for the returned InboundTransfer. sig { returns(String) } def return_reason; end @@ -63261,7 +63486,7 @@ module Stripe end end # The amount in specified currency that will land in the FinancialAccount balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Creation time of the InboundTransfer. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } @@ -63300,7 +63525,7 @@ module Stripe module MoneyManagement # OutboundPaymentQuote represents a quote that provides fee and amount estimates for OutboundPayment. class OutboundPaymentQuote < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -63311,9 +63536,9 @@ module Stripe @field_remappings = {} end end - class EstimatedFee < Stripe::StripeObject + class EstimatedFee < ::Stripe::StripeObject # The fee amount for corresponding fee type. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The fee type. sig { returns(String) } @@ -63325,9 +63550,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -63339,8 +63564,8 @@ module Stripe @field_remappings = {} end end - class FxQuote < Stripe::StripeObject - class Rates < Stripe::StripeObject + class FxQuote < ::Stripe::StripeObject + class Rates < ::Stripe::StripeObject # The exchange rate going from_currency -> to_currency. sig { returns(String) } def exchange_rate; end @@ -63373,9 +63598,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundPayment uses to send payout. sig { returns(String) } @@ -63391,7 +63616,7 @@ module Stripe end end # The "presentment amount" for the OutboundPaymentQuote. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the OutboundPaymentQuote was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -63431,7 +63656,7 @@ module Stripe module MoneyManagement # OutboundPayment represents a single money movement from one FinancialAccount you own to a payout method someone else owns. class OutboundPayment < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -63442,9 +63667,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -63456,7 +63681,7 @@ module Stripe @field_remappings = {} end end - class RecipientNotification < Stripe::StripeObject + class RecipientNotification < ::Stripe::StripeObject # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. sig { returns(String) } @@ -63468,8 +63693,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -63480,7 +63705,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -63504,7 +63729,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -63528,9 +63753,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundPayment uses to send payout. sig { returns(String) } @@ -63545,7 +63770,7 @@ module Stripe @field_remappings = {} end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` @@ -63563,7 +63788,7 @@ module Stripe end end # The "presentment amount" for the OutboundPayment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Returns true if the OutboundPayment can be canceled, and false otherwise. sig { returns(T::Boolean) } @@ -63637,8 +63862,8 @@ module Stripe module MoneyManagement # Use the OutboundSetupIntent API to create and setup usable payout methods. class OutboundSetupIntent < APIResource - class NextAction < Stripe::StripeObject - class ConfirmationOfPayee < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject # The type of the credential. sig { returns(String) } def object; end @@ -63678,7 +63903,7 @@ module Stripe sig { returns(String) } def object; end # Use the PayoutMethods API to list and interact with PayoutMethod objects. - sig { returns(Stripe::V2::MoneyManagement::PayoutMethod) } + sig { returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def payout_method; end # Closed Enum. Status of the outbound setup intent. sig { returns(String) } @@ -63699,7 +63924,7 @@ module Stripe module MoneyManagement # OutboundTransfer represents a single money movement from one FinancialAccount you own to a payout method you also own. class OutboundTransfer < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -63710,9 +63935,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -63724,8 +63949,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -63736,7 +63961,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -63760,7 +63985,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -63784,9 +64009,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundTransfer uses to send payout. sig { returns(String) } @@ -63798,7 +64023,7 @@ module Stripe @field_remappings = {} end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` @@ -63816,7 +64041,7 @@ module Stripe end end # The "presentment amount" for the OutboundTransfer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Returns true if the OutboundTransfer can be canceled, and false otherwise. sig { returns(T::Boolean) } @@ -63884,7 +64109,7 @@ module Stripe module MoneyManagement # Use the PayoutMethods API to list and interact with PayoutMethod objects. class PayoutMethod < APIResource - class UsageStatus < Stripe::StripeObject + class UsageStatus < ::Stripe::StripeObject # Payments status - used when sending OutboundPayments (sending funds to recipients). sig { returns(String) } def payments; end @@ -63898,7 +64123,7 @@ module Stripe @field_remappings = {} end end - class BankAccount < Stripe::StripeObject + class BankAccount < ::Stripe::StripeObject # Whether this PayoutMethodBankAccount object was archived. PayoutMethodBankAccount objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodBankAccount objects # cannot be used as payout methods and will not appear in the payout method list. @@ -63932,7 +64157,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Whether the PayoutMethodCard object was archived. PayoutMethodCard objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodCard objects # cannot be used as payout methods and will not appear in the payout method list. @@ -63994,9 +64219,9 @@ module Stripe module MoneyManagement # The PayoutMethodsBankAccountSpec object. class PayoutMethodsBankAccountSpec < SingletonAPIResource - class Countries < Stripe::StripeObject - class Field < Stripe::StripeObject - class LocalNameHuman < Stripe::StripeObject + class Countries < ::Stripe::StripeObject + class Field < ::Stripe::StripeObject + class LocalNameHuman < ::Stripe::StripeObject # The default content of the localizable string. sig { returns(String) } def content; end @@ -64067,8 +64292,8 @@ module Stripe module MoneyManagement # Use ReceivedCredits API to retrieve information on when, where, and how funds are sent into your FinancialAccount. class ReceivedCredit < APIResource - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -64079,7 +64304,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -64103,7 +64328,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the ReceivedCredit was marked as `failed`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -64123,7 +64348,7 @@ module Stripe @field_remappings = {} end end - class BalanceTransfer < Stripe::StripeObject + class BalanceTransfer < ::Stripe::StripeObject # The ID of the account that owns the source object originated the ReceivedCredit. sig { returns(T.nilable(String)) } def from_account; end @@ -64146,8 +64371,8 @@ module Stripe @field_remappings = {} end end - class BankTransfer < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -64170,7 +64395,7 @@ module Stripe @field_remappings = {} end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name of the bank account the transfer was received from. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -64196,7 +64421,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. sig { returns(T.nilable(String)) } def bank_name; end @@ -64246,7 +64471,7 @@ module Stripe end end # The amount and currency of the ReceivedCredit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the ReceivedCredit was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -64298,8 +64523,8 @@ module Stripe module MoneyManagement # ReceivedDebit resource class ReceivedDebit < APIResource - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The reason for the failure of the ReceivedDebit. sig { returns(String) } def reason; end @@ -64321,7 +64546,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time when the ReceivedDebit was marked as `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. sig { returns(T.nilable(String)) } @@ -64341,8 +64566,8 @@ module Stripe @field_remappings = {} end end - class BankTransfer < Stripe::StripeObject - class UsBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The name of the bank the debit originated from. sig { returns(T.nilable(String)) } def bank_name; end @@ -64379,7 +64604,7 @@ module Stripe end end # Amount and currency of the ReceivedDebit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The time at which the ReceivedDebit was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. @@ -64428,15 +64653,15 @@ module Stripe module MoneyManagement # TransactionEntries represent individual money movements across different states within a Transaction. class TransactionEntry < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def available; end # Impact to the inbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def inbound_pending; end # Impact to the outbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -64445,8 +64670,8 @@ module Stripe @field_remappings = {} end end - class TransactionDetails < Stripe::StripeObject - class Flow < Stripe::StripeObject + class TransactionDetails < ::Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end @@ -64531,15 +64756,15 @@ module Stripe module MoneyManagement # Use Transactions to view changes to your FinancialAccount balance over time. Every flow that moves money, such as OutboundPayments or ReceivedCredits, will have one or more Transactions that describes how the flow impacted your balance. Note that while the FinancialAccount balance will always be up to date, be aware that Transactions and TransactionEntries are created shortly after to reflect changes. class Transaction < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def available; end # Impact to the inbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def inbound_pending; end # Impact to the outbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -64548,7 +64773,7 @@ module Stripe @field_remappings = {} end end - class Flow < Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end @@ -64583,7 +64808,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time at which the Transaction became posted. Only present if status == posted. sig { returns(T.nilable(String)) } def posted_at; end @@ -64598,7 +64823,7 @@ module Stripe end end # The amount of the Transaction. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its # TransactionEntries that have `effective_at`s in the past. @@ -64645,9 +64870,9 @@ module Stripe module Payments # OffSessionPayment resource. class OffSessionPayment < APIResource - class AmountDetails < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -64683,7 +64908,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -64700,7 +64925,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -64730,7 +64955,7 @@ module Stripe @field_remappings = {} end end - class Capture < Stripe::StripeObject + class Capture < ::Stripe::StripeObject # The timestamp when this payment is no longer eligible to be captured. sig { returns(T.nilable(String)) } def capture_before; end @@ -64744,7 +64969,7 @@ module Stripe @field_remappings = {} end end - class PaymentsOrchestration < Stripe::StripeObject + class PaymentsOrchestration < ::Stripe::StripeObject # True when you want to enable payments orchestration for this off-session payment. False otherwise. sig { returns(T::Boolean) } def enabled; end @@ -64755,7 +64980,7 @@ module Stripe @field_remappings = {} end end - class RetryDetails < Stripe::StripeObject + class RetryDetails < ::Stripe::StripeObject # Number of authorization attempts so far. sig { returns(Integer) } def attempts; end @@ -64772,7 +64997,7 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount @@ -64794,13 +65019,13 @@ module Stripe end end # The amount available to be captured. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount_capturable; end # Provides industry-specific information about the amount. sig { returns(T.nilable(AmountDetails)) } def amount_details; end # The “presentment amount” to be collected from the customer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount_requested; end # The frequency of the underlying payment. sig { returns(String) } @@ -64983,7 +65208,7 @@ module Stripe # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding. # You can prefill any information on the account. sig { - params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def create(params = {}, opts = {}); end @@ -64995,13 +65220,13 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def delete(account, params = {}, opts = {}); end # Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty. sig { - params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -65009,19 +65234,19 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def reject(account, params = {}, opts = {}); end # Retrieves the details of an account. sig { - params(account: String, params: T.any(::Stripe::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def retrieve(account, params = {}, opts = {}); end # Retrieves the details of an account. sig { - params(params: T.any(::Stripe::AccountRetrieveCurrentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountRetrieveCurrentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def retrieve_current(params = {}, opts = {}); end @@ -65039,7 +65264,7 @@ module Stripe # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our # [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts. sig { - params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def update(account, params = {}, opts = {}); end end @@ -65049,19 +65274,19 @@ module Stripe class AccountCapabilityService < StripeService # Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountCapabilityListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountCapabilityListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieves information about the specified Account Capability. sig { - params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capability) + params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capability) } def retrieve(account, capability, params = {}, opts = {}); end # Updates an existing Account Capability. Request or remove a capability by updating its requested parameter. sig { - params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capability) + params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capability) } def update(account, capability, params = {}, opts = {}); end end @@ -65071,25 +65296,25 @@ module Stripe class AccountExternalAccountService < StripeService # Create an external account for a given account. sig { - params(account: String, params: T.any(::Stripe::AccountExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, params: T.any(::Stripe::AccountExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def create(account, params = {}, opts = {}); end # Delete a specified external account for a given account. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def delete(account, id, params = {}, opts = {}); end # List external accounts for an account. sig { - params(account: String, params: T.any(::Stripe::AccountExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieve a specified external account for a given account. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def retrieve(account, id, params = {}, opts = {}); end @@ -65102,7 +65327,7 @@ module Stripe # You can re-enable a disabled bank account by performing an update call without providing any # arguments or changes. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def update(account, id, params = {}, opts = {}); end end @@ -65114,7 +65339,7 @@ module Stripe # # You can only create login links for accounts that use the [Express Dashboard](https://docs.stripe.com/connect/express-dashboard) and are connected to your platform. sig { - params(account: String, params: T.any(::Stripe::AccountLoginLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::LoginLink) + params(account: String, params: T.any(::Stripe::AccountLoginLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::LoginLink) } def create(account, params = {}, opts = {}); end end @@ -65124,31 +65349,31 @@ module Stripe class AccountPersonService < StripeService # Creates a new person. sig { - params(account: String, params: T.any(::Stripe::AccountPersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, params: T.any(::Stripe::AccountPersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def create(account, params = {}, opts = {}); end # Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def delete(account, person, params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountPersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountPersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieves an existing person. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def retrieve(account, person, params = {}, opts = {}); end # Updates an existing person. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def update(account, person, params = {}, opts = {}); end end @@ -65158,7 +65383,7 @@ module Stripe class AccountLinkService < StripeService # Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. sig { - params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountLink) + params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountLink) } def create(params = {}, opts = {}); end end @@ -65168,19 +65393,19 @@ module Stripe class AccountNoticeService < StripeService # Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def retrieve(account_notice, params = {}, opts = {}); end # Updates an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def update(account_notice, params = {}, opts = {}); end end @@ -65190,7 +65415,7 @@ module Stripe class AccountSessionService < StripeService # Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. sig { - params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountSession) + params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountSession) } def create(params = {}, opts = {}); end end @@ -65200,25 +65425,25 @@ module Stripe class ApplePayDomainService < StripeService # Create an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def create(params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def delete(domain, params = {}, opts = {}); end # List apple pay domains. sig { - params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def retrieve(domain, params = {}, opts = {}); end end @@ -65229,13 +65454,13 @@ module Stripe attr_reader :refunds # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first. sig { - params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFee) + params(id: String, params: T.any(::Stripe::ApplicationFeeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFee) } def retrieve(id, params = {}, opts = {}); end end @@ -65253,19 +65478,19 @@ module Stripe # This method will raise an error when called on an already-refunded application fee, # or when trying to refund more money than is left on an application fee. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(id: String, params: T.any(::Stripe::ApplicationFeeRefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def create(id, params = {}, opts = {}); end # You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::ApplicationFeeRefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end # By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee. sig { - params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def retrieve(fee, id, params = {}, opts = {}); end @@ -65273,7 +65498,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def update(fee, id, params = {}, opts = {}); end end @@ -65290,25 +65515,25 @@ module Stripe class SecretService < StripeService # Create or replace a secret in the secret store. sig { - params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def create(params = {}, opts = {}); end # Deletes a secret from the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def delete_where(params = {}, opts = {}); end # Finds a secret in the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def find(params = {}, opts = {}); end # List all secrets stored on the given scope. sig { - params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end @@ -65320,7 +65545,7 @@ module Stripe # Retrieves the current account balance, based on the authentication that was used to make the request. # For a sample request, see [Accounting for negative balances](https://docs.stripe.com/docs/connect/account-balances#accounting-for-negative-balances). sig { - params(params: T.any(::Stripe::BalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Balance) + params(params: T.any(::Stripe::BalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Balance) } def retrieve(params = {}, opts = {}); end end @@ -65331,14 +65556,14 @@ module Stripe # Retrieves balance settings for a given connected account. # Related guide: [Making API calls for connected accounts](https://docs.stripe.com/connect/authentication) sig { - params(params: T.any(::Stripe::BalanceSettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceSettings) + params(params: T.any(::Stripe::BalanceSettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceSettings) } def retrieve(params = {}, opts = {}); end # Updates balance settings for a given connected account. # Related guide: [Making API calls for connected accounts](https://docs.stripe.com/connect/authentication) sig { - params(params: T.any(::Stripe::BalanceSettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceSettings) + params(params: T.any(::Stripe::BalanceSettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceSettings) } def update(params = {}, opts = {}); end end @@ -65350,7 +65575,7 @@ module Stripe # # Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. sig { - params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -65358,7 +65583,7 @@ module Stripe # # Note that this endpoint previously used the path /v1/balance/history/:id. sig { - params(id: String, params: T.any(::Stripe::BalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceTransaction) + params(id: String, params: T.any(::Stripe::BalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceTransaction) } def retrieve(id, params = {}, opts = {}); end end @@ -65382,37 +65607,37 @@ module Stripe class AlertService < StripeService # Reactivates this alert, allowing it to trigger again. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def activate(id, params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def archive(id, params = {}, opts = {}); end # Creates a billing alert sig { - params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def create(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def deactivate(id, params = {}, opts = {}); end # Lists billing active and inactive alerts sig { - params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a billing alert given an ID sig { - params(id: String, params: T.any(::Stripe::Billing::AlertRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def retrieve(id, params = {}, opts = {}); end end @@ -65433,7 +65658,7 @@ module Stripe class MeterUsageService < StripeService # 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. sig { - params(params: T.any(::Stripe::Billing::Analytics::MeterUsageRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Analytics::MeterUsage) + params(params: T.any(::Stripe::Billing::Analytics::MeterUsageRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Analytics::MeterUsage) } def retrieve(params = {}, opts = {}); end end @@ -65446,7 +65671,7 @@ module Stripe class CreditBalanceSummaryService < StripeService # Retrieves the credit balance summary for a customer. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditBalanceSummary) + params(params: T.any(::Stripe::Billing::CreditBalanceSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditBalanceSummary) } def retrieve(params = {}, opts = {}); end end @@ -65458,13 +65683,13 @@ module Stripe class CreditBalanceTransactionService < StripeService # Retrieve a list of credit balance transactions. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a credit balance transaction. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditBalanceTransaction) + params(id: String, params: T.any(::Stripe::Billing::CreditBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditBalanceTransaction) } def retrieve(id, params = {}, opts = {}); end end @@ -65476,37 +65701,37 @@ module Stripe class CreditGrantService < StripeService # Creates a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def create(params = {}, opts = {}); end # Expires a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def expire(id, params = {}, opts = {}); end # Retrieve a list of credit grants. sig { - params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def retrieve(id, params = {}, opts = {}); end # Updates a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def update(id, params = {}, opts = {}); end # Voids a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def void_grant(id, params = {}, opts = {}); end end @@ -65519,37 +65744,37 @@ module Stripe attr_reader :event_summaries # Creates a billing meter. sig { - params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def create(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def deactivate(id, params = {}, opts = {}); end # Retrieve a list of billing meters. sig { - params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def reactivate(id, params = {}, opts = {}); end # Retrieves a billing meter given an ID. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def retrieve(id, params = {}, opts = {}); end # Updates a billing meter. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def update(id, params = {}, opts = {}); end end @@ -65561,7 +65786,7 @@ module Stripe class MeterEventSummaryService < StripeService # Retrieve a list of billing meter event summaries. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterEventSummaryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::Billing::MeterEventSummaryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end end @@ -65573,7 +65798,7 @@ module Stripe class MeterEventService < StripeService # Creates a billing meter event. sig { - params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEvent) + params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEvent) } def create(params = {}, opts = {}); end end @@ -65585,7 +65810,7 @@ module Stripe class MeterEventAdjustmentService < StripeService # Creates a billing meter event adjustment. sig { - params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEventAdjustment) } def create(params = {}, opts = {}); end end @@ -65604,25 +65829,25 @@ module Stripe class ConfigurationService < StripeService # Creates a configuration that describes the functionality and behavior of a PortalSession sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def create(params = {}, opts = {}); end # Returns a list of configurations that describe the functionality of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def retrieve(configuration, params = {}, opts = {}); end # Updates a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def update(configuration, params = {}, opts = {}); end end @@ -65634,7 +65859,7 @@ module Stripe class SessionService < StripeService # Creates a session of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Session) + params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Session) } def create(params = {}, opts = {}); end end @@ -65654,20 +65879,20 @@ module Stripe class FinancingOfferService < StripeService # Retrieves the financing offers available for Connected accounts that belong to your platform. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def mark_delivered(financing_offer, params = {}, opts = {}); end # Get the details of the financing offer sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def retrieve(financing_offer, params = {}, opts = {}); end end @@ -65679,7 +65904,7 @@ module Stripe class FinancingSummaryService < StripeService # Retrieve the financing state for the account that was authenticated in the request. sig { - params(params: T.any(::Stripe::Capital::FinancingSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingSummary) + params(params: T.any(::Stripe::Capital::FinancingSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingSummary) } def retrieve(params = {}, opts = {}); end end @@ -65692,13 +65917,13 @@ module Stripe # Returns a list of financing transactions. The transactions are returned in sorted order, # with the most recent transactions appearing first. sig { - params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a financing transaction for a financing offer. sig { - params(financing_transaction: String, params: T.any(::Stripe::Capital::FinancingTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingTransaction) + params(financing_transaction: String, params: T.any(::Stripe::Capital::FinancingTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingTransaction) } def retrieve(financing_transaction, params = {}, opts = {}); end end @@ -65713,7 +65938,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def capture(charge, params = {}, opts = {}); end @@ -65721,19 +65946,19 @@ module Stripe # to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge # object used to request payment. sig { - params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def create(params = {}, opts = {}); end # Returns a list of charges you've previously created. The charges are returned in sorted order, with the most recent charges appearing first. sig { - params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge. sig { - params(charge: String, params: T.any(::Stripe::ChargeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def retrieve(charge, params = {}, opts = {}); end @@ -65742,13 +65967,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def update(charge, params = {}, opts = {}); end end @@ -65766,7 +65991,7 @@ module Stripe attr_reader :line_items # Creates a Checkout Session object. sig { - params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def create(params = {}, opts = {}); end @@ -65774,19 +65999,19 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def expire(session, params = {}, opts = {}); end # Returns a list of Checkout Sessions. sig { - params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Checkout Session object. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def retrieve(session, params = {}, opts = {}); end @@ -65794,7 +66019,7 @@ module Stripe # # Related guide: [Dynamically update Checkout](https://docs.stripe.com/payments/checkout/dynamic-updates) sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def update(session, params = {}, opts = {}); end end @@ -65806,7 +66031,7 @@ module Stripe class SessionLineItemService < StripeService # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(session: String, params: T.any(::Stripe::Checkout::SessionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(session, params = {}, opts = {}); end end @@ -65829,33 +66054,33 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def cancel(order, params = {}, opts = {}); end # Creates a Climate order object for a given Climate product. The order will be processed immediately # after creation and payment will be deducted your Stripe balance. sig { - params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def create(params = {}, opts = {}); end # Lists all Climate order objects. The orders are returned sorted by creation date, with the # most recently created orders appearing first. sig { - params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Climate order object with the given ID. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def retrieve(order, params = {}, opts = {}); end # Updates the specified order by setting the values of the parameters passed. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def update(order, params = {}, opts = {}); end end @@ -65867,13 +66092,13 @@ module Stripe class ProductService < StripeService # Lists all available Climate product objects. sig { - params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Climate product with the given ID. sig { - params(product: String, params: T.any(::Stripe::Climate::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Product) + params(product: String, params: T.any(::Stripe::Climate::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Product) } def retrieve(product, params = {}, opts = {}); end end @@ -65885,13 +66110,13 @@ module Stripe class SupplierService < StripeService # Lists all available Climate supplier objects. sig { - params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Climate supplier object. sig { - params(supplier: String, params: T.any(::Stripe::Climate::SupplierRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Supplier) + params(supplier: String, params: T.any(::Stripe::Climate::SupplierRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Supplier) } def retrieve(supplier, params = {}, opts = {}); end end @@ -65902,7 +66127,7 @@ module Stripe class ConfirmationTokenService < StripeService # Retrieves an existing ConfirmationToken object sig { - params(confirmation_token: String, params: T.any(::Stripe::ConfirmationTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ConfirmationToken) + params(confirmation_token: String, params: T.any(::Stripe::ConfirmationTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ConfirmationToken) } def retrieve(confirmation_token, params = {}, opts = {}); end end @@ -65912,13 +66137,13 @@ module Stripe class CountrySpecService < StripeService # Lists all Country Spec objects available in the API. sig { - params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns a Country Spec for a given Country code. sig { - params(country: String, params: T.any(::Stripe::CountrySpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CountrySpec) + params(country: String, params: T.any(::Stripe::CountrySpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CountrySpec) } def retrieve(country, params = {}, opts = {}); end end @@ -65930,31 +66155,31 @@ module Stripe # # A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it. sig { - params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def create(params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def delete(coupon, params = {}, opts = {}); end # Returns a list of your coupons. sig { - params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the coupon with the given ID. sig { - params(coupon: String, params: T.any(::Stripe::CouponRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def retrieve(coupon, params = {}, opts = {}); end # Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. sig { - params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def update(coupon, params = {}, opts = {}); end end @@ -65978,37 +66203,37 @@ module Stripe # You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount, # post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation. sig { - params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def create(params = {}, opts = {}); end # Returns a list of credit notes. sig { - params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Get a preview of a credit note without creating it. sig { - params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def preview(params = {}, opts = {}); end # Retrieves the credit note object with the given identifier. sig { - params(id: String, params: T.any(::Stripe::CreditNoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def retrieve(id, params = {}, opts = {}); end # Updates an existing credit note. sig { - params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def update(id, params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def void_credit_note(id, params = {}, opts = {}); end end @@ -66018,7 +66243,7 @@ module Stripe class CreditNoteLineItemService < StripeService # When retrieving a credit note, you'll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(credit_note: String, params: T.any(::Stripe::CreditNoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(credit_note: String, params: T.any(::Stripe::CreditNoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(credit_note, params = {}, opts = {}); end end @@ -66028,7 +66253,7 @@ module Stripe class CreditNotePreviewLinesService < StripeService # When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::CreditNotePreviewLinesListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNotePreviewLinesListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end @@ -66045,31 +66270,31 @@ module Stripe attr_reader :tax_ids # Creates a new customer object. sig { - params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def create(params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def delete(customer, params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(customer, params = {}, opts = {}); end # Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. sig { - params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Customer object. sig { - params(customer: String, params: T.any(::Stripe::CustomerRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def retrieve(customer, params = {}, opts = {}); end @@ -66078,7 +66303,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -66086,7 +66311,7 @@ module Stripe # # This request accepts mostly the same arguments as the customer creation call. sig { - params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def update(customer, params = {}, opts = {}); end end @@ -66096,25 +66321,25 @@ module Stripe class CustomerBalanceTransactionService < StripeService # Creates an immutable transaction that updates the customer's credit [balance](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def create(customer, params = {}, opts = {}); end # Returns a list of transactions that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a specific customer balance transaction that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def retrieve(customer, transaction, params = {}, opts = {}); end # Most credit balance transaction fields are immutable, but you may update its description and metadata. sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def update(customer, transaction, params = {}, opts = {}); end end @@ -66124,13 +66349,13 @@ module Stripe class CustomerCashBalanceService < StripeService # Retrieves a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CashBalance) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CashBalance) } def retrieve(customer, params = {}, opts = {}); end # Changes the settings on a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CashBalance) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CashBalance) } def update(customer, params = {}, opts = {}); end end @@ -66140,13 +66365,13 @@ module Stripe class CustomerCashBalanceTransactionService < StripeService # Returns a list of transactions that modified the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance). sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerCashBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerCashBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerCashBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerCashBalanceTransaction) } def retrieve(customer, transaction, params = {}, opts = {}); end end @@ -66158,7 +66383,7 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(customer: String, params: T.any(::Stripe::CustomerFundingInstructionsCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(customer: String, params: T.any(::Stripe::CustomerFundingInstructionsCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def create(customer, params = {}, opts = {}); end end @@ -66168,13 +66393,13 @@ module Stripe class CustomerPaymentMethodService < StripeService # Returns a list of PaymentMethods for a given Customer sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerPaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a PaymentMethod object for a given Customer. sig { - params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerPaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerPaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve(customer, payment_method, params = {}, opts = {}); end end @@ -66188,37 +66413,37 @@ module Stripe # However, if the owner already has a default, then it will not change. # To change the default, you should [update the customer](https://docs.stripe.com/docs/api#update_customer) to have a new default_source. sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def create(customer, params = {}, opts = {}); end # Delete a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def delete(customer, id, params = {}, opts = {}); end # List sources for a specified customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieve a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def retrieve(customer, id, params = {}, opts = {}); end # Update a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def update(customer, id, params = {}, opts = {}); end # Verify a specified bank account for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BankAccount) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BankAccount) } def verify(customer, id, params = {}, opts = {}); end end @@ -66228,25 +66453,25 @@ module Stripe class CustomerTaxIdService < StripeService # Creates a new tax_id object for a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerTaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, params: T.any(::Stripe::CustomerTaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def create(customer, params = {}, opts = {}); end # Deletes an existing tax_id object. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(customer, id, params = {}, opts = {}); end # Returns a list of tax IDs for a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerTaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerTaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves the tax_id object with the given identifier. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def retrieve(customer, id, params = {}, opts = {}); end end @@ -66256,7 +66481,7 @@ module Stripe class CustomerSessionService < StripeService # Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources. sig { - params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerSession) + params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerSession) } def create(params = {}, opts = {}); end end @@ -66268,19 +66493,19 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def close(dispute, params = {}, opts = {}); end # Returns a list of your disputes. sig { - params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the dispute with the given ID. sig { - params(dispute: String, params: T.any(::Stripe::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def retrieve(dispute, params = {}, opts = {}); end @@ -66288,7 +66513,7 @@ module Stripe # # Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://docs.stripe.com/docs/disputes/categories). sig { - params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def update(dispute, params = {}, opts = {}); end end @@ -66306,13 +66531,13 @@ module Stripe class ActiveEntitlementService < StripeService # Retrieve a list of active entitlements for a customer sig { - params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an active entitlement sig { - params(id: String, params: T.any(::Stripe::Entitlements::ActiveEntitlementRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::ActiveEntitlement) + params(id: String, params: T.any(::Stripe::Entitlements::ActiveEntitlementRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::ActiveEntitlement) } def retrieve(id, params = {}, opts = {}); end end @@ -66324,25 +66549,25 @@ module Stripe class FeatureService < StripeService # Creates a feature sig { - params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def create(params = {}, opts = {}); end # Retrieve a list of features sig { - params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a feature sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def retrieve(id, params = {}, opts = {}); end # Update a feature's metadata or permanently deactivate it. sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def update(id, params = {}, opts = {}); end end @@ -66353,13 +66578,13 @@ module Stripe class EphemeralKeyService < StripeService # Creates a short-lived API key for a given resource. sig { - params(params: T.any(::Stripe::EphemeralKeyCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(params: T.any(::Stripe::EphemeralKeyCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def create(params = {}, opts = {}); end # Invalidates a short-lived API key for a given resource. sig { - params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def delete(key, params = {}, opts = {}); end end @@ -66369,13 +66594,13 @@ module Stripe class EventService < StripeService # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). sig { - params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook. sig { - params(id: String, params: T.any(::Stripe::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Event) + params(id: String, params: T.any(::Stripe::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Event) } def retrieve(id, params = {}, opts = {}); end end @@ -66387,7 +66612,7 @@ module Stripe # # 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. sig { - params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -66395,7 +66620,7 @@ module Stripe # # Retrieves the exchange rates from the given currency to every supported currency. sig { - params(rate_id: String, params: T.any(::Stripe::ExchangeRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ExchangeRate) + params(rate_id: String, params: T.any(::Stripe::ExchangeRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ExchangeRate) } def retrieve(rate_id, params = {}, opts = {}); end end @@ -66405,25 +66630,25 @@ module Stripe class ExternalAccountService < StripeService # Create an external account for a given connected account. sig { - params(params: T.any(::Stripe::ExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(params: T.any(::Stripe::ExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def create(params = {}, opts = {}); end # Delete a specified external account for a given account. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def delete(id, params = {}, opts = {}); end # List external accounts for an account. sig { - params(params: T.any(::Stripe::ExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a specified external account for a given account. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def retrieve(id, params = {}, opts = {}); end @@ -66436,7 +66661,7 @@ module Stripe # You can re-enable a disabled bank account by performing an update call without providing any # arguments or changes. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def update(id, params = {}, opts = {}); end end @@ -66448,19 +66673,19 @@ module Stripe # # All of Stripe's officially supported Client libraries support sending multipart/form-data. sig { - params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def create(params = {}, opts = {}); end # Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top. sig { - params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to [access file contents](https://docs.stripe.com/docs/file-upload#download-file-contents). sig { - params(file: String, params: T.any(::Stripe::FileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(file: String, params: T.any(::Stripe::FileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def retrieve(file, params = {}, opts = {}); end end @@ -66470,25 +66695,25 @@ module Stripe class FileLinkService < StripeService # Creates a new file link object. sig { - params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def create(params = {}, opts = {}); end # Returns a list of file links. sig { - params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the file link with the given ID. sig { - params(link: String, params: T.any(::Stripe::FileLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def retrieve(link, params = {}, opts = {}); end # Updates an existing file link object. Expired links can no longer be updated. sig { - params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def update(link, params = {}, opts = {}); end end @@ -66510,37 +66735,37 @@ module Stripe attr_reader :owners # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def disconnect(account, params = {}, opts = {}); end # Returns a list of Financial Connections Account objects. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def refresh(account, params = {}, opts = {}); end # Retrieves the details of an Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def retrieve(account, params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(account, params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def unsubscribe(account, params = {}, opts = {}); end end @@ -66552,7 +66777,7 @@ module Stripe class AccountInferredBalanceService < StripeService # Lists the recorded inferred balances for a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountInferredBalanceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountInferredBalanceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end end @@ -66564,7 +66789,7 @@ module Stripe class AccountOwnerService < StripeService # Lists all owners for a given Account sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountOwnerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountOwnerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end end @@ -66576,13 +66801,13 @@ module Stripe class InstitutionService < StripeService # Returns a list of Financial Connections Institution objects. sig { - params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Institution. sig { - params(institution: String, params: T.any(::Stripe::FinancialConnections::InstitutionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Institution) + params(institution: String, params: T.any(::Stripe::FinancialConnections::InstitutionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Institution) } def retrieve(institution, params = {}, opts = {}); end end @@ -66594,13 +66819,13 @@ module Stripe class SessionService < StripeService # To launch the Financial Connections authorization flow, create a Session. The session's client_secret can be used to launch the flow using Stripe.js. sig { - params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def create(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Session sig { - params(session: String, params: T.any(::Stripe::FinancialConnections::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(session: String, params: T.any(::Stripe::FinancialConnections::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def retrieve(session, params = {}, opts = {}); end end @@ -66612,13 +66837,13 @@ module Stripe class TransactionService < StripeService # Returns a list of Financial Connections Transaction objects. sig { - params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Transaction sig { - params(transaction: String, params: T.any(::Stripe::FinancialConnections::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Transaction) + params(transaction: String, params: T.any(::Stripe::FinancialConnections::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Transaction) } def retrieve(transaction, params = {}, opts = {}); end end @@ -66636,19 +66861,19 @@ module Stripe class RequestService < StripeService # Creates a ForwardingRequest object. sig { - params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def create(params = {}, opts = {}); end # Lists all ForwardingRequest objects. sig { - params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ForwardingRequest object. sig { - params(id: String, params: T.any(::Stripe::Forwarding::RequestRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(id: String, params: T.any(::Stripe::Forwarding::RequestRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def retrieve(id, params = {}, opts = {}); end end @@ -66659,19 +66884,19 @@ module Stripe class FxQuoteService < StripeService # Creates an FX Quote object sig { - params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def create(params = {}, opts = {}); end # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first. sig { - params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an FX Quote object sig { - params(id: String, params: T.any(::Stripe::FxQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(id: String, params: T.any(::Stripe::FxQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def retrieve(id, params = {}, opts = {}); end end @@ -66689,13 +66914,13 @@ module Stripe class VerificationReportService < StripeService # List all verification reports. sig { - params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an existing VerificationReport sig { - params(report: String, params: T.any(::Stripe::Identity::VerificationReportRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationReport) + params(report: String, params: T.any(::Stripe::Identity::VerificationReportRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationReport) } def retrieve(report, params = {}, opts = {}); end end @@ -66709,7 +66934,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def cancel(session, params = {}, opts = {}); end @@ -66721,13 +66946,13 @@ module Stripe # # Related guide: [Verify your users' identity documents](https://docs.stripe.com/docs/identity/verify-identity-documents) sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def create(params = {}, opts = {}); end # Returns a list of VerificationSessions sig { - params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -66751,7 +66976,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def redact(session, params = {}, opts = {}); end @@ -66760,7 +66985,7 @@ module Stripe # When the session status is requires_input, you can use this method to retrieve a valid # client_secret or url to allow re-submission. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def retrieve(session, params = {}, opts = {}); end @@ -66769,7 +66994,7 @@ module Stripe # When the session status is requires_input, you can use this method to update the # verification check and options. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def update(session, params = {}, opts = {}); end end @@ -66781,7 +67006,7 @@ module Stripe attr_reader :line_items # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def add_lines(invoice, params = {}, opts = {}); end @@ -66796,13 +67021,13 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def attach_payment(invoice, params = {}, opts = {}); end # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers. sig { - params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def create(params = {}, opts = {}); end @@ -66816,49 +67041,49 @@ module Stripe # # Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions) sig { - params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def create_preview(params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def delete(invoice, params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def finalize_invoice(invoice, params = {}, opts = {}); end # You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first. sig { - params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def mark_uncollectible(invoice, params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def pay(invoice, params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def remove_lines(invoice, params = {}, opts = {}); end # Retrieves the invoice with the given ID. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def retrieve(invoice, params = {}, opts = {}); end @@ -66867,7 +67092,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -66875,7 +67100,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def send_invoice(invoice, params = {}, opts = {}); end @@ -66886,13 +67111,13 @@ module Stripe # sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass # auto_advance=false. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update(invoice, params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update_lines(invoice, params = {}, opts = {}); end @@ -66900,7 +67125,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def void_invoice(invoice, params = {}, opts = {}); end end @@ -66910,7 +67135,7 @@ module Stripe class InvoiceLineItemService < StripeService # When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(invoice: String, params: T.any(::Stripe::InvoiceLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(invoice, params = {}, opts = {}); end @@ -66919,7 +67144,7 @@ module Stripe # item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. # Updating an invoice's line item is only possible before the invoice is finalized. sig { - params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceLineItem) + params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceLineItem) } def update(invoice, line_item_id, params = {}, opts = {}); end end @@ -66929,31 +67154,31 @@ module Stripe class InvoiceItemService < StripeService # Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified. sig { - params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def create(params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def delete(invoiceitem, params = {}, opts = {}); end # Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first. sig { - params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the invoice item with the given ID. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def retrieve(invoiceitem, params = {}, opts = {}); end # Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def update(invoiceitem, params = {}, opts = {}); end end @@ -66963,13 +67188,13 @@ module Stripe class InvoicePaymentService < StripeService # When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments. sig { - params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the invoice payment with the given ID. sig { - params(invoice_payment: String, params: T.any(::Stripe::InvoicePaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoicePayment) + params(invoice_payment: String, params: T.any(::Stripe::InvoicePaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoicePayment) } def retrieve(invoice_payment, params = {}, opts = {}); end end @@ -66979,25 +67204,25 @@ module Stripe class InvoiceRenderingTemplateService < StripeService # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def archive(template, params = {}, opts = {}); end # List all templates, ordered by creation date, with the most recently created template appearing first. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def retrieve(template, params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def unarchive(template, params = {}, opts = {}); end end @@ -67025,32 +67250,32 @@ module Stripe # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def approve(authorization, params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def decline(authorization, params = {}, opts = {}); end # Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Authorization object. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def retrieve(authorization, params = {}, opts = {}); end # Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def update(authorization, params = {}, opts = {}); end end @@ -67062,25 +67287,25 @@ module Stripe class CardService < StripeService # Creates an Issuing Card object. sig { - params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def create(params = {}, opts = {}); end # Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Card object. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def retrieve(card, params = {}, opts = {}); end # Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def update(card, params = {}, opts = {}); end end @@ -67092,25 +67317,25 @@ module Stripe class CardholderService < StripeService # Creates a new Issuing Cardholder object that can be issued cards. sig { - params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def create(params = {}, opts = {}); end # Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Cardholder object. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def retrieve(cardholder, params = {}, opts = {}); end # Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def update(cardholder, params = {}, opts = {}); end end @@ -67122,37 +67347,37 @@ module Stripe class CreditUnderwritingRecordService < StripeService # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def correct(credit_underwriting_record, params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object with information about a credit application submission. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def create_from_application(params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def create_from_proactive_review(params = {}, opts = {}); end # Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def report_decision(credit_underwriting_record, params = {}, opts = {}); end # Retrieves a CreditUnderwritingRecord object. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def retrieve(credit_underwriting_record, params = {}, opts = {}); end end @@ -67164,31 +67389,31 @@ module Stripe class DisputeService < StripeService # Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements. sig { - params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def create(params = {}, opts = {}); end # Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Dispute object. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def retrieve(dispute, params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def submit(dispute, params = {}, opts = {}); end # Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def update(dispute, params = {}, opts = {}); end end @@ -67200,13 +67425,13 @@ module Stripe class DisputeSettlementDetailService < StripeService # Returns a list of Issuing DisputeSettlementDetail objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing DisputeSettlementDetail object. sig { - params(dispute_settlement_detail: String, params: T.any(::Stripe::Issuing::DisputeSettlementDetailRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::DisputeSettlementDetail) + params(dispute_settlement_detail: String, params: T.any(::Stripe::Issuing::DisputeSettlementDetailRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::DisputeSettlementDetail) } def retrieve(dispute_settlement_detail, params = {}, opts = {}); end end @@ -67218,13 +67443,13 @@ module Stripe class FraudLiabilityDebitService < StripeService # Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing FraudLiabilityDebit object. sig { - params(fraud_liability_debit: String, params: T.any(::Stripe::Issuing::FraudLiabilityDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::FraudLiabilityDebit) + params(fraud_liability_debit: String, params: T.any(::Stripe::Issuing::FraudLiabilityDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::FraudLiabilityDebit) } def retrieve(fraud_liability_debit, params = {}, opts = {}); end end @@ -67236,25 +67461,25 @@ module Stripe class PersonalizationDesignService < StripeService # Creates a personalization design object. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def create(params = {}, opts = {}); end # Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a personalization design object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def retrieve(personalization_design, params = {}, opts = {}); end # Updates a card personalization object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def update(personalization_design, params = {}, opts = {}); end end @@ -67266,13 +67491,13 @@ module Stripe class PhysicalBundleService < StripeService # Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a physical bundle object. sig { - params(physical_bundle: String, params: T.any(::Stripe::Issuing::PhysicalBundleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PhysicalBundle) + params(physical_bundle: String, params: T.any(::Stripe::Issuing::PhysicalBundleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PhysicalBundle) } def retrieve(physical_bundle, params = {}, opts = {}); end end @@ -67284,19 +67509,19 @@ module Stripe class TokenService < StripeService # Lists all Issuing Token objects for a given card. sig { - params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Token object. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def retrieve(token, params = {}, opts = {}); end # Attempts to update the specified Issuing Token object to the status specified. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def update(token, params = {}, opts = {}); end end @@ -67308,19 +67533,19 @@ module Stripe class TransactionService < StripeService # Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Transaction object. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def retrieve(transaction, params = {}, opts = {}); end # Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def update(transaction, params = {}, opts = {}); end end @@ -67331,13 +67556,13 @@ module Stripe class MandateService < StripeService # Retrieves a list of Mandates for a given PaymentMethod. sig { - params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Mandate object. sig { - params(mandate: String, params: T.any(::Stripe::MandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Mandate) + params(mandate: String, params: T.any(::Stripe::MandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Mandate) } def retrieve(mandate, params = {}, opts = {}); end end @@ -67347,25 +67572,25 @@ module Stripe class MarginService < StripeService # Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item. sig { - params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def create(params = {}, opts = {}); end # Retrieve a list of your margins. sig { - params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a margin object with the given ID. sig { - params(margin: String, params: T.any(::Stripe::MarginRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def retrieve(margin, params = {}, opts = {}); end # Update the specified margin object. Certain fields of the margin object are not editable. sig { - params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def update(margin, params = {}, opts = {}); end end @@ -67376,43 +67601,43 @@ module Stripe attr_reader :line_items # Cancels the order as well as the payment intent if one is attached. sig { - params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def cancel(id, params = {}, opts = {}); end # Creates a new open order object. sig { - params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def create(params = {}, opts = {}); end # Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first. sig { - params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Reopens a submitted order. sig { - params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def reopen(id, params = {}, opts = {}); end # Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information. sig { - params(id: String, params: T.any(::Stripe::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def retrieve(id, params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def submit(id, params = {}, opts = {}); end # Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def update(id, params = {}, opts = {}); end end @@ -67422,7 +67647,7 @@ module Stripe class OrderLineItemService < StripeService # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(id: String, params: T.any(::Stripe::OrderLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::OrderLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end end @@ -67432,13 +67657,13 @@ module Stripe class PaymentAttemptRecordService < StripeService # List all the Payment Attempt Records attached to the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Payment Attempt Record with the given ID sig { - params(id: String, params: T.any(::Stripe::PaymentAttemptRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentAttemptRecord) + params(id: String, params: T.any(::Stripe::PaymentAttemptRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentAttemptRecord) } def retrieve(id, params = {}, opts = {}); end end @@ -67449,7 +67674,7 @@ module Stripe attr_reader :amount_details_line_items # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def apply_customer_balance(intent, params = {}, opts = {}); end @@ -67459,7 +67684,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def cancel(intent, params = {}, opts = {}); end @@ -67469,7 +67694,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def capture(intent, params = {}, opts = {}); end @@ -67504,7 +67729,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def confirm(intent, params = {}, opts = {}); end @@ -67519,7 +67744,7 @@ module Stripe # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply # confirm=true. sig { - params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def create(params = {}, opts = {}); end @@ -67540,7 +67765,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def decrement_authorization(intent, params = {}, opts = {}); end @@ -67569,13 +67794,13 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def increment_authorization(intent, params = {}, opts = {}); end # Returns a list of PaymentIntents. sig { - params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -67585,7 +67810,7 @@ module Stripe # # If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def retrieve(intent, params = {}, opts = {}); end @@ -67594,13 +67819,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Trigger an external action on a PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def trigger_action(intent, params = {}, opts = {}); end @@ -67612,13 +67837,13 @@ module Stripe # update and confirm at the same time, we recommend updating properties through # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def update(intent, params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def verify_microdeposits(intent, params = {}, opts = {}); end end @@ -67628,7 +67853,7 @@ module Stripe class PaymentIntentAmountDetailsLineItemService < StripeService # Lists all LineItems of a given PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentAmountDetailsLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(intent: String, params: T.any(::Stripe::PaymentIntentAmountDetailsLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(intent, params = {}, opts = {}); end end @@ -67639,25 +67864,25 @@ module Stripe attr_reader :line_items # Creates a payment link. sig { - params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def create(params = {}, opts = {}); end # Returns a list of your payment links. sig { - params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def retrieve(payment_link, params = {}, opts = {}); end # Updates a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def update(payment_link, params = {}, opts = {}); end end @@ -67667,7 +67892,7 @@ module Stripe class PaymentLinkLineItemService < StripeService # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(payment_link, params = {}, opts = {}); end end @@ -67689,7 +67914,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def attach(payment_method, params = {}, opts = {}); end @@ -67697,31 +67922,31 @@ module Stripe # # Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment. sig { - params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def create(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def detach(payment_method, params = {}, opts = {}); end # Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer_list) API instead. sig { - params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use [Retrieve a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer) sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve(payment_method, params = {}, opts = {}); end # Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def update(payment_method, params = {}, opts = {}); end end @@ -67731,25 +67956,25 @@ module Stripe class PaymentMethodConfigurationService < StripeService # Creates a payment method configuration sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def create(params = {}, opts = {}); end # List payment method configurations sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def retrieve(configuration, params = {}, opts = {}); end # Update payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def update(configuration, params = {}, opts = {}); end end @@ -67759,25 +67984,25 @@ module Stripe class PaymentMethodDomainService < StripeService # Creates a payment method domain. sig { - params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def create(params = {}, opts = {}); end # Lists the details of existing payment method domains. sig { - params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def retrieve(payment_method_domain, params = {}, opts = {}); end # Updates an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def update(payment_method_domain, params = {}, opts = {}); end @@ -67788,7 +68013,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def validate(payment_method_domain, params = {}, opts = {}); end end @@ -67800,47 +68025,54 @@ module Stripe # initialized and later report updates through the other report_* methods, or report Payment # Records in a terminal state directly, through this method. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_canceled(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_failed(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_guaranteed(id, params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_informational(id, params = {}, opts = {}); end + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(id: String, params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def report_refund(id, params = {}, opts = {}); end + # Retrieves a Payment Record with the given ID sig { - params(id: String, params: T.any(::Stripe::PaymentRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def retrieve(id, params = {}, opts = {}); end end @@ -67850,7 +68082,7 @@ module Stripe class PayoutService < StripeService # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def cancel(payout, params = {}, opts = {}); end @@ -67860,33 +68092,33 @@ module Stripe # # If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://docs.stripe.com/api#balance_object) details available and pending amounts by source type. sig { - params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def create(params = {}, opts = {}); end # Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first. sig { - params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information. sig { - params(payout: String, params: T.any(::Stripe::PayoutRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def retrieve(payout, params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def reverse(payout, params = {}, opts = {}); end # Updates the specified payout by setting the values of the parameters you pass. We don't change parameters that you don't provide. This request only accepts the metadata as arguments. sig { - params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def update(payout, params = {}, opts = {}); end end @@ -67896,31 +68128,31 @@ module Stripe class PlanService < StripeService # You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. sig { - params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def create(params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def delete(plan, params = {}, opts = {}); end # Returns a list of your plans. sig { - params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the plan with the given ID. sig { - params(plan: String, params: T.any(::Stripe::PlanRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def retrieve(plan, params = {}, opts = {}); end # Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle. sig { - params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def update(plan, params = {}, opts = {}); end end @@ -67930,19 +68162,19 @@ module Stripe class PriceService < StripeService # Creates a new [Price for an existing Product](https://docs.stripe.com/api/prices). The Price can be recurring or one-time. sig { - params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def create(params = {}, opts = {}); end # Returns a list of your active prices, excluding [inline prices](https://docs.stripe.com/docs/products-prices/pricing-models#inline-pricing). For the list of inactive prices, set active to false. sig { - params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the price with the given ID. sig { - params(price: String, params: T.any(::Stripe::PriceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def retrieve(price, params = {}, opts = {}); end @@ -67951,13 +68183,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged. sig { - params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def update(price, params = {}, opts = {}); end end @@ -67977,25 +68209,25 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def cancel(job, params = {}, opts = {}); end # Creates a redaction job. When a job is created, it will start to validate. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def create(params = {}, opts = {}); end # Returns a list of redaction jobs. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a previously created redaction job. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def retrieve(job, params = {}, opts = {}); end @@ -68005,7 +68237,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def run(job, params = {}, opts = {}); end @@ -68013,7 +68245,7 @@ module Stripe # # If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def update(job, params = {}, opts = {}); end @@ -68023,7 +68255,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def validate(job, params = {}, opts = {}); end end @@ -68035,7 +68267,7 @@ module Stripe class RedactionJobValidationErrorService < StripeService # Returns a list of validation errors for the specified redaction job. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(job, params = {}, opts = {}); end end @@ -68047,25 +68279,25 @@ module Stripe attr_reader :features # Creates a new product object. sig { - params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def create(params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def delete(id, params = {}, opts = {}); end # Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first. sig { - params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information. sig { - params(id: String, params: T.any(::Stripe::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def retrieve(id, params = {}, opts = {}); end @@ -68074,13 +68306,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def update(id, params = {}, opts = {}); end end @@ -68090,25 +68322,25 @@ module Stripe class ProductFeatureService < StripeService # Creates a product_feature, which represents a feature attachment to a product sig { - params(product: String, params: T.any(::Stripe::ProductFeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, params: T.any(::Stripe::ProductFeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def create(product, params = {}, opts = {}); end # Deletes the feature attachment to a product sig { - params(product: String, id: String, params: T.any(::Stripe::ProductFeatureDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, id: String, params: T.any(::Stripe::ProductFeatureDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def delete(product, id, params = {}, opts = {}); end # Retrieve a list of features for a product sig { - params(product: String, params: T.any(::Stripe::ProductFeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(product: String, params: T.any(::Stripe::ProductFeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(product, params = {}, opts = {}); end # Retrieves a product_feature, which represents a feature attachment to a product sig { - params(product: String, id: String, params: T.any(::Stripe::ProductFeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, id: String, params: T.any(::Stripe::ProductFeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def retrieve(product, id, params = {}, opts = {}); end end @@ -68118,25 +68350,25 @@ module Stripe class PromotionCodeService < StripeService # A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer, redemption limit, and expiration date. sig { - params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def create(params = {}, opts = {}); end # Returns a list of your promotion codes. sig { - params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use [list](https://docs.stripe.com/docs/api/promotion_codes/list) with the desired code. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def retrieve(promotion_code, params = {}, opts = {}); end # Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def update(promotion_code, params = {}, opts = {}); end end @@ -68151,49 +68383,49 @@ module Stripe attr_reader :preview_subscription_schedules # Accepts the specified quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def accept(quote, params = {}, opts = {}); end # Cancels the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def cancel(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote). sig { - params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def create(params = {}, opts = {}); end # Finalizes the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def finalize_quote(quote, params = {}, opts = {}); end # Returns a list of your quotes. sig { - params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_draft(quote, params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_stale(quote, params = {}, opts = {}); end @@ -68205,19 +68437,19 @@ module Stripe # Recompute the upcoming invoice estimate for the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def reestimate(quote, params = {}, opts = {}); end # Retrieves the quote with the given ID. sig { - params(quote: String, params: T.any(::Stripe::QuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def retrieve(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. sig { - params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def update(quote, params = {}, opts = {}); end end @@ -68227,7 +68459,7 @@ module Stripe class QuoteComputedUpfrontLineItemsService < StripeService # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteComputedUpfrontLineItemsListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteComputedUpfrontLineItemsListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end @@ -68237,7 +68469,7 @@ module Stripe class QuoteLineService < StripeService # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(quote: String, params: T.any(::Stripe::QuoteLineListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteLineListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end @@ -68247,7 +68479,7 @@ module Stripe class QuoteLineItemService < StripeService # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end @@ -68257,7 +68489,7 @@ module Stripe class QuotePreviewInvoiceService < StripeService # Preview the invoices that would be generated by accepting the quote. sig { - params(quote: String, params: T.any(::Stripe::QuotePreviewInvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuotePreviewInvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end @@ -68267,7 +68499,7 @@ module Stripe class QuotePreviewSubscriptionScheduleService < StripeService # Preview the schedules that would be generated by accepting the quote sig { - params(quote: String, params: T.any(::Stripe::QuotePreviewSubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuotePreviewSubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end @@ -68286,7 +68518,7 @@ module Stripe class EarlyFraudWarningService < StripeService # Returns a list of early fraud warnings. sig { - params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -68294,7 +68526,7 @@ module Stripe # # Please refer to the [early fraud warning](https://docs.stripe.com/api#early_fraud_warning_object) object reference for more details. sig { - params(early_fraud_warning: String, params: T.any(::Stripe::Radar::EarlyFraudWarningRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::EarlyFraudWarning) + params(early_fraud_warning: String, params: T.any(::Stripe::Radar::EarlyFraudWarningRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::EarlyFraudWarning) } def retrieve(early_fraud_warning, params = {}, opts = {}); end end @@ -68306,31 +68538,31 @@ module Stripe class ValueListService < StripeService # Creates a new ValueList object, which can then be referenced in rules. sig { - params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def create(params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def delete(value_list, params = {}, opts = {}); end # Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ValueList object. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def retrieve(value_list, params = {}, opts = {}); end # Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def update(value_list, params = {}, opts = {}); end end @@ -68342,25 +68574,25 @@ module Stripe class ValueListItemService < StripeService # Creates a new ValueListItem object, which is added to the specified parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def create(params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def delete(item, params = {}, opts = {}); end # Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ValueListItem object. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def retrieve(item, params = {}, opts = {}); end end @@ -68373,7 +68605,7 @@ module Stripe # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def cancel(refund, params = {}, opts = {}); end @@ -68389,19 +68621,19 @@ module Stripe # This method will raise an error when called on an already-refunded charge, # or when trying to refund more money than is left on a charge. sig { - params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def create(params = {}, opts = {}); end # Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object. sig { - params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing refund. sig { - params(refund: String, params: T.any(::Stripe::RefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def retrieve(refund, params = {}, opts = {}); end @@ -68409,7 +68641,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def update(refund, params = {}, opts = {}); end end @@ -68427,19 +68659,19 @@ module Stripe class ReportRunService < StripeService # Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def create(params = {}, opts = {}); end # Returns a list of Report Runs, with the most recent appearing first. sig { - params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing Report Run. sig { - params(report_run: String, params: T.any(::Stripe::Reporting::ReportRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(report_run: String, params: T.any(::Stripe::Reporting::ReportRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def retrieve(report_run, params = {}, opts = {}); end end @@ -68451,13 +68683,13 @@ module Stripe class ReportTypeService < StripeService # Returns a full list of Report Types. sig { - params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Report Type. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(report_type: String, params: T.any(::Stripe::Reporting::ReportTypeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportType) + params(report_type: String, params: T.any(::Stripe::Reporting::ReportTypeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportType) } def retrieve(report_type, params = {}, opts = {}); end end @@ -68468,19 +68700,19 @@ module Stripe class ReviewService < StripeService # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def approve(review, params = {}, opts = {}); end # Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Review object. sig { - params(review: String, params: T.any(::Stripe::ReviewRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def retrieve(review, params = {}, opts = {}); end end @@ -68490,7 +68722,7 @@ module Stripe class SetupAttemptService < StripeService # Returns a list of SetupAttempts that associate with a provided SetupIntent. sig { - params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end @@ -68502,7 +68734,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def cancel(intent, params = {}, opts = {}); end @@ -68521,7 +68753,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def confirm(intent, params = {}, opts = {}); end @@ -68530,13 +68762,13 @@ module Stripe # After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm) # it to collect any required permissions to charge the payment method later. sig { - params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def create(params = {}, opts = {}); end # Returns a list of SetupIntents. sig { - params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -68546,19 +68778,19 @@ module Stripe # # When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://docs.stripe.com/api#setup_intent_object) object reference for more details. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def retrieve(intent, params = {}, opts = {}); end # Updates a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def update(intent, params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def verify_microdeposits(intent, params = {}, opts = {}); end end @@ -68568,25 +68800,25 @@ module Stripe class ShippingRateService < StripeService # Creates a new shipping rate object. sig { - params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def create(params = {}, opts = {}); end # Returns a list of your shipping rates. sig { - params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns the shipping rate object with the given ID. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def retrieve(shipping_rate_token, params = {}, opts = {}); end # Updates an existing shipping rate object. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def update(shipping_rate_token, params = {}, opts = {}); end end @@ -68603,13 +68835,13 @@ module Stripe class ScheduledQueryRunService < StripeService # Returns a list of scheduled query runs. sig { - params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an scheduled query run. sig { - params(scheduled_query_run: String, params: T.any(::Stripe::Sigma::ScheduledQueryRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Sigma::ScheduledQueryRun) + params(scheduled_query_run: String, params: T.any(::Stripe::Sigma::ScheduledQueryRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Sigma::ScheduledQueryRun) } def retrieve(scheduled_query_run, params = {}, opts = {}); end end @@ -68621,19 +68853,19 @@ module Stripe attr_reader :transactions # Creates a new source object. sig { - params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def create(params = {}, opts = {}); end # Delete a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::SourceDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::SourceDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def detach(customer, id, params = {}, opts = {}); end # Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information. sig { - params(source: String, params: T.any(::Stripe::SourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def retrieve(source, params = {}, opts = {}); end @@ -68641,13 +68873,13 @@ module Stripe # # This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://docs.stripe.com/docs/sources) for more detail. sig { - params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def update(source, params = {}, opts = {}); end # Verify a given source. sig { - params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def verify(source, params = {}, opts = {}); end end @@ -68657,7 +68889,7 @@ module Stripe class SourceTransactionService < StripeService # List source transactions for a given source. sig { - params(source: String, params: T.any(::Stripe::SourceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(source: String, params: T.any(::Stripe::SourceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(source, params = {}, opts = {}); end end @@ -68667,7 +68899,7 @@ module Stripe class SubscriptionService < StripeService # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def attach_cadence(subscription, params = {}, opts = {}); end @@ -68677,7 +68909,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def cancel(subscription_exposed_id, params = {}, opts = {}); end @@ -68689,37 +68921,37 @@ module Stripe # To start subscriptions where the first invoice always begins in a draft status, use [subscription schedules](https://docs.stripe.com/docs/billing/subscriptions/subscription-schedules#managing) instead. # Schedules provide the flexibility to model more complex billing configurations that change over time. sig { - params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def create(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(subscription_exposed_id, params = {}, opts = {}); end # By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. sig { - params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def migrate(subscription, params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def resume(subscription, params = {}, opts = {}); end # Retrieves the subscription with the given ID. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def retrieve(subscription_exposed_id, params = {}, opts = {}); end @@ -68728,7 +68960,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -68754,7 +68986,7 @@ module Stripe # # Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing](https://docs.stripe.com/docs/rate-limits) instead. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def update(subscription_exposed_id, params = {}, opts = {}); end end @@ -68764,31 +68996,31 @@ module Stripe class SubscriptionItemService < StripeService # Adds a new item to an existing subscription. No existing items will be changed or replaced. sig { - params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def create(params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def delete(item, params = {}, opts = {}); end # Returns a list of your subscription items for a given subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the subscription item with the given ID. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def retrieve(item, params = {}, opts = {}); end # Updates the plan or quantity of an item on a current subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def update(item, params = {}, opts = {}); end end @@ -68798,43 +69030,43 @@ module Stripe class SubscriptionScheduleService < StripeService # Amends an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def amend(schedule, params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def cancel(schedule, params = {}, opts = {}); end # Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def create(params = {}, opts = {}); end # Retrieves the list of your subscription schedules. sig { - params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def release(schedule, params = {}, opts = {}); end # Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def retrieve(schedule, params = {}, opts = {}); end # Updates an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def update(schedule, params = {}, opts = {}); end end @@ -68856,7 +69088,7 @@ module Stripe class AssociationService < StripeService # Finds a tax association object by PaymentIntent id. sig { - params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Association) + params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Association) } def find(params = {}, opts = {}); end end @@ -68869,13 +69101,13 @@ module Stripe attr_reader :line_items # Calculates tax based on the input and returns a Tax Calculation object. sig { - params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def create(params = {}, opts = {}); end # Retrieves a Tax Calculation object, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def retrieve(calculation, params = {}, opts = {}); end end @@ -68887,7 +69119,7 @@ module Stripe class CalculationLineItemService < StripeService # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(calculation, params = {}, opts = {}); end end @@ -68899,7 +69131,7 @@ module Stripe class FormService < StripeService # Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first. sig { - params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -68911,7 +69143,7 @@ module Stripe # Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information. sig { - params(id: String, params: T.any(::Stripe::Tax::FormRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Form) + params(id: String, params: T.any(::Stripe::Tax::FormRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Form) } def retrieve(id, params = {}, opts = {}); end end @@ -68923,19 +69155,19 @@ module Stripe class RegistrationService < StripeService # Creates a new Tax Registration object. sig { - params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def create(params = {}, opts = {}); end # Returns a list of Tax Registration objects. sig { - params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns a Tax Registration object. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def retrieve(id, params = {}, opts = {}); end @@ -68943,7 +69175,7 @@ module Stripe # # A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def update(id, params = {}, opts = {}); end end @@ -68955,13 +69187,13 @@ module Stripe class SettingsService < StripeService # Retrieves Tax Settings for a merchant. sig { - params(params: T.any(::Stripe::Tax::SettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Settings) + params(params: T.any(::Stripe::Tax::SettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Settings) } def retrieve(params = {}, opts = {}); end # Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set. sig { - params(params: T.any(::Stripe::Tax::SettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Settings) + params(params: T.any(::Stripe::Tax::SettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Settings) } def update(params = {}, opts = {}); end end @@ -68974,19 +69206,19 @@ module Stripe attr_reader :line_items # Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def create_from_calculation(params = {}, opts = {}); end # Partially or fully reverses a previously created Transaction. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def create_reversal(params = {}, opts = {}); end # Retrieves a Tax Transaction object. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def retrieve(transaction, params = {}, opts = {}); end end @@ -68998,7 +69230,7 @@ module Stripe class TransactionLineItemService < StripeService # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(transaction, params = {}, opts = {}); end end @@ -69009,13 +69241,13 @@ module Stripe class TaxCodeService < StripeService # A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations. sig { - params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information. sig { - params(id: String, params: T.any(::Stripe::TaxCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxCode) + params(id: String, params: T.any(::Stripe::TaxCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxCode) } def retrieve(id, params = {}, opts = {}); end end @@ -69025,25 +69257,25 @@ module Stripe class TaxIdService < StripeService # Creates a new account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def create(params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(id, params = {}, opts = {}); end # Returns a list of tax IDs. sig { - params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def retrieve(id, params = {}, opts = {}); end end @@ -69053,25 +69285,25 @@ module Stripe class TaxRateService < StripeService # Creates a new tax rate. sig { - params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def create(params = {}, opts = {}); end # Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first. sig { - params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a tax rate with the given ID sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def retrieve(tax_rate, params = {}, opts = {}); end # Updates an existing tax rate. sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def update(tax_rate, params = {}, opts = {}); end end @@ -69093,31 +69325,31 @@ module Stripe class ConfigurationService < StripeService # Creates a new Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def create(params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def delete(configuration, params = {}, opts = {}); end # Returns a list of Configuration objects. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def retrieve(configuration, params = {}, opts = {}); end # Updates a new Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def update(configuration, params = {}, opts = {}); end end @@ -69129,7 +69361,7 @@ module Stripe class ConnectionTokenService < StripeService # To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token. sig { - params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ConnectionToken) + params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ConnectionToken) } def create(params = {}, opts = {}); end end @@ -69142,31 +69374,31 @@ module Stripe # Creates a new Location object. # For further details, including which address fields are required in each country, see the [Manage locations](https://docs.stripe.com/docs/terminal/fleet/locations) guide. sig { - params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def create(params = {}, opts = {}); end # Deletes a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def delete(location, params = {}, opts = {}); end # Returns a list of Location objects. sig { - params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def retrieve(location, params = {}, opts = {}); end # Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def update(location, params = {}, opts = {}); end end @@ -69178,7 +69410,7 @@ module Stripe class OnboardingLinkService < StripeService # Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone. sig { - params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::OnboardingLink) + params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::OnboardingLink) } def create(params = {}, opts = {}); end end @@ -69188,81 +69420,81 @@ end module Stripe module Terminal class ReaderService < StripeService - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def cancel_action(reader, params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_inputs(reader, params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_payment_method(reader, params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def confirm_payment_intent(reader, params = {}, opts = {}); end # Creates a new Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def create(params = {}, opts = {}); end # Deletes a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def delete(reader, params = {}, opts = {}); end # Returns a list of Reader objects. sig { - params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_payment_intent(reader, params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_setup_intent(reader, params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def refund_payment(reader, params = {}, opts = {}); end # Retrieves a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def retrieve(reader, params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def set_reader_display(reader, params = {}, opts = {}); end # Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def update(reader, params = {}, opts = {}); end end @@ -69274,7 +69506,7 @@ module Stripe class ReaderCollectedDataService < StripeService # Retrieve data collected using Reader hardware. sig { - params(reader_collected_data: String, params: T.any(::Stripe::Terminal::ReaderCollectedDataRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ReaderCollectedData) + params(reader_collected_data: String, params: T.any(::Stripe::Terminal::ReaderCollectedDataRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ReaderCollectedData) } def retrieve(reader_collected_data, params = {}, opts = {}); end end @@ -69298,7 +69530,7 @@ module Stripe class ConfirmationTokenService < StripeService # Creates a test mode Confirmation Token server side for your integration tests. sig { - params(params: T.any(::Stripe::TestHelpers::ConfirmationTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ConfirmationToken) + params(params: T.any(::Stripe::TestHelpers::ConfirmationTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ConfirmationToken) } def create(params = {}, opts = {}); end end @@ -69310,7 +69542,7 @@ module Stripe class CustomerService < StripeService # Create an incoming testmode bank transfer sig { - params(customer: String, params: T.any(::Stripe::TestHelpers::CustomerFundCashBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerCashBalanceTransaction) + params(customer: String, params: T.any(::Stripe::TestHelpers::CustomerFundCashBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerCashBalanceTransaction) } def fund_cash_balance(customer, params = {}, opts = {}); end end @@ -69334,43 +69566,43 @@ module Stripe class AuthorizationService < StripeService # Capture a test-mode authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def capture(authorization, params = {}, opts = {}); end # Create a test-mode authorization. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def create(params = {}, opts = {}); end # Expire a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def expire(authorization, params = {}, opts = {}); end # Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationFinalizeAmountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationFinalizeAmountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def finalize_amount(authorization, params = {}, opts = {}); end # Increment a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationIncrementParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationIncrementParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def increment(authorization, params = {}, opts = {}); end # Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationRespondParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationRespondParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def respond(authorization, params = {}, opts = {}); end # Reverse a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def reverse(authorization, params = {}, opts = {}); end end @@ -69384,31 +69616,31 @@ module Stripe class CardService < StripeService # Updates the shipping status of the specified Issuing Card object to delivered. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardDeliverCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardDeliverCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def deliver_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to failure. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardFailCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardFailCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def fail_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to returned. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardReturnCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardReturnCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def return_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to shipped. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardShipCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardShipCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def ship_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to submitted. This method requires Stripe Version ‘2024-09-30.acacia' or later. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardSubmitCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardSubmitCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def submit_card(card, params = {}, opts = {}); end end @@ -69422,19 +69654,19 @@ module Stripe class PersonalizationDesignService < StripeService # Updates the status of the specified testmode personalization design object to active. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def activate(personalization_design, params = {}, opts = {}); end # Updates the status of the specified testmode personalization design object to inactive. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def deactivate(personalization_design, params = {}, opts = {}); end # Updates the status of the specified testmode personalization design object to rejected. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def reject(personalization_design, params = {}, opts = {}); end end @@ -69448,19 +69680,19 @@ module Stripe class TransactionService < StripeService # Allows the user to capture an arbitrary amount, also known as a forced capture. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateForceCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateForceCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def create_force_capture(params = {}, opts = {}); end # Allows the user to refund an arbitrary amount, also known as a unlinked refund. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def create_unlinked_refund(params = {}, opts = {}); end # Refund a test-mode Transaction. sig { - params(transaction: String, params: T.any(::Stripe::TestHelpers::Issuing::TransactionRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::TestHelpers::Issuing::TransactionRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def refund(transaction, params = {}, opts = {}); end end @@ -69473,7 +69705,7 @@ module Stripe class RefundService < StripeService # Expire a refund with a status of requires_action. sig { - params(refund: String, params: T.any(::Stripe::TestHelpers::RefundExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::TestHelpers::RefundExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def expire(refund, params = {}, opts = {}); end end @@ -69494,19 +69726,19 @@ module Stripe class ReaderService < StripeService # Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def present_payment_method(reader, params = {}, opts = {}); end # Use this endpoint to trigger a successful input collection on a simulated reader. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderSucceedInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderSucceedInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def succeed_input_collection(reader, params = {}, opts = {}); end # Use this endpoint to complete an input collection with a timeout error on a simulated reader. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderTimeoutInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderTimeoutInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def timeout_input_collection(reader, params = {}, opts = {}); end end @@ -69519,31 +69751,31 @@ module Stripe class TestClockService < StripeService # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def advance(test_clock, params = {}, opts = {}); end # Creates a new test clock that can be attached to new customers and quotes. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def create(params = {}, opts = {}); end # Deletes a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def delete(test_clock, params = {}, opts = {}); end # Returns a list of your test clocks. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def retrieve(test_clock, params = {}, opts = {}); end end @@ -69568,19 +69800,19 @@ module Stripe class InboundTransferService < StripeService # Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def fail(id, params = {}, opts = {}); end # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferReturnInboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferReturnInboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def return_inbound_transfer(id, params = {}, opts = {}); end # Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferSucceedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferSucceedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def succeed(id, params = {}, opts = {}); end end @@ -69594,25 +69826,25 @@ module Stripe class OutboundPaymentService < StripeService # Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def fail(id, params = {}, opts = {}); end # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def post(id, params = {}, opts = {}); end # Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentReturnOutboundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentReturnOutboundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def return_outbound_payment(id, params = {}, opts = {}); end # Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def update(id, params = {}, opts = {}); end end @@ -69626,25 +69858,25 @@ module Stripe class OutboundTransferService < StripeService # Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def fail(outbound_transfer, params = {}, opts = {}); end # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def post(outbound_transfer, params = {}, opts = {}); end # Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferReturnOutboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferReturnOutboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def return_outbound_transfer(outbound_transfer, params = {}, opts = {}); end # Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def update(outbound_transfer, params = {}, opts = {}); end end @@ -69658,7 +69890,7 @@ module Stripe class ReceivedCreditService < StripeService # Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can't directly create ReceivedCredits initiated by third parties. sig { - params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedCreditCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedCredit) + params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedCreditCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedCredit) } def create(params = {}, opts = {}); end end @@ -69672,7 +69904,7 @@ module Stripe class ReceivedDebitService < StripeService # Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can't directly create ReceivedDebits initiated by third parties. sig { - params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedDebit) + params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedDebit) } def create(params = {}, opts = {}); end end @@ -69685,13 +69917,13 @@ module Stripe # Creates a single-use token that represents a bank account's details. # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://docs.stripe.com/api#accounts) where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. sig { - params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def create(params = {}, opts = {}); end # Retrieves the token with the given ID. sig { - params(token: String, params: T.any(::Stripe::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(token: String, params: T.any(::Stripe::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def retrieve(token, params = {}, opts = {}); end end @@ -69701,31 +69933,31 @@ module Stripe class TopupService < StripeService # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def cancel(topup, params = {}, opts = {}); end # Top up the balance of an account sig { - params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def create(params = {}, opts = {}); end # Returns a list of top-ups. sig { - params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information. sig { - params(topup: String, params: T.any(::Stripe::TopupRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def retrieve(topup, params = {}, opts = {}); end # Updates the metadata of a top-up. Other top-up details are not editable by design. sig { - params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def update(topup, params = {}, opts = {}); end end @@ -69736,19 +69968,19 @@ module Stripe attr_reader :reversals # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. sig { - params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def create(params = {}, opts = {}); end # Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first. sig { - params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information. sig { - params(transfer: String, params: T.any(::Stripe::TransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def retrieve(transfer, params = {}, opts = {}); end @@ -69756,7 +69988,7 @@ module Stripe # # This request accepts only metadata as an argument. sig { - params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def update(transfer, params = {}, opts = {}); end end @@ -69770,19 +70002,19 @@ module Stripe # # Once entirely reversed, a transfer can't be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer. sig { - params(id: String, params: T.any(::Stripe::TransferReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(id: String, params: T.any(::Stripe::TransferReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def create(id, params = {}, opts = {}); end # You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals. sig { - params(id: String, params: T.any(::Stripe::TransferReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::TransferReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end # By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer. sig { - params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def retrieve(transfer, id, params = {}, opts = {}); end @@ -69790,7 +70022,7 @@ module Stripe # # This request only accepts metadata and description as arguments. sig { - params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def update(transfer, id, params = {}, opts = {}); end end @@ -69816,19 +70048,19 @@ module Stripe class CreditReversalService < StripeService # Reverses a ReceivedCredit and creates a CreditReversal object. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def create(params = {}, opts = {}); end # Returns a list of CreditReversals. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list sig { - params(credit_reversal: String, params: T.any(::Stripe::Treasury::CreditReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(credit_reversal: String, params: T.any(::Stripe::Treasury::CreditReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def retrieve(credit_reversal, params = {}, opts = {}); end end @@ -69840,19 +70072,19 @@ module Stripe class DebitReversalService < StripeService # Reverses a ReceivedDebit and creates a DebitReversal object. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def create(params = {}, opts = {}); end # Returns a list of DebitReversals. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a DebitReversal object. sig { - params(debit_reversal: String, params: T.any(::Stripe::Treasury::DebitReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(debit_reversal: String, params: T.any(::Stripe::Treasury::DebitReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def retrieve(debit_reversal, params = {}, opts = {}); end end @@ -69865,31 +70097,31 @@ module Stripe attr_reader :features # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def close(financial_account, params = {}, opts = {}); end # Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def create(params = {}, opts = {}); end # Returns a list of FinancialAccounts. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def retrieve(financial_account, params = {}, opts = {}); end # Updates the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def update(financial_account, params = {}, opts = {}); end end @@ -69901,13 +70133,13 @@ module Stripe class FinancialAccountFeaturesService < StripeService # Retrieves Features information associated with the FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def retrieve(financial_account, params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def update(financial_account, params = {}, opts = {}); end end @@ -69919,25 +70151,25 @@ module Stripe class InboundTransferService < StripeService # Cancels an InboundTransfer. sig { - params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def cancel(inbound_transfer, params = {}, opts = {}); end # Creates an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of InboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing InboundTransfer. sig { - params(id: String, params: T.any(::Stripe::Treasury::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::Treasury::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def retrieve(id, params = {}, opts = {}); end end @@ -69949,25 +70181,25 @@ module Stripe class OutboundPaymentService < StripeService # Cancel an OutboundPayment. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def cancel(id, params = {}, opts = {}); end # Creates an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def create(params = {}, opts = {}); end # Returns a list of OutboundPayments sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def retrieve(id, params = {}, opts = {}); end end @@ -69979,25 +70211,25 @@ module Stripe class OutboundTransferService < StripeService # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def cancel(outbound_transfer, params = {}, opts = {}); end # Creates an OutboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of OutboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def retrieve(outbound_transfer, params = {}, opts = {}); end end @@ -70009,13 +70241,13 @@ module Stripe class ReceivedCreditService < StripeService # Returns a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list. sig { - params(id: String, params: T.any(::Stripe::Treasury::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedCredit) + params(id: String, params: T.any(::Stripe::Treasury::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedCredit) } def retrieve(id, params = {}, opts = {}); end end @@ -70027,13 +70259,13 @@ module Stripe class ReceivedDebitService < StripeService # Returns a list of ReceivedDebits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list sig { - params(id: String, params: T.any(::Stripe::Treasury::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedDebit) + params(id: String, params: T.any(::Stripe::Treasury::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedDebit) } def retrieve(id, params = {}, opts = {}); end end @@ -70045,13 +70277,13 @@ module Stripe class TransactionService < StripeService # Retrieves a list of Transaction objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing Transaction. sig { - params(id: String, params: T.any(::Stripe::Treasury::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::Transaction) + params(id: String, params: T.any(::Stripe::Treasury::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::Transaction) } def retrieve(id, params = {}, opts = {}); end end @@ -70063,13 +70295,13 @@ module Stripe class TransactionEntryService < StripeService # Retrieves a list of TransactionEntry objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a TransactionEntry object. sig { - params(id: String, params: T.any(::Stripe::Treasury::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::TransactionEntry) + params(id: String, params: T.any(::Stripe::Treasury::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::TransactionEntry) } def retrieve(id, params = {}, opts = {}); end end @@ -70080,31 +70312,31 @@ module Stripe class WebhookEndpointService < StripeService # A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the [webhooks settings](https://dashboard.stripe.com/account/webhooks) section of the Dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def create(params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def delete(webhook_endpoint, params = {}, opts = {}); end # Returns a list of your webhook endpoints. sig { - params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the webhook endpoint with the given ID. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def retrieve(webhook_endpoint, params = {}, opts = {}); end # Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def update(webhook_endpoint, params = {}, opts = {}); end end @@ -70142,25 +70374,25 @@ module Stripe attr_reader :versions # Create a BillSetting object. sig { - params(params: T.any(::Stripe::V2::Billing::BillSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(params: T.any(::Stripe::V2::Billing::BillSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def create(params = {}, opts = {}); end # List all BillSetting objects. sig { - params(params: T.any(::Stripe::V2::Billing::BillSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::BillSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a BillSetting object by ID. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def retrieve(id, params = {}, opts = {}); end # Update fields on an existing BillSetting object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def update(id, params = {}, opts = {}); end end @@ -70175,13 +70407,13 @@ module Stripe class VersionService < StripeService # List all BillSettingVersions by BillSetting ID. sig { - params(bill_setting_id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(bill_setting_id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(bill_setting_id, params = {}, opts = {}); end # Retrieve a BillSettingVersion by ID. sig { - params(bill_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSettingVersion) + params(bill_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSettingVersion) } def retrieve(bill_setting_id, id, params = {}, opts = {}); end end @@ -70196,31 +70428,31 @@ module Stripe class CadenceService < StripeService # Cancel the Billing Cadence. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def cancel(id, params = {}, opts = {}); end # Create a Billing Cadence object. sig { - params(params: T.any(::Stripe::V2::Billing::CadenceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(params: T.any(::Stripe::V2::Billing::CadenceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def create(params = {}, opts = {}); end # List Billing Cadences. sig { - params(params: T.any(::Stripe::V2::Billing::CadenceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::CadenceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a Billing Cadence object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def retrieve(id, params = {}, opts = {}); end # Update a Billing Cadence object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def update(id, params = {}, opts = {}); end end @@ -70235,25 +70467,25 @@ module Stripe attr_reader :versions # Create a CollectionSetting object. sig { - params(params: T.any(::Stripe::V2::Billing::CollectionSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(params: T.any(::Stripe::V2::Billing::CollectionSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def create(params = {}, opts = {}); end # List all CollectionSetting objects. sig { - params(params: T.any(::Stripe::V2::Billing::CollectionSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::CollectionSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a CollectionSetting by ID. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def retrieve(id, params = {}, opts = {}); end # Update fields on an existing CollectionSetting. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def update(id, params = {}, opts = {}); end end @@ -70268,13 +70500,13 @@ module Stripe class VersionService < StripeService # List all CollectionSettingVersions by CollectionSetting ID. sig { - params(collection_setting_id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(collection_setting_id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(collection_setting_id, params = {}, opts = {}); end # Retrieve a CollectionSetting Version by ID. sig { - params(collection_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSettingVersion) + params(collection_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSettingVersion) } def retrieve(collection_setting_id, id, params = {}, opts = {}); end end @@ -70289,7 +70521,7 @@ module Stripe class MeterEventService < StripeService # Creates a meter event. Events are validated synchronously, but are processed asynchronously. Supports up to 1,000 events per second in livemode. For higher rate-limits, please use meter event streams instead. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEvent) + params(params: T.any(::Stripe::V2::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEvent) } def create(params = {}, opts = {}); end end @@ -70303,7 +70535,7 @@ module Stripe class MeterEventAdjustmentService < StripeService # Creates a meter event adjustment to cancel a previously sent meter event. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::V2::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEventAdjustment) } def create(params = {}, opts = {}); end end @@ -70317,7 +70549,7 @@ module Stripe class MeterEventSessionService < StripeService # Creates a meter event session to send usage on the high-throughput meter event stream. Authentication tokens are only valid for 15 minutes, so you will need to create a new meter event session when your token expires. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEventSession) + params(params: T.any(::Stripe::V2::Billing::MeterEventSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEventSession) } def create(params = {}, opts = {}); end end @@ -70347,25 +70579,25 @@ module Stripe class ProfileService < StripeService # Create a BillingProfile object. sig { - params(params: T.any(::Stripe::V2::Billing::ProfileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(params: T.any(::Stripe::V2::Billing::ProfileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def create(params = {}, opts = {}); end # List Billing Profiles. sig { - params(params: T.any(::Stripe::V2::Billing::ProfileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::ProfileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a BillingProfile object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::ProfileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(id: String, params: T.any(::Stripe::V2::Billing::ProfileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def retrieve(id, params = {}, opts = {}); end # Update a BillingProfile object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::ProfileUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(id: String, params: T.any(::Stripe::V2::Billing::ProfileUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def update(id, params = {}, opts = {}); end end @@ -70392,19 +70624,19 @@ module Stripe attr_reader :persons # Removes access to the Account and its associated resources. sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def close(id, params = {}, opts = {}); end # An Account is a representation of a company, individual or other entity that a user interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient. sig { - params(params: T.any(::Stripe::V2::Core::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(params: T.any(::Stripe::V2::Core::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def create(params = {}, opts = {}); end # Returns a list of Accounts. sig { - params(params: T.any(::Stripe::V2::Core::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end @@ -70412,7 +70644,7 @@ module Stripe # # ** raises RateLimitError sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def retrieve(id, params = {}, opts = {}); end @@ -70420,7 +70652,7 @@ module Stripe # # ** raises RateLimitError sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def update(id, params = {}, opts = {}); end end @@ -70435,31 +70667,31 @@ module Stripe class PersonService < StripeService # Create a Person associated with an Account. sig { - params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def create(account_id, params = {}, opts = {}); end # Delete a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::DeletedObject) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::DeletedObject) } def delete(account_id, id, params = {}, opts = {}); end # Returns a list of Persons associated with an Account. sig { - params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(account_id, params = {}, opts = {}); end # Retrieves a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def retrieve(account_id, id, params = {}, opts = {}); end # Updates a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def update(account_id, id, params = {}, opts = {}); end end @@ -70474,7 +70706,7 @@ module Stripe class AccountLinkService < StripeService # Creates an AccountLink object that includes a single-use Stripe URL that the merchant can redirect their user to in order to take them to a Stripe-hosted application such as Recipient Onboarding. sig { - params(params: T.any(::Stripe::V2::Core::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountLink) + params(params: T.any(::Stripe::V2::Core::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountLink) } def create(params = {}, opts = {}); end end @@ -70488,13 +70720,13 @@ module Stripe class EventService < StripeService # List events, going back up to 30 days. sig { - params(params: T.any(::Stripe::V2::Core::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an event. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Event) + params(id: String, params: T.any(::Stripe::V2::Core::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Event) } def retrieve(id, params = {}, opts = {}); end end @@ -70508,49 +70740,49 @@ module Stripe class EventDestinationService < StripeService # Create a new event destination. sig { - params(params: T.any(::Stripe::V2::Core::EventDestinationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(params: T.any(::Stripe::V2::Core::EventDestinationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def create(params = {}, opts = {}); end # Delete an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::DeletedObject) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::DeletedObject) } def delete(id, params = {}, opts = {}); end # Disable an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def disable(id, params = {}, opts = {}); end # Enable an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationEnableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationEnableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def enable(id, params = {}, opts = {}); end # Lists all event destinations. sig { - params(params: T.any(::Stripe::V2::Core::EventDestinationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::EventDestinationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Send a `ping` event to an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationPingParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Event) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationPingParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Event) } def ping(id, params = {}, opts = {}); end # Retrieves the details of an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def retrieve(id, params = {}, opts = {}); end # Update the details of an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def update(id, params = {}, opts = {}); end end @@ -70579,20 +70811,20 @@ module Stripe # being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to # funds being sent to the wrong account, which we might not be able to recover. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountAcknowledgeConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountAcknowledgeConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def acknowledge_confirmation_of_payee(id, params = {}, opts = {}); end # Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations # and will not appear in the outbound destination list. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def archive(id, params = {}, opts = {}); end # Create a GB bank account. sig { - params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def create(params = {}, opts = {}); end @@ -70601,13 +70833,13 @@ module Stripe # the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee # is required before sending funds. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountInitiateConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountInitiateConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def initiate_confirmation_of_payee(id, params = {}, opts = {}); end # Retrieve a GB bank account. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def retrieve(id, params = {}, opts = {}); end end @@ -70627,7 +70859,7 @@ module Stripe # # ** raises ControlledByDashboardError sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def archive(id, params = {}, opts = {}); end @@ -70637,13 +70869,13 @@ module Stripe # ** raises InvalidPaymentMethodError # ** raises QuotaExceededError sig { - params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def create(params = {}, opts = {}); end # Retrieve a USBankAccount object. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def retrieve(id, params = {}, opts = {}); end @@ -70653,7 +70885,7 @@ module Stripe # ** raises InvalidPaymentMethodError # ** raises QuotaExceededError sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def update(id, params = {}, opts = {}); end end @@ -70689,13 +70921,13 @@ module Stripe class AdjustmentService < StripeService # Returns a list of Adjustments that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::AdjustmentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::AdjustmentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an Adjustment by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::AdjustmentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::Adjustment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::AdjustmentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::Adjustment) } def retrieve(id, params = {}, opts = {}); end end @@ -70711,7 +70943,7 @@ module Stripe # # ** raises NonZeroBalanceError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def close(id, params = {}, opts = {}); end @@ -70720,19 +70952,19 @@ module Stripe # ** raises AlreadyExistsError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def create(params = {}, opts = {}); end # Lists FinancialAccounts in this compartment. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing FinancialAccount. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def retrieve(id, params = {}, opts = {}); end end @@ -70749,19 +70981,19 @@ module Stripe # ** raises FinancialAccountNotOpenError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAddress) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAddress) } def create(params = {}, opts = {}); end # List all FinancialAddresses for a FinancialAccount. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a FinancialAddress. By default, the FinancialAddress will be returned in its unexpanded state, revealing only the last 4 digits of the account number. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAddress) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAddress) } def retrieve(id, params = {}, opts = {}); end end @@ -70777,19 +71009,19 @@ module Stripe # # ** raises BlockedByStripeError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::InboundTransfer) + params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::InboundTransfer) } def create(params = {}, opts = {}); end # Retrieves a list of InboundTransfers. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve an InboundTransfer by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::InboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::InboundTransfer) } def retrieve(id, params = {}, opts = {}); end end @@ -70806,7 +71038,7 @@ module Stripe # ** raises AlreadyCanceledError # ** raises NotCancelableError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def cancel(id, params = {}, opts = {}); end @@ -70817,19 +71049,19 @@ module Stripe # ** raises RecipientNotNotifiableError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def create(params = {}, opts = {}); end # Returns a list of OutboundPayments that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment create or list response. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def retrieve(id, params = {}, opts = {}); end end @@ -70845,13 +71077,13 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPaymentQuote) } def create(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPaymentQuote) } def retrieve(id, params = {}, opts = {}); end end @@ -70865,7 +71097,7 @@ module Stripe class OutboundSetupIntentService < StripeService # Cancel an OutboundSetupIntent object. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def cancel(id, params = {}, opts = {}); end @@ -70875,19 +71107,19 @@ module Stripe # ** raises InvalidPayoutMethodError # ** raises QuotaExceededError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def create(params = {}, opts = {}); end # List the OutboundSetupIntent objects. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve an OutboundSetupIntent object. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def retrieve(id, params = {}, opts = {}); end @@ -70897,7 +71129,7 @@ module Stripe # ** raises BlockedByStripeError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def update(id, params = {}, opts = {}); end end @@ -70914,7 +71146,7 @@ module Stripe # ** raises AlreadyCanceledError # ** raises NotCancelableError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def cancel(id, params = {}, opts = {}); end @@ -70923,19 +71155,19 @@ module Stripe # ** raises InsufficientFundsError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of OutboundTransfers that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundPayment create or list response. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def retrieve(id, params = {}, opts = {}); end end @@ -70953,13 +71185,13 @@ module Stripe # ** raises ControlledByDashboardError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def archive(id, params = {}, opts = {}); end # List objects that adhere to the PayoutMethod interface. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end @@ -70967,7 +71199,7 @@ module Stripe # # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def retrieve(id, params = {}, opts = {}); end @@ -70976,7 +71208,7 @@ module Stripe # ** raises ControlledByDashboardError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def unarchive(id, params = {}, opts = {}); end end @@ -70992,7 +71224,7 @@ module Stripe # credential fields are required, the validations for each fields, and how to translate these # country-specific fields to the generic fields in the PayoutMethodBankAccount type. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpec) + params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpec) } def retrieve(params = {}, opts = {}); end end @@ -71006,13 +71238,13 @@ module Stripe class ReceivedCreditService < StripeService # Retrieves a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a ReceivedCredit by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::ReceivedCredit) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedCredit) } def retrieve(id, params = {}, opts = {}); end end @@ -71026,13 +71258,13 @@ module Stripe class ReceivedDebitService < StripeService # Retrieves a list of ReceivedDebits, given the selected filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves a single ReceivedDebit by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::ReceivedDebit) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedDebit) } def retrieve(id, params = {}, opts = {}); end end @@ -71046,13 +71278,13 @@ module Stripe class TransactionService < StripeService # Returns a list of Transactions that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Transaction by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::Transaction) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::Transaction) } def retrieve(id, params = {}, opts = {}); end end @@ -71066,13 +71298,13 @@ module Stripe class TransactionEntryService < StripeService # Returns a list of TransactionEntries that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a TransactionEntry by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::TransactionEntry) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::TransactionEntry) } def retrieve(id, params = {}, opts = {}); end end @@ -71094,31 +71326,31 @@ module Stripe class OffSessionPaymentService < StripeService # Cancel an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def cancel(id, params = {}, opts = {}); end # Captures an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def capture(id, params = {}, opts = {}); end # Creates an OffSessionPayment object. sig { - params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def create(params = {}, opts = {}); end # Returns a list of OffSessionPayments matching a filter. sig { - params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def retrieve(id, params = {}, opts = {}); end end @@ -71142,7 +71374,7 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressCreditParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::FinancialAddressCreditSimulation) + params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressCreditParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::FinancialAddressCreditSimulation) } def credit(id, params = {}, opts = {}); end @@ -71150,7 +71382,7 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressGenerateMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::FinancialAddressGeneratedMicrodeposits) + params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressGenerateMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::FinancialAddressGeneratedMicrodeposits) } def generate_microdeposits(id, params = {}, opts = {}); end end @@ -71160,7 +71392,7 @@ end # typed: true module Stripe module Tax - class AssociationFindParams < Stripe::RequestParams + class AssociationFindParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -71178,8 +71410,8 @@ module Stripe end # typed: true module Stripe - class AccountLinkCreateParams < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`. sig { returns(T.nilable(String)) } def fields; end @@ -71248,7 +71480,7 @@ module Stripe end # typed: true module Stripe - class AccountNoticeListParams < Stripe::RequestParams + class AccountNoticeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -71282,8 +71514,8 @@ module Stripe end # typed: true module Stripe - class AccountNoticeUpdateParams < Stripe::RequestParams - class Email < Stripe::RequestParams + class AccountNoticeUpdateParams < ::Stripe::RequestParams + class Email < ::Stripe::RequestParams # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. sig { returns(String) } def plain_text; end @@ -71334,10 +71566,10 @@ module Stripe end # typed: true module Stripe - class AccountSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class AccountManagement < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class AccountManagement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -71379,8 +71611,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AccountOnboarding < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -71422,8 +71654,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AppInstall < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppInstall < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_apps; end @@ -71451,8 +71683,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AppViewport < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppViewport < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_apps; end @@ -71480,8 +71712,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Balances < Stripe::RequestParams - class Features < Stripe::RequestParams + class Balances < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -71541,8 +71773,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancing < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancing < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71562,8 +71794,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancingApplication < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingApplication < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71583,8 +71815,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancingPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71604,8 +71836,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalOverview < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalOverview < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71625,8 +71857,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class DisputesList < Stripe::RequestParams - class Features < Stripe::RequestParams + class DisputesList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -71678,8 +71910,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Documents < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class Documents < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71697,8 +71929,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ExportTaxTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ExportTaxTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -71718,8 +71950,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class FinancialAccount < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccount < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -71773,8 +72005,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class FinancialAccountTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccountTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card spend dispute management features. sig { returns(T.nilable(T::Boolean)) } def card_spend_dispute_management; end @@ -71804,8 +72036,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class InstantPayoutsPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams + class InstantPayoutsPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -71853,8 +72085,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class IssuingCard < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCard < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. sig { returns(T.nilable(T::Boolean)) } def card_management; end @@ -71908,8 +72140,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class IssuingCardsList < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCardsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. sig { returns(T.nilable(T::Boolean)) } def card_management; end @@ -71973,8 +72205,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class NotificationBanner < Stripe::RequestParams - class Features < Stripe::RequestParams + class NotificationBanner < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -72016,8 +72248,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentDetails < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -72069,8 +72301,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentDisputes < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDisputes < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. sig { returns(T.nilable(T::Boolean)) } def destination_on_behalf_of_charge_management; end @@ -72118,8 +72350,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentMethodSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PaymentMethodSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72139,8 +72371,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Payments < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -72192,8 +72424,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PayoutDetails < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72211,8 +72443,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Payouts < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -72272,8 +72504,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PayoutsList < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72291,8 +72523,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ProductTaxCodeSelector < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ProductTaxCodeSelector < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72312,8 +72544,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Recipients < Stripe::RequestParams - class Features < Stripe::RequestParams + class Recipients < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow sending money. sig { returns(T.nilable(T::Boolean)) } def send_money; end @@ -72339,8 +72571,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ReportingChart < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ReportingChart < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72358,8 +72590,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxRegistrations < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxRegistrations < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72379,8 +72611,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72398,8 +72630,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxThresholdMonitoring < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxThresholdMonitoring < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -72702,12 +72934,12 @@ module Stripe end # typed: true module Stripe - class AccountDeleteParams < Stripe::RequestParams; end + class AccountDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class AccountUpdateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -72756,8 +72988,8 @@ module Stripe routing_number: nil ); end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -72776,7 +73008,7 @@ module Stripe sig { params(amount: Integer, currency: String, fiscal_year_end: String).void } def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -72790,7 +73022,7 @@ module Stripe sig { params(amount: Integer, currency: String).void } def initialize(amount: nil, currency: nil); end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -72919,8 +73151,8 @@ module Stripe url: nil ); end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72929,7 +73161,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72938,7 +73170,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72947,7 +73179,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72956,7 +73188,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72965,7 +73197,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72974,7 +73206,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72983,7 +73215,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -72992,7 +73224,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73001,7 +73233,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73010,7 +73242,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73019,7 +73251,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73028,7 +73260,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73037,7 +73269,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73046,7 +73278,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73055,7 +73287,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73064,7 +73296,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73073,7 +73305,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73082,7 +73314,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73091,7 +73323,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73100,7 +73332,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73109,7 +73341,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73118,7 +73350,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73127,7 +73359,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73136,7 +73368,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73145,7 +73377,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73154,7 +73386,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73163,7 +73395,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73172,7 +73404,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73181,7 +73413,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73190,7 +73422,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73199,7 +73431,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73208,7 +73440,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73217,7 +73449,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73226,7 +73458,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73235,7 +73467,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73244,7 +73476,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73253,7 +73485,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73262,7 +73494,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73271,7 +73503,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73280,7 +73512,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73289,7 +73521,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73298,7 +73530,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73307,7 +73539,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73316,7 +73548,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73325,7 +73557,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73334,7 +73566,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73343,7 +73575,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73352,7 +73584,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73361,7 +73593,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73370,7 +73602,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73379,7 +73611,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73388,7 +73620,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73397,7 +73629,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73406,7 +73638,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73415,7 +73647,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73424,7 +73656,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73433,7 +73665,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73442,7 +73674,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73451,7 +73683,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73460,7 +73692,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73469,7 +73701,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73478,7 +73710,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73487,7 +73719,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73496,7 +73728,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73505,7 +73737,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73514,7 +73746,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73523,7 +73755,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73532,7 +73764,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73541,7 +73773,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73550,7 +73782,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73559,7 +73791,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73568,7 +73800,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -73577,7 +73809,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -74184,7 +74416,7 @@ module Stripe zip_payments: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -74283,7 +74515,7 @@ module Stripe default_for_currency: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -74302,8 +74534,8 @@ module Stripe sig { params(object: String, currency: T.nilable(String), token: String).void } def initialize(object: nil, currency: nil, token: nil); end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -74346,7 +74578,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -74395,7 +74627,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -74444,7 +74676,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -74465,7 +74697,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -74486,7 +74718,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -74505,8 +74737,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -74631,6 +74884,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)).returns(T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -74661,7 +74921,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(AccountUpdateParams::Company::Address), address_kana: T.nilable(AccountUpdateParams::Company::AddressKana), address_kanji: T.nilable(AccountUpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountUpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountUpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountUpdateParams::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountUpdateParams::Company::Verification)).void + params(address: T.nilable(AccountUpdateParams::Company::Address), address_kana: T.nilable(AccountUpdateParams::Company::AddressKana), address_kanji: T.nilable(AccountUpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountUpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountUpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountUpdateParams::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountUpdateParams::Company::Verification)).void } def initialize( address: nil, @@ -74681,6 +74941,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -74688,8 +74949,8 @@ module Stripe verification: nil ); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74698,7 +74959,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74707,7 +74968,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74716,7 +74977,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74725,7 +74986,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74734,7 +74995,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74743,7 +75004,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74752,7 +75013,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74761,7 +75022,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -74848,7 +75109,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -74857,8 +75118,8 @@ module Stripe sig { params(payments_pricing: T.nilable(String)).void } def initialize(payments_pricing: nil); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -74901,7 +75162,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -74950,7 +75211,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -74999,7 +75260,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -75018,7 +75279,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -75061,7 +75322,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -75100,8 +75361,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -75115,7 +75376,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -75312,8 +75573,8 @@ module Stripe verification: nil ); end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -75323,7 +75584,7 @@ module Stripe sig { params(pause_requested: T.nilable(T::Boolean)).void } def initialize(pause_requested: nil); end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -75352,8 +75613,8 @@ module Stripe } def initialize(charges: nil, payouts: nil); end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -75362,7 +75623,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name sig { returns(T.nilable(String)) } def account_holder_name; end @@ -75378,7 +75639,7 @@ module Stripe } def initialize(account_holder_name: nil, business_account_number: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -75404,7 +75665,7 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -75424,8 +75685,8 @@ module Stripe } def initialize(payout_destination: nil, payout_destination_selector: nil); end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -75458,8 +75719,8 @@ module Stripe } def initialize(tos_acceptance: nil); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -75511,7 +75772,7 @@ module Stripe statement_descriptor_prefix_kanji: nil ); end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def default_account_tax_ids; end @@ -75529,7 +75790,7 @@ module Stripe } def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil); end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -75554,8 +75815,8 @@ module Stripe statement_descriptor_kanji: nil ); end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days; end @@ -75628,7 +75889,7 @@ module Stripe } def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil); end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T.nilable(T::Boolean)) } def consented_to_paperless_delivery; end @@ -75639,8 +75900,8 @@ module Stripe sig { params(consented_to_paperless_delivery: T.nilable(T::Boolean)).void } def initialize(consented_to_paperless_delivery: nil); end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -75767,7 +76028,7 @@ module Stripe treasury: nil ); end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -75929,8 +76190,8 @@ module Stripe end # typed: true module Stripe - class AccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -75997,8 +76258,8 @@ module Stripe end # typed: true module Stripe - class AccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -76047,8 +76308,8 @@ module Stripe routing_number: nil ); end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -76067,7 +76328,7 @@ module Stripe sig { params(amount: Integer, currency: String, fiscal_year_end: String).void } def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -76081,7 +76342,7 @@ module Stripe sig { params(amount: Integer, currency: String).void } def initialize(amount: nil, currency: nil); end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -76210,8 +76471,8 @@ module Stripe url: nil ); end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76220,7 +76481,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76229,7 +76490,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76238,7 +76499,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76247,7 +76508,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76256,7 +76517,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76265,7 +76526,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76274,7 +76535,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76283,7 +76544,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76292,7 +76553,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76301,7 +76562,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76310,7 +76571,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76319,7 +76580,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76328,7 +76589,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76337,7 +76598,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76346,7 +76607,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76355,7 +76616,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76364,7 +76625,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76373,7 +76634,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76382,7 +76643,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76391,7 +76652,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76400,7 +76661,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76409,7 +76670,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76418,7 +76679,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76427,7 +76688,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76436,7 +76697,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76445,7 +76706,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76454,7 +76715,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76463,7 +76724,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76472,7 +76733,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76481,7 +76742,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76490,7 +76751,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76499,7 +76760,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76508,7 +76769,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76517,7 +76778,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76526,7 +76787,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76535,7 +76796,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76544,7 +76805,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76553,7 +76814,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76562,7 +76823,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76571,7 +76832,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76580,7 +76841,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76589,7 +76850,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76598,7 +76859,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76607,7 +76868,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76616,7 +76877,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76625,7 +76886,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76634,7 +76895,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76643,7 +76904,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76652,7 +76913,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76661,7 +76922,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76670,7 +76931,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76679,7 +76940,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76688,7 +76949,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76697,7 +76958,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76706,7 +76967,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76715,7 +76976,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76724,7 +76985,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76733,7 +76994,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76742,7 +77003,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76751,7 +77012,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76760,7 +77021,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76769,7 +77030,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76778,7 +77039,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76787,7 +77048,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76796,7 +77057,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76805,7 +77066,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76814,7 +77075,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76823,7 +77084,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76832,7 +77093,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76841,7 +77102,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76850,7 +77111,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76859,7 +77120,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -76868,7 +77129,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -77475,7 +77736,7 @@ module Stripe zip_payments: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -77574,7 +77835,7 @@ module Stripe default_for_currency: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -77593,8 +77854,8 @@ module Stripe sig { params(object: String, currency: T.nilable(String), token: String).void } def initialize(object: nil, currency: nil, token: nil); end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -77637,7 +77898,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -77686,7 +77947,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -77735,7 +77996,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -77756,7 +78017,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -77777,7 +78038,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -77796,8 +78057,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -77922,6 +78204,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)).returns(T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -77952,7 +78241,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(AccountCreateParams::Company::Address), address_kana: T.nilable(AccountCreateParams::Company::AddressKana), address_kanji: T.nilable(AccountCreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountCreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountCreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountCreateParams::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountCreateParams::Company::Verification)).void + params(address: T.nilable(AccountCreateParams::Company::Address), address_kana: T.nilable(AccountCreateParams::Company::AddressKana), address_kanji: T.nilable(AccountCreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountCreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountCreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountCreateParams::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(AccountCreateParams::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountCreateParams::Company::Verification)).void } def initialize( address: nil, @@ -77972,6 +78261,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -77979,8 +78269,8 @@ module Stripe verification: nil ); end end - class Controller < Stripe::RequestParams - class Application < Stripe::RequestParams + class Controller < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). sig { returns(T::Boolean) } def loss_liable; end @@ -78001,7 +78291,7 @@ module Stripe } def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil); end end - class Dashboard < Stripe::RequestParams + class Dashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. sig { returns(T.nilable(String)) } def type; end @@ -78010,7 +78300,7 @@ module Stripe sig { params(type: T.nilable(String)).void } def initialize(type: nil); end end - class Fees < Stripe::RequestParams + class Fees < ::Stripe::RequestParams # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). sig { returns(T.nilable(String)) } def payer; end @@ -78019,7 +78309,7 @@ module Stripe sig { params(payer: T.nilable(String)).void } def initialize(payer: nil); end end - class Losses < Stripe::RequestParams + class Losses < ::Stripe::RequestParams # A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`. sig { returns(T.nilable(String)) } def payments; end @@ -78028,7 +78318,7 @@ module Stripe sig { params(payments: T.nilable(String)).void } def initialize(payments: nil); end end - class StripeDashboard < Stripe::RequestParams + class StripeDashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. sig { returns(T.nilable(String)) } def type; end @@ -78089,8 +78379,8 @@ module Stripe stripe_dashboard: nil ); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78099,7 +78389,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78108,7 +78398,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78117,7 +78407,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78126,7 +78416,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78135,7 +78425,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78144,7 +78434,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78153,7 +78443,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78162,7 +78452,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -78249,7 +78539,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -78258,8 +78548,8 @@ module Stripe sig { params(payments_pricing: T.nilable(String)).void } def initialize(payments_pricing: nil); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -78302,7 +78592,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -78351,7 +78641,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -78400,7 +78690,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -78419,7 +78709,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -78462,7 +78752,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -78501,8 +78791,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -78516,7 +78806,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -78713,8 +79003,8 @@ module Stripe verification: nil ); end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -78724,7 +79014,7 @@ module Stripe sig { params(pause_requested: T.nilable(T::Boolean)).void } def initialize(pause_requested: nil); end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -78753,8 +79043,8 @@ module Stripe } def initialize(charges: nil, payouts: nil); end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -78763,7 +79053,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name sig { returns(T.nilable(String)) } def account_holder_name; end @@ -78779,7 +79069,7 @@ module Stripe } def initialize(account_holder_name: nil, business_account_number: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -78805,7 +79095,7 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -78825,8 +79115,8 @@ module Stripe } def initialize(payout_destination: nil, payout_destination_selector: nil); end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -78859,8 +79149,8 @@ module Stripe } def initialize(tos_acceptance: nil); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -78912,7 +79202,7 @@ module Stripe statement_descriptor_prefix_kanji: nil ); end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. sig { returns(T.nilable(String)) } def hosted_payment_method_save; end @@ -78921,7 +79211,7 @@ module Stripe sig { params(hosted_payment_method_save: T.nilable(String)).void } def initialize(hosted_payment_method_save: nil); end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -78946,8 +79236,8 @@ module Stripe statement_descriptor_kanji: nil ); end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days; end @@ -79020,7 +79310,7 @@ module Stripe } def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil); end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T.nilable(T::Boolean)) } def consented_to_paperless_delivery; end @@ -79031,8 +79321,8 @@ module Stripe sig { params(consented_to_paperless_delivery: T.nilable(T::Boolean)).void } def initialize(consented_to_paperless_delivery: nil); end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -79159,7 +79449,7 @@ module Stripe treasury: nil ); end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -79341,8 +79631,8 @@ module Stripe end # typed: true module Stripe - class AccountPersonsParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonsParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -79426,7 +79716,7 @@ module Stripe end # typed: true module Stripe - class AccountRejectParams < Stripe::RequestParams + class AccountRejectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -79443,11 +79733,11 @@ module Stripe end # typed: true module Stripe - class ApplePayDomainDeleteParams < Stripe::RequestParams; end + class ApplePayDomainDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class ApplePayDomainListParams < Stripe::RequestParams + class ApplePayDomainListParams < ::Stripe::RequestParams # Attribute for param field domain_name sig { returns(T.nilable(String)) } def domain_name; end @@ -79487,7 +79777,7 @@ module Stripe end # typed: true module Stripe - class ApplePayDomainCreateParams < Stripe::RequestParams + class ApplePayDomainCreateParams < ::Stripe::RequestParams # Attribute for param field domain_name sig { returns(String) } def domain_name; end @@ -79504,8 +79794,8 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ApplicationFeeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -79579,8 +79869,8 @@ end # typed: true module Stripe module Apps - class SecretListParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretListParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end @@ -79635,8 +79925,8 @@ end # typed: true module Stripe module Apps - class SecretCreateParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretCreateParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end @@ -79687,8 +79977,8 @@ end # typed: true module Stripe module Apps - class SecretFindParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretFindParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end @@ -79727,8 +80017,8 @@ end # typed: true module Stripe module Apps - class SecretDeleteWhereParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretDeleteWhereParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end @@ -79768,10 +80058,10 @@ module Stripe end # typed: true module Stripe - class BalanceSettingsUpdateParams < Stripe::RequestParams - class Payments < Stripe::RequestParams - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class BalanceSettingsUpdateParams < ::Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. sig { returns(T.nilable(String)) } def interval; end @@ -79824,7 +80114,7 @@ module Stripe statement_descriptor: nil ); end end - class SettlementTiming < Stripe::RequestParams + class SettlementTiming < ::Stripe::RequestParams # Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days_override; end @@ -79879,8 +80169,8 @@ module Stripe end # typed: true module Stripe - class BalanceTransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class BalanceTransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -79972,7 +80262,7 @@ end # typed: true module Stripe module Billing - class AlertListParams < Stripe::RequestParams + class AlertListParams < ::Stripe::RequestParams # Filter results to only include this type of alert. sig { returns(T.nilable(String)) } def alert_type; end @@ -80020,9 +80310,9 @@ end # typed: true module Stripe module Billing - class AlertCreateParams < Stripe::RequestParams - class UsageThreshold < Stripe::RequestParams - class Filter < Stripe::RequestParams + class AlertCreateParams < ::Stripe::RequestParams + class UsageThreshold < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams # Limit the scope to this usage alert only to this customer. sig { returns(T.nilable(String)) } def customer; end @@ -80095,7 +80385,7 @@ end # typed: true module Stripe module Billing - class AlertActivateParams < Stripe::RequestParams + class AlertActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80109,7 +80399,7 @@ end # typed: true module Stripe module Billing - class AlertArchiveParams < Stripe::RequestParams + class AlertArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80123,7 +80413,7 @@ end # typed: true module Stripe module Billing - class AlertDeactivateParams < Stripe::RequestParams + class AlertDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80137,7 +80427,7 @@ end # typed: true module Stripe module Billing - class CreditBalanceTransactionListParams < Stripe::RequestParams + class CreditBalanceTransactionListParams < ::Stripe::RequestParams # The credit grant for which to fetch credit balance transactions. sig { returns(T.nilable(String)) } def credit_grant; end @@ -80191,7 +80481,7 @@ end # typed: true module Stripe module Billing - class CreditGrantListParams < Stripe::RequestParams + class CreditGrantListParams < ::Stripe::RequestParams # Only return credit grants for this customer. sig { returns(T.nilable(String)) } def customer; end @@ -80239,9 +80529,9 @@ end # typed: true module Stripe module Billing - class CreditGrantCreateParams < Stripe::RequestParams - class Amount < Stripe::RequestParams - class Monetary < Stripe::RequestParams + class CreditGrantCreateParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams + class Monetary < ::Stripe::RequestParams # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter. sig { returns(String) } def currency; end @@ -80272,9 +80562,9 @@ module Stripe } def initialize(monetary: nil, type: nil); end end - class ApplicabilityConfig < Stripe::RequestParams - class Scope < Stripe::RequestParams - class Price < Stripe::RequestParams + class ApplicabilityConfig < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. sig { returns(String) } def id; end @@ -80326,10 +80616,10 @@ module Stripe params(_applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig).returns(Billing::CreditGrantCreateParams::ApplicabilityConfig) } def applicability_config=(_applicability_config); end - # The category of this credit grant. - sig { returns(String) } + # The category of this credit grant. It defaults to `paid` if not specified. + sig { returns(T.nilable(String)) } def category; end - sig { params(_category: String).returns(String) } + sig { params(_category: T.nilable(String)).returns(T.nilable(String)) } def category=(_category); end # ID of the customer to receive the billing credits. sig { returns(T.nilable(String)) } @@ -80374,7 +80664,7 @@ module Stripe sig { params(_priority: T.nilable(Integer)).returns(T.nilable(Integer)) } def priority=(_priority); end sig { - params(amount: Billing::CreditGrantCreateParams::Amount, applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig, category: String, customer: T.nilable(String), customer_account: T.nilable(String), effective_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), metadata: T.nilable(T::Hash[String, String]), name: T.nilable(String), priority: T.nilable(Integer)).void + params(amount: Billing::CreditGrantCreateParams::Amount, applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig, category: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), effective_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), metadata: T.nilable(T::Hash[String, String]), name: T.nilable(String), priority: T.nilable(Integer)).void } def initialize( amount: nil, @@ -80395,7 +80685,7 @@ end # typed: true module Stripe module Billing - class CreditGrantUpdateParams < Stripe::RequestParams + class CreditGrantUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80425,7 +80715,7 @@ end # typed: true module Stripe module Billing - class CreditGrantExpireParams < Stripe::RequestParams + class CreditGrantExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80439,7 +80729,7 @@ end # typed: true module Stripe module Billing - class CreditGrantVoidGrantParams < Stripe::RequestParams + class CreditGrantVoidGrantParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80452,7 +80742,7 @@ module Stripe end # typed: true module Stripe - class MarginListParams < Stripe::RequestParams + class MarginListParams < ::Stripe::RequestParams # Only return margins that are active or inactive. For example, pass `true` to only list active margins. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -80492,7 +80782,7 @@ module Stripe end # typed: true module Stripe - class MarginCreateParams < Stripe::RequestParams + class MarginCreateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -80528,7 +80818,7 @@ module Stripe end # typed: true module Stripe - class MarginUpdateParams < Stripe::RequestParams + class MarginUpdateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -80560,8 +80850,8 @@ end # typed: true module Stripe module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(T.nilable(String)) } def identifier; end @@ -80602,7 +80892,7 @@ end # typed: true module Stripe module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end @@ -80644,7 +80934,7 @@ end # typed: true module Stripe module Billing - class MeterListParams < Stripe::RequestParams + class MeterListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -80686,8 +80976,8 @@ end # typed: true module Stripe module Billing - class MeterCreateParams < Stripe::RequestParams - class CustomerMapping < Stripe::RequestParams + class MeterCreateParams < ::Stripe::RequestParams + class CustomerMapping < ::Stripe::RequestParams # The key in the meter event payload to use for mapping the event to a customer. sig { returns(String) } def event_payload_key; end @@ -80701,7 +80991,7 @@ module Stripe sig { params(event_payload_key: String, type: String).void } def initialize(event_payload_key: nil, type: nil); end end - class DefaultAggregation < Stripe::RequestParams + class DefaultAggregation < ::Stripe::RequestParams # Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window. sig { returns(String) } def formula; end @@ -80710,7 +81000,7 @@ module Stripe sig { params(formula: String).void } def initialize(formula: nil); end end - class ValueSettings < Stripe::RequestParams + class ValueSettings < ::Stripe::RequestParams # The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a `bytes_used` field, then set the event_payload_key to "bytes_used". sig { returns(String) } def event_payload_key; end @@ -80778,7 +81068,7 @@ end # typed: true module Stripe module Billing - class MeterUpdateParams < Stripe::RequestParams + class MeterUpdateParams < ::Stripe::RequestParams # The meter’s name. Not visible to the customer. sig { returns(T.nilable(String)) } def display_name; end @@ -80797,7 +81087,7 @@ end # typed: true module Stripe module Billing - class MeterDeactivateParams < Stripe::RequestParams + class MeterDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80811,7 +81101,7 @@ end # typed: true module Stripe module Billing - class MeterReactivateParams < Stripe::RequestParams + class MeterReactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -80825,7 +81115,7 @@ end # typed: true module Stripe module BillingPortal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations). sig { returns(T.nilable(T::Boolean)) } def active; end @@ -80873,8 +81163,8 @@ end # typed: true module Stripe module BillingPortal - class ConfigurationCreateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -80895,8 +81185,8 @@ module Stripe } def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil); end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_updates; end @@ -80914,7 +81204,7 @@ module Stripe } def initialize(allowed_updates: nil, enabled: nil); end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -80923,17 +81213,24 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - sig { params(enabled: T::Boolean).void } - def initialize(enabled: nil); end + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + sig { returns(T.nilable(String)) } + def payment_method_configuration; end + sig { + params(_payment_method_configuration: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_configuration=(_payment_method_configuration); end + sig { params(enabled: T::Boolean, payment_method_configuration: T.nilable(String)).void } + def initialize(enabled: nil, payment_method_configuration: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -80983,9 +81280,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -81030,8 +81327,8 @@ module Stripe } def initialize(adjustable_quantity: nil, prices: nil, product: nil); end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. sig { returns(String) } def type; end @@ -81162,7 +81459,7 @@ module Stripe subscription_update: nil ); end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. sig { returns(T::Boolean) } def enabled; end @@ -81232,8 +81529,8 @@ end # typed: true module Stripe module BillingPortal - class ConfigurationUpdateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -81254,8 +81551,8 @@ module Stripe } def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil); end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_updates; end @@ -81273,7 +81570,7 @@ module Stripe } def initialize(allowed_updates: nil, enabled: nil); end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -81282,17 +81579,24 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - sig { params(enabled: T::Boolean).void } - def initialize(enabled: nil); end + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + sig { returns(T.nilable(String)) } + def payment_method_configuration; end + sig { + params(_payment_method_configuration: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_configuration=(_payment_method_configuration); end + sig { params(enabled: T::Boolean, payment_method_configuration: T.nilable(String)).void } + def initialize(enabled: nil, payment_method_configuration: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -81344,9 +81648,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -81391,8 +81695,8 @@ module Stripe } def initialize(adjustable_quantity: nil, prices: nil, product: nil); end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. sig { returns(String) } def type; end @@ -81523,7 +81827,7 @@ module Stripe subscription_update: nil ); end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. # # Set to `false` to deactivate the `login_page.url`. @@ -81601,10 +81905,10 @@ end # typed: true module Stripe module BillingPortal - class SessionCreateParams < Stripe::RequestParams - class FlowData < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class FlowData < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the flow is completed. sig { returns(T.nilable(String)) } def custom_message; end @@ -81613,7 +81917,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the flow is completed. sig { returns(String) } def return_url; end @@ -81650,9 +81954,9 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class Retention < Stripe::RequestParams - class CouponOffer < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class Retention < ::Stripe::RequestParams + class CouponOffer < ::Stripe::RequestParams # The ID of the coupon to be offered. sig { returns(String) } def coupon; end @@ -81699,7 +82003,7 @@ module Stripe } def initialize(retention: nil, subscription: nil); end end - class SubscriptionUpdate < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams # The ID of the subscription to be updated. sig { returns(String) } def subscription; end @@ -81708,8 +82012,8 @@ module Stripe sig { params(subscription: String).void } def initialize(subscription: nil); end end - class SubscriptionUpdateConfirm < Stripe::RequestParams - class Discount < Stripe::RequestParams + class SubscriptionUpdateConfirm < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # The ID of the coupon to apply to this subscription update. sig { returns(T.nilable(String)) } def coupon; end @@ -81723,7 +82027,7 @@ module Stripe sig { params(coupon: T.nilable(String), promotion_code: T.nilable(String)).void } def initialize(coupon: nil, promotion_code: nil); end end - class Item < Stripe::RequestParams + class Item < ::Stripe::RequestParams # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. sig { returns(String) } def id; end @@ -81877,8 +82181,8 @@ end # typed: true module Stripe module Capital - class FinancingOfferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancingOfferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -81959,7 +82263,7 @@ end # typed: true module Stripe module Capital - class FinancingOfferMarkDeliveredParams < Stripe::RequestParams + class FinancingOfferMarkDeliveredParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -81973,7 +82277,7 @@ end # typed: true module Stripe module Capital - class FinancingTransactionListParams < Stripe::RequestParams + class FinancingTransactionListParams < ::Stripe::RequestParams # For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge. sig { returns(T.nilable(String)) } def charge; end @@ -82032,8 +82336,8 @@ module Stripe end # typed: true module Stripe - class ChargeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ChargeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -82118,8 +82422,8 @@ module Stripe end # typed: true module Stripe - class ChargeCreateParams < Stripe::RequestParams - class Destination < Stripe::RequestParams + class ChargeCreateParams < ::Stripe::RequestParams + class Destination < ::Stripe::RequestParams # ID of an existing, connected Stripe account. sig { returns(String) } def account; end @@ -82133,7 +82437,7 @@ module Stripe sig { params(account: String, amount: T.nilable(Integer)).void } def initialize(account: nil, amount: nil); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -82142,8 +82446,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -82218,7 +82522,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end @@ -82367,8 +82671,8 @@ module Stripe end # typed: true module Stripe - class ChargeUpdateParams < Stripe::RequestParams - class FraudDetails < Stripe::RequestParams + class ChargeUpdateParams < ::Stripe::RequestParams + class FraudDetails < ::Stripe::RequestParams # Either `safe` or `fraudulent`. sig { returns(T.any(String, String)) } def user_report; end @@ -82377,9 +82681,9 @@ module Stripe sig { params(user_report: T.any(String, String)).void } def initialize(user_report: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -82388,8 +82692,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -82429,7 +82733,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -82443,7 +82747,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -82466,7 +82770,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -82509,7 +82813,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -82716,8 +83020,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -82760,7 +83064,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -82769,8 +83073,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -82878,8 +83182,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -82888,8 +83192,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -82929,7 +83233,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -82938,7 +83242,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -83055,8 +83359,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -83099,7 +83403,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -83108,8 +83412,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -83149,7 +83453,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -83302,8 +83606,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -83312,7 +83616,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -83432,8 +83736,8 @@ module Stripe subscription: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -83579,7 +83883,7 @@ module Stripe end # typed: true module Stripe - class ChargeSearchParams < Stripe::RequestParams + class ChargeSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -83608,10 +83912,10 @@ module Stripe end # typed: true module Stripe - class ChargeCaptureParams < Stripe::RequestParams - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class ChargeCaptureParams < ::Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -83620,8 +83924,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -83661,7 +83965,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -83675,7 +83979,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -83698,7 +84002,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -83741,7 +84045,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -83948,8 +84252,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -83992,7 +84296,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -84001,8 +84305,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -84110,8 +84414,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -84120,8 +84424,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -84161,7 +84465,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -84170,7 +84474,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -84287,8 +84591,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -84331,7 +84635,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -84340,8 +84644,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -84381,7 +84685,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -84536,8 +84840,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -84546,7 +84850,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -84666,7 +84970,7 @@ module Stripe subscription: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end @@ -84751,8 +85055,8 @@ end # typed: true module Stripe module Checkout - class SessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -84778,7 +85082,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CustomerDetails < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # Customer's email address. sig { returns(String) } def email; end @@ -84874,8 +85178,8 @@ end # typed: true module Stripe module Checkout - class SessionCreateParams < Stripe::RequestParams - class AdaptivePricing < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AdaptivePricing < ::Stripe::RequestParams # If set to `true`, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing). sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -84884,8 +85188,8 @@ module Stripe sig { params(enabled: T.nilable(T::Boolean)).void } def initialize(enabled: nil); end end - class AfterExpiration < Stripe::RequestParams - class Recovery < Stripe::RequestParams + class AfterExpiration < ::Stripe::RequestParams + class Recovery < ::Stripe::RequestParams # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` sig { returns(T.nilable(T::Boolean)) } def allow_promotion_codes; end @@ -84915,8 +85219,8 @@ module Stripe } def initialize(recovery: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -84949,8 +85253,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BrandingSettings < Stripe::RequestParams - class Icon < Stripe::RequestParams + class BrandingSettings < ::Stripe::RequestParams + class Icon < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -84969,7 +85273,7 @@ module Stripe sig { params(file: T.nilable(String), type: String, url: T.nilable(String)).void } def initialize(file: nil, type: nil, url: nil); end end - class Logo < Stripe::RequestParams + class Logo < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -85044,8 +85348,8 @@ module Stripe logo: nil ); end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. sig { returns(String) } @@ -85086,9 +85390,9 @@ module Stripe terms_of_service: nil ); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -85119,7 +85423,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -85133,7 +85437,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -85154,7 +85458,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -85231,8 +85535,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -85241,7 +85545,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -85250,7 +85554,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -85259,7 +85563,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -85312,7 +85616,7 @@ module Stripe terms_of_service_acceptance: nil ); end end - class CustomerUpdate < Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # Describes whether Checkout saves the billing address onto `customer.address`. # To always collect a full billing address, use `billing_address_collection`. Defaults to `never`. sig { returns(T.nilable(String)) } @@ -85335,8 +85639,8 @@ module Stripe } def initialize(address: nil, name: nil, shipping: nil); end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). sig { returns(T.nilable(Integer)) } def amount_off; end @@ -85403,9 +85707,9 @@ module Stripe } def initialize(coupon: nil, coupon_data: nil, promotion_code: nil); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -85419,7 +85723,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -85433,7 +85737,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -85532,8 +85836,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -85554,8 +85858,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -85602,7 +85906,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -85726,8 +86030,8 @@ module Stripe tax_rates: nil ); end end - class NameCollection < Stripe::RequestParams - class Business < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams # Enable business name collection on the Checkout Session. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -85741,7 +86045,7 @@ module Stripe sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } def initialize(enabled: nil, optional: nil); end end - class Individual < Stripe::RequestParams + class Individual < ::Stripe::RequestParams # Enable individual name collection on the Checkout Session. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -85774,8 +86078,8 @@ module Stripe } def initialize(business: nil, individual: nil); end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -85818,9 +86122,9 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -85901,7 +86205,7 @@ module Stripe tracking_number: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -86026,7 +86330,7 @@ module Stripe transfer_group: nil ); end end - class PaymentMethodData < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams # Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout. sig { returns(T.nilable(String)) } def allow_redisplay; end @@ -86035,9 +86339,9 @@ module Stripe sig { params(allow_redisplay: T.nilable(String)).void } def initialize(allow_redisplay: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -86124,7 +86428,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86146,7 +86450,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86168,7 +86472,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86183,7 +86487,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86192,7 +86496,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86214,7 +86518,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86234,8 +86538,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String), target_date: T.nilable(String)).void } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -86274,7 +86578,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86289,7 +86593,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86298,7 +86602,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -86320,8 +86624,8 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams # Setting to true enables installments for this Checkout Session. # Setting to false will prevent any installment plan from applying to a payment. sig { returns(T.nilable(T::Boolean)) } @@ -86331,7 +86635,7 @@ module Stripe sig { params(enabled: T.nilable(T::Boolean)).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. sig { returns(T.nilable(T::Array[String])) } def brands_blocked; end @@ -86444,7 +86748,7 @@ module Stripe statement_descriptor_suffix_kanji: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86466,9 +86770,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -86535,7 +86839,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class DemoPay < Stripe::RequestParams + class DemoPay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86550,7 +86854,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86565,7 +86869,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86580,7 +86884,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86595,7 +86899,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86610,7 +86914,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86625,7 +86929,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86647,9 +86951,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -86733,7 +87037,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil, subscriptions: nil); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -86755,7 +87059,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86777,7 +87081,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86799,7 +87103,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86821,7 +87125,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86836,7 +87140,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86858,7 +87162,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -86880,7 +87184,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86904,8 +87208,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86914,7 +87218,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -86929,7 +87233,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -86990,8 +87294,8 @@ module Stripe subsellers: nil ); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -87065,8 +87369,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -87161,7 +87465,7 @@ module Stripe setup_future_usage: nil ); end end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -87183,7 +87487,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -87192,7 +87496,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -87201,8 +87505,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -87241,7 +87545,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -87256,7 +87560,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. sig { returns(T.nilable(String)) } def reference; end @@ -87265,8 +87569,23 @@ module Stripe sig { params(reference: T.nilable(String)).void } def initialize(reference: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + sig { returns(T.nilable(String)) } + def setup_future_usage; end + sig { params(_setup_future_usage: T.nilable(String)).returns(T.nilable(String)) } + def setup_future_usage=(_setup_future_usage); end + sig { params(setup_future_usage: T.nilable(String)).void } + def initialize(setup_future_usage: nil); end + end + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`. sig { returns(T.nilable(T::Array[String])) } def permissions; end @@ -87326,7 +87645,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -87651,6 +87970,13 @@ module Stripe params(_swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish)).returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish)) } def swish=(_swish); end + # contains details about the TWINT payment method options. + sig { returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)) } + def twint; end + sig { + params(_twint: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)).returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)) + } + def twint=(_twint); end # contains details about the Us Bank Account payment method options. sig { returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount)) @@ -87668,7 +87994,7 @@ module Stripe } def wechat_pay=(_wechat_pay); end sig { - params(acss_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AcssDebit), affirm: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Affirm), afterpay_clearpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AfterpayClearpay), alipay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alipay), alma: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alma), amazon_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AmazonPay), au_becs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AuBecsDebit), bacs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::BacsDebit), bancontact: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Bancontact), billie: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Billie), boleto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Boleto), card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Card), cashapp: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Cashapp), customer_balance: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::CustomerBalance), demo_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::DemoPay), eps: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Eps), fpx: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Fpx), giropay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Giropay), grabpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Grabpay), ideal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Ideal), kakao_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KakaoPay), klarna: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Klarna), konbini: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Konbini), kr_card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KrCard), link: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Link), mobilepay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Mobilepay), multibanco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Multibanco), naver_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::NaverPay), oxxo: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Oxxo), p24: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::P24), pay_by_bank: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::PayByBank), payco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payco), paynow: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paynow), paypal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paypal), payto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payto), pix: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Pix), revolut_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::RevolutPay), samsung_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SamsungPay), satispay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Satispay), sepa_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SepaDebit), sofort: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Sofort), swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish), us_bank_account: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount), wechat_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::WechatPay)).void + params(acss_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AcssDebit), affirm: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Affirm), afterpay_clearpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AfterpayClearpay), alipay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alipay), alma: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alma), amazon_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AmazonPay), au_becs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AuBecsDebit), bacs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::BacsDebit), bancontact: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Bancontact), billie: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Billie), boleto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Boleto), card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Card), cashapp: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Cashapp), customer_balance: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::CustomerBalance), demo_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::DemoPay), eps: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Eps), fpx: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Fpx), giropay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Giropay), grabpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Grabpay), ideal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Ideal), kakao_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KakaoPay), klarna: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Klarna), konbini: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Konbini), kr_card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KrCard), link: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Link), mobilepay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Mobilepay), multibanco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Multibanco), naver_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::NaverPay), oxxo: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Oxxo), p24: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::P24), pay_by_bank: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::PayByBank), payco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payco), paynow: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paynow), paypal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paypal), payto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payto), pix: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Pix), revolut_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::RevolutPay), samsung_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SamsungPay), satispay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Satispay), sepa_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SepaDebit), sofort: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Sofort), swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish), twint: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint), us_bank_account: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount), wechat_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::WechatPay)).void } def initialize( acss_debit: nil, @@ -87713,12 +88039,13 @@ module Stripe sepa_debit: nil, sofort: nil, swish: nil, + twint: nil, us_bank_account: nil, wechat_pay: nil ); end end - class Permissions < Stripe::RequestParams - class Update < Stripe::RequestParams + class Permissions < ::Stripe::RequestParams + class Update < ::Stripe::RequestParams # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -87782,7 +88109,7 @@ module Stripe update_shipping_details: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. # # Can only be set in `payment` and `subscription` mode. @@ -87793,7 +88120,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class SavedPaymentMethodOptions < Stripe::RequestParams + class SavedPaymentMethodOptions < ::Stripe::RequestParams # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. sig { returns(T.nilable(T::Array[String])) } def allow_redisplay_filters; end @@ -87820,7 +88147,7 @@ module Stripe payment_method_save: nil ); end end - class SetupIntentData < Stripe::RequestParams + class SetupIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -87843,7 +88170,7 @@ module Stripe } def initialize(description: nil, metadata: nil, on_behalf_of: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -87853,10 +88180,10 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -87870,7 +88197,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -87907,8 +88234,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -88021,9 +88348,9 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class SubscriptionData < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -88051,8 +88378,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -88080,7 +88407,7 @@ module Stripe } def initialize(issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -88094,8 +88421,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -88218,7 +88545,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -88232,8 +88559,8 @@ module Stripe sig { params(enabled: T::Boolean, required: T.nilable(String)).void } def initialize(enabled: nil, required: nil); end end - class WalletOptions < Stripe::RequestParams - class Link < Stripe::RequestParams + class WalletOptions < ::Stripe::RequestParams + class Link < ::Stripe::RequestParams # Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice. sig { returns(T.nilable(String)) } def display; end @@ -88680,9 +89007,9 @@ end # typed: true module Stripe module Checkout - class SessionUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SessionUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -88708,9 +89035,9 @@ module Stripe } def initialize(liability: nil); end end - class CollectedInformation < Stripe::RequestParams - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CollectedInformation < ::Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -88786,8 +89113,8 @@ module Stripe } def initialize(shipping_details: nil); end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). sig { returns(T.nilable(Integer)) } def amount_off; end @@ -88849,9 +89176,9 @@ module Stripe } def initialize(coupon: nil, coupon_data: nil); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -88891,8 +89218,8 @@ module Stripe } def initialize(invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity. sig { returns(T::Boolean) } def enabled; end @@ -88913,8 +89240,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -88961,7 +89288,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -89085,10 +89412,10 @@ module Stripe tax_rates: nil ); end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -89102,7 +89429,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -89139,8 +89466,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -89253,9 +89580,9 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -89402,7 +89729,7 @@ end # typed: true module Stripe module Checkout - class SessionListLineItemsParams < Stripe::RequestParams + class SessionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -89433,7 +89760,7 @@ end # typed: true module Stripe module Checkout - class SessionExpireParams < Stripe::RequestParams + class SessionExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -89447,7 +89774,7 @@ end # typed: true module Stripe module Climate - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -89478,8 +89805,8 @@ end # typed: true module Stripe module Climate - class OrderCreateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end @@ -89545,8 +89872,8 @@ end # typed: true module Stripe module Climate - class OrderUpdateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end @@ -89584,7 +89911,7 @@ end # typed: true module Stripe module Climate - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -89598,7 +89925,7 @@ end # typed: true module Stripe module Climate - class ProductListParams < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -89629,7 +89956,7 @@ end # typed: true module Stripe module Climate - class SupplierListParams < Stripe::RequestParams + class SupplierListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -89659,9 +89986,9 @@ module Stripe end # typed: true module Stripe - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -89682,12 +90009,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -89701,7 +90028,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -89715,10 +90042,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -89795,8 +90122,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -89805,10 +90132,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -89817,7 +90144,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -89831,10 +90158,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -89843,7 +90170,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -89852,10 +90179,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -89886,13 +90213,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -89901,7 +90228,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -89944,8 +90271,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -89954,12 +90281,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -89980,10 +90307,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -89992,8 +90319,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -90022,10 +90349,10 @@ module Stripe sig { params(dob: ConfirmationTokenCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -90034,8 +90361,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -90044,7 +90371,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -90058,9 +90385,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -90097,8 +90424,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(ConfirmationTokenCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -90597,10 +90924,10 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -90663,8 +90990,8 @@ module Stripe } def initialize(card: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -90788,7 +91115,7 @@ module Stripe end # typed: true module Stripe - class CountrySpecListParams < Stripe::RequestParams + class CountrySpecListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -90817,12 +91144,12 @@ module Stripe end # typed: true module Stripe - class CouponDeleteParams < Stripe::RequestParams; end + class CouponDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class CouponUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class CouponUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. sig { returns(Integer) } def amount_off; end @@ -90863,8 +91190,8 @@ module Stripe end # typed: true module Stripe - class CouponListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CouponListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -90931,8 +91258,8 @@ module Stripe end # typed: true module Stripe - class CouponCreateParams < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class CouponCreateParams < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # An array of Product IDs that this Coupon will apply to. sig { returns(T.nilable(T::Array[String])) } def products; end @@ -90941,7 +91268,7 @@ module Stripe sig { params(products: T.nilable(T::Array[String])).void } def initialize(products: nil); end end - class CurrencyOptions < Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. sig { returns(Integer) } def amount_off; end @@ -90950,7 +91277,7 @@ module Stripe sig { params(amount_off: Integer).void } def initialize(amount_off: nil); end end - class Script < Stripe::RequestParams + class Script < ::Stripe::RequestParams # The configuration values of the script. The keys and values are specific to the script implementation. sig { returns(T::Hash[String, T.untyped]) } def configuration; end @@ -91065,8 +91392,8 @@ module Stripe end # typed: true module Stripe - class CreditNoteListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CreditNoteListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -91151,9 +91478,9 @@ module Stripe end # typed: true module Stripe - class CreditNoteCreateParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteCreateParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -91236,21 +91563,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -91360,7 +91715,7 @@ module Stripe end # typed: true module Stripe - class CreditNoteUpdateParams < Stripe::RequestParams + class CreditNoteUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -91386,9 +91741,9 @@ module Stripe end # typed: true module Stripe - class CreditNotePreviewParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -91471,21 +91826,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -91595,9 +91978,9 @@ module Stripe end # typed: true module Stripe - class CreditNoteListPreviewLineItemsParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteListPreviewLineItemsParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -91682,21 +92065,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -91824,7 +92235,7 @@ module Stripe end # typed: true module Stripe - class CreditNoteVoidCreditNoteParams < Stripe::RequestParams + class CreditNoteVoidCreditNoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -91836,9 +92247,9 @@ module Stripe end # typed: true module Stripe - class CustomerSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class BuyButton < Stripe::RequestParams + class CustomerSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class BuyButton < ::Stripe::RequestParams # Whether the buy button is enabled. sig { returns(T::Boolean) } def enabled; end @@ -91847,8 +92258,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentElement < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -91922,7 +92333,7 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PricingTable < Stripe::RequestParams + class PricingTable < ::Stripe::RequestParams # Whether the pricing table is enabled. sig { returns(T::Boolean) } def enabled; end @@ -91987,12 +92398,12 @@ module Stripe end # typed: true module Stripe - class CustomerDeleteParams < Stripe::RequestParams; end + class CustomerDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class CustomerUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -92035,8 +92446,8 @@ module Stripe state: nil ); end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end @@ -92056,8 +92467,8 @@ module Stripe sig { params(settings: T.nilable(CustomerUpdateParams::CashBalance::Settings)).void } def initialize(settings: nil); end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -92071,7 +92482,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -92127,8 +92538,8 @@ module Stripe rendering_options: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -92193,7 +92604,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end @@ -92362,12 +92773,12 @@ module Stripe end # typed: true module Stripe - class CustomerDeleteDiscountParams < Stripe::RequestParams; end + class CustomerDeleteDiscountParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class CustomerListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CustomerListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -92446,8 +92857,8 @@ module Stripe end # typed: true module Stripe - class CustomerCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -92490,8 +92901,8 @@ module Stripe state: nil ); end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end @@ -92511,8 +92922,8 @@ module Stripe sig { params(settings: T.nilable(CustomerCreateParams::CashBalance::Settings)).void } def initialize(settings: nil); end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -92526,7 +92937,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -92582,8 +92993,8 @@ module Stripe rendering_options: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -92648,7 +93059,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end @@ -92662,7 +93073,7 @@ module Stripe sig { params(ip_address: T.nilable(String), validate_location: T.nilable(String)).void } def initialize(ip_address: nil, validate_location: nil); end end - class TaxIdDatum < Stripe::RequestParams + class TaxIdDatum < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -92841,7 +93252,7 @@ module Stripe end # typed: true module Stripe - class CustomerListPaymentMethodsParams < Stripe::RequestParams + class CustomerListPaymentMethodsParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. sig { returns(T.nilable(String)) } def allow_redisplay; end @@ -92887,7 +93298,7 @@ module Stripe end # typed: true module Stripe - class CustomerRetrievePaymentMethodParams < Stripe::RequestParams + class CustomerRetrievePaymentMethodParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -92899,7 +93310,7 @@ module Stripe end # typed: true module Stripe - class CustomerSearchParams < Stripe::RequestParams + class CustomerSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -92928,9 +93339,9 @@ module Stripe end # typed: true module Stripe - class CustomerCreateFundingInstructionsParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerCreateFundingInstructionsParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -92997,7 +93408,7 @@ module Stripe end # typed: true module Stripe - class CustomerRetrieveParams < Stripe::RequestParams + class CustomerRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -93009,7 +93420,7 @@ module Stripe end # typed: true module Stripe - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). sig { returns(Integer) } def amount; end @@ -93038,8 +93449,8 @@ module Stripe end # typed: true module Stripe - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -93118,12 +93529,12 @@ module Stripe end # typed: true module Stripe - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class EnhancedEvidence < Stripe::RequestParams - class VisaCompellingEvidence3 < Stripe::RequestParams - class DisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class EnhancedEvidence < ::Stripe::RequestParams + class VisaCompellingEvidence3 < ::Stripe::RequestParams + class DisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -93226,8 +93637,8 @@ module Stripe shipping_address: nil ); end end - class PriorUndisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class PriorUndisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -93353,7 +93764,7 @@ module Stripe } def initialize(disputed_transaction: nil, prior_undisputed_transactions: nil); end end - class VisaCompliance < Stripe::RequestParams + class VisaCompliance < ::Stripe::RequestParams # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. sig { returns(T.nilable(T::Boolean)) } def fee_acknowledged; end @@ -93602,7 +94013,7 @@ module Stripe end # typed: true module Stripe - class DisputeCloseParams < Stripe::RequestParams + class DisputeCloseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -93615,7 +94026,7 @@ end # typed: true module Stripe module Entitlements - class ActiveEntitlementListParams < Stripe::RequestParams + class ActiveEntitlementListParams < ::Stripe::RequestParams # The ID of the customer. sig { returns(String) } def customer; end @@ -93657,7 +94068,7 @@ end # typed: true module Stripe module Entitlements - class FeatureListParams < Stripe::RequestParams + class FeatureListParams < ::Stripe::RequestParams # If set, filter results to only include features with the given archive status. sig { returns(T.nilable(T::Boolean)) } def archived; end @@ -93705,7 +94116,7 @@ end # typed: true module Stripe module Entitlements - class FeatureCreateParams < Stripe::RequestParams + class FeatureCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -93738,7 +94149,7 @@ end # typed: true module Stripe module Entitlements - class FeatureUpdateParams < Stripe::RequestParams + class FeatureUpdateParams < ::Stripe::RequestParams # Inactive features cannot be attached to new products and will not be returned from the features list endpoint. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -93770,7 +94181,7 @@ module Stripe end # typed: true module Stripe - class EphemeralKeyDeleteParams < Stripe::RequestParams + class EphemeralKeyDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -93782,8 +94193,8 @@ module Stripe end # typed: true module Stripe - class EventListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -93868,7 +94279,7 @@ module Stripe end # typed: true module Stripe - class ExchangeRateListParams < Stripe::RequestParams + class ExchangeRateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -93897,8 +94308,8 @@ module Stripe end # typed: true module Stripe - class FileLinkListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileLinkListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -93977,7 +94388,7 @@ module Stripe end # typed: true module Stripe - class FileLinkCreateParams < Stripe::RequestParams + class FileLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94008,7 +94419,7 @@ module Stripe end # typed: true module Stripe - class FileLinkUpdateParams < Stripe::RequestParams + class FileLinkUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94036,8 +94447,8 @@ module Stripe end # typed: true module Stripe - class FileListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -94110,8 +94521,8 @@ module Stripe end # typed: true module Stripe - class FileCreateParams < Stripe::RequestParams - class FileLinkData < Stripe::RequestParams + class FileCreateParams < ::Stripe::RequestParams + class FileLinkData < ::Stripe::RequestParams # Set this to `true` to create a file link for the newly created file. Creating a link is only possible when the file's `purpose` is one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `issuing_regulatory_reporting`, `pci_document`, `tax_document_user_upload`, `terminal_android_apk`, or `terminal_reader_splashscreen`. sig { returns(T::Boolean) } def create; end @@ -94165,8 +94576,8 @@ end # typed: true module Stripe module FinancialConnections - class AccountListParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. sig { returns(T.nilable(String)) } def account; end @@ -94236,7 +94647,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountListOwnersParams < Stripe::RequestParams + class AccountListOwnersParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -94278,7 +94689,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountDisconnectParams < Stripe::RequestParams + class AccountDisconnectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94292,7 +94703,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountRefreshAccountParams < Stripe::RequestParams + class AccountRefreshAccountParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94311,7 +94722,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountSubscribeParams < Stripe::RequestParams + class AccountSubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94330,7 +94741,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountUnsubscribeParams < Stripe::RequestParams + class AccountUnsubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -94349,7 +94760,7 @@ end # typed: true module Stripe module FinancialConnections - class InstitutionListParams < Stripe::RequestParams + class InstitutionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -94380,8 +94791,8 @@ end # typed: true module Stripe module FinancialConnections - class SessionCreateParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -94407,7 +94818,7 @@ module Stripe } def initialize(account: nil, customer: nil, customer_account: nil, type: nil); end end - class Filters < Stripe::RequestParams + class Filters < ::Stripe::RequestParams # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -94430,7 +94841,7 @@ module Stripe } def initialize(account_subcategories: nil, countries: nil, institution: nil); end end - class Limits < Stripe::RequestParams + class Limits < ::Stripe::RequestParams # The number of accounts that can be linked in this Session. sig { returns(Integer) } def accounts; end @@ -94439,7 +94850,7 @@ module Stripe sig { params(accounts: Integer).void } def initialize(accounts: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Whether manual entry will be handled by Stripe during the Session. sig { returns(T.nilable(String)) } def mode; end @@ -94517,8 +94928,8 @@ end # typed: true module Stripe module FinancialConnections - class TransactionListParams < Stripe::RequestParams - class TransactedAt < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class TransactedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -94544,7 +94955,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class TransactionRefresh < Stripe::RequestParams + class TransactionRefresh < ::Stripe::RequestParams # Return results where the transactions were created or updated by a refresh that took place after this refresh (non-inclusive). sig { returns(String) } def after; end @@ -94612,8 +95023,8 @@ end # typed: true module Stripe module Forwarding - class RequestListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RequestListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Return results where the `created` field is greater than this value. sig { returns(T.nilable(Integer)) } def gt; end @@ -94682,9 +95093,9 @@ end # typed: true module Stripe module Forwarding - class RequestCreateParams < Stripe::RequestParams - class Request < Stripe::RequestParams - class Header < Stripe::RequestParams + class RequestCreateParams < ::Stripe::RequestParams + class Request < ::Stripe::RequestParams + class Header < ::Stripe::RequestParams # The header name. sig { returns(String) } def name; end @@ -94765,7 +95176,7 @@ module Stripe end # typed: true module Stripe - class FxQuoteListParams < Stripe::RequestParams + class FxQuoteListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -94794,9 +95205,9 @@ module Stripe end # typed: true module Stripe - class FxQuoteCreateParams < Stripe::RequestParams - class Usage < Stripe::RequestParams - class Payment < Stripe::RequestParams + class FxQuoteCreateParams < ::Stripe::RequestParams + class Usage < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -94814,7 +95225,7 @@ module Stripe sig { params(destination: T.nilable(String), on_behalf_of: T.nilable(String)).void } def initialize(destination: nil, on_behalf_of: nil); end end - class Transfer < Stripe::RequestParams + class Transfer < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. @@ -94893,8 +95304,8 @@ end # typed: true module Stripe module Identity - class VerificationReportListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationReportListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -94981,8 +95392,8 @@ end # typed: true module Stripe module Identity - class VerificationSessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationSessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -95075,9 +95486,9 @@ end # typed: true module Stripe module Identity - class VerificationSessionCreateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionCreateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -95128,7 +95539,7 @@ module Stripe } def initialize(document: nil); end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified sig { returns(T.nilable(String)) } def email; end @@ -95142,7 +95553,7 @@ module Stripe sig { params(email: T.nilable(String), phone: T.nilable(String)).void } def initialize(email: nil, phone: nil); end end - class RelatedPerson < Stripe::RequestParams + class RelatedPerson < ::Stripe::RequestParams # A token representing a connected account. If provided, the person parameter is also required and must be associated with the account. sig { returns(String) } def account; end @@ -95241,9 +95652,9 @@ end # typed: true module Stripe module Identity - class VerificationSessionUpdateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionUpdateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -95294,7 +95705,7 @@ module Stripe } def initialize(document: nil); end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified sig { returns(T.nilable(String)) } def email; end @@ -95355,7 +95766,7 @@ end # typed: true module Stripe module Identity - class VerificationSessionCancelParams < Stripe::RequestParams + class VerificationSessionCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -95369,7 +95780,7 @@ end # typed: true module Stripe module Identity - class VerificationSessionRedactParams < Stripe::RequestParams + class VerificationSessionRedactParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -95382,8 +95793,8 @@ module Stripe end # typed: true module Stripe - class InvoicePaymentListParams < Stripe::RequestParams - class Payment < Stripe::RequestParams + class InvoicePaymentListParams < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # Only return invoice payments associated by this payment intent ID. sig { returns(T.nilable(String)) } def payment_intent; end @@ -95457,7 +95868,7 @@ module Stripe end # typed: true module Stripe - class InvoiceRenderingTemplateListParams < Stripe::RequestParams + class InvoiceRenderingTemplateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -95497,7 +95908,7 @@ module Stripe end # typed: true module Stripe - class InvoiceRenderingTemplateArchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -95509,7 +95920,7 @@ module Stripe end # typed: true module Stripe - class InvoiceRenderingTemplateUnarchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateUnarchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -95521,14 +95932,14 @@ module Stripe end # typed: true module Stripe - class InvoiceItemDeleteParams < Stripe::RequestParams; end + class InvoiceItemDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class InvoiceItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -95591,7 +96002,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -95605,7 +96016,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -95642,7 +96053,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -95764,8 +96175,8 @@ module Stripe end # typed: true module Stripe - class InvoiceItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -95856,10 +96267,10 @@ module Stripe end # typed: true module Stripe - class InvoiceItemCreateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemCreateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -95922,7 +96333,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -95936,7 +96347,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -95973,7 +96384,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -96121,12 +96532,12 @@ module Stripe end # typed: true module Stripe - class InvoiceDeleteParams < Stripe::RequestParams; end + class InvoiceDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class InvoiceUpdateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceUpdateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -96152,8 +96563,8 @@ module Stripe } def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -96184,7 +96595,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -96198,9 +96609,9 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -96263,7 +96674,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -96277,10 +96688,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -96308,7 +96719,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -96317,9 +96728,9 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -96382,9 +96793,9 @@ module Stripe } def initialize(installments: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -96431,9 +96842,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -96442,9 +96853,9 @@ module Stripe sig { params(amount_includes_iof: T.nilable(String)).void } def initialize(amount_includes_iof: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -96484,9 +96895,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -96685,8 +97096,8 @@ module Stripe payment_method_types: nil ); end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -96728,10 +97139,10 @@ module Stripe } def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_version: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -96745,7 +97156,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -96782,8 +97193,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -96894,8 +97305,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -96960,7 +97371,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. sig { returns(T.nilable(Integer)) } def amount; end @@ -97187,8 +97598,8 @@ module Stripe end # typed: true module Stripe - class InvoiceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -97214,7 +97625,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class DueDate < Stripe::RequestParams + class DueDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -97319,8 +97730,8 @@ module Stripe end # typed: true module Stripe - class InvoiceCreateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceCreateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -97346,8 +97757,8 @@ module Stripe } def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -97378,7 +97789,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -97392,9 +97803,9 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -97457,7 +97868,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class FromInvoice < Stripe::RequestParams + class FromInvoice < ::Stripe::RequestParams # The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted sig { returns(String) } def action; end @@ -97471,7 +97882,7 @@ module Stripe sig { params(action: String, invoice: String).void } def initialize(action: nil, invoice: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -97485,10 +97896,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -97516,7 +97927,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -97525,9 +97936,9 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -97590,9 +98001,9 @@ module Stripe } def initialize(installments: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -97639,9 +98050,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -97650,9 +98061,9 @@ module Stripe sig { params(amount_includes_iof: T.nilable(String)).void } def initialize(amount_includes_iof: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -97692,9 +98103,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -97893,8 +98304,8 @@ module Stripe payment_method_types: nil ); end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -97936,10 +98347,10 @@ module Stripe } def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_version: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -97953,7 +98364,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -97990,8 +98401,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -98102,8 +98513,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -98168,7 +98579,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. sig { returns(T.nilable(Integer)) } def amount; end @@ -98431,7 +98842,7 @@ module Stripe end # typed: true module Stripe - class InvoiceSearchParams < Stripe::RequestParams + class InvoiceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -98460,11 +98871,11 @@ module Stripe end # typed: true module Stripe - class InvoiceAddLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceAddLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -98527,7 +98938,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -98541,8 +98952,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -98631,7 +99042,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -98640,8 +99051,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end @@ -98863,8 +99274,8 @@ module Stripe end # typed: true module Stripe - class InvoiceAttachPaymentParams < Stripe::RequestParams - class PaymentRecordData < Stripe::RequestParams + class InvoiceAttachPaymentParams < ::Stripe::RequestParams + class PaymentRecordData < ::Stripe::RequestParams # The amount that was paid out of band. sig { returns(Integer) } def amount; end @@ -98950,7 +99361,7 @@ module Stripe end # typed: true module Stripe - class InvoiceFinalizeInvoiceParams < Stripe::RequestParams + class InvoiceFinalizeInvoiceParams < ::Stripe::RequestParams # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. sig { returns(T.nilable(T::Boolean)) } def auto_advance; end @@ -98967,7 +99378,7 @@ module Stripe end # typed: true module Stripe - class InvoiceMarkUncollectibleParams < Stripe::RequestParams + class InvoiceMarkUncollectibleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -98979,7 +99390,7 @@ module Stripe end # typed: true module Stripe - class InvoicePayParams < Stripe::RequestParams + class InvoicePayParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -99033,8 +99444,8 @@ module Stripe end # typed: true module Stripe - class InvoiceRemoveLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams + class InvoiceRemoveLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams # Either `delete` or `unassign`. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice. sig { returns(String) } def behavior; end @@ -99075,7 +99486,7 @@ module Stripe end # typed: true module Stripe - class InvoiceSendInvoiceParams < Stripe::RequestParams + class InvoiceSendInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -99087,11 +99498,11 @@ module Stripe end # typed: true module Stripe - class InvoiceUpdateLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceUpdateLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -99156,7 +99567,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -99170,8 +99581,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -99260,7 +99671,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -99269,8 +99680,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end @@ -99492,7 +99903,7 @@ module Stripe end # typed: true module Stripe - class InvoiceVoidInvoiceParams < Stripe::RequestParams + class InvoiceVoidInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -99504,9 +99915,9 @@ module Stripe end # typed: true module Stripe - class InvoiceCreatePreviewParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class InvoiceCreatePreviewParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -99537,8 +99948,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -99581,8 +99992,8 @@ module Stripe state: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -99647,7 +100058,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end @@ -99656,7 +100067,7 @@ module Stripe sig { params(ip_address: T.nilable(String)).void } def initialize(ip_address: nil); end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -99714,9 +100125,9 @@ module Stripe } def initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -99779,10 +100190,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -99847,7 +100258,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -99861,7 +100272,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -100012,7 +100423,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -100026,10 +100437,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class ScheduleDetails < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class ScheduleDetails < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -100038,7 +100449,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -100085,8 +100496,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. sig { returns(Integer) } def index; end @@ -100095,7 +100506,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -100137,9 +100548,9 @@ module Stripe } def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -100188,7 +100599,7 @@ module Stripe promotion_code: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -100209,7 +100620,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -100267,11 +100678,11 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -100343,7 +100754,7 @@ module Stripe promotion_code: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -100413,7 +100824,7 @@ module Stripe trial: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -100422,10 +100833,10 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -100497,7 +100908,7 @@ module Stripe promotion_code: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -100604,7 +101015,7 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. sig { returns(T.nilable(T::Hash[String, String])) } def add; end @@ -100634,8 +101045,8 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -100663,8 +101074,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -100779,8 +101190,8 @@ module Stripe trial_settings: nil ); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -100808,11 +101219,11 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -100879,8 +101290,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -100894,7 +101305,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -100931,7 +101342,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -101032,8 +101443,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -101066,7 +101477,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -101084,9 +101495,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101153,7 +101564,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101167,8 +101578,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -101208,8 +101619,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -101218,9 +101629,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101287,8 +101698,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101348,7 +101759,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -101444,7 +101855,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -101453,7 +101864,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -101467,8 +101878,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -101689,9 +102100,9 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -101700,7 +102111,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101824,9 +102235,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionDetails < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionDetails < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -101854,8 +102265,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -101869,8 +102280,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101936,8 +102347,8 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -101946,9 +102357,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -102015,8 +102426,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -102162,7 +102573,7 @@ module Stripe tax_rates: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -102398,10 +102809,10 @@ module Stripe end # typed: true module Stripe - class InvoiceLineItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceLineItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -102464,7 +102875,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -102478,8 +102889,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -102568,7 +102979,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -102577,8 +102988,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end @@ -102777,8 +103188,8 @@ end # typed: true module Stripe module Issuing - class AuthorizationListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AuthorizationListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -102865,7 +103276,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationUpdateParams < Stripe::RequestParams + class AuthorizationUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -102888,7 +103299,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationApproveParams < Stripe::RequestParams + class AuthorizationApproveParams < ::Stripe::RequestParams # If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request). sig { returns(T.nilable(Integer)) } def amount; end @@ -102916,7 +103327,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationDeclineParams < Stripe::RequestParams + class AuthorizationDeclineParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -102939,8 +103350,8 @@ end # typed: true module Stripe module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -102954,8 +103365,8 @@ module Stripe sig { params(atm_fee: T.nilable(Integer), cashback_amount: T.nilable(Integer)).void } def initialize(atm_fee: nil, cashback_amount: nil); end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -102992,8 +103403,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103002,7 +103413,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103011,7 +103422,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -103093,7 +103504,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -103130,7 +103541,7 @@ module Stripe unit_cost_decimal: nil ); end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -103191,7 +103602,7 @@ module Stripe url: nil ); end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -103200,8 +103611,8 @@ module Stripe sig { params(acquiring_institution_id: T.nilable(String)).void } def initialize(acquiring_institution_id: nil); end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def invalid_account_number_decline_rate_past_hour; end @@ -103234,7 +103645,7 @@ module Stripe risk_level: nil ); end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def dispute_rate; end @@ -103271,8 +103682,8 @@ module Stripe } def initialize(card_testing_risk: nil, merchant_dispute_risk: nil); end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -103286,7 +103697,7 @@ module Stripe sig { params(claimed_by: String, type: String).void } def initialize(claimed_by: nil, type: nil); end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end @@ -103472,10 +103883,10 @@ end # typed: true module Stripe module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -103512,8 +103923,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103522,7 +103933,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103531,7 +103942,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -103617,8 +104028,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -103701,7 +104112,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -103738,7 +104149,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -103752,7 +104163,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -103869,7 +104280,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -103883,9 +104294,9 @@ end # typed: true module Stripe module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -103922,8 +104333,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103932,7 +104343,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -103941,7 +104352,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -104027,7 +104438,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -104098,7 +104509,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). sig { returns(T::Boolean) } def confirmed; end @@ -104117,7 +104528,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -104143,7 +104554,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -104162,8 +104573,8 @@ end # typed: true module Stripe module Issuing - class CardholderListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardholderListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -104256,9 +104667,9 @@ end # typed: true module Stripe module Issuing - class CardholderCreateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderCreateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -104311,7 +104722,7 @@ module Stripe sig { params(address: Issuing::CardholderCreateParams::Billing::Address).void } def initialize(address: nil); end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. sig { returns(T.nilable(String)) } def tax_id; end @@ -104320,9 +104731,9 @@ module Stripe sig { params(tax_id: T.nilable(String)).void } def initialize(tax_id: nil); end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. sig { returns(T.nilable(Integer)) } def date; end @@ -104357,7 +104768,7 @@ module Stripe } def initialize(user_terms_acceptance: nil); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -104376,8 +104787,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. sig { returns(T.nilable(String)) } def back; end @@ -104447,8 +104858,8 @@ module Stripe verification: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end @@ -104622,9 +105033,9 @@ end # typed: true module Stripe module Issuing - class CardholderUpdateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderUpdateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -104677,7 +105088,7 @@ module Stripe sig { params(address: Issuing::CardholderUpdateParams::Billing::Address).void } def initialize(address: nil); end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. sig { returns(T.nilable(String)) } def tax_id; end @@ -104686,9 +105097,9 @@ module Stripe sig { params(tax_id: T.nilable(String)).void } def initialize(tax_id: nil); end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. sig { returns(T.nilable(Integer)) } def date; end @@ -104723,7 +105134,7 @@ module Stripe } def initialize(user_terms_acceptance: nil); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -104742,8 +105153,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. sig { returns(T.nilable(String)) } def back; end @@ -104813,8 +105224,8 @@ module Stripe verification: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end @@ -104975,8 +105386,8 @@ end # typed: true module Stripe module Issuing - class CardListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -105087,8 +105498,8 @@ end # typed: true module Stripe module Issuing - class CardCreateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardCreateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. sig { returns(T.nilable(String)) } def encrypted_number; end @@ -105097,8 +105508,8 @@ module Stripe sig { params(encrypted_number: T.nilable(String)).void } def initialize(encrypted_number: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -105141,7 +105552,7 @@ module Stripe state: nil ); end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. sig { returns(String) } def mode; end @@ -105150,7 +105561,7 @@ module Stripe sig { params(mode: String).void } def initialize(mode: nil); end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. sig { returns(T.nilable(String)) } def eori_number; end @@ -105219,8 +105630,8 @@ module Stripe type: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end @@ -105406,8 +105817,8 @@ end # typed: true module Stripe module Issuing - class CardUpdateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardUpdateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. sig { returns(T.nilable(String)) } def encrypted_number; end @@ -105416,8 +105827,8 @@ module Stripe sig { params(encrypted_number: T.nilable(String)).void } def initialize(encrypted_number: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -105460,7 +105871,7 @@ module Stripe state: nil ); end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. sig { returns(String) } def mode; end @@ -105469,7 +105880,7 @@ module Stripe sig { params(mode: String).void } def initialize(mode: nil); end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. sig { returns(T.nilable(String)) } def eori_number; end @@ -105538,8 +105949,8 @@ module Stripe type: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end @@ -105677,7 +106088,7 @@ end # typed: true module Stripe module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -105691,7 +106102,7 @@ end # typed: true module Stripe module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -105705,7 +106116,7 @@ end # typed: true module Stripe module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -105719,7 +106130,7 @@ end # typed: true module Stripe module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -105733,7 +106144,7 @@ end # typed: true module Stripe module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -105747,7 +106158,7 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordListParams < Stripe::RequestParams + class CreditUnderwritingRecordListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -105778,8 +106189,8 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCorrectParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCorrectParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. sig { returns(T.nilable(String)) } def application_method; end @@ -105800,7 +106211,7 @@ module Stripe } def initialize(application_method: nil, purpose: nil, submitted_at: nil); end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -105814,8 +106225,8 @@ module Stripe sig { params(email: String, name: String).void } def initialize(email: nil, name: nil); end end - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -105831,7 +106242,7 @@ module Stripe } def initialize(reason_other_explanation: nil, reasons: nil); end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -105845,7 +106256,7 @@ module Stripe sig { params(amount: Integer, currency: T.nilable(String)).void } def initialize(amount: nil, currency: nil); end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -105876,7 +106287,7 @@ module Stripe reasons: nil ); end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -105944,7 +106355,7 @@ module Stripe type: nil ); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end @@ -106029,9 +106440,9 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordReportDecisionParams < Stripe::RequestParams - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class CreditUnderwritingRecordReportDecisionParams < ::Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -106047,7 +106458,7 @@ module Stripe } def initialize(reason_other_explanation: nil, reasons: nil); end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -106089,7 +106500,7 @@ module Stripe } def initialize(application_rejected: nil, credit_limit_approved: nil, type: nil); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end @@ -106158,8 +106569,8 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCreateFromApplicationParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromApplicationParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. sig { returns(T.nilable(String)) } def application_method; end @@ -106180,7 +106591,7 @@ module Stripe } def initialize(application_method: nil, purpose: nil, submitted_at: nil); end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -106230,8 +106641,8 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCreateFromProactiveReviewParams < Stripe::RequestParams - class CreditUser < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromProactiveReviewParams < ::Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -106245,8 +106656,8 @@ module Stripe sig { params(email: String, name: String).void } def initialize(email: nil, name: nil); end end - class Decision < Stripe::RequestParams - class CreditLimitApproved < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -106260,7 +106671,7 @@ module Stripe sig { params(amount: Integer, currency: T.nilable(String)).void } def initialize(amount: nil, currency: nil); end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -106291,7 +106702,7 @@ module Stripe reasons: nil ); end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -106349,7 +106760,7 @@ module Stripe type: nil ); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end @@ -106426,7 +106837,7 @@ end # typed: true module Stripe module Issuing - class DisputeSettlementDetailListParams < Stripe::RequestParams + class DisputeSettlementDetailListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -106468,8 +106879,8 @@ end # typed: true module Stripe module Issuing - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -106550,9 +106961,9 @@ end # typed: true module Stripe module Issuing - class DisputeCreateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeCreateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106631,7 +107042,7 @@ module Stripe returned_at: nil ); end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106674,7 +107085,7 @@ module Stripe original_transaction: nil ); end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106690,7 +107101,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106739,7 +107150,7 @@ module Stripe returned_at: nil ); end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106755,7 +107166,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106796,7 +107207,7 @@ module Stripe product_type: nil ); end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106829,7 +107240,7 @@ module Stripe product_type: nil ); end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -106956,7 +107367,7 @@ module Stripe service_not_as_described: nil ); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # The ID of the ReceivedDebit to initiate an Issuings dispute for. sig { returns(String) } def received_debit; end @@ -107018,9 +107429,9 @@ end # typed: true module Stripe module Issuing - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107099,7 +107510,7 @@ module Stripe returned_at: nil ); end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107142,7 +107553,7 @@ module Stripe original_transaction: nil ); end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107158,7 +107569,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107207,7 +107618,7 @@ module Stripe returned_at: nil ); end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107223,7 +107634,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107264,7 +107675,7 @@ module Stripe product_type: nil ); end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107297,7 +107708,7 @@ module Stripe product_type: nil ); end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -107458,7 +107869,7 @@ end # typed: true module Stripe module Issuing - class DisputeSubmitParams < Stripe::RequestParams + class DisputeSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -107481,8 +107892,8 @@ end # typed: true module Stripe module Issuing - class FraudLiabilityDebitListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FraudLiabilityDebitListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -107551,8 +107962,8 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignListParams < Stripe::RequestParams - class Preferences < Stripe::RequestParams + class PersonalizationDesignListParams < ::Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Only return the personalization design that's set as the default. A connected account uses the Connect platform's default design if no personalization design is set as the default. sig { returns(T.nilable(T::Boolean)) } def is_default; end @@ -107623,8 +108034,8 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignCreateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignCreateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -107655,7 +108066,7 @@ module Stripe header_title: nil ); end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end @@ -107735,8 +108146,8 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignUpdateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignUpdateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -107767,7 +108178,7 @@ module Stripe header_title: nil ); end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end @@ -107849,7 +108260,7 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -107863,7 +108274,7 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -107877,8 +108288,8 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end @@ -107918,7 +108329,7 @@ end # typed: true module Stripe module Issuing - class PhysicalBundleListParams < Stripe::RequestParams + class PhysicalBundleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -107966,8 +108377,8 @@ end # typed: true module Stripe module Issuing - class TokenListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TokenListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -108048,7 +108459,7 @@ end # typed: true module Stripe module Issuing - class TokenUpdateParams < Stripe::RequestParams + class TokenUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -108067,8 +108478,8 @@ end # typed: true module Stripe module Issuing - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -108161,7 +108572,7 @@ end # typed: true module Stripe module Issuing - class TransactionUpdateParams < Stripe::RequestParams + class TransactionUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -108184,7 +108595,7 @@ end # typed: true module Stripe module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -108203,8 +108614,8 @@ end # typed: true module Stripe module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -108265,9 +108676,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -108304,8 +108715,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -108314,7 +108725,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -108323,7 +108734,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -108409,8 +108820,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -108493,7 +108904,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -108530,7 +108941,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -108544,7 +108955,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -108683,8 +109094,8 @@ end # typed: true module Stripe module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -108745,9 +109156,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -108784,8 +109195,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -108794,7 +109205,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -108803,7 +109214,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -108889,8 +109300,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -108973,7 +109384,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -109010,7 +109421,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -109024,7 +109435,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -109162,7 +109573,7 @@ module Stripe end # typed: true module Stripe - class MandateListParams < Stripe::RequestParams + class MandateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -109214,7 +109625,7 @@ module Stripe end # typed: true module Stripe - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # Only return orders for the given customer. sig { returns(T.nilable(String)) } def customer; end @@ -109254,8 +109665,8 @@ module Stripe end # typed: true module Stripe - class OrderCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. sig { returns(T::Boolean) } def enabled; end @@ -109264,8 +109675,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -109335,7 +109746,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -109356,8 +109767,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -109371,7 +109782,7 @@ module Stripe sig { params(coupon: T.nilable(String), discount: T.nilable(String)).void } def initialize(coupon: nil, discount: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(T.nilable(String)) } def currency; end @@ -109410,8 +109821,8 @@ module Stripe unit_amount_decimal: nil ); end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -109579,11 +109990,11 @@ module Stripe tax_rates: nil ); end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -109660,7 +110071,7 @@ module Stripe verification_method: nil ); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -109691,7 +110102,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -109710,7 +110121,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -109736,7 +110147,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -109758,9 +110169,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -109829,7 +110240,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -109848,8 +110259,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -109888,8 +110299,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -109999,7 +110410,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -110034,7 +110445,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -110058,7 +110469,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -110084,9 +110495,9 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -110228,8 +110639,8 @@ module Stripe subsellers: nil ); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -110272,7 +110683,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -110300,7 +110711,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -110485,7 +110896,7 @@ module Stripe wechat_pay: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -110563,10 +110974,10 @@ module Stripe sig { params(settings: OrderCreateParams::Payment::Settings).void } def initialize(settings: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -110580,7 +110991,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -110617,8 +111028,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -110729,8 +111140,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -110795,8 +111206,8 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -110940,8 +111351,8 @@ module Stripe end # typed: true module Stripe - class OrderUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. sig { returns(T::Boolean) } def enabled; end @@ -110950,8 +111361,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -111021,7 +111432,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -111042,8 +111453,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -111057,7 +111468,7 @@ module Stripe sig { params(coupon: T.nilable(String), discount: T.nilable(String)).void } def initialize(coupon: nil, discount: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(T.nilable(String)) } def currency; end @@ -111096,8 +111507,8 @@ module Stripe unit_amount_decimal: nil ); end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -111271,11 +111682,11 @@ module Stripe tax_rates: nil ); end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -111352,7 +111763,7 @@ module Stripe verification_method: nil ); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -111383,7 +111794,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -111402,7 +111813,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -111428,7 +111839,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -111450,9 +111861,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -111521,7 +111932,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -111540,8 +111951,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -111580,8 +111991,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -111691,7 +112102,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -111726,7 +112137,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -111750,7 +112161,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -111776,9 +112187,9 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -111920,8 +112331,8 @@ module Stripe subsellers: nil ); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -111964,7 +112375,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -111992,7 +112403,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -112177,7 +112588,7 @@ module Stripe wechat_pay: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -112259,10 +112670,10 @@ module Stripe sig { params(settings: OrderUpdateParams::Payment::Settings).void } def initialize(settings: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -112276,7 +112687,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -112313,8 +112724,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -112425,8 +112836,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -112491,8 +112902,8 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -112636,7 +113047,7 @@ module Stripe end # typed: true module Stripe - class OrderListLineItemsParams < Stripe::RequestParams + class OrderListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -112665,7 +113076,7 @@ module Stripe end # typed: true module Stripe - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -112677,7 +113088,7 @@ module Stripe end # typed: true module Stripe - class OrderReopenParams < Stripe::RequestParams + class OrderReopenParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -112689,7 +113100,7 @@ module Stripe end # typed: true module Stripe - class OrderSubmitParams < Stripe::RequestParams + class OrderSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -112706,7 +113117,7 @@ module Stripe end # typed: true module Stripe - class PaymentAttemptRecordListParams < Stripe::RequestParams + class PaymentAttemptRecordListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -112722,16 +113133,21 @@ module Stripe def payment_record; end sig { params(_payment_record: String).returns(String) } def payment_record=(_payment_record); end + # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. + sig { returns(T.nilable(String)) } + def starting_after; end + sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) } + def starting_after=(_starting_after); end sig { - params(expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), payment_record: String).void + params(expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), payment_record: String, starting_after: T.nilable(String)).void } - def initialize(expand: nil, limit: nil, payment_record: nil); end + def initialize(expand: nil, limit: nil, payment_record: nil, starting_after: nil); end end end # typed: true module Stripe - class PaymentIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PaymentIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -112810,11 +113226,11 @@ module Stripe end # typed: true module Stripe - class PaymentIntentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -112823,7 +113239,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -112832,7 +113248,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -112853,7 +113269,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -112915,7 +113331,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -112984,7 +113400,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -113007,7 +113423,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -113051,7 +113467,7 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class AutomaticPaymentMethods < Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -113067,9 +113483,9 @@ module Stripe sig { params(allow_redirects: T.nilable(String), enabled: T::Boolean).void } def initialize(allow_redirects: nil, enabled: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -113098,10 +113514,10 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentCreateParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(String) } def ip_address; end @@ -113160,9 +113576,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -113171,8 +113587,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -113212,7 +113628,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -113226,7 +113642,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -113249,7 +113665,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -113292,7 +113708,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -113505,8 +113921,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -113549,7 +113965,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -113558,8 +113974,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -113671,8 +114087,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -113681,8 +114097,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -113722,7 +114138,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -113731,7 +114147,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -113850,8 +114266,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -113894,7 +114310,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -113903,8 +114319,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -113944,7 +114360,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -114099,8 +114515,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -114109,7 +114525,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -114231,8 +114647,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -114253,12 +114669,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -114272,7 +114688,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -114286,10 +114702,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -114366,8 +114782,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -114376,10 +114792,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -114388,7 +114804,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -114402,10 +114818,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -114414,7 +114830,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -114423,10 +114839,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -114457,13 +114873,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -114472,7 +114888,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -114515,8 +114931,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -114525,12 +114941,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -114551,10 +114967,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -114563,8 +114979,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -114593,10 +115009,10 @@ module Stripe sig { params(dob: PaymentIntentCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -114605,8 +115021,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -114615,7 +115031,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -114629,9 +115045,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -114668,8 +115084,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -115168,9 +115584,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -115247,7 +115663,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -115280,7 +115696,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -115314,7 +115730,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -115333,7 +115749,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -115346,7 +115762,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -115374,7 +115790,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -115400,8 +115816,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -115444,7 +115860,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -115470,7 +115886,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -115483,7 +115899,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -115505,7 +115921,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -115531,9 +115947,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -115577,7 +115993,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -115640,8 +116056,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -115703,9 +116119,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -115983,8 +116399,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -116027,7 +116443,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116057,7 +116473,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116074,9 +116490,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -116145,7 +116561,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116162,7 +116578,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116179,7 +116595,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116196,7 +116612,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116213,7 +116629,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116230,7 +116646,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -116259,7 +116675,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116278,8 +116694,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116307,8 +116723,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -116345,8 +116761,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -116456,7 +116872,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -116505,7 +116921,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116533,7 +116949,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116568,7 +116984,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116585,7 +117001,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116613,7 +117029,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116630,7 +117046,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116658,7 +117074,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116684,7 +117100,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -116708,7 +117124,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116734,8 +117150,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116748,7 +117164,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -116765,9 +117181,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -116909,7 +117325,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -116922,8 +117338,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -116995,8 +117411,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -117099,7 +117515,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -117116,7 +117532,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -117133,8 +117549,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -117162,7 +117578,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -117175,7 +117591,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -117188,8 +117604,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -117232,7 +117648,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -117249,7 +117665,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -117277,7 +117693,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -117296,7 +117712,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -117318,7 +117734,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -117335,9 +117751,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -117355,7 +117771,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -117412,7 +117828,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -117421,7 +117837,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -117504,7 +117920,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -117533,7 +117949,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -118146,7 +118562,7 @@ module Stripe zip: nil ); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -118155,8 +118571,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -118231,7 +118647,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. # The amount is capped at the total transaction amount and if no amount is set, # the full amount is transferred. @@ -118550,11 +118966,11 @@ module Stripe end # typed: true module Stripe - class PaymentIntentUpdateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentUpdateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -118563,7 +118979,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -118572,7 +118988,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -118593,7 +119009,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -118655,7 +119071,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -118724,7 +119140,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -118747,7 +119163,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -118791,9 +119207,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -118822,9 +119238,9 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentUpdateParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -118867,9 +119283,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -118878,8 +119294,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -118919,7 +119335,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -118933,7 +119349,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -118956,7 +119372,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -118999,7 +119415,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -119212,8 +119628,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -119256,7 +119672,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -119265,8 +119681,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -119378,8 +119794,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -119388,8 +119804,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -119429,7 +119845,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -119438,7 +119854,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -119557,8 +119973,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -119601,7 +120017,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -119610,8 +120026,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -119651,7 +120067,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -119806,8 +120222,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -119816,7 +120232,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -119938,8 +120354,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -119960,12 +120376,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -119979,7 +120395,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -119993,10 +120409,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -120073,8 +120489,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -120083,10 +120499,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -120095,7 +120511,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -120109,10 +120525,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -120121,7 +120537,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -120130,10 +120546,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -120164,13 +120580,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -120179,7 +120595,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -120222,8 +120638,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -120232,12 +120648,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -120258,10 +120674,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -120270,8 +120686,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -120300,10 +120716,10 @@ module Stripe sig { params(dob: PaymentIntentUpdateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -120312,8 +120728,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -120322,7 +120738,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -120336,9 +120752,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -120375,8 +120791,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentUpdateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -120875,9 +121291,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -120954,7 +121370,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -120987,7 +121403,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -121021,7 +121437,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121040,7 +121456,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -121053,7 +121469,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -121081,7 +121497,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121107,8 +121523,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -121151,7 +121567,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -121177,7 +121593,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -121190,7 +121606,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -121212,7 +121628,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -121238,9 +121654,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -121284,7 +121700,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -121347,8 +121763,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -121410,9 +121826,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -121690,8 +122106,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -121734,7 +122150,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -121764,7 +122180,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121781,9 +122197,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -121852,7 +122268,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121869,7 +122285,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121886,7 +122302,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121903,7 +122319,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121920,7 +122336,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121937,7 +122353,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -121966,7 +122382,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -121985,8 +122401,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122014,8 +122430,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -122052,8 +122468,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -122163,7 +122579,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -122212,7 +122628,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122240,7 +122656,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122275,7 +122691,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122292,7 +122708,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122320,7 +122736,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122337,7 +122753,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122365,7 +122781,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122391,7 +122807,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -122415,7 +122831,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122441,8 +122857,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122455,7 +122871,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122472,9 +122888,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -122616,7 +123032,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122629,8 +123045,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -122702,8 +123118,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -122806,7 +123222,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122823,7 +123239,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122840,8 +123256,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122869,7 +123285,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122882,7 +123298,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -122895,8 +123311,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -122939,7 +123355,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -122956,7 +123372,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -122984,7 +123400,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -123003,7 +123419,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -123025,7 +123441,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -123042,9 +123458,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -123062,7 +123478,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -123119,7 +123535,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -123128,7 +123544,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -123211,7 +123627,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -123240,7 +123656,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -123853,8 +124269,8 @@ module Stripe zip: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -123929,7 +124345,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -124155,7 +124571,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentSearchParams < Stripe::RequestParams + class PaymentIntentSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -124184,7 +124600,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentApplyCustomerBalanceParams < Stripe::RequestParams + class PaymentIntentApplyCustomerBalanceParams < ::Stripe::RequestParams # Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter. # # A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent. @@ -124212,7 +124628,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentCancelParams < Stripe::RequestParams + class PaymentIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` sig { returns(T.nilable(String)) } def cancellation_reason; end @@ -124229,11 +124645,11 @@ module Stripe end # typed: true module Stripe - class PaymentIntentCaptureParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCaptureParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -124242,7 +124658,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -124251,7 +124667,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -124272,7 +124688,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -124334,7 +124750,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -124403,7 +124819,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -124426,7 +124842,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -124470,9 +124886,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -124501,9 +124917,9 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentCaptureParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -124512,8 +124928,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -124553,7 +124969,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -124567,7 +124983,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -124590,7 +125006,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -124633,7 +125049,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -124846,8 +125262,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -124890,7 +125306,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -124899,8 +125315,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -125014,8 +125430,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -125024,8 +125440,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -125065,7 +125481,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -125074,7 +125490,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -125193,8 +125609,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -125237,7 +125653,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -125246,8 +125662,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -125287,7 +125703,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -125442,8 +125858,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -125452,7 +125868,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -125574,7 +125990,7 @@ module Stripe subscription: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -125671,11 +126087,11 @@ module Stripe end # typed: true module Stripe - class PaymentIntentConfirmParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentConfirmParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -125684,7 +126100,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -125693,7 +126109,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -125714,7 +126130,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -125776,7 +126192,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -125845,7 +126261,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -125868,7 +126284,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -125912,9 +126328,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -125943,10 +126359,10 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentConfirmParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -126005,9 +126421,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -126016,8 +126432,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -126057,7 +126473,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -126071,7 +126487,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -126094,7 +126510,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -126137,7 +126553,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -126350,8 +126766,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -126394,7 +126810,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -126403,8 +126819,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -126518,8 +126934,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -126528,8 +126944,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -126569,7 +126985,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -126578,7 +126994,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -126697,8 +127113,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -126741,7 +127157,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -126750,8 +127166,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -126791,7 +127207,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -126946,8 +127362,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -126956,7 +127372,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -127078,8 +127494,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -127100,12 +127516,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -127119,7 +127535,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -127133,10 +127549,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -127213,8 +127629,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -127223,10 +127639,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -127235,7 +127651,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -127249,10 +127665,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -127261,7 +127677,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -127270,10 +127686,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -127304,13 +127720,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -127319,7 +127735,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -127362,8 +127778,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -127372,12 +127788,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -127398,10 +127814,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -127410,8 +127826,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -127440,10 +127856,10 @@ module Stripe sig { params(dob: PaymentIntentConfirmParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -127452,8 +127868,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -127462,7 +127878,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -127476,9 +127892,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -127515,8 +127931,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentConfirmParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -128015,9 +128431,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -128094,7 +128510,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128127,7 +128543,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128161,7 +128577,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -128180,7 +128596,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128193,7 +128609,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128221,7 +128637,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -128247,8 +128663,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -128291,7 +128707,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -128317,7 +128733,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128330,7 +128746,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -128352,7 +128768,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -128378,9 +128794,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -128424,7 +128840,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -128487,8 +128903,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -128550,9 +128966,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -128830,8 +129246,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -128874,7 +129290,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -128904,7 +129320,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -128921,9 +129337,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -128992,7 +129408,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129009,7 +129425,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129026,7 +129442,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129043,7 +129459,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129060,7 +129476,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129077,7 +129493,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -129106,7 +129522,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129125,8 +129541,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129154,8 +129570,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -129192,8 +129608,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -129303,7 +129719,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -129352,7 +129768,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129380,7 +129796,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129415,7 +129831,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129432,7 +129848,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129460,7 +129876,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129477,7 +129893,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129505,7 +129921,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129531,7 +129947,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -129555,7 +129971,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129581,8 +129997,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129595,7 +130011,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129612,9 +130028,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -129756,7 +130172,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -129769,8 +130185,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -129842,8 +130258,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -129946,7 +130362,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129963,7 +130379,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -129980,8 +130396,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -130009,7 +130425,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -130022,7 +130438,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -130035,8 +130451,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -130079,7 +130495,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -130096,7 +130512,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -130124,7 +130540,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -130143,7 +130559,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -130165,7 +130581,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -130182,9 +130598,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -130202,7 +130618,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -130259,7 +130675,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -130268,7 +130684,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -130351,7 +130767,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -130380,7 +130796,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -130993,7 +131409,7 @@ module Stripe zip: nil ); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -131002,8 +131418,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -131266,10 +131682,10 @@ module Stripe end # typed: true module Stripe - class PaymentIntentDecrementAuthorizationParams < Stripe::RequestParams - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class PaymentIntentDecrementAuthorizationParams < ::Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -131302,7 +131718,7 @@ module Stripe } def initialize(inputs: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -131369,11 +131785,11 @@ module Stripe end # typed: true module Stripe - class PaymentIntentIncrementAuthorizationParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentIncrementAuthorizationParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -131382,7 +131798,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -131391,7 +131807,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -131412,7 +131828,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -131474,7 +131890,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -131545,7 +131961,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -131568,7 +131984,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -131616,9 +132032,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -131651,7 +132067,7 @@ module Stripe } def initialize(inputs: nil); end end - class PaymentDetails < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. sig { returns(T.nilable(String)) } def customer_reference; end @@ -131665,8 +132081,8 @@ module Stripe sig { params(customer_reference: T.nilable(String), order_reference: T.nilable(String)).void } def initialize(customer_reference: nil, order_reference: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Request partial authorization on this PaymentIntent. sig { returns(T.nilable(String)) } def request_partial_authorization; end @@ -131689,7 +132105,7 @@ module Stripe } def initialize(card: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -131786,7 +132202,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentVerifyMicrodepositsParams < Stripe::RequestParams + class PaymentIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end @@ -131810,8 +132226,8 @@ module Stripe end # typed: true module Stripe - class PaymentIntentTriggerActionParams < Stripe::RequestParams - class ScanQrCode < Stripe::RequestParams + class PaymentIntentTriggerActionParams < ::Stripe::RequestParams + class ScanQrCode < ::Stripe::RequestParams # Whether the QR Code scan's payment should succeed or fail. sig { returns(T.nilable(String)) } def result; end @@ -131845,7 +132261,7 @@ module Stripe end # typed: true module Stripe - class PaymentLinkListParams < Stripe::RequestParams + class PaymentLinkListParams < ::Stripe::RequestParams # Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment links). sig { returns(T.nilable(T::Boolean)) } def active; end @@ -131885,9 +132301,9 @@ module Stripe end # typed: true module Stripe - class PaymentLinkCreateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkCreateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -131896,7 +132312,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. sig { returns(String) } def url; end @@ -131929,8 +132345,8 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -131963,8 +132379,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. sig { returns(String) } @@ -132005,9 +132421,9 @@ module Stripe terms_of_service: nil ); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -132038,7 +132454,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -132052,7 +132468,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -132073,7 +132489,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -132150,8 +132566,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -132160,7 +132576,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -132169,7 +132585,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -132178,7 +132594,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -132229,9 +132645,9 @@ module Stripe terms_of_service_acceptance: nil ); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -132245,7 +132661,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -132259,7 +132675,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -132356,8 +132772,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. sig { returns(T::Boolean) } def enabled; end @@ -132378,8 +132794,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -132424,7 +132840,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -132519,8 +132935,56 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, price_data: nil, quantity: nil); end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + # Controls settings applied for collecting the customer's business name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection::Business)) } + def business; end + sig { + params(_business: T.nilable(PaymentLinkCreateParams::NameCollection::Business)).returns(T.nilable(PaymentLinkCreateParams::NameCollection::Business)) + } + def business=(_business); end + # Controls settings applied for collecting the customer's individual name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection::Individual)) } + def individual; end + sig { + params(_individual: T.nilable(PaymentLinkCreateParams::NameCollection::Individual)).returns(T.nilable(PaymentLinkCreateParams::NameCollection::Individual)) + } + def individual=(_individual); end + sig { + params(business: T.nilable(PaymentLinkCreateParams::NameCollection::Business), individual: T.nilable(PaymentLinkCreateParams::NameCollection::Individual)).void + } + def initialize(business: nil, individual: nil); end + end + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -132563,7 +133027,7 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -132626,7 +133090,7 @@ module Stripe transfer_group: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. sig { returns(T::Boolean) } def enabled; end @@ -132635,8 +133099,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. sig { returns(Integer) } def limit; end @@ -132657,7 +133121,7 @@ module Stripe } def initialize(completed_sessions: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -132667,7 +133131,7 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class ShippingOption < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams # The ID of the Shipping Rate to use for this shipping option. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -132676,9 +133140,9 @@ module Stripe sig { params(shipping_rate: T.nilable(String)).void } def initialize(shipping_rate: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -132706,8 +133170,8 @@ module Stripe } def initialize(issuer: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -132770,7 +133234,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -132784,7 +133248,7 @@ module Stripe sig { params(enabled: T::Boolean, required: T.nilable(String)).void } def initialize(enabled: nil, required: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -132897,6 +133361,13 @@ module Stripe params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) } def metadata=(_metadata); end + # Controls settings applied for collecting the customer's name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection)) } + def name_collection; end + sig { + params(_name_collection: T.nilable(PaymentLinkCreateParams::NameCollection)).returns(T.nilable(PaymentLinkCreateParams::NameCollection)) + } + def name_collection=(_name_collection); end # The account on behalf of which to charge. sig { returns(T.nilable(String)) } def on_behalf_of; end @@ -132991,7 +133462,7 @@ module Stripe } def transfer_data=(_transfer_data); end sig { - params(after_completion: T.nilable(PaymentLinkCreateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), application_fee_amount: T.nilable(Integer), application_fee_percent: T.nilable(Float), automatic_tax: T.nilable(PaymentLinkCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), consent_collection: T.nilable(PaymentLinkCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[PaymentLinkCreateParams::CustomField]), custom_text: T.nilable(PaymentLinkCreateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkCreateParams::InvoiceCreation), line_items: T::Array[PaymentLinkCreateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[PaymentLinkCreateParams::OptionalItem]), payment_intent_data: T.nilable(PaymentLinkCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T::Array[String]), phone_number_collection: T.nilable(PaymentLinkCreateParams::PhoneNumberCollection), restrictions: T.nilable(PaymentLinkCreateParams::Restrictions), shipping_address_collection: T.nilable(PaymentLinkCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[PaymentLinkCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkCreateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkCreateParams::TaxIdCollection), transfer_data: T.nilable(PaymentLinkCreateParams::TransferData)).void + params(after_completion: T.nilable(PaymentLinkCreateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), application_fee_amount: T.nilable(Integer), application_fee_percent: T.nilable(Float), automatic_tax: T.nilable(PaymentLinkCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), consent_collection: T.nilable(PaymentLinkCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[PaymentLinkCreateParams::CustomField]), custom_text: T.nilable(PaymentLinkCreateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkCreateParams::InvoiceCreation), line_items: T::Array[PaymentLinkCreateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), name_collection: T.nilable(PaymentLinkCreateParams::NameCollection), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[PaymentLinkCreateParams::OptionalItem]), payment_intent_data: T.nilable(PaymentLinkCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T::Array[String]), phone_number_collection: T.nilable(PaymentLinkCreateParams::PhoneNumberCollection), restrictions: T.nilable(PaymentLinkCreateParams::Restrictions), shipping_address_collection: T.nilable(PaymentLinkCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[PaymentLinkCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkCreateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkCreateParams::TaxIdCollection), transfer_data: T.nilable(PaymentLinkCreateParams::TransferData)).void } def initialize( after_completion: nil, @@ -133010,6 +133481,7 @@ module Stripe invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, on_behalf_of: nil, optional_items: nil, payment_intent_data: nil, @@ -133028,9 +133500,9 @@ module Stripe end # typed: true module Stripe - class PaymentLinkUpdateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkUpdateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -133039,7 +133511,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. sig { returns(String) } def url; end @@ -133072,8 +133544,8 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -133106,9 +133578,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -133139,7 +133611,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -133153,7 +133625,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -133174,7 +133646,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -133251,8 +133723,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -133261,7 +133733,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -133270,7 +133742,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -133279,7 +133751,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -133330,9 +133802,9 @@ module Stripe terms_of_service_acceptance: nil ); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -133346,7 +133818,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -133360,7 +133832,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -133457,8 +133929,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. sig { returns(T::Boolean) } def enabled; end @@ -133501,7 +133973,55 @@ module Stripe } def initialize(adjustable_quantity: nil, id: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + # Controls settings applied for collecting the customer's business name. + sig { returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Business)) } + def business; end + sig { + params(_business: T.nilable(PaymentLinkUpdateParams::NameCollection::Business)).returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Business)) + } + def business=(_business); end + # Controls settings applied for collecting the customer's individual name. + sig { returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)) } + def individual; end + sig { + params(_individual: T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)).returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)) + } + def individual=(_individual); end + sig { + params(business: T.nilable(PaymentLinkUpdateParams::NameCollection::Business), individual: T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)).void + } + def initialize(business: nil, individual: nil); end + end + class PaymentIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -133542,7 +134062,7 @@ module Stripe transfer_group: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. sig { returns(T::Boolean) } def enabled; end @@ -133551,8 +134071,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. sig { returns(Integer) } def limit; end @@ -133573,7 +134093,7 @@ module Stripe } def initialize(completed_sessions: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -133583,9 +134103,9 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -133613,8 +134133,8 @@ module Stripe } def initialize(issuer: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -133675,7 +134195,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -133768,6 +134288,13 @@ module Stripe params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) } def metadata=(_metadata); end + # Controls settings applied for collecting the customer's name. + sig { returns(T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))) } + def name_collection; end + sig { + params(_name_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))).returns(T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))) + } + def name_collection=(_name_collection); end # A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. sig { returns(T.nilable(PaymentLinkUpdateParams::PaymentIntentData)) } def payment_intent_data; end @@ -133834,7 +134361,7 @@ module Stripe } def tax_id_collection=(_tax_id_collection); end sig { - params(active: T.nilable(T::Boolean), after_completion: T.nilable(PaymentLinkUpdateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(PaymentLinkUpdateParams::AutomaticTax), billing_address_collection: T.nilable(String), custom_fields: T.nilable(T.any(String, T::Array[PaymentLinkUpdateParams::CustomField])), custom_text: T.nilable(PaymentLinkUpdateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkUpdateParams::InvoiceCreation), line_items: T.nilable(T::Array[PaymentLinkUpdateParams::LineItem]), metadata: T.nilable(T::Hash[String, String]), payment_intent_data: T.nilable(PaymentLinkUpdateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T.any(String, T::Array[String])), phone_number_collection: T.nilable(PaymentLinkUpdateParams::PhoneNumberCollection), restrictions: T.nilable(T.any(String, PaymentLinkUpdateParams::Restrictions)), shipping_address_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::ShippingAddressCollection)), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkUpdateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkUpdateParams::TaxIdCollection)).void + params(active: T.nilable(T::Boolean), after_completion: T.nilable(PaymentLinkUpdateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(PaymentLinkUpdateParams::AutomaticTax), billing_address_collection: T.nilable(String), custom_fields: T.nilable(T.any(String, T::Array[PaymentLinkUpdateParams::CustomField])), custom_text: T.nilable(PaymentLinkUpdateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkUpdateParams::InvoiceCreation), line_items: T.nilable(T::Array[PaymentLinkUpdateParams::LineItem]), metadata: T.nilable(T::Hash[String, String]), name_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection)), payment_intent_data: T.nilable(PaymentLinkUpdateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T.any(String, T::Array[String])), phone_number_collection: T.nilable(PaymentLinkUpdateParams::PhoneNumberCollection), restrictions: T.nilable(T.any(String, PaymentLinkUpdateParams::Restrictions)), shipping_address_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::ShippingAddressCollection)), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkUpdateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkUpdateParams::TaxIdCollection)).void } def initialize( active: nil, @@ -133850,6 +134377,7 @@ module Stripe invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, payment_intent_data: nil, payment_method_collection: nil, payment_method_types: nil, @@ -133864,7 +134392,7 @@ module Stripe end # typed: true module Stripe - class PaymentLinkListLineItemsParams < Stripe::RequestParams + class PaymentLinkListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -133893,7 +134421,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodConfigurationListParams < Stripe::RequestParams + class PaymentMethodConfigurationListParams < ::Stripe::RequestParams # The Connect application to filter by. sig { returns(T.nilable(String)) } def application; end @@ -133933,9 +134461,9 @@ module Stripe end # typed: true module Stripe - class PaymentMethodConfigurationCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -133958,8 +134486,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -133980,8 +134508,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134004,8 +134532,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134026,8 +134554,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134048,8 +134576,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134072,8 +134600,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134096,8 +134624,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134120,8 +134648,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134144,8 +134672,8 @@ module Stripe } def initialize(display_preference: nil); end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134168,8 +134696,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134192,8 +134720,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134214,8 +134742,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134236,8 +134764,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134258,8 +134786,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134280,8 +134808,8 @@ module Stripe } def initialize(display_preference: nil); end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134304,8 +134832,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134326,8 +134854,30 @@ module Stripe } def initialize(display_preference: nil); end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134350,8 +134900,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134372,8 +134922,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134394,8 +134944,8 @@ module Stripe } def initialize(display_preference: nil); end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134418,8 +134968,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134440,8 +134990,8 @@ module Stripe } def initialize(display_preference: nil); end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134464,8 +135014,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134486,8 +135036,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134508,8 +135058,8 @@ module Stripe } def initialize(display_preference: nil); end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134532,8 +135082,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134554,8 +135104,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134576,8 +135126,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134600,8 +135150,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134622,8 +135172,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134644,8 +135194,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134666,8 +135216,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134688,8 +135238,30 @@ module Stripe } def initialize(display_preference: nil); end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134712,8 +135284,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134736,8 +135308,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134760,8 +135332,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134784,8 +135356,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134806,8 +135378,8 @@ module Stripe } def initialize(display_preference: nil); end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134828,8 +135400,8 @@ module Stripe } def initialize(display_preference: nil); end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134852,8 +135424,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134874,8 +135446,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134896,8 +135468,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134918,8 +135490,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134940,8 +135512,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134962,8 +135534,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -134984,8 +135556,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135008,8 +135580,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135030,8 +135602,8 @@ module Stripe } def initialize(display_preference: nil); end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135054,8 +135626,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135078,8 +135650,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135102,8 +135674,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135126,8 +135698,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135150,8 +135722,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135172,8 +135744,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135194,8 +135766,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135216,8 +135788,8 @@ module Stripe } def initialize(display_preference: nil); end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135240,8 +135812,8 @@ module Stripe } def initialize(display_preference: nil); end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135264,8 +135836,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135405,6 +135977,13 @@ module Stripe params(_cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Cashapp)) } def cashapp=(_cashapp); end + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto)) } + def crypto; end + sig { + params(_crypto: T.nilable(PaymentMethodConfigurationCreateParams::Crypto)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto)) + } + def crypto=(_crypto); end # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance)) } def customer_balance; end @@ -135522,6 +136101,13 @@ module Stripe params(_link: T.nilable(PaymentMethodConfigurationCreateParams::Link)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Link)) } def link=(_link); end + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay)) } + def mb_way; end + sig { + params(_mb_way: T.nilable(PaymentMethodConfigurationCreateParams::MbWay)).returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay)) + } + def mb_way=(_mb_way); end # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay)) } def mobilepay; end @@ -135715,7 +136301,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationCreateParams::Billie), blik: T.nilable(PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp), customer_balance: T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(PaymentMethodConfigurationCreateParams::Link), mobilepay: T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationCreateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationCreateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationCreateParams::Swish), twint: T.nilable(PaymentMethodConfigurationCreateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationCreateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationCreateParams::Billie), blik: T.nilable(PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp), crypto: T.nilable(PaymentMethodConfigurationCreateParams::Crypto), customer_balance: T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(PaymentMethodConfigurationCreateParams::Link), mb_way: T.nilable(PaymentMethodConfigurationCreateParams::MbWay), mobilepay: T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationCreateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationCreateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationCreateParams::Swish), twint: T.nilable(PaymentMethodConfigurationCreateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationCreateParams::Zip)).void } def initialize( acss_debit: nil, @@ -135735,6 +136321,7 @@ module Stripe card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -135752,6 +136339,7 @@ module Stripe konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, @@ -135785,9 +136373,9 @@ module Stripe end # typed: true module Stripe - class PaymentMethodConfigurationUpdateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationUpdateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135810,8 +136398,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135832,8 +136420,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135856,8 +136444,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135878,8 +136466,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135900,8 +136488,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135924,8 +136512,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135948,8 +136536,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135972,8 +136560,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -135996,8 +136584,8 @@ module Stripe } def initialize(display_preference: nil); end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136020,8 +136608,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136044,8 +136632,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136066,8 +136654,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136088,8 +136676,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136110,8 +136698,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136132,8 +136720,8 @@ module Stripe } def initialize(display_preference: nil); end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136156,8 +136744,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136178,8 +136766,30 @@ module Stripe } def initialize(display_preference: nil); end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136202,8 +136812,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136224,8 +136834,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136246,8 +136856,8 @@ module Stripe } def initialize(display_preference: nil); end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136270,8 +136880,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136292,8 +136902,8 @@ module Stripe } def initialize(display_preference: nil); end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136316,8 +136926,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136338,8 +136948,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136360,8 +136970,8 @@ module Stripe } def initialize(display_preference: nil); end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136384,8 +136994,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136406,8 +137016,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136428,8 +137038,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136452,8 +137062,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136474,8 +137084,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136496,8 +137106,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136518,8 +137128,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136540,8 +137150,30 @@ module Stripe } def initialize(display_preference: nil); end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136564,8 +137196,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136588,8 +137220,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136612,8 +137244,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136636,8 +137268,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136658,8 +137290,8 @@ module Stripe } def initialize(display_preference: nil); end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136680,8 +137312,8 @@ module Stripe } def initialize(display_preference: nil); end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136704,8 +137336,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136726,8 +137358,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136748,8 +137380,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136770,8 +137402,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136792,8 +137424,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136814,8 +137446,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136836,8 +137468,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136860,8 +137492,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136882,8 +137514,8 @@ module Stripe } def initialize(display_preference: nil); end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136906,8 +137538,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136930,8 +137562,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136954,8 +137586,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -136978,8 +137610,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137002,8 +137634,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137024,8 +137656,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137046,8 +137678,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137068,8 +137700,8 @@ module Stripe } def initialize(display_preference: nil); end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137092,8 +137724,8 @@ module Stripe } def initialize(display_preference: nil); end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137116,8 +137748,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -137262,6 +137894,13 @@ module Stripe params(_cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp)) } def cashapp=(_cashapp); end + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)) } + def crypto; end + sig { + params(_crypto: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)) + } + def crypto=(_crypto); end # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance)) } def customer_balance; end @@ -137379,6 +138018,13 @@ module Stripe params(_link: T.nilable(PaymentMethodConfigurationUpdateParams::Link)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Link)) } def link=(_link); end + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)) } + def mb_way; end + sig { + params(_mb_way: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)) + } + def mb_way=(_mb_way); end # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay)) } def mobilepay; end @@ -137567,7 +138213,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationUpdateParams::Billie), blik: T.nilable(PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp), customer_balance: T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(PaymentMethodConfigurationUpdateParams::Link), mobilepay: T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationUpdateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationUpdateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationUpdateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationUpdateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationUpdateParams::Swish), twint: T.nilable(PaymentMethodConfigurationUpdateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationUpdateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationUpdateParams::Billie), blik: T.nilable(PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp), crypto: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto), customer_balance: T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(PaymentMethodConfigurationUpdateParams::Link), mb_way: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay), mobilepay: T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationUpdateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationUpdateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationUpdateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationUpdateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationUpdateParams::Swish), twint: T.nilable(PaymentMethodConfigurationUpdateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationUpdateParams::Zip)).void } def initialize( acss_debit: nil, @@ -137588,6 +138234,7 @@ module Stripe card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -137605,6 +138252,7 @@ module Stripe konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, @@ -137637,7 +138285,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDomainListParams < Stripe::RequestParams + class PaymentMethodDomainListParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. sig { returns(T.nilable(String)) } def domain_name; end @@ -137683,7 +138331,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDomainCreateParams < Stripe::RequestParams + class PaymentMethodDomainCreateParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. sig { returns(String) } def domain_name; end @@ -137707,7 +138355,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDomainUpdateParams < Stripe::RequestParams + class PaymentMethodDomainUpdateParams < ::Stripe::RequestParams # Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -137724,7 +138372,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDomainValidateParams < Stripe::RequestParams + class PaymentMethodDomainValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -137736,7 +138384,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodListParams < Stripe::RequestParams + class PaymentMethodListParams < ::Stripe::RequestParams # The ID of the customer whose PaymentMethods will be retrieved. sig { returns(T.nilable(String)) } def customer; end @@ -137782,8 +138430,8 @@ module Stripe end # typed: true module Stripe - class PaymentMethodCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -137804,12 +138452,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -137823,7 +138471,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -137837,10 +138485,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -137915,8 +138563,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -137925,8 +138573,8 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(String)) } def preferred; end @@ -137979,10 +138627,10 @@ module Stripe token: nil ); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -137991,7 +138639,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -138005,10 +138653,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -138017,7 +138665,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -138026,10 +138674,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -138058,13 +138706,13 @@ module Stripe sig { params(dob: T.nilable(PaymentMethodCreateParams::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -138073,7 +138721,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -138116,8 +138764,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -138126,12 +138774,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -138152,10 +138800,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -138164,8 +138812,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -138194,10 +138842,10 @@ module Stripe sig { params(dob: PaymentMethodCreateParams::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -138206,8 +138854,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -138216,7 +138864,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -138230,9 +138878,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -138269,8 +138917,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentMethodCreateParams::AcssDebit)) } def acss_debit; end @@ -138798,9 +139446,9 @@ module Stripe end # typed: true module Stripe - class PaymentMethodUpdateParams < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodUpdateParams < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -138875,8 +139523,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(T.any(String, String))) } def preferred; end @@ -138909,7 +139557,7 @@ module Stripe } def initialize(exp_month: nil, exp_year: nil, networks: nil); end end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -138930,7 +139578,7 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Bank account holder type. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -139005,7 +139653,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodAttachParams < Stripe::RequestParams + class PaymentMethodAttachParams < ::Stripe::RequestParams # The ID of the customer to which to attach the PaymentMethod. sig { returns(T.nilable(String)) } def customer; end @@ -139029,7 +139677,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDetachParams < Stripe::RequestParams + class PaymentMethodDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -139041,8 +139689,8 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentAttemptParams < Stripe::RequestParams - class Failed < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptParams < ::Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def failed_at; end @@ -139051,7 +139699,7 @@ module Stripe sig { params(failed_at: Integer).void } def initialize(failed_at: nil); end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def guaranteed_at; end @@ -139060,9 +139708,9 @@ module Stripe sig { params(guaranteed_at: Integer).void } def initialize(guaranteed_at: nil); end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139134,7 +139782,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(T.nilable(String)) } def display_name; end @@ -139181,8 +139829,8 @@ module Stripe } def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139320,7 +139968,7 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentAttemptCanceledParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptCanceledParams < ::Stripe::RequestParams # When the reported payment was canceled. Measured in seconds since the Unix epoch. sig { returns(Integer) } def canceled_at; end @@ -139346,7 +139994,7 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentAttemptFailedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptFailedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -139372,7 +140020,7 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentAttemptGuaranteedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptGuaranteedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -139398,8 +140046,8 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentAttemptInformationalParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptInformationalParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. sig { returns(T.nilable(String)) } def customer; end @@ -139425,8 +140073,8 @@ module Stripe } def initialize(customer: nil, email: nil, name: nil, phone: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139542,8 +140190,8 @@ module Stripe end # typed: true module Stripe - class PaymentRecordReportPaymentParams < Stripe::RequestParams - class AmountRequested < Stripe::RequestParams + class PaymentRecordReportRefundParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -139557,7 +140205,117 @@ module Stripe sig { params(currency: String, value: Integer).void } def initialize(currency: nil, value: nil); end end - class CustomerDetails < Stripe::RequestParams + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams + # A reference to the external refund. This field must be unique across all refunds. + sig { returns(String) } + def refund_reference; end + sig { params(_refund_reference: String).returns(String) } + def refund_reference=(_refund_reference); end + sig { params(refund_reference: String).void } + def initialize(refund_reference: nil); end + end + # Information about the custom processor used to make this refund. + sig { returns(T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)) } + def custom; end + sig { + params(_custom: T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)).returns(T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)) + } + def custom=(_custom); end + # The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor. + sig { returns(String) } + def type; end + sig { params(_type: String).returns(String) } + def type=(_type); end + sig { + params(custom: T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom), type: String).void + } + def initialize(custom: nil, type: nil); end + end + class Refunded < ::Stripe::RequestParams + # When the reported refund completed. Measured in seconds since the Unix epoch. + sig { returns(Integer) } + def refunded_at; end + sig { params(_refunded_at: Integer).returns(Integer) } + def refunded_at=(_refunded_at); end + sig { params(refunded_at: Integer).void } + def initialize(refunded_at: nil); end + end + # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment. + sig { returns(T.nilable(PaymentRecordReportRefundParams::Amount)) } + def amount; end + sig { + params(_amount: T.nilable(PaymentRecordReportRefundParams::Amount)).returns(T.nilable(PaymentRecordReportRefundParams::Amount)) + } + def amount=(_amount); end + # Specifies which fields in the response should be expanded. + sig { returns(T.nilable(T::Array[String])) } + def expand; end + sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } + def expand=(_expand); end + # When the reported refund was initiated. Measured in seconds since the Unix epoch. + sig { returns(T.nilable(Integer)) } + def initiated_at; end + sig { params(_initiated_at: T.nilable(Integer)).returns(T.nilable(Integer)) } + def initiated_at=(_initiated_at); end + # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + sig { returns(T.nilable(T.any(String, T::Hash[String, String]))) } + def metadata; end + sig { + params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String]))) + } + def metadata=(_metadata); end + # The outcome of the reported refund. + sig { returns(String) } + def outcome; end + sig { params(_outcome: String).returns(String) } + def outcome=(_outcome); end + # Processor information for this refund. + sig { returns(PaymentRecordReportRefundParams::ProcessorDetails) } + def processor_details; end + sig { + params(_processor_details: PaymentRecordReportRefundParams::ProcessorDetails).returns(PaymentRecordReportRefundParams::ProcessorDetails) + } + def processor_details=(_processor_details); end + # Information about the payment attempt refund. + sig { returns(PaymentRecordReportRefundParams::Refunded) } + def refunded; end + sig { + params(_refunded: PaymentRecordReportRefundParams::Refunded).returns(PaymentRecordReportRefundParams::Refunded) + } + def refunded=(_refunded); end + sig { + params(amount: T.nilable(PaymentRecordReportRefundParams::Amount), expand: T.nilable(T::Array[String]), initiated_at: T.nilable(Integer), metadata: T.nilable(T.any(String, T::Hash[String, String])), outcome: String, processor_details: PaymentRecordReportRefundParams::ProcessorDetails, refunded: PaymentRecordReportRefundParams::Refunded).void + } + def initialize( + amount: nil, + expand: nil, + initiated_at: nil, + metadata: nil, + outcome: nil, + processor_details: nil, + refunded: nil + ); end + end +end +# typed: true +module Stripe + class PaymentRecordReportPaymentParams < ::Stripe::RequestParams + class AmountRequested < ::Stripe::RequestParams + # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + sig { returns(String) } + def currency; end + sig { params(_currency: String).returns(String) } + def currency=(_currency); end + # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. + sig { returns(Integer) } + def value; end + sig { params(_value: Integer).returns(Integer) } + def value=(_value); end + sig { params(currency: String, value: Integer).void } + def initialize(currency: nil, value: nil); end + end + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. sig { returns(T.nilable(String)) } def customer; end @@ -139583,7 +140341,7 @@ module Stripe } def initialize(customer: nil, email: nil, name: nil, phone: nil); end end - class Failed < Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def failed_at; end @@ -139592,7 +140350,7 @@ module Stripe sig { params(failed_at: Integer).void } def initialize(failed_at: nil); end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def guaranteed_at; end @@ -139601,9 +140359,9 @@ module Stripe sig { params(guaranteed_at: Integer).void } def initialize(guaranteed_at: nil); end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139675,7 +140433,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(T.nilable(String)) } def display_name; end @@ -139720,8 +140478,8 @@ module Stripe } def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil); end end - class ProcessorDetails < Stripe::RequestParams - class Custom < Stripe::RequestParams + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(String) } def payment_reference; end @@ -139747,8 +140505,8 @@ module Stripe } def initialize(custom: nil, type: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139916,8 +140674,8 @@ module Stripe end # typed: true module Stripe - class PayoutListParams < Stripe::RequestParams - class ArrivalDate < Stripe::RequestParams + class PayoutListParams < ::Stripe::RequestParams + class ArrivalDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -139943,7 +140701,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -140030,7 +140788,7 @@ module Stripe end # typed: true module Stripe - class PayoutCreateParams < Stripe::RequestParams + class PayoutCreateParams < ::Stripe::RequestParams # A positive integer in cents representing how much to payout. sig { returns(Integer) } def amount; end @@ -140102,7 +140860,7 @@ module Stripe end # typed: true module Stripe - class PayoutUpdateParams < Stripe::RequestParams + class PayoutUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -140123,7 +140881,7 @@ module Stripe end # typed: true module Stripe - class PayoutCancelParams < Stripe::RequestParams + class PayoutCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -140135,7 +140893,7 @@ module Stripe end # typed: true module Stripe - class PayoutReverseParams < Stripe::RequestParams + class PayoutReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -140156,11 +140914,11 @@ module Stripe end # typed: true module Stripe - class PlanDeleteParams < Stripe::RequestParams; end + class PlanDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class PlanUpdateParams < Stripe::RequestParams + class PlanUpdateParams < ::Stripe::RequestParams # Whether the plan is currently available for new subscriptions. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -140208,8 +140966,8 @@ module Stripe end # typed: true module Stripe - class PlanListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PlanListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -140288,8 +141046,8 @@ module Stripe end # typed: true module Stripe - class PlanCreateParams < Stripe::RequestParams - class Product < Stripe::RequestParams + class PlanCreateParams < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -140342,7 +141100,7 @@ module Stripe unit_label: nil ); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -140379,7 +141137,7 @@ module Stripe up_to: nil ); end end - class TransformUsage < Stripe::RequestParams + class TransformUsage < ::Stripe::RequestParams # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -140518,8 +141276,8 @@ module Stripe end # typed: true module Stripe - class PriceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PriceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -140545,7 +141303,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Filter by billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(T.nilable(String)) } def interval; end @@ -140645,9 +141403,9 @@ module Stripe end # typed: true module Stripe - class PriceCreateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceCreateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -140673,7 +141431,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -140750,7 +141508,7 @@ module Stripe unit_amount_decimal: nil ); end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -140776,7 +141534,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class ProductData < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -140829,7 +141587,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -140866,7 +141624,7 @@ module Stripe usage_type: nil ); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -140903,7 +141661,7 @@ module Stripe up_to: nil ); end end - class TransformQuantity < Stripe::RequestParams + class TransformQuantity < ::Stripe::RequestParams # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -141054,9 +141812,9 @@ module Stripe end # typed: true module Stripe - class PriceUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -141082,7 +141840,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -141159,7 +141917,7 @@ module Stripe unit_amount_decimal: nil ); end end - class MigrateTo < Stripe::RequestParams + class MigrateTo < ::Stripe::RequestParams # The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`. sig { returns(String) } def behavior; end @@ -141247,7 +142005,7 @@ module Stripe end # typed: true module Stripe - class PriceSearchParams < Stripe::RequestParams + class PriceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -141277,7 +142035,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobListParams < Stripe::RequestParams + class RedactionJobListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -141319,8 +142077,8 @@ end # typed: true module Stripe module Privacy - class RedactionJobCreateParams < Stripe::RequestParams - class Objects < Stripe::RequestParams + class RedactionJobCreateParams < ::Stripe::RequestParams + class Objects < ::Stripe::RequestParams # Attribute for param field charges sig { returns(T.nilable(T::Array[String])) } def charges; end @@ -141428,7 +142186,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobUpdateParams < Stripe::RequestParams + class RedactionJobUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -141449,7 +142207,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobCancelParams < Stripe::RequestParams + class RedactionJobCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -141463,7 +142221,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobRunParams < Stripe::RequestParams + class RedactionJobRunParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -141477,7 +142235,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobValidateParams < Stripe::RequestParams + class RedactionJobValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -141490,12 +142248,12 @@ module Stripe end # typed: true module Stripe - class ProductDeleteParams < Stripe::RequestParams; end + class ProductDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class ProductUpdateParams < Stripe::RequestParams - class MarketingFeature < Stripe::RequestParams + class ProductUpdateParams < ::Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. sig { returns(String) } def name; end @@ -141504,7 +142262,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -141632,8 +142390,8 @@ module Stripe end # typed: true module Stripe - class ProductListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -141730,10 +142488,10 @@ module Stripe end # typed: true module Stripe - class ProductCreateParams < Stripe::RequestParams - class DefaultPriceData < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class ProductCreateParams < ::Stripe::RequestParams + class DefaultPriceData < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -141759,7 +142517,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -141840,7 +142598,7 @@ module Stripe unit_amount_decimal: nil ); end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -141866,7 +142624,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -141944,7 +142702,7 @@ module Stripe unit_amount_decimal: nil ); end end - class MarketingFeature < Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. sig { returns(String) } def name; end @@ -141953,7 +142711,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -142093,7 +142851,7 @@ module Stripe end # typed: true module Stripe - class ProductSearchParams < Stripe::RequestParams + class ProductSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -142122,8 +142880,8 @@ module Stripe end # typed: true module Stripe - class PromotionCodeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PromotionCodeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -142220,8 +142978,8 @@ module Stripe end # typed: true module Stripe - class PromotionCodeCreateParams < Stripe::RequestParams - class Promotion < Stripe::RequestParams + class PromotionCodeCreateParams < ::Stripe::RequestParams + class Promotion < ::Stripe::RequestParams # If promotion `type` is `coupon`, the coupon for this promotion code. sig { returns(T.nilable(String)) } def coupon; end @@ -142235,8 +142993,8 @@ module Stripe sig { params(coupon: T.nilable(String), type: String).void } def initialize(coupon: nil, type: nil); end end - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(T.nilable(Integer)) } def minimum_amount; end @@ -142356,9 +143114,9 @@ module Stripe end # typed: true module Stripe - class PromotionCodeUpdateParams < Stripe::RequestParams - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class PromotionCodeUpdateParams < ::Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(T.nilable(Integer)) } def minimum_amount; end @@ -142413,7 +143171,7 @@ module Stripe end # typed: true module Stripe - class QuoteListParams < Stripe::RequestParams + class QuoteListParams < ::Stripe::RequestParams # The ID of the customer whose quotes will be retrieved. sig { returns(T.nilable(String)) } def customer; end @@ -142477,9 +143235,9 @@ module Stripe end # typed: true module Stripe - class QuoteCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -142510,9 +143268,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -142575,7 +143333,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class FromQuote < Stripe::RequestParams + class FromQuote < ::Stripe::RequestParams # Whether this quote is a revision of the previous quote. sig { returns(T.nilable(T::Boolean)) } def is_revision; end @@ -142589,8 +143347,8 @@ module Stripe sig { params(is_revision: T.nilable(T::Boolean), quote: String).void } def initialize(is_revision: nil, quote: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -142621,10 +143379,10 @@ module Stripe } def initialize(days_until_due: nil, issuer: nil); end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -142671,10 +143429,10 @@ module Stripe promotion_code: nil ); end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -142741,7 +143499,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -142807,7 +143565,7 @@ module Stripe trial: nil ); end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -142828,7 +143586,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -142837,7 +143595,7 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -142858,10 +143616,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -142928,7 +143686,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -143078,7 +143836,7 @@ module Stripe type: nil ); end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -143099,7 +143857,7 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -143120,8 +143878,8 @@ module Stripe } def initialize(cancel_at: nil, invoice_now: nil, prorate: nil); end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -143130,7 +143888,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -143173,8 +143931,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -143200,8 +143958,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -143210,7 +143968,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. sig { returns(T.nilable(Integer)) } def index; end @@ -143248,8 +144006,8 @@ module Stripe } def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -143350,10 +144108,10 @@ module Stripe trial_settings: nil ); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -143416,8 +144174,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -143517,10 +144275,10 @@ module Stripe tax_rates: nil ); end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -143558,8 +144316,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -143573,7 +144331,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -143639,8 +144397,8 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -143666,7 +144424,7 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -143771,8 +144529,8 @@ module Stripe trial_period_days: nil ); end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -143793,9 +144551,9 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -143833,8 +144591,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -143848,7 +144606,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -143976,7 +144734,7 @@ module Stripe proration_behavior: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -144176,9 +144934,9 @@ module Stripe end # typed: true module Stripe - class QuoteUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -144209,9 +144967,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -144274,8 +145032,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -144306,10 +145064,10 @@ module Stripe } def initialize(days_until_due: nil, issuer: nil); end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -144356,10 +145114,10 @@ module Stripe promotion_code: nil ); end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -144426,7 +145184,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -144492,7 +145250,7 @@ module Stripe trial: nil ); end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -144513,7 +145271,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -144522,7 +145280,7 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -144543,10 +145301,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -144613,7 +145371,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -144763,7 +145521,7 @@ module Stripe type: nil ); end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -144784,7 +145542,7 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -144805,8 +145563,8 @@ module Stripe } def initialize(cancel_at: nil, invoice_now: nil, prorate: nil); end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -144815,7 +145573,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -144858,8 +145616,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -144885,8 +145643,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -144895,7 +145653,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -144938,8 +145696,8 @@ module Stripe } def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -145046,10 +145804,10 @@ module Stripe trial_settings: nil ); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -145112,8 +145870,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -145219,10 +145977,10 @@ module Stripe tax_rates: nil ); end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -145260,8 +146018,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -145275,7 +146033,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -145341,7 +146099,7 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -145434,8 +146192,8 @@ module Stripe trial_period_days: nil ); end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -145456,9 +146214,9 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -145496,8 +146254,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -145511,7 +146269,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -145641,7 +146399,7 @@ module Stripe proration_behavior: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -145827,7 +146585,7 @@ module Stripe end # typed: true module Stripe - class QuoteListComputedUpfrontLineItemsParams < Stripe::RequestParams + class QuoteListComputedUpfrontLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -145856,7 +146614,7 @@ module Stripe end # typed: true module Stripe - class QuoteListLineItemsParams < Stripe::RequestParams + class QuoteListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -145885,7 +146643,7 @@ module Stripe end # typed: true module Stripe - class QuoteListLinesParams < Stripe::RequestParams + class QuoteListLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -145914,7 +146672,7 @@ module Stripe end # typed: true module Stripe - class QuoteAcceptParams < Stripe::RequestParams + class QuoteAcceptParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145926,7 +146684,7 @@ module Stripe end # typed: true module Stripe - class QuoteCancelParams < Stripe::RequestParams + class QuoteCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145938,7 +146696,7 @@ module Stripe end # typed: true module Stripe - class QuoteFinalizeQuoteParams < Stripe::RequestParams + class QuoteFinalizeQuoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145955,7 +146713,7 @@ module Stripe end # typed: true module Stripe - class QuoteMarkDraftParams < Stripe::RequestParams + class QuoteMarkDraftParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145967,7 +146725,7 @@ module Stripe end # typed: true module Stripe - class QuoteMarkStaleParams < Stripe::RequestParams + class QuoteMarkStaleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145984,7 +146742,7 @@ module Stripe end # typed: true module Stripe - class QuoteReestimateParams < Stripe::RequestParams + class QuoteReestimateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -145996,7 +146754,7 @@ module Stripe end # typed: true module Stripe - class QuotePdfParams < Stripe::RequestParams + class QuotePdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146008,7 +146766,7 @@ module Stripe end # typed: true module Stripe - class QuoteListPreviewInvoiceLinesParams < Stripe::RequestParams + class QuoteListPreviewInvoiceLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -146038,8 +146796,8 @@ end # typed: true module Stripe module Radar - class EarlyFraudWarningListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EarlyFraudWarningListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146120,14 +146878,14 @@ end # typed: true module Stripe module Radar - class ValueListItemDeleteParams < Stripe::RequestParams; end + class ValueListItemDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module Radar - class ValueListItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146208,7 +146966,7 @@ end # typed: true module Stripe module Radar - class ValueListItemCreateParams < Stripe::RequestParams + class ValueListItemCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146232,13 +146990,13 @@ end # typed: true module Stripe module Radar - class ValueListDeleteParams < Stripe::RequestParams; end + class ValueListDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module Radar - class ValueListUpdateParams < Stripe::RequestParams + class ValueListUpdateParams < ::Stripe::RequestParams # The name of the value list for use in rules. sig { returns(T.nilable(String)) } def alias; end @@ -146271,8 +147029,8 @@ end # typed: true module Stripe module Radar - class ValueListListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146353,7 +147111,7 @@ end # typed: true module Stripe module Radar - class ValueListCreateParams < Stripe::RequestParams + class ValueListCreateParams < ::Stripe::RequestParams # The name of the value list for use in rules. sig { returns(String) } def alias; end @@ -146390,8 +147148,8 @@ module Stripe end # typed: true module Stripe - class RefundListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RefundListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146470,7 +147228,7 @@ module Stripe end # typed: true module Stripe - class RefundCreateParams < Stripe::RequestParams + class RefundCreateParams < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end @@ -146554,7 +147312,7 @@ module Stripe end # typed: true module Stripe - class RefundUpdateParams < Stripe::RequestParams + class RefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146575,7 +147333,7 @@ module Stripe end # typed: true module Stripe - class RefundCancelParams < Stripe::RequestParams + class RefundCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146587,7 +147345,7 @@ module Stripe end # typed: true module Stripe - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146600,8 +147358,8 @@ end # typed: true module Stripe module Reporting - class ReportRunListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReportRunListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146670,8 +147428,8 @@ end # typed: true module Stripe module Reporting - class ReportRunCreateParams < Stripe::RequestParams - class Parameters < Stripe::RequestParams + class ReportRunCreateParams < ::Stripe::RequestParams + class Parameters < ::Stripe::RequestParams # The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set. sig { returns(T.nilable(T::Array[String])) } def columns; end @@ -146753,7 +147511,7 @@ end # typed: true module Stripe module Reporting - class ReportTypeListParams < Stripe::RequestParams + class ReportTypeListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146766,8 +147524,8 @@ module Stripe end # typed: true module Stripe - class ReviewListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReviewListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146834,7 +147592,7 @@ module Stripe end # typed: true module Stripe - class ReviewApproveParams < Stripe::RequestParams + class ReviewApproveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -146846,8 +147604,8 @@ module Stripe end # typed: true module Stripe - class SetupAttemptListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupAttemptListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -146923,8 +147681,8 @@ module Stripe end # typed: true module Stripe - class SetupIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -147017,8 +147775,8 @@ module Stripe end # typed: true module Stripe - class SetupIntentCreateParams < Stripe::RequestParams - class AutomaticPaymentMethods < Stripe::RequestParams + class SetupIntentCreateParams < ::Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -147034,10 +147792,10 @@ module Stripe sig { params(allow_redirects: T.nilable(String), enabled: T::Boolean).void } def initialize(allow_redirects: nil, enabled: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(String) } def ip_address; end @@ -147094,8 +147852,8 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -147116,12 +147874,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -147135,7 +147893,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -147149,10 +147907,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -147229,8 +147987,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -147239,10 +147997,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -147251,7 +148009,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -147265,10 +148023,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -147277,7 +148035,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -147286,10 +148044,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -147318,13 +148076,13 @@ module Stripe sig { params(dob: T.nilable(SetupIntentCreateParams::PaymentMethodData::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -147333,7 +148091,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -147376,8 +148134,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -147386,12 +148144,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -147412,10 +148170,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -147424,8 +148182,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -147454,10 +148212,10 @@ module Stripe sig { params(dob: SetupIntentCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -147466,8 +148224,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -147476,7 +148234,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -147490,9 +148248,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -147529,8 +148287,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -148029,9 +148787,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -148096,9 +148854,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -148121,8 +148879,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -148191,9 +148949,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -148345,9 +149103,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -148384,8 +149142,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -148475,7 +149233,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -148484,7 +149242,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -148507,8 +149265,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -148571,8 +149329,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -148641,8 +149399,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -148665,9 +149423,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -148685,7 +149443,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -148742,7 +149500,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -148751,7 +149509,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -148906,7 +149664,7 @@ module Stripe us_bank_account: nil ); end end - class SingleUse < Stripe::RequestParams + class SingleUse < ::Stripe::RequestParams # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -148965,6 +149723,13 @@ module Stripe def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end + # The list of payment method types to exclude from use with this SetupIntent. + sig { returns(T.nilable(T::Array[String])) } + def excluded_payment_method_types; end + sig { + params(_excluded_payment_method_types: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def excluded_payment_method_types=(_excluded_payment_method_types); end # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -149055,7 +149820,7 @@ module Stripe sig { params(_use_stripe_sdk: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } def use_stripe_sdk=(_use_stripe_sdk); end sig { - params(attach_to_self: T.nilable(T::Boolean), automatic_payment_methods: T.nilable(SetupIntentCreateParams::AutomaticPaymentMethods), confirm: T.nilable(T::Boolean), confirmation_token: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), mandate_data: T.nilable(T.any(String, SetupIntentCreateParams::MandateData)), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentCreateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentCreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), return_url: T.nilable(String), single_use: T.nilable(SetupIntentCreateParams::SingleUse), usage: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void + params(attach_to_self: T.nilable(T::Boolean), automatic_payment_methods: T.nilable(SetupIntentCreateParams::AutomaticPaymentMethods), confirm: T.nilable(T::Boolean), confirmation_token: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), excluded_payment_method_types: T.nilable(T::Array[String]), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), mandate_data: T.nilable(T.any(String, SetupIntentCreateParams::MandateData)), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentCreateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentCreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), return_url: T.nilable(String), single_use: T.nilable(SetupIntentCreateParams::SingleUse), usage: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void } def initialize( attach_to_self: nil, @@ -149065,6 +149830,7 @@ module Stripe customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, mandate_data: nil, @@ -149084,9 +149850,9 @@ module Stripe end # typed: true module Stripe - class SetupIntentUpdateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class SetupIntentUpdateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -149107,12 +149873,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -149126,7 +149892,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -149140,10 +149906,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -149220,8 +149986,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -149230,10 +149996,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -149242,7 +150008,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -149256,10 +150022,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -149268,7 +150034,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -149277,10 +150043,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -149309,13 +150075,13 @@ module Stripe sig { params(dob: T.nilable(SetupIntentUpdateParams::PaymentMethodData::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -149324,7 +150090,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -149367,8 +150133,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -149377,12 +150143,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -149403,10 +150169,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -149415,8 +150181,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -149445,10 +150211,10 @@ module Stripe sig { params(dob: SetupIntentUpdateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -149457,8 +150223,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -149467,7 +150233,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -149481,9 +150247,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -149520,8 +150286,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentUpdateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -150020,9 +150786,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -150087,9 +150853,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -150112,8 +150878,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -150182,9 +150948,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -150336,9 +151102,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -150375,8 +151141,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -150466,7 +151232,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -150475,7 +151241,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -150498,8 +151264,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -150562,8 +151328,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -150632,8 +151398,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -150656,9 +151422,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -150676,7 +151442,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -150733,7 +151499,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -150742,7 +151508,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -150923,6 +151689,13 @@ module Stripe def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end + # The list of payment method types to exclude from use with this SetupIntent. + sig { returns(T.nilable(T.any(String, T::Array[String]))) } + def excluded_payment_method_types; end + sig { + params(_excluded_payment_method_types: T.nilable(T.any(String, T::Array[String]))).returns(T.nilable(T.any(String, T::Array[String]))) + } + def excluded_payment_method_types=(_excluded_payment_method_types); end # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -150977,13 +151750,14 @@ module Stripe } def payment_method_types=(_payment_method_types); end sig { - params(attach_to_self: T.nilable(T::Boolean), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentUpdateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentUpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String])).void + params(attach_to_self: T.nilable(T::Boolean), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), excluded_payment_method_types: T.nilable(T.any(String, T::Array[String])), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentUpdateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentUpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String])).void } def initialize( attach_to_self: nil, customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, metadata: nil, @@ -150997,7 +151771,7 @@ module Stripe end # typed: true module Stripe - class SetupIntentCancelParams < Stripe::RequestParams + class SetupIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate` sig { returns(T.nilable(String)) } def cancellation_reason; end @@ -151014,11 +151788,11 @@ module Stripe end # typed: true module Stripe - class SetupIntentConfirmParams < Stripe::RequestParams - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class SetupIntentConfirmParams < ::Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -151077,8 +151851,8 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -151099,12 +151873,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -151118,7 +151892,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -151132,10 +151906,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -151212,8 +151986,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -151222,10 +151996,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -151234,7 +152008,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -151248,10 +152022,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -151260,7 +152034,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -151269,10 +152043,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -151303,13 +152077,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -151318,7 +152092,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -151361,8 +152135,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -151371,12 +152145,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -151397,10 +152171,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -151409,8 +152183,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -151439,10 +152213,10 @@ module Stripe sig { params(dob: SetupIntentConfirmParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -151451,8 +152225,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -151461,7 +152235,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -151475,9 +152249,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -151514,8 +152288,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentConfirmParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -152014,9 +152788,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -152081,9 +152855,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -152106,8 +152880,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -152176,9 +152950,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -152330,9 +153104,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -152369,8 +153143,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -152460,7 +153234,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -152469,7 +153243,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -152492,8 +153266,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -152556,8 +153330,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -152626,8 +153400,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -152650,9 +153424,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -152670,7 +153444,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -152727,7 +153501,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -152736,7 +153510,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -152959,7 +153733,7 @@ module Stripe end # typed: true module Stripe - class SetupIntentVerifyMicrodepositsParams < Stripe::RequestParams + class SetupIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end @@ -152983,8 +153757,8 @@ module Stripe end # typed: true module Stripe - class ShippingRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ShippingRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -153063,9 +153837,9 @@ module Stripe end # typed: true module Stripe - class ShippingRateCreateParams < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingRateCreateParams < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -153079,7 +153853,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -153112,8 +153886,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -153214,9 +153988,9 @@ module Stripe end # typed: true module Stripe - class ShippingRateUpdateParams < Stripe::RequestParams - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class ShippingRateUpdateParams < ::Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(T.nilable(Integer)) } def amount; end @@ -153288,7 +154062,7 @@ end # typed: true module Stripe module Sigma - class ScheduledQueryRunListParams < Stripe::RequestParams + class ScheduledQueryRunListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -153318,10 +154092,10 @@ module Stripe end # typed: true module Stripe - class SourceUpdateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceUpdateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. sig { returns(String) } def contact_email; end @@ -153330,7 +154104,7 @@ module Stripe sig { params(contact_email: String).void } def initialize(contact_email: nil); end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. sig { returns(T.nilable(Integer)) } def date; end @@ -153443,8 +154217,8 @@ module Stripe notification_method: nil ); end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -153514,8 +154288,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end @@ -153558,8 +154332,8 @@ module Stripe type: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -153706,10 +154480,10 @@ module Stripe end # typed: true module Stripe - class SourceCreateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceCreateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. sig { returns(String) } def contact_email; end @@ -153718,7 +154492,7 @@ module Stripe sig { params(contact_email: String).void } def initialize(contact_email: nil); end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. sig { returns(T.nilable(Integer)) } def date; end @@ -153831,8 +154605,8 @@ module Stripe notification_method: nil ); end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -153902,7 +154676,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Receiver < Stripe::RequestParams + class Receiver < ::Stripe::RequestParams # The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required. sig { returns(T.nilable(String)) } def refund_attributes_method; end @@ -153911,7 +154685,7 @@ module Stripe sig { params(refund_attributes_method: T.nilable(String)).void } def initialize(refund_attributes_method: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application. sig { returns(String) } def return_url; end @@ -153920,8 +154694,8 @@ module Stripe sig { params(return_url: String).void } def initialize(return_url: nil); end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end @@ -153964,8 +154738,8 @@ module Stripe type: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -154176,7 +154950,7 @@ module Stripe end # typed: true module Stripe - class SourceVerifyParams < Stripe::RequestParams + class SourceVerifyParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -154193,7 +154967,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionItemDeleteParams < Stripe::RequestParams + class SubscriptionItemDeleteParams < ::Stripe::RequestParams # Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`. sig { returns(T.nilable(T::Boolean)) } def clear_usage; end @@ -154217,8 +154991,8 @@ module Stripe end # typed: true module Stripe - class SubscriptionItemUpdateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemUpdateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -154227,9 +155001,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -154292,8 +155066,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -154454,7 +155228,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionItemListParams < Stripe::RequestParams + class SubscriptionItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -154494,8 +155268,8 @@ module Stripe end # typed: true module Stripe - class SubscriptionItemCreateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemCreateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -154504,9 +155278,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -154569,8 +155343,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -154628,7 +155402,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -154753,8 +155527,8 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleListParams < Stripe::RequestParams - class CanceledAt < Stripe::RequestParams + class SubscriptionScheduleListParams < ::Stripe::RequestParams + class CanceledAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -154780,7 +155554,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CompletedAt < Stripe::RequestParams + class CompletedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -154806,7 +155580,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -154832,7 +155606,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class ReleasedAt < Stripe::RequestParams + class ReleasedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -154941,9 +155715,9 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleCreateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionScheduleCreateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -154969,9 +155743,9 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -155004,7 +155778,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -155022,8 +155796,8 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -155063,7 +155837,7 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -155155,11 +155929,11 @@ module Stripe transfer_data: nil ); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -155226,8 +156000,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -155241,7 +156015,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -155274,7 +156048,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -155373,8 +156147,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -155405,7 +156179,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -155423,9 +156197,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -155490,7 +156264,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -155504,8 +156278,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -155543,8 +156317,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -155553,9 +156327,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -155622,8 +156396,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -155681,7 +156455,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -155773,7 +156547,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -155782,7 +156556,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -155796,8 +156570,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -155998,7 +156772,7 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -156105,10 +156879,10 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleUpdateParams < Stripe::RequestParams - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SubscriptionScheduleUpdateParams < ::Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -156141,7 +156915,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -156159,8 +156933,8 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -156200,7 +156974,7 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -156292,11 +157066,11 @@ module Stripe transfer_data: nil ); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -156363,8 +157137,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -156378,7 +157152,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -156411,7 +157185,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -156510,8 +157284,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -156542,7 +157316,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -156560,9 +157334,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -156627,7 +157401,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -156641,8 +157415,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -156680,8 +157454,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -156690,9 +157464,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -156759,8 +157533,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -156818,7 +157592,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -156910,7 +157684,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -156919,7 +157693,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -156933,8 +157707,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -157147,7 +157921,7 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -157226,10 +158000,10 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleAmendParams < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class SubscriptionScheduleAmendParams < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -157238,7 +158012,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -157285,8 +158059,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. sig { returns(Integer) } def index; end @@ -157295,7 +158069,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -157337,9 +158111,9 @@ module Stripe } def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -157388,7 +158162,7 @@ module Stripe promotion_code: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -157409,7 +158183,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -157463,11 +158237,11 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -157534,7 +158308,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -157604,7 +158378,7 @@ module Stripe trial: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -157613,10 +158387,10 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -157683,7 +158457,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -157784,7 +158558,7 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. sig { returns(T.nilable(T::Hash[String, String])) } def add; end @@ -157814,8 +158588,8 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -157843,8 +158617,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -157951,9 +158725,9 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class AmendmentStart < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams # The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -157986,8 +158760,8 @@ module Stripe } def initialize(amendment_start: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -157996,7 +158770,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158070,7 +158844,7 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil, invoice_at: nil, update_behavior: nil); end end - class ScheduleSettings < Stripe::RequestParams + class ScheduleSettings < ::Stripe::RequestParams # Behavior of the subscription schedule and underlying subscription when it ends. sig { returns(T.nilable(String)) } def end_behavior; end @@ -158125,7 +158899,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleCancelParams < Stripe::RequestParams + class SubscriptionScheduleCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -158149,7 +158923,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleReleaseParams < Stripe::RequestParams + class SubscriptionScheduleReleaseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -158168,8 +158942,8 @@ module Stripe end # typed: true module Stripe - class SubscriptionCancelParams < Stripe::RequestParams - class CancellationDetails < Stripe::RequestParams + class SubscriptionCancelParams < ::Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end @@ -158215,11 +158989,11 @@ module Stripe end # typed: true module Stripe - class SubscriptionUpdateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionUpdateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158284,8 +159058,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -158299,7 +159073,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -158332,7 +159106,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -158427,8 +159201,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -158459,8 +159233,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -158474,8 +159248,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158535,7 +159309,7 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -158553,7 +159327,7 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class CancellationDetails < Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end @@ -158569,9 +159343,9 @@ module Stripe sig { params(comment: T.nilable(String), feedback: T.nilable(T.any(String, String))).void } def initialize(comment: nil, feedback: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158634,8 +159408,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -158668,8 +159442,8 @@ module Stripe } def initialize(account_tax_ids: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -158678,9 +159452,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158745,8 +159519,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -158886,7 +159660,7 @@ module Stripe tax_rates: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -158900,10 +159674,10 @@ module Stripe sig { params(behavior: String, resumes_at: T.nilable(Integer)).void } def initialize(behavior: nil, resumes_at: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -158931,7 +159705,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -158940,8 +159714,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -158986,9 +159760,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -159035,10 +159809,10 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -159083,9 +159857,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -159125,9 +159899,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -159326,7 +160100,7 @@ module Stripe save_default_payment_method: nil ); end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -159340,7 +160114,7 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -159354,7 +160128,7 @@ module Stripe sig { params(iterations: Integer, update_behavior: T.nilable(String)).void } def initialize(iterations: nil, update_behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -159368,8 +160142,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -159645,12 +160419,12 @@ module Stripe end # typed: true module Stripe - class SubscriptionDeleteDiscountParams < Stripe::RequestParams; end + class SubscriptionDeleteDiscountParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class SubscriptionListParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class SubscriptionListParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription. sig { returns(T::Boolean) } def enabled; end @@ -159659,7 +160433,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -159685,7 +160459,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CurrentPeriodEnd < Stripe::RequestParams + class CurrentPeriodEnd < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -159711,7 +160485,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CurrentPeriodStart < Stripe::RequestParams + class CurrentPeriodStart < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -159844,11 +160618,11 @@ module Stripe end # typed: true module Stripe - class SubscriptionCreateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionCreateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -159913,8 +160687,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -159928,7 +160702,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -159961,7 +160735,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -160056,8 +160830,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -160088,7 +160862,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingCycleAnchorConfig < Stripe::RequestParams + class BillingCycleAnchorConfig < ::Stripe::RequestParams # The day of the month the anchor should be. Ranges from 1 to 31. sig { returns(Integer) } def day_of_month; end @@ -160119,8 +160893,8 @@ module Stripe } def initialize(day_of_month: nil, hour: nil, minute: nil, month: nil, second: nil); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -160146,8 +160920,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -160161,8 +160935,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -160222,7 +160996,7 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -160240,9 +161014,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -160305,8 +161079,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -160339,8 +161113,8 @@ module Stripe } def initialize(account_tax_ids: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -160349,9 +161123,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -160416,8 +161190,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -160475,7 +161249,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -160563,10 +161337,10 @@ module Stripe trial: nil ); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -160594,7 +161368,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -160603,8 +161377,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -160649,9 +161423,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -160698,10 +161472,10 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -160746,9 +161520,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -160788,9 +161562,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -160989,7 +161763,7 @@ module Stripe save_default_payment_method: nil ); end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -161003,7 +161777,7 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -161017,7 +161791,7 @@ module Stripe sig { params(iterations: Integer, update_behavior: T.nilable(String)).void } def initialize(iterations: nil, update_behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -161031,8 +161805,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -161336,7 +162110,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionSearchParams < Stripe::RequestParams + class SubscriptionSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -161365,7 +162139,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionAttachCadenceParams < Stripe::RequestParams + class SubscriptionAttachCadenceParams < ::Stripe::RequestParams # The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence. sig { returns(String) } def billing_cadence; end @@ -161382,9 +162156,9 @@ module Stripe end # typed: true module Stripe - class SubscriptionMigrateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionMigrateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -161430,7 +162204,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionResumeParams < Stripe::RequestParams + class SubscriptionResumeParams < ::Stripe::RequestParams # The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). sig { returns(T.nilable(String)) } def billing_cycle_anchor; end @@ -161465,7 +162239,7 @@ end # typed: true module Stripe module Tax - class CalculationListLineItemsParams < Stripe::RequestParams + class CalculationListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -161496,9 +162270,9 @@ end # typed: true module Stripe module Tax - class CalculationCreateParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CalculationCreateParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -161541,7 +162315,7 @@ module Stripe state: nil ); end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -161595,7 +162369,7 @@ module Stripe taxability_override: nil ); end end - class LineItem < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). # If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. sig { returns(Integer) } @@ -161647,8 +162421,8 @@ module Stripe tax_code: nil ); end end - class ShipFromDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShipFromDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -161701,7 +162475,7 @@ module Stripe sig { params(address: Tax::CalculationCreateParams::ShipFromDetails::Address).void } def initialize(address: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -161794,8 +162568,8 @@ end # typed: true module Stripe module Tax - class FormListParams < Stripe::RequestParams - class Payee < Stripe::RequestParams + class FormListParams < ::Stripe::RequestParams + class Payee < ::Stripe::RequestParams # The ID of the Stripe account whose forms will be retrieved. sig { returns(T.nilable(String)) } def account; end @@ -161863,7 +162637,7 @@ end # typed: true module Stripe module Tax - class FormPdfParams < Stripe::RequestParams + class FormPdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -161877,7 +162651,7 @@ end # typed: true module Stripe module Tax - class RegistrationListParams < Stripe::RequestParams + class RegistrationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -161919,10 +162693,10 @@ end # typed: true module Stripe module Tax - class RegistrationCreateParams < Stripe::RequestParams - class CountryOptions < Stripe::RequestParams - class Ae < Stripe::RequestParams - class Standard < Stripe::RequestParams + class RegistrationCreateParams < ::Stripe::RequestParams + class CountryOptions < ::Stripe::RequestParams + class Ae < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -161948,8 +162722,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Al < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Al < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -161975,7 +162749,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Am < Stripe::RequestParams + class Am < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -161984,8 +162758,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ao < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ao < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162011,8 +162785,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class At < Stripe::RequestParams - class Standard < Stripe::RequestParams + class At < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162038,8 +162812,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Au < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Au < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162065,8 +162839,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Aw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Aw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162092,7 +162866,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Az < Stripe::RequestParams + class Az < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162101,8 +162875,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ba < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ba < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162128,8 +162902,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162155,8 +162929,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162182,8 +162956,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Be < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Be < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162209,8 +162983,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bf < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bf < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162236,8 +163010,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162263,8 +163037,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bh < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bh < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162290,7 +163064,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bj < Stripe::RequestParams + class Bj < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162299,8 +163073,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Bs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162326,7 +163100,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class By < Stripe::RequestParams + class By < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162335,8 +163109,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ca < Stripe::RequestParams - class ProvinceStandard < Stripe::RequestParams + class Ca < ::Stripe::RequestParams + class ProvinceStandard < ::Stripe::RequestParams # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). sig { returns(String) } def province; end @@ -162364,8 +163138,8 @@ module Stripe } def initialize(province_standard: nil, type: nil); end end - class Cd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162391,8 +163165,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ch < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ch < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162418,7 +163192,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Cl < Stripe::RequestParams + class Cl < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162427,7 +163201,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cm < Stripe::RequestParams + class Cm < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162436,7 +163210,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Co < Stripe::RequestParams + class Co < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162445,7 +163219,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cr < Stripe::RequestParams + class Cr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162454,7 +163228,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cv < Stripe::RequestParams + class Cv < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162463,8 +163237,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162490,8 +163264,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Cz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162517,8 +163291,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class De < Stripe::RequestParams - class Standard < Stripe::RequestParams + class De < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162544,8 +163318,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Dk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Dk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162571,7 +163345,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ec < Stripe::RequestParams + class Ec < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162580,8 +163354,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ee < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ee < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162607,7 +163381,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Eg < Stripe::RequestParams + class Eg < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162616,8 +163390,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Es < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Es < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162643,8 +163417,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Et < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Et < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162670,8 +163444,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Fi < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fi < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162697,8 +163471,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Fr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162724,8 +163498,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Gb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162751,7 +163525,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ge < Stripe::RequestParams + class Ge < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162760,8 +163534,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Gn < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gn < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162787,8 +163561,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Gr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162814,8 +163588,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Hr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162841,8 +163615,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Hu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162868,7 +163642,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Id < Stripe::RequestParams + class Id < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162877,8 +163651,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ie < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ie < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162904,7 +163678,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class In < Stripe::RequestParams + class In < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -162913,8 +163687,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Is < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Is < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162940,8 +163714,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class It < Stripe::RequestParams - class Standard < Stripe::RequestParams + class It < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -162967,8 +163741,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Jp < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Jp < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -162994,7 +163768,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ke < Stripe::RequestParams + class Ke < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163003,7 +163777,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kg < Stripe::RequestParams + class Kg < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163012,7 +163786,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kh < Stripe::RequestParams + class Kh < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163021,7 +163795,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kr < Stripe::RequestParams + class Kr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163030,7 +163804,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kz < Stripe::RequestParams + class Kz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163039,7 +163813,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class La < Stripe::RequestParams + class La < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163048,8 +163822,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Lt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163075,8 +163849,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Lu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163102,8 +163876,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Lv < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lv < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163129,7 +163903,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ma < Stripe::RequestParams + class Ma < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163138,7 +163912,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Md < Stripe::RequestParams + class Md < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163147,8 +163921,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Me < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Me < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163174,8 +163948,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163201,8 +163975,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163228,8 +164002,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163255,7 +164029,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mx < Stripe::RequestParams + class Mx < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163264,7 +164038,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class My < Stripe::RequestParams + class My < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163273,7 +164047,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ng < Stripe::RequestParams + class Ng < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163282,8 +164056,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Nl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163309,8 +164083,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class No < Stripe::RequestParams - class Standard < Stripe::RequestParams + class No < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163336,7 +164110,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Np < Stripe::RequestParams + class Np < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163345,8 +164119,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Nz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163372,8 +164146,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Om < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Om < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163399,7 +164173,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Pe < Stripe::RequestParams + class Pe < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163408,7 +164182,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ph < Stripe::RequestParams + class Ph < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163417,8 +164191,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Pl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163444,8 +164218,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Pt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163471,8 +164245,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ro < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ro < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163498,8 +164272,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Rs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Rs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163525,7 +164299,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ru < Stripe::RequestParams + class Ru < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163534,7 +164308,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Sa < Stripe::RequestParams + class Sa < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163543,8 +164317,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Se < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Se < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163570,8 +164344,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163597,8 +164371,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Si < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Si < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163624,8 +164398,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -163651,7 +164425,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sn < Stripe::RequestParams + class Sn < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163660,8 +164434,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Sr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163687,7 +164461,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Th < Stripe::RequestParams + class Th < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163696,7 +164470,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tj < Stripe::RequestParams + class Tj < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163705,7 +164479,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tr < Stripe::RequestParams + class Tr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163714,7 +164488,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tz < Stripe::RequestParams + class Tz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163723,7 +164497,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ua < Stripe::RequestParams + class Ua < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163732,7 +164506,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ug < Stripe::RequestParams + class Ug < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163741,8 +164515,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Us < Stripe::RequestParams - class LocalAmusementTax < Stripe::RequestParams + class Us < ::Stripe::RequestParams + class LocalAmusementTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park). sig { returns(String) } def jurisdiction; end @@ -163751,7 +164525,7 @@ module Stripe sig { params(jurisdiction: String).void } def initialize(jurisdiction: nil); end end - class LocalLeaseTax < Stripe::RequestParams + class LocalLeaseTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago). sig { returns(String) } def jurisdiction; end @@ -163760,8 +164534,8 @@ module Stripe sig { params(jurisdiction: String).void } def initialize(jurisdiction: nil); end end - class StateSalesTax < Stripe::RequestParams - class Election < Stripe::RequestParams + class StateSalesTax < ::Stripe::RequestParams + class Election < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City). sig { returns(T.nilable(String)) } def jurisdiction; end @@ -163837,8 +164611,8 @@ module Stripe type: nil ); end end - class Uy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Uy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163864,7 +164638,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Uz < Stripe::RequestParams + class Uz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163873,7 +164647,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Vn < Stripe::RequestParams + class Vn < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163882,8 +164656,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Za < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Za < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -163909,7 +164683,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Zm < Stripe::RequestParams + class Zm < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -163918,8 +164692,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Zw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Zw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -164786,7 +165560,7 @@ end # typed: true module Stripe module Tax - class RegistrationUpdateParams < Stripe::RequestParams + class RegistrationUpdateParams < ::Stripe::RequestParams # Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch. sig { returns(T.nilable(T.any(String, Integer))) } def active_from; end @@ -164816,8 +165590,8 @@ end # typed: true module Stripe module Tax - class SettingsUpdateParams < Stripe::RequestParams - class Defaults < Stripe::RequestParams + class SettingsUpdateParams < ::Stripe::RequestParams + class Defaults < ::Stripe::RequestParams # Specifies the default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null. sig { returns(T.nilable(String)) } def tax_behavior; end @@ -164831,8 +165605,8 @@ module Stripe sig { params(tax_behavior: T.nilable(String), tax_code: T.nilable(String)).void } def initialize(tax_behavior: nil, tax_code: nil); end end - class HeadOffice < Stripe::RequestParams - class Address < Stripe::RequestParams + class HeadOffice < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -164914,7 +165688,7 @@ end # typed: true module Stripe module Tax - class TransactionListLineItemsParams < Stripe::RequestParams + class TransactionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -164945,7 +165719,7 @@ end # typed: true module Stripe module Tax - class TransactionCreateFromCalculationParams < Stripe::RequestParams + class TransactionCreateFromCalculationParams < ::Stripe::RequestParams # Tax Calculation ID to be used as input when creating the transaction. sig { returns(String) } def calculation; end @@ -164989,8 +165763,8 @@ end # typed: true module Stripe module Tax - class TransactionCreateReversalParams < Stripe::RequestParams - class LineItem < Stripe::RequestParams + class TransactionCreateReversalParams < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. sig { returns(Integer) } def amount; end @@ -165035,7 +165809,7 @@ module Stripe reference: nil ); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. sig { returns(Integer) } def amount; end @@ -165113,7 +165887,7 @@ module Stripe end # typed: true module Stripe - class TaxCodeListParams < Stripe::RequestParams + class TaxCodeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -165142,12 +165916,12 @@ module Stripe end # typed: true module Stripe - class TaxIdDeleteParams < Stripe::RequestParams; end + class TaxIdDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class TaxIdListParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdListParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` sig { returns(T.nilable(String)) } def account; end @@ -165214,8 +165988,8 @@ module Stripe end # typed: true module Stripe - class TaxIdCreateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdCreateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` sig { returns(T.nilable(String)) } def account; end @@ -165271,8 +166045,8 @@ module Stripe end # typed: true module Stripe - class TaxRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TaxRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -165351,7 +166125,7 @@ module Stripe end # typed: true module Stripe - class TaxRateCreateParams < Stripe::RequestParams + class TaxRateCreateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -165429,7 +166203,7 @@ module Stripe end # typed: true module Stripe - class TaxRateUpdateParams < Stripe::RequestParams + class TaxRateUpdateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -165496,14 +166270,14 @@ end # typed: true module Stripe module Terminal - class ConfigurationDeleteParams < Stripe::RequestParams; end + class ConfigurationDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module Terminal - class ConfigurationUpdateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -165512,7 +166286,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader sig { returns(T.nilable(String)) } def splashscreen; end @@ -165521,7 +166295,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T::Boolean) } def enabled; end @@ -165530,7 +166304,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. sig { returns(T.nilable(String)) } def admin_menu_passcode; end @@ -165539,7 +166313,7 @@ module Stripe sig { params(admin_menu_passcode: T.nilable(String)).void } def initialize(admin_menu_passcode: nil); end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -165553,7 +166327,7 @@ module Stripe sig { params(end_hour: Integer, start_hour: Integer).void } def initialize(end_hour: nil, start_hour: nil); end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -165562,8 +166336,33 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + sig { + params(_fixed_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def fixed_amounts=(_fixed_amounts); end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + sig { + params(_percentages: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def percentages=(_percentages); end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + sig { params(_smart_tip_threshold: T.nilable(Integer)).returns(T.nilable(Integer)) } + def smart_tip_threshold=(_smart_tip_threshold); end + sig { + params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void + } + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end + end + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165588,7 +166387,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Aud < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165613,7 +166412,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Bgn < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165638,7 +166437,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Cad < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165663,7 +166462,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Chf < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165688,7 +166487,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Czk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165713,7 +166512,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Dkk < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165738,7 +166537,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Eur < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165763,7 +166562,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Gbp < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165788,7 +166587,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Hkd < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165813,7 +166612,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Huf < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165838,7 +166637,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Jpy < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165863,7 +166662,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Mxn < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165888,7 +166687,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Myr < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165913,7 +166712,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nok < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165938,7 +166737,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nzd < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165963,7 +166762,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Pln < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165988,7 +166787,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Ron < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166013,7 +166812,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sek < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166038,7 +166837,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sgd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166063,7 +166862,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Usd < Stripe::RequestParams + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166151,6 +166950,13 @@ module Stripe params(_gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp)).returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp)) } def gbp=(_gbp); end + # Tipping configuration for GIP + sig { returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)) } + def gip; end + sig { + params(_gip: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)).returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)) + } + def gip=(_gip); end # Tipping configuration for HKD sig { returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd)) } def hkd; end @@ -166236,7 +167042,7 @@ module Stripe } def usd=(_usd); end sig { - params(aed: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp), hkd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Usd)).void + params(aed: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp), gip: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip), hkd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Usd)).void } def initialize( aed: nil, @@ -166248,6 +167054,7 @@ module Stripe dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -166262,7 +167069,7 @@ module Stripe usd: nil ); end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -166271,8 +167078,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -166298,7 +167105,7 @@ module Stripe } def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -166335,7 +167142,7 @@ module Stripe ssid: nil ); end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network sig { returns(String) } def password; end @@ -166480,7 +167287,7 @@ end # typed: true module Stripe module Terminal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -166522,8 +167329,8 @@ end # typed: true module Stripe module Terminal - class ConfigurationCreateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -166532,7 +167339,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader sig { returns(T.nilable(String)) } def splashscreen; end @@ -166541,7 +167348,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T::Boolean) } def enabled; end @@ -166550,7 +167357,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. sig { returns(T.nilable(String)) } def admin_menu_passcode; end @@ -166559,7 +167366,7 @@ module Stripe sig { params(admin_menu_passcode: T.nilable(String)).void } def initialize(admin_menu_passcode: nil); end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -166573,7 +167380,7 @@ module Stripe sig { params(end_hour: Integer, start_hour: Integer).void } def initialize(end_hour: nil, start_hour: nil); end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -166582,8 +167389,33 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + sig { + params(_fixed_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def fixed_amounts=(_fixed_amounts); end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + sig { + params(_percentages: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def percentages=(_percentages); end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + sig { params(_smart_tip_threshold: T.nilable(Integer)).returns(T.nilable(Integer)) } + def smart_tip_threshold=(_smart_tip_threshold); end + sig { + params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void + } + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end + end + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166608,7 +167440,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Aud < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166633,7 +167465,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Bgn < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166658,7 +167490,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Cad < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166683,7 +167515,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Chf < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166708,7 +167540,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Czk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166733,7 +167565,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Dkk < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166758,7 +167590,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Eur < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166783,7 +167615,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Gbp < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166808,7 +167640,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Hkd < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166833,7 +167665,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Huf < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166858,7 +167690,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Jpy < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166883,7 +167715,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Mxn < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166908,7 +167740,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Myr < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166933,7 +167765,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nok < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166958,7 +167790,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nzd < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -166983,7 +167815,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Pln < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -167008,7 +167840,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Ron < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -167033,7 +167865,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sek < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -167058,7 +167890,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sgd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -167083,7 +167915,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Usd < Stripe::RequestParams + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -167171,6 +168003,13 @@ module Stripe params(_gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp)).returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp)) } def gbp=(_gbp); end + # Tipping configuration for GIP + sig { returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)) } + def gip; end + sig { + params(_gip: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)).returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)) + } + def gip=(_gip); end # Tipping configuration for HKD sig { returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd)) } def hkd; end @@ -167256,7 +168095,7 @@ module Stripe } def usd=(_usd); end sig { - params(aed: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp), hkd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Usd)).void + params(aed: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp), gip: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip), hkd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Usd)).void } def initialize( aed: nil, @@ -167268,6 +168107,7 @@ module Stripe dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -167282,7 +168122,7 @@ module Stripe usd: nil ); end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -167291,8 +168131,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -167318,7 +168158,7 @@ module Stripe } def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -167355,7 +168195,7 @@ module Stripe ssid: nil ); end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network sig { returns(String) } def password; end @@ -167500,7 +168340,7 @@ end # typed: true module Stripe module Terminal - class ConnectionTokenCreateParams < Stripe::RequestParams + class ConnectionTokenCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -167519,14 +168359,14 @@ end # typed: true module Stripe module Terminal - class LocationDeleteParams < Stripe::RequestParams; end + class LocationDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module Terminal - class LocationUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -167569,7 +168409,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -167618,7 +168458,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -167746,7 +168586,7 @@ end # typed: true module Stripe module Terminal - class LocationListParams < Stripe::RequestParams + class LocationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -167777,8 +168617,8 @@ end # typed: true module Stripe module Terminal - class LocationCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -167821,7 +168661,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -167870,7 +168710,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -167998,9 +168838,9 @@ end # typed: true module Stripe module Terminal - class OnboardingLinkCreateParams < Stripe::RequestParams - class LinkOptions < Stripe::RequestParams - class AppleTermsAndConditions < Stripe::RequestParams + class OnboardingLinkCreateParams < ::Stripe::RequestParams + class LinkOptions < ::Stripe::RequestParams + class AppleTermsAndConditions < ::Stripe::RequestParams # Whether the link should also support users relinking their Apple account. sig { returns(T.nilable(T::Boolean)) } def allow_relinking; end @@ -168060,13 +168900,13 @@ end # typed: true module Stripe module Terminal - class ReaderDeleteParams < Stripe::RequestParams; end + class ReaderDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module Terminal - class ReaderUpdateParams < Stripe::RequestParams + class ReaderUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168094,7 +168934,7 @@ end # typed: true module Stripe module Terminal - class ReaderListParams < Stripe::RequestParams + class ReaderListParams < ::Stripe::RequestParams # Filters readers by device type sig { returns(T.nilable(String)) } def device_type; end @@ -168154,7 +168994,7 @@ end # typed: true module Stripe module Terminal - class ReaderCreateParams < Stripe::RequestParams + class ReaderCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168198,7 +169038,7 @@ end # typed: true module Stripe module Terminal - class ReaderCancelActionParams < Stripe::RequestParams + class ReaderCancelActionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168212,20 +169052,20 @@ end # typed: true module Stripe module Terminal - class ReaderCollectInputsParams < Stripe::RequestParams - class Input < Stripe::RequestParams - class CustomText < Stripe::RequestParams + class ReaderCollectInputsParams < ::Stripe::RequestParams + class Input < ::Stripe::RequestParams + class CustomText < ::Stripe::RequestParams # The description which will be displayed when collecting this input sig { returns(T.nilable(String)) } def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end - # The skip button text + # Custom text for the skip button. Maximum 14 characters. sig { returns(T.nilable(String)) } def skip_button; end sig { params(_skip_button: T.nilable(String)).returns(T.nilable(String)) } def skip_button=(_skip_button); end - # The submit button text + # Custom text for the submit button. Maximum 30 characters. sig { returns(T.nilable(String)) } def submit_button; end sig { params(_submit_button: T.nilable(String)).returns(T.nilable(String)) } @@ -168240,14 +169080,14 @@ module Stripe } def initialize(description: nil, skip_button: nil, submit_button: nil, title: nil); end end - class Selection < Stripe::RequestParams - class Choice < Stripe::RequestParams + class Selection < ::Stripe::RequestParams + class Choice < ::Stripe::RequestParams # The unique identifier for this choice sig { returns(String) } def id; end sig { params(_id: String).returns(String) } def id=(_id); end - # The style of the button which will be shown for this choice + # The style of the button which will be shown for this choice. Can be `primary` or `secondary`. sig { returns(T.nilable(String)) } def style; end sig { params(_style: T.nilable(String)).returns(T.nilable(String)) } @@ -168272,18 +169112,18 @@ module Stripe } def initialize(choices: nil); end end - class Toggle < Stripe::RequestParams - # The default value of the toggle + class Toggle < ::Stripe::RequestParams + # The default value of the toggle. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def default_value; end sig { params(_default_value: T.nilable(String)).returns(T.nilable(String)) } def default_value=(_default_value); end - # The description which will be displayed for the toggle + # The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. sig { returns(T.nilable(String)) } def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end - # The title which will be displayed for the toggle + # The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. sig { returns(T.nilable(String)) } def title; end sig { params(_title: T.nilable(String)).returns(T.nilable(String)) } @@ -168340,7 +169180,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # List of inputs to be collected using the Reader + # List of inputs to be collected from the customer using the Reader. Maximum 5 inputs. sig { returns(T::Array[Terminal::ReaderCollectInputsParams::Input]) } def inputs; end sig { @@ -168364,9 +169204,9 @@ end # typed: true module Stripe module Terminal - class ReaderCollectPaymentMethodParams < Stripe::RequestParams - class CollectConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderCollectPaymentMethodParams < ::Stripe::RequestParams + class CollectConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -168411,7 +169251,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides. + # Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderCollectPaymentMethodParams::CollectConfig)) } def collect_config; end sig { @@ -168423,7 +169263,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID. + # The ID of the PaymentIntent to collect a payment method for. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } @@ -168438,8 +169278,8 @@ end # typed: true module Stripe module Terminal - class ReaderConfirmPaymentIntentParams < Stripe::RequestParams - class ConfirmConfig < Stripe::RequestParams + class ReaderConfirmPaymentIntentParams < ::Stripe::RequestParams + class ConfirmConfig < ::Stripe::RequestParams # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. sig { returns(T.nilable(String)) } def return_url; end @@ -168448,7 +169288,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides. + # Configuration overrides for this confirmation, such as surcharge settings and return URL. sig { returns(T.nilable(Terminal::ReaderConfirmPaymentIntentParams::ConfirmConfig)) } def confirm_config; end sig { @@ -168460,7 +169300,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID. + # The ID of the PaymentIntent to confirm. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } @@ -168475,9 +169315,9 @@ end # typed: true module Stripe module Terminal - class ReaderProcessPaymentIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderProcessPaymentIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -168533,12 +169373,12 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID + # The ID of the PaymentIntent to process on the reader. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } def payment_intent=(_payment_intent); end - # Configuration overrides + # Configuration overrides for this transaction, such as tipping and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderProcessPaymentIntentParams::ProcessConfig)) } def process_config; end sig { @@ -168555,8 +169395,8 @@ end # typed: true module Stripe module Terminal - class ReaderProcessSetupIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams + class ReaderProcessSetupIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -168577,14 +169417,14 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # Configuration overrides + # Configuration overrides for this setup, such as MOTO and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)) } def process_config; end sig { params(_process_config: T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)).returns(T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)) } def process_config=(_process_config); end - # SetupIntent ID + # The ID of the SetupIntent to process on the reader. sig { returns(String) } def setup_intent; end sig { params(_setup_intent: String).returns(String) } @@ -168599,8 +169439,8 @@ end # typed: true module Stripe module Terminal - class ReaderRefundPaymentParams < Stripe::RequestParams - class RefundPaymentConfig < Stripe::RequestParams + class ReaderRefundPaymentParams < ::Stripe::RequestParams + class RefundPaymentConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -168643,7 +169483,7 @@ module Stripe def refund_application_fee; end sig { params(_refund_application_fee: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } def refund_application_fee=(_refund_application_fee); end - # Configuration overrides + # Configuration overrides for this refund, such as customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderRefundPaymentParams::RefundPaymentConfig)) } def refund_payment_config; end sig { @@ -168674,10 +169514,10 @@ end # typed: true module Stripe module Terminal - class ReaderSetReaderDisplayParams < Stripe::RequestParams - class Cart < Stripe::RequestParams - class LineItem < Stripe::RequestParams - # The price of the item in cents. + class ReaderSetReaderDisplayParams < ::Stripe::RequestParams + class Cart < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + # The price of the item in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end sig { params(_amount: Integer).returns(Integer) } @@ -168700,19 +169540,19 @@ module Stripe def currency; end sig { params(_currency: String).returns(String) } def currency=(_currency); end - # Array of line items that were purchased. + # Array of line items to display. sig { returns(T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]) } def line_items; end sig { params(_line_items: T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]).returns(T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]) } def line_items=(_line_items); end - # The amount of tax in cents. + # The amount of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(T.nilable(Integer)) } def tax; end sig { params(_tax: T.nilable(Integer)).returns(T.nilable(Integer)) } def tax=(_tax); end - # Total balance of cart due in cents. + # Total balance of cart due in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def total; end sig { params(_total: Integer).returns(Integer) } @@ -168722,7 +169562,7 @@ module Stripe } def initialize(currency: nil, line_items: nil, tax: nil, total: nil); end end - # Cart + # Cart details to display on the reader screen, including line items, amounts, and currency. sig { returns(T.nilable(Terminal::ReaderSetReaderDisplayParams::Cart)) } def cart; end sig { @@ -168734,7 +169574,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # Type + # Type of information to display. Only `cart` is currently supported. sig { returns(String) } def type; end sig { params(_type: String).returns(String) } @@ -168749,8 +169589,8 @@ end # typed: true module Stripe module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. sig { returns(T.nilable(String)) } def cvc; end @@ -168776,7 +169616,7 @@ module Stripe } def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. sig { returns(T.nilable(String)) } def number; end @@ -168785,8 +169625,8 @@ module Stripe sig { params(number: T.nilable(String)).void } def initialize(number: nil); end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. sig { returns(T.nilable(String)) } def number; end sig { params(_number: T.nilable(String)).returns(T.nilable(String)) } @@ -168847,7 +169687,7 @@ end # typed: true module Stripe module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168868,7 +169708,7 @@ end # typed: true module Stripe module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168882,13 +169722,13 @@ end # typed: true module Stripe module TestHelpers - class TestClockDeleteParams < Stripe::RequestParams; end + class TestClockDeleteParams < ::Stripe::RequestParams; end end end # typed: true module Stripe module TestHelpers - class TestClockListParams < Stripe::RequestParams + class TestClockListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -168919,7 +169759,7 @@ end # typed: true module Stripe module TestHelpers - class TestClockCreateParams < Stripe::RequestParams + class TestClockCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168945,7 +169785,7 @@ end # typed: true module Stripe module TestHelpers - class TestClockAdvanceParams < Stripe::RequestParams + class TestClockAdvanceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -168963,10 +169803,10 @@ module Stripe end # typed: true module Stripe - class TokenCreateParams < Stripe::RequestParams - class Account < Stripe::RequestParams - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class TokenCreateParams < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -169009,7 +169849,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -169058,7 +169898,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -169107,7 +169947,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -169128,7 +169968,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -169149,7 +169989,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -169168,8 +170008,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -169303,6 +170164,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)).returns(T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -169333,7 +170201,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(TokenCreateParams::Account::Company::Address), address_kana: T.nilable(TokenCreateParams::Account::Company::AddressKana), address_kanji: T.nilable(TokenCreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(TokenCreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(TokenCreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, TokenCreateParams::Account::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(TokenCreateParams::Account::Company::Verification)).void + params(address: T.nilable(TokenCreateParams::Account::Company::Address), address_kana: T.nilable(TokenCreateParams::Account::Company::AddressKana), address_kanji: T.nilable(TokenCreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(TokenCreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(TokenCreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, TokenCreateParams::Account::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(TokenCreateParams::Account::Company::Verification)).void } def initialize( address: nil, @@ -169354,6 +170222,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -169361,8 +170230,8 @@ module Stripe verification: nil ); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -169405,7 +170274,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -169454,7 +170323,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -169503,7 +170372,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -169522,7 +170391,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -169565,7 +170434,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -169604,8 +170473,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -169619,7 +170488,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -169850,7 +170719,7 @@ module Stripe tos_shown_and_accepted: nil ); end end - class BankAccount < Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -169905,8 +170774,8 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(String)) } def preferred; end @@ -170001,7 +170870,7 @@ module Stripe number: nil ); end end - class CvcUpdate < Stripe::RequestParams + class CvcUpdate < ::Stripe::RequestParams # The CVC value, in string form. sig { returns(String) } def cvc; end @@ -170010,9 +170879,9 @@ module Stripe sig { params(cvc: String).void } def initialize(cvc: nil); end end - class Person < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class Person < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -170045,7 +170914,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -170088,7 +170957,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -170137,7 +171006,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -170186,7 +171055,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -170205,8 +171074,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -170215,7 +171084,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -170224,7 +171093,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -170259,7 +171128,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -170302,7 +171171,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -170359,8 +171228,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -170378,7 +171247,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -170416,8 +171285,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -170431,7 +171300,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -170656,7 +171525,7 @@ module Stripe verification: nil ); end end - class Pii < Stripe::RequestParams + class Pii < ::Stripe::RequestParams # The `id_number` for the PII, in string form. sig { returns(T.nilable(String)) } def id_number; end @@ -170734,8 +171603,8 @@ module Stripe end # typed: true module Stripe - class TopupListParams < Stripe::RequestParams - class Amount < Stripe::RequestParams + class TopupListParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -170761,7 +171630,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -170842,7 +171711,7 @@ module Stripe end # typed: true module Stripe - class TopupCreateParams < Stripe::RequestParams + class TopupCreateParams < ::Stripe::RequestParams # A positive integer representing how much to transfer. sig { returns(Integer) } def amount; end @@ -170902,7 +171771,7 @@ module Stripe end # typed: true module Stripe - class TopupUpdateParams < Stripe::RequestParams + class TopupUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -170928,7 +171797,7 @@ module Stripe end # typed: true module Stripe - class TopupCancelParams < Stripe::RequestParams + class TopupCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -170940,8 +171809,8 @@ module Stripe end # typed: true module Stripe - class TransferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -171020,7 +171889,7 @@ module Stripe end # typed: true module Stripe - class TransferCreateParams < Stripe::RequestParams + class TransferCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much to transfer. sig { returns(T.nilable(Integer)) } def amount; end @@ -171092,7 +171961,7 @@ module Stripe end # typed: true module Stripe - class TransferUpdateParams < Stripe::RequestParams + class TransferUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -171119,7 +171988,7 @@ end # typed: true module Stripe module Treasury - class CreditReversalListParams < Stripe::RequestParams + class CreditReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -171173,7 +172042,7 @@ end # typed: true module Stripe module Treasury - class CreditReversalCreateParams < Stripe::RequestParams + class CreditReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -171201,7 +172070,7 @@ end # typed: true module Stripe module Treasury - class DebitReversalListParams < Stripe::RequestParams + class DebitReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -171261,7 +172130,7 @@ end # typed: true module Stripe module Treasury - class DebitReversalCreateParams < Stripe::RequestParams + class DebitReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -171289,8 +172158,8 @@ end # typed: true module Stripe module Treasury - class FinancialAccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -171365,9 +172234,9 @@ end # typed: true module Stripe module Treasury - class FinancialAccountCreateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171376,7 +172245,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171385,8 +172254,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -171414,8 +172283,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171438,7 +172307,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171447,8 +172316,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171457,7 +172326,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171489,8 +172358,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171499,7 +172368,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171605,7 +172474,7 @@ module Stripe outbound_transfers: nil ); end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end @@ -171678,9 +172547,9 @@ end # typed: true module Stripe module Treasury - class FinancialAccountUpdateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171689,7 +172558,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171698,8 +172567,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -171727,8 +172596,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171751,7 +172620,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171760,8 +172629,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171770,7 +172639,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171802,8 +172671,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171812,7 +172681,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -171918,7 +172787,7 @@ module Stripe outbound_transfers: nil ); end end - class ForwardingSettings < Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id sig { returns(T.nilable(String)) } def financial_account; end @@ -171939,7 +172808,7 @@ module Stripe } def initialize(financial_account: nil, payment_method: nil, type: nil); end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end @@ -172014,7 +172883,7 @@ end # typed: true module Stripe module Treasury - class FinancialAccountRetrieveFeaturesParams < Stripe::RequestParams + class FinancialAccountRetrieveFeaturesParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172028,8 +172897,8 @@ end # typed: true module Stripe module Treasury - class FinancialAccountUpdateFeaturesParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateFeaturesParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172038,7 +172907,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172047,8 +172916,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -172076,8 +172945,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172100,7 +172969,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172109,8 +172978,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172119,7 +172988,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172151,8 +173020,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172161,7 +173030,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -172266,8 +173135,8 @@ end # typed: true module Stripe module Treasury - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id sig { returns(T.nilable(String)) } def financial_account; end @@ -172310,7 +173179,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -172358,7 +173227,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferCreateParams < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams # Amount (in cents) to be transferred. sig { returns(Integer) } def amount; end @@ -172420,7 +173289,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferCancelParams < Stripe::RequestParams + class InboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172434,8 +173303,8 @@ end # typed: true module Stripe module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. sig { returns(T.nilable(String)) } def code; end @@ -172466,7 +173335,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172480,7 +173349,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172494,8 +173363,8 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -172582,10 +173451,10 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -172657,7 +173526,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -172742,8 +173611,8 @@ module Stripe us_bank_account: nil ); end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(T.nilable(String)) } def network; end @@ -172766,7 +173635,7 @@ module Stripe } def initialize(us_bank_account: nil); end end - class EndUserDetails < Stripe::RequestParams + class EndUserDetails < ::Stripe::RequestParams # IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`. sig { returns(T.nilable(String)) } def ip_address; end @@ -172875,7 +173744,7 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentCancelParams < Stripe::RequestParams + class OutboundPaymentCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172889,9 +173758,9 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -172900,7 +173769,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -172969,7 +173838,7 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172983,7 +173852,7 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -172997,8 +173866,8 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. sig { returns(T.nilable(String)) } def code; end @@ -173031,7 +173900,7 @@ end # typed: true module Stripe module Treasury - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -173079,8 +173948,8 @@ end # typed: true module Stripe module Treasury - class OutboundTransferCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams # Required if type is set to `financial_account`. The FinancialAccount ID to send funds to. sig { returns(T.nilable(String)) } def financial_account; end @@ -173094,8 +173963,8 @@ module Stripe sig { params(financial_account: T.nilable(String), type: String).void } def initialize(financial_account: nil, type: nil); end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(T.nilable(String)) } def network; end @@ -173118,8 +173987,8 @@ module Stripe } def initialize(us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this OutboundTransfer. sig { returns(T.nilable(String)) } def addenda; end @@ -173234,7 +174103,7 @@ end # typed: true module Stripe module Treasury - class OutboundTransferCancelParams < Stripe::RequestParams + class OutboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -173248,9 +174117,9 @@ end # typed: true module Stripe module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -173259,7 +174128,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -173328,7 +174197,7 @@ end # typed: true module Stripe module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -173342,7 +174211,7 @@ end # typed: true module Stripe module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -173356,8 +174225,8 @@ end # typed: true module Stripe module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. sig { returns(T.nilable(String)) } def code; end @@ -173390,8 +174259,8 @@ end # typed: true module Stripe module Treasury - class ReceivedCreditListParams < Stripe::RequestParams - class LinkedFlows < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams + class LinkedFlows < ::Stripe::RequestParams # The source flow type. sig { returns(String) } def source_flow_type; end @@ -173455,9 +174324,9 @@ end # typed: true module Stripe module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -173497,8 +174366,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -173589,7 +174458,7 @@ end # typed: true module Stripe module Treasury - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -173637,9 +174506,9 @@ end # typed: true module Stripe module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -173679,8 +174548,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. sig { returns(T.nilable(String)) } def addenda; end @@ -173771,8 +174640,8 @@ end # typed: true module Stripe module Treasury - class TransactionEntryListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -173798,7 +174667,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class EffectiveAt < Stripe::RequestParams + class EffectiveAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -173893,8 +174762,8 @@ end # typed: true module Stripe module Treasury - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -173920,8 +174789,8 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class StatusTransitions < Stripe::RequestParams - class PostedAt < Stripe::RequestParams + class StatusTransitions < ::Stripe::RequestParams + class PostedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -174029,11 +174898,11 @@ module Stripe end # typed: true module Stripe - class WebhookEndpointDeleteParams < Stripe::RequestParams; end + class WebhookEndpointDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class WebhookEndpointUpdateParams < Stripe::RequestParams + class WebhookEndpointUpdateParams < ::Stripe::RequestParams # An optional description of what the webhook is used for. sig { returns(T.nilable(String)) } def description; end @@ -174083,7 +174952,7 @@ module Stripe end # typed: true module Stripe - class WebhookEndpointListParams < Stripe::RequestParams + class WebhookEndpointListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -174112,7 +174981,7 @@ module Stripe end # typed: true module Stripe - class WebhookEndpointCreateParams < Stripe::RequestParams + class WebhookEndpointCreateParams < ::Stripe::RequestParams # Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version. sig { returns(T.nilable(String)) } def api_version; end @@ -174166,7 +175035,7 @@ module Stripe end # typed: true module Stripe - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174178,7 +175047,7 @@ module Stripe end # typed: true module Stripe - class AccountRetrieveCurrentParams < Stripe::RequestParams + class AccountRetrieveCurrentParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174190,7 +175059,7 @@ module Stripe end # typed: true module Stripe - class AccountCapabilityListParams < Stripe::RequestParams + class AccountCapabilityListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174202,7 +175071,7 @@ module Stripe end # typed: true module Stripe - class AccountCapabilityRetrieveParams < Stripe::RequestParams + class AccountCapabilityRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174214,7 +175083,7 @@ module Stripe end # typed: true module Stripe - class AccountCapabilityUpdateParams < Stripe::RequestParams + class AccountCapabilityUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174233,11 +175102,11 @@ module Stripe end # typed: true module Stripe - class AccountExternalAccountDeleteParams < Stripe::RequestParams; end + class AccountExternalAccountDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class AccountExternalAccountRetrieveParams < Stripe::RequestParams + class AccountExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174249,9 +175118,9 @@ module Stripe end # typed: true module Stripe - class AccountExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class AccountExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -174385,7 +175254,7 @@ module Stripe end # typed: true module Stripe - class AccountExternalAccountListParams < Stripe::RequestParams + class AccountExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -174425,8 +175294,8 @@ module Stripe end # typed: true module Stripe - class AccountExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -174475,7 +175344,7 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -174568,7 +175437,7 @@ module Stripe metadata: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -174626,7 +175495,7 @@ module Stripe end # typed: true module Stripe - class AccountLoginLinkCreateParams < Stripe::RequestParams + class AccountLoginLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174638,11 +175507,11 @@ module Stripe end # typed: true module Stripe - class AccountPersonDeleteParams < Stripe::RequestParams; end + class AccountPersonDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class AccountPersonRetrieveParams < Stripe::RequestParams + class AccountPersonRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -174654,9 +175523,9 @@ module Stripe end # typed: true module Stripe - class AccountPersonUpdateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonUpdateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -174689,7 +175558,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -174732,7 +175601,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -174781,7 +175650,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -174830,7 +175699,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -174849,8 +175718,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -174859,7 +175728,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -174868,7 +175737,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -174903,7 +175772,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -174946,7 +175815,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -175003,8 +175872,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -175020,7 +175889,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -175058,8 +175927,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -175073,7 +175942,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -175313,8 +176182,8 @@ module Stripe end # typed: true module Stripe - class AccountPersonListParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonListParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -175398,9 +176267,9 @@ module Stripe end # typed: true module Stripe - class AccountPersonCreateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonCreateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -175433,7 +176302,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -175476,7 +176345,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -175525,7 +176394,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -175574,7 +176443,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -175593,8 +176462,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -175603,7 +176472,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -175612,7 +176481,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -175647,7 +176516,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -175690,7 +176559,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -175747,8 +176616,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -175764,7 +176633,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -175802,8 +176671,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -175817,7 +176686,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -176057,7 +176926,7 @@ module Stripe end # typed: true module Stripe - class AccountNoticeRetrieveParams < Stripe::RequestParams + class AccountNoticeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176069,7 +176938,7 @@ module Stripe end # typed: true module Stripe - class ApplePayDomainRetrieveParams < Stripe::RequestParams + class ApplePayDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176081,7 +176950,7 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeRetrieveParams < Stripe::RequestParams + class ApplicationFeeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176093,7 +176962,7 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeRefundRetrieveParams < Stripe::RequestParams + class ApplicationFeeRefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176105,7 +176974,7 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeRefundUpdateParams < Stripe::RequestParams + class ApplicationFeeRefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176126,7 +176995,7 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeRefundListParams < Stripe::RequestParams + class ApplicationFeeRefundListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -176155,7 +177024,7 @@ module Stripe end # typed: true module Stripe - class ApplicationFeeRefundCreateParams < Stripe::RequestParams + class ApplicationFeeRefundCreateParams < ::Stripe::RequestParams # A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. sig { returns(T.nilable(Integer)) } def amount; end @@ -176181,7 +177050,7 @@ module Stripe end # typed: true module Stripe - class BalanceRetrieveParams < Stripe::RequestParams + class BalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176193,7 +177062,7 @@ module Stripe end # typed: true module Stripe - class BalanceSettingsRetrieveParams < Stripe::RequestParams + class BalanceSettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176205,7 +177074,7 @@ module Stripe end # typed: true module Stripe - class BalanceTransactionRetrieveParams < Stripe::RequestParams + class BalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176218,7 +177087,7 @@ end # typed: true module Stripe module Billing - class AlertRetrieveParams < Stripe::RequestParams + class AlertRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176233,8 +177102,8 @@ end module Stripe module Billing module Analytics - class MeterUsageRetrieveParams < Stripe::RequestParams - class Meter < Stripe::RequestParams + class MeterUsageRetrieveParams < ::Stripe::RequestParams + class Meter < ::Stripe::RequestParams # Key-value pairs used to filter usage events by meter dimension values. If specified, usage will be filtered for matching usage events. sig { returns(T.nilable(T::Hash[String, String])) } def dimension_filters; end @@ -176327,10 +177196,10 @@ end # typed: true module Stripe module Billing - class CreditBalanceSummaryRetrieveParams < Stripe::RequestParams - class Filter < Stripe::RequestParams - class ApplicabilityScope < Stripe::RequestParams - class Price < Stripe::RequestParams + class CreditBalanceSummaryRetrieveParams < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams + class ApplicabilityScope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. sig { returns(String) } def id; end @@ -176414,7 +177283,7 @@ end # typed: true module Stripe module Billing - class CreditBalanceTransactionRetrieveParams < Stripe::RequestParams + class CreditBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176428,7 +177297,7 @@ end # typed: true module Stripe module Billing - class CreditGrantRetrieveParams < Stripe::RequestParams + class CreditGrantRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176442,7 +177311,7 @@ end # typed: true module Stripe module Billing - class MeterRetrieveParams < Stripe::RequestParams + class MeterRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176456,7 +177325,7 @@ end # typed: true module Stripe module Billing - class MeterEventSummaryListParams < Stripe::RequestParams + class MeterEventSummaryListParams < ::Stripe::RequestParams # The customer for which to fetch event summaries. sig { returns(String) } def customer; end @@ -176516,7 +177385,7 @@ end # typed: true module Stripe module BillingPortal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176530,7 +177399,7 @@ end # typed: true module Stripe module Capital - class FinancingOfferRetrieveParams < Stripe::RequestParams + class FinancingOfferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176544,7 +177413,7 @@ end # typed: true module Stripe module Capital - class FinancingSummaryRetrieveParams < Stripe::RequestParams + class FinancingSummaryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176558,7 +177427,7 @@ end # typed: true module Stripe module Capital - class FinancingTransactionRetrieveParams < Stripe::RequestParams + class FinancingTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176571,7 +177440,7 @@ module Stripe end # typed: true module Stripe - class ChargeRetrieveParams < Stripe::RequestParams + class ChargeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176584,7 +177453,7 @@ end # typed: true module Stripe module Checkout - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176598,7 +177467,7 @@ end # typed: true module Stripe module Checkout - class SessionLineItemListParams < Stripe::RequestParams + class SessionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -176629,7 +177498,7 @@ end # typed: true module Stripe module Climate - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176643,7 +177512,7 @@ end # typed: true module Stripe module Climate - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176657,7 +177526,7 @@ end # typed: true module Stripe module Climate - class SupplierRetrieveParams < Stripe::RequestParams + class SupplierRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176670,7 +177539,7 @@ module Stripe end # typed: true module Stripe - class ConfirmationTokenRetrieveParams < Stripe::RequestParams + class ConfirmationTokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176682,7 +177551,7 @@ module Stripe end # typed: true module Stripe - class CountrySpecRetrieveParams < Stripe::RequestParams + class CountrySpecRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176694,7 +177563,7 @@ module Stripe end # typed: true module Stripe - class CouponRetrieveParams < Stripe::RequestParams + class CouponRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176706,7 +177575,7 @@ module Stripe end # typed: true module Stripe - class CreditNoteRetrieveParams < Stripe::RequestParams + class CreditNoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -176718,7 +177587,7 @@ module Stripe end # typed: true module Stripe - class CreditNoteLineItemListParams < Stripe::RequestParams + class CreditNoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -176747,9 +177616,9 @@ module Stripe end # typed: true module Stripe - class CreditNotePreviewLinesListParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewLinesListParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -176834,21 +177703,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -176976,7 +177873,7 @@ module Stripe end # typed: true module Stripe - class CustomerBalanceTransactionListParams < Stripe::RequestParams + class CustomerBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -177005,7 +177902,7 @@ module Stripe end # typed: true module Stripe - class CustomerBalanceTransactionCreateParams < Stripe::RequestParams + class CustomerBalanceTransactionCreateParams < ::Stripe::RequestParams # The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. sig { returns(Integer) } def amount; end @@ -177041,7 +177938,7 @@ module Stripe end # typed: true module Stripe - class CustomerBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177053,7 +177950,7 @@ module Stripe end # typed: true module Stripe - class CustomerBalanceTransactionUpdateParams < Stripe::RequestParams + class CustomerBalanceTransactionUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -177079,7 +177976,7 @@ module Stripe end # typed: true module Stripe - class CustomerCashBalanceRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177091,8 +177988,8 @@ module Stripe end # typed: true module Stripe - class CustomerCashBalanceUpdateParams < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CustomerCashBalanceUpdateParams < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end @@ -177121,7 +178018,7 @@ module Stripe end # typed: true module Stripe - class CustomerCashBalanceTransactionListParams < Stripe::RequestParams + class CustomerCashBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -177150,7 +178047,7 @@ module Stripe end # typed: true module Stripe - class CustomerCashBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177162,9 +178059,9 @@ module Stripe end # typed: true module Stripe - class CustomerFundingInstructionsCreateParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerFundingInstructionsCreateParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -177231,7 +178128,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentMethodListParams < Stripe::RequestParams + class CustomerPaymentMethodListParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. sig { returns(T.nilable(String)) } def allow_redisplay; end @@ -177277,7 +178174,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentMethodRetrieveParams < Stripe::RequestParams + class CustomerPaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177289,7 +178186,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceListParams < Stripe::RequestParams + class CustomerPaymentSourceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -177329,7 +178226,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceCreateParams < Stripe::RequestParams + class CustomerPaymentSourceCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177360,7 +178257,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceRetrieveParams < Stripe::RequestParams + class CustomerPaymentSourceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177372,9 +178269,9 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceUpdateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerPaymentSourceUpdateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -177541,7 +178438,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceDeleteParams < Stripe::RequestParams + class CustomerPaymentSourceDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177553,7 +178450,7 @@ module Stripe end # typed: true module Stripe - class CustomerPaymentSourceVerifyParams < Stripe::RequestParams + class CustomerPaymentSourceVerifyParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end @@ -177570,11 +178467,11 @@ module Stripe end # typed: true module Stripe - class CustomerTaxIdDeleteParams < Stripe::RequestParams; end + class CustomerTaxIdDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class CustomerTaxIdRetrieveParams < Stripe::RequestParams + class CustomerTaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177586,7 +178483,7 @@ module Stripe end # typed: true module Stripe - class CustomerTaxIdListParams < Stripe::RequestParams + class CustomerTaxIdListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -177615,7 +178512,7 @@ module Stripe end # typed: true module Stripe - class CustomerTaxIdCreateParams < Stripe::RequestParams + class CustomerTaxIdCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177637,7 +178534,7 @@ module Stripe end # typed: true module Stripe - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177650,7 +178547,7 @@ end # typed: true module Stripe module Entitlements - class ActiveEntitlementRetrieveParams < Stripe::RequestParams + class ActiveEntitlementRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177664,7 +178561,7 @@ end # typed: true module Stripe module Entitlements - class FeatureRetrieveParams < Stripe::RequestParams + class FeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177677,7 +178574,7 @@ module Stripe end # typed: true module Stripe - class EphemeralKeyCreateParams < Stripe::RequestParams + class EphemeralKeyCreateParams < ::Stripe::RequestParams # The ID of the Customer you'd like to modify using the resulting ephemeral key. sig { returns(T.nilable(String)) } def customer; end @@ -177717,7 +178614,7 @@ module Stripe end # typed: true module Stripe - class EventRetrieveParams < Stripe::RequestParams + class EventRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177729,7 +178626,7 @@ module Stripe end # typed: true module Stripe - class ExchangeRateRetrieveParams < Stripe::RequestParams + class ExchangeRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177741,11 +178638,11 @@ module Stripe end # typed: true module Stripe - class ExternalAccountDeleteParams < Stripe::RequestParams; end + class ExternalAccountDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class ExternalAccountRetrieveParams < Stripe::RequestParams + class ExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -177757,9 +178654,9 @@ module Stripe end # typed: true module Stripe - class ExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class ExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -177893,7 +178790,7 @@ module Stripe end # typed: true module Stripe - class ExternalAccountListParams < Stripe::RequestParams + class ExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -177933,8 +178830,8 @@ module Stripe end # typed: true module Stripe - class ExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class ExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -177983,7 +178880,7 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -178076,7 +178973,7 @@ module Stripe metadata: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -178134,7 +179031,7 @@ module Stripe end # typed: true module Stripe - class FileRetrieveParams < Stripe::RequestParams + class FileRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178146,7 +179043,7 @@ module Stripe end # typed: true module Stripe - class FileLinkRetrieveParams < Stripe::RequestParams + class FileLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178159,7 +179056,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178173,7 +179070,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountRefreshParams < Stripe::RequestParams + class AccountRefreshParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178192,7 +179089,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountInferredBalanceListParams < Stripe::RequestParams + class AccountInferredBalanceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178223,7 +179120,7 @@ end # typed: true module Stripe module FinancialConnections - class AccountOwnerListParams < Stripe::RequestParams + class AccountOwnerListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178265,7 +179162,7 @@ end # typed: true module Stripe module FinancialConnections - class InstitutionRetrieveParams < Stripe::RequestParams + class InstitutionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178279,7 +179176,7 @@ end # typed: true module Stripe module FinancialConnections - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178293,7 +179190,7 @@ end # typed: true module Stripe module FinancialConnections - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178307,7 +179204,7 @@ end # typed: true module Stripe module Forwarding - class RequestRetrieveParams < Stripe::RequestParams + class RequestRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178320,7 +179217,7 @@ module Stripe end # typed: true module Stripe - class FxQuoteRetrieveParams < Stripe::RequestParams + class FxQuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178333,7 +179230,7 @@ end # typed: true module Stripe module Identity - class VerificationReportRetrieveParams < Stripe::RequestParams + class VerificationReportRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178347,7 +179244,7 @@ end # typed: true module Stripe module Identity - class VerificationSessionRetrieveParams < Stripe::RequestParams + class VerificationSessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178360,7 +179257,7 @@ module Stripe end # typed: true module Stripe - class InvoiceRetrieveParams < Stripe::RequestParams + class InvoiceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178372,7 +179269,7 @@ module Stripe end # typed: true module Stripe - class InvoiceLineItemListParams < Stripe::RequestParams + class InvoiceLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178401,7 +179298,7 @@ module Stripe end # typed: true module Stripe - class InvoiceItemRetrieveParams < Stripe::RequestParams + class InvoiceItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178413,7 +179310,7 @@ module Stripe end # typed: true module Stripe - class InvoicePaymentRetrieveParams < Stripe::RequestParams + class InvoicePaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178425,7 +179322,7 @@ module Stripe end # typed: true module Stripe - class InvoiceRenderingTemplateRetrieveParams < Stripe::RequestParams + class InvoiceRenderingTemplateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178443,7 +179340,7 @@ end # typed: true module Stripe module Issuing - class AuthorizationRetrieveParams < Stripe::RequestParams + class AuthorizationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178457,7 +179354,7 @@ end # typed: true module Stripe module Issuing - class CardRetrieveParams < Stripe::RequestParams + class CardRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178471,7 +179368,7 @@ end # typed: true module Stripe module Issuing - class CardholderRetrieveParams < Stripe::RequestParams + class CardholderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178485,7 +179382,7 @@ end # typed: true module Stripe module Issuing - class CreditUnderwritingRecordRetrieveParams < Stripe::RequestParams + class CreditUnderwritingRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178499,7 +179396,7 @@ end # typed: true module Stripe module Issuing - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178513,7 +179410,7 @@ end # typed: true module Stripe module Issuing - class DisputeSettlementDetailRetrieveParams < Stripe::RequestParams + class DisputeSettlementDetailRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178527,7 +179424,7 @@ end # typed: true module Stripe module Issuing - class FraudLiabilityDebitRetrieveParams < Stripe::RequestParams + class FraudLiabilityDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178541,7 +179438,7 @@ end # typed: true module Stripe module Issuing - class PersonalizationDesignRetrieveParams < Stripe::RequestParams + class PersonalizationDesignRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178555,7 +179452,7 @@ end # typed: true module Stripe module Issuing - class PhysicalBundleRetrieveParams < Stripe::RequestParams + class PhysicalBundleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178569,7 +179466,7 @@ end # typed: true module Stripe module Issuing - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178583,7 +179480,7 @@ end # typed: true module Stripe module Issuing - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178596,7 +179493,7 @@ module Stripe end # typed: true module Stripe - class MandateRetrieveParams < Stripe::RequestParams + class MandateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178608,7 +179505,7 @@ module Stripe end # typed: true module Stripe - class MarginRetrieveParams < Stripe::RequestParams + class MarginRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178620,7 +179517,7 @@ module Stripe end # typed: true module Stripe - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178632,7 +179529,7 @@ module Stripe end # typed: true module Stripe - class OrderLineItemListParams < Stripe::RequestParams + class OrderLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178661,7 +179558,7 @@ module Stripe end # typed: true module Stripe - class PaymentAttemptRecordRetrieveParams < Stripe::RequestParams + class PaymentAttemptRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178673,7 +179570,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentRetrieveParams < Stripe::RequestParams + class PaymentIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source. sig { returns(T.nilable(String)) } def client_secret; end @@ -178690,7 +179587,7 @@ module Stripe end # typed: true module Stripe - class PaymentIntentAmountDetailsLineItemListParams < Stripe::RequestParams + class PaymentIntentAmountDetailsLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178719,7 +179616,7 @@ module Stripe end # typed: true module Stripe - class PaymentLinkRetrieveParams < Stripe::RequestParams + class PaymentLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178731,7 +179628,7 @@ module Stripe end # typed: true module Stripe - class PaymentLinkLineItemListParams < Stripe::RequestParams + class PaymentLinkLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178760,7 +179657,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodRetrieveParams < Stripe::RequestParams + class PaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178772,7 +179669,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodConfigurationRetrieveParams < Stripe::RequestParams + class PaymentMethodConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178784,7 +179681,7 @@ module Stripe end # typed: true module Stripe - class PaymentMethodDomainRetrieveParams < Stripe::RequestParams + class PaymentMethodDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178796,7 +179693,7 @@ module Stripe end # typed: true module Stripe - class PaymentRecordRetrieveParams < Stripe::RequestParams + class PaymentRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178808,7 +179705,7 @@ module Stripe end # typed: true module Stripe - class PayoutRetrieveParams < Stripe::RequestParams + class PayoutRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178820,7 +179717,7 @@ module Stripe end # typed: true module Stripe - class PlanRetrieveParams < Stripe::RequestParams + class PlanRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178832,7 +179729,7 @@ module Stripe end # typed: true module Stripe - class PriceRetrieveParams < Stripe::RequestParams + class PriceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178845,7 +179742,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobRetrieveParams < Stripe::RequestParams + class RedactionJobRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178859,7 +179756,7 @@ end # typed: true module Stripe module Privacy - class RedactionJobValidationErrorListParams < Stripe::RequestParams + class RedactionJobValidationErrorListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178889,7 +179786,7 @@ module Stripe end # typed: true module Stripe - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178901,11 +179798,11 @@ module Stripe end # typed: true module Stripe - class ProductFeatureDeleteParams < Stripe::RequestParams; end + class ProductFeatureDeleteParams < ::Stripe::RequestParams; end end # typed: true module Stripe - class ProductFeatureRetrieveParams < Stripe::RequestParams + class ProductFeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178917,7 +179814,7 @@ module Stripe end # typed: true module Stripe - class ProductFeatureListParams < Stripe::RequestParams + class ProductFeatureListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -178946,7 +179843,7 @@ module Stripe end # typed: true module Stripe - class ProductFeatureCreateParams < Stripe::RequestParams + class ProductFeatureCreateParams < ::Stripe::RequestParams # The ID of the [Feature](https://stripe.com/docs/api/entitlements/feature) object attached to this product. sig { returns(String) } def entitlement_feature; end @@ -178963,7 +179860,7 @@ module Stripe end # typed: true module Stripe - class PromotionCodeRetrieveParams < Stripe::RequestParams + class PromotionCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178975,7 +179872,7 @@ module Stripe end # typed: true module Stripe - class QuoteRetrieveParams < Stripe::RequestParams + class QuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -178987,7 +179884,7 @@ module Stripe end # typed: true module Stripe - class QuoteComputedUpfrontLineItemsListParams < Stripe::RequestParams + class QuoteComputedUpfrontLineItemsListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179016,7 +179913,7 @@ module Stripe end # typed: true module Stripe - class QuoteLineListParams < Stripe::RequestParams + class QuoteLineListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179045,7 +179942,7 @@ module Stripe end # typed: true module Stripe - class QuoteLineItemListParams < Stripe::RequestParams + class QuoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179074,7 +179971,7 @@ module Stripe end # typed: true module Stripe - class QuotePreviewInvoiceListParams < Stripe::RequestParams + class QuotePreviewInvoiceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179103,7 +180000,7 @@ module Stripe end # typed: true module Stripe - class QuotePreviewSubscriptionScheduleListParams < Stripe::RequestParams + class QuotePreviewSubscriptionScheduleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179133,7 +180030,7 @@ end # typed: true module Stripe module Radar - class EarlyFraudWarningRetrieveParams < Stripe::RequestParams + class EarlyFraudWarningRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179147,7 +180044,7 @@ end # typed: true module Stripe module Radar - class ValueListRetrieveParams < Stripe::RequestParams + class ValueListRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179161,7 +180058,7 @@ end # typed: true module Stripe module Radar - class ValueListItemRetrieveParams < Stripe::RequestParams + class ValueListItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179174,7 +180071,7 @@ module Stripe end # typed: true module Stripe - class RefundRetrieveParams < Stripe::RequestParams + class RefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179187,7 +180084,7 @@ end # typed: true module Stripe module Reporting - class ReportRunRetrieveParams < Stripe::RequestParams + class ReportRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179201,7 +180098,7 @@ end # typed: true module Stripe module Reporting - class ReportTypeRetrieveParams < Stripe::RequestParams + class ReportTypeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179214,7 +180111,7 @@ module Stripe end # typed: true module Stripe - class ReviewRetrieveParams < Stripe::RequestParams + class ReviewRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179226,7 +180123,7 @@ module Stripe end # typed: true module Stripe - class SetupIntentRetrieveParams < Stripe::RequestParams + class SetupIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent. sig { returns(T.nilable(String)) } def client_secret; end @@ -179243,7 +180140,7 @@ module Stripe end # typed: true module Stripe - class ShippingRateRetrieveParams < Stripe::RequestParams + class ShippingRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179256,7 +180153,7 @@ end # typed: true module Stripe module Sigma - class ScheduledQueryRunRetrieveParams < Stripe::RequestParams + class ScheduledQueryRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179269,7 +180166,7 @@ module Stripe end # typed: true module Stripe - class SourceDetachParams < Stripe::RequestParams + class SourceDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179281,7 +180178,7 @@ module Stripe end # typed: true module Stripe - class SourceRetrieveParams < Stripe::RequestParams + class SourceRetrieveParams < ::Stripe::RequestParams # The client secret of the source. Required if a publishable key is used to retrieve the source. sig { returns(T.nilable(String)) } def client_secret; end @@ -179298,7 +180195,7 @@ module Stripe end # typed: true module Stripe - class SourceTransactionListParams < Stripe::RequestParams + class SourceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179327,7 +180224,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionRetrieveParams < Stripe::RequestParams + class SubscriptionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179339,7 +180236,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionItemRetrieveParams < Stripe::RequestParams + class SubscriptionItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179351,7 +180248,7 @@ module Stripe end # typed: true module Stripe - class SubscriptionScheduleRetrieveParams < Stripe::RequestParams + class SubscriptionScheduleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179364,7 +180261,7 @@ end # typed: true module Stripe module Tax - class CalculationRetrieveParams < Stripe::RequestParams + class CalculationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179378,7 +180275,7 @@ end # typed: true module Stripe module Tax - class CalculationLineItemListParams < Stripe::RequestParams + class CalculationLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179409,7 +180306,7 @@ end # typed: true module Stripe module Tax - class FormRetrieveParams < Stripe::RequestParams + class FormRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179423,7 +180320,7 @@ end # typed: true module Stripe module Tax - class RegistrationRetrieveParams < Stripe::RequestParams + class RegistrationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179437,7 +180334,7 @@ end # typed: true module Stripe module Tax - class SettingsRetrieveParams < Stripe::RequestParams + class SettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179451,7 +180348,7 @@ end # typed: true module Stripe module Tax - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179465,7 +180362,7 @@ end # typed: true module Stripe module Tax - class TransactionLineItemListParams < Stripe::RequestParams + class TransactionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -179495,7 +180392,7 @@ module Stripe end # typed: true module Stripe - class TaxCodeRetrieveParams < Stripe::RequestParams + class TaxCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179507,7 +180404,7 @@ module Stripe end # typed: true module Stripe - class TaxIdRetrieveParams < Stripe::RequestParams + class TaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179519,7 +180416,7 @@ module Stripe end # typed: true module Stripe - class TaxRateRetrieveParams < Stripe::RequestParams + class TaxRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179532,7 +180429,7 @@ end # typed: true module Stripe module Terminal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179546,7 +180443,7 @@ end # typed: true module Stripe module Terminal - class LocationRetrieveParams < Stripe::RequestParams + class LocationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179560,7 +180457,7 @@ end # typed: true module Stripe module Terminal - class ReaderRetrieveParams < Stripe::RequestParams + class ReaderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179574,7 +180471,7 @@ end # typed: true module Stripe module Terminal - class ReaderCollectedDataRetrieveParams < Stripe::RequestParams + class ReaderCollectedDataRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -179588,9 +180485,9 @@ end # typed: true module Stripe module TestHelpers - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -179611,12 +180508,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -179630,7 +180527,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -179644,10 +180541,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -179724,8 +180621,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -179734,10 +180631,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -179746,7 +180643,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -179760,10 +180657,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -179772,7 +180669,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -179781,10 +180678,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -179817,13 +180714,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -179832,7 +180729,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -179875,8 +180772,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -179885,12 +180782,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -179911,10 +180808,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -179923,8 +180820,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -179957,10 +180854,10 @@ module Stripe } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -179969,8 +180866,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -179979,7 +180876,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -179993,9 +180890,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -180034,8 +180931,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(TestHelpers::ConfirmationTokenCreateParams::PaymentMethodData::AcssDebit)) @@ -180652,10 +181549,10 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -180720,8 +181617,8 @@ module Stripe } def initialize(card: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -180847,7 +181744,7 @@ end # typed: true module Stripe module TestHelpers - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). sig { returns(Integer) } def amount; end @@ -180879,8 +181776,8 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -180894,8 +181791,8 @@ module Stripe sig { params(atm_fee: T.nilable(Integer), cashback_amount: T.nilable(Integer)).void } def initialize(atm_fee: nil, cashback_amount: nil); end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -180932,8 +181829,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -180942,7 +181839,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -180951,7 +181848,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -181037,7 +181934,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -181074,7 +181971,7 @@ module Stripe unit_cost_decimal: nil ); end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -181135,7 +182032,7 @@ module Stripe url: nil ); end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -181144,8 +182041,8 @@ module Stripe sig { params(acquiring_institution_id: T.nilable(String)).void } def initialize(acquiring_institution_id: nil); end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def invalid_account_number_decline_rate_past_hour; end @@ -181178,7 +182075,7 @@ module Stripe risk_level: nil ); end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def dispute_rate; end @@ -181215,8 +182112,8 @@ module Stripe } def initialize(card_testing_risk: nil, merchant_dispute_risk: nil); end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -181230,7 +182127,7 @@ module Stripe sig { params(claimed_by: String, type: String).void } def initialize(claimed_by: nil, type: nil); end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end @@ -181424,10 +182321,10 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -181464,8 +182361,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -181474,7 +182371,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -181483,7 +182380,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -181571,8 +182468,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -181657,7 +182554,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -181694,7 +182591,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -181708,7 +182605,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -181837,7 +182734,7 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -181853,9 +182750,9 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -181892,8 +182789,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -181902,7 +182799,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -181911,7 +182808,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -181997,7 +182894,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -182070,7 +182967,7 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). sig { returns(T::Boolean) } def confirmed; end @@ -182091,7 +182988,7 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182121,7 +183018,7 @@ end module Stripe module TestHelpers module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182142,7 +183039,7 @@ end module Stripe module TestHelpers module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182158,7 +183055,7 @@ end module Stripe module TestHelpers module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182174,7 +183071,7 @@ end module Stripe module TestHelpers module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182190,7 +183087,7 @@ end module Stripe module TestHelpers module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182206,7 +183103,7 @@ end module Stripe module TestHelpers module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182222,7 +183119,7 @@ end module Stripe module TestHelpers module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182238,7 +183135,7 @@ end module Stripe module TestHelpers module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182254,8 +183151,8 @@ end module Stripe module TestHelpers module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end @@ -182299,7 +183196,7 @@ end module Stripe module TestHelpers module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -182320,8 +183217,8 @@ end module Stripe module TestHelpers module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -182382,9 +183279,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -182421,8 +183318,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -182431,7 +183328,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -182440,7 +183337,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -182528,8 +183425,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -182614,7 +183511,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -182651,7 +183548,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -182665,7 +183562,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -182810,8 +183707,8 @@ end module Stripe module TestHelpers module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -182872,9 +183769,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -182911,8 +183808,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -182921,7 +183818,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -182930,7 +183827,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -183018,8 +183915,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -183104,7 +184001,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -183141,7 +184038,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -183155,7 +184052,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end @@ -183299,7 +184196,7 @@ end # typed: true module Stripe module TestHelpers - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183314,8 +184211,8 @@ end module Stripe module TestHelpers module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. sig { returns(T.nilable(String)) } def cvc; end @@ -183341,7 +184238,7 @@ module Stripe } def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. sig { returns(T.nilable(String)) } def number; end @@ -183350,8 +184247,8 @@ module Stripe sig { params(number: T.nilable(String)).void } def initialize(number: nil); end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. sig { returns(T.nilable(String)) } def number; end sig { params(_number: T.nilable(String)).returns(T.nilable(String)) } @@ -183418,7 +184315,7 @@ end module Stripe module TestHelpers module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183441,7 +184338,7 @@ end module Stripe module TestHelpers module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183456,7 +184353,7 @@ end # typed: true module Stripe module TestHelpers - class TestClockRetrieveParams < Stripe::RequestParams + class TestClockRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183471,8 +184368,8 @@ end module Stripe module TestHelpers module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. sig { returns(T.nilable(String)) } def code; end @@ -183505,7 +184402,7 @@ end module Stripe module TestHelpers module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183521,7 +184418,7 @@ end module Stripe module TestHelpers module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183537,9 +184434,9 @@ end module Stripe module TestHelpers module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -183548,7 +184445,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -183621,7 +184518,7 @@ end module Stripe module TestHelpers module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183637,7 +184534,7 @@ end module Stripe module TestHelpers module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183653,8 +184550,8 @@ end module Stripe module TestHelpers module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. sig { returns(T.nilable(String)) } def code; end @@ -183689,9 +184586,9 @@ end module Stripe module TestHelpers module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -183700,7 +184597,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -183773,7 +184670,7 @@ end module Stripe module TestHelpers module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183789,7 +184686,7 @@ end module Stripe module TestHelpers module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -183805,8 +184702,8 @@ end module Stripe module TestHelpers module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. sig { returns(T.nilable(String)) } def code; end @@ -183841,9 +184738,9 @@ end module Stripe module TestHelpers module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -183883,8 +184780,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -183981,9 +184878,9 @@ end module Stripe module TestHelpers module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -184023,8 +184920,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. sig { returns(T.nilable(String)) } def addenda; end @@ -184117,7 +185014,7 @@ module Stripe end # typed: true module Stripe - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184129,7 +185026,7 @@ module Stripe end # typed: true module Stripe - class TopupRetrieveParams < Stripe::RequestParams + class TopupRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184141,7 +185038,7 @@ module Stripe end # typed: true module Stripe - class TransferRetrieveParams < Stripe::RequestParams + class TransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184153,7 +185050,7 @@ module Stripe end # typed: true module Stripe - class TransferReversalListParams < Stripe::RequestParams + class TransferReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end @@ -184182,7 +185079,7 @@ module Stripe end # typed: true module Stripe - class TransferReversalCreateParams < Stripe::RequestParams + class TransferReversalCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -184224,7 +185121,7 @@ module Stripe end # typed: true module Stripe - class TransferReversalRetrieveParams < Stripe::RequestParams + class TransferReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184236,7 +185133,7 @@ module Stripe end # typed: true module Stripe - class TransferReversalUpdateParams < Stripe::RequestParams + class TransferReversalUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184258,7 +185155,7 @@ end # typed: true module Stripe module Treasury - class CreditReversalRetrieveParams < Stripe::RequestParams + class CreditReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184272,7 +185169,7 @@ end # typed: true module Stripe module Treasury - class DebitReversalRetrieveParams < Stripe::RequestParams + class DebitReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184286,7 +185183,7 @@ end # typed: true module Stripe module Treasury - class FinancialAccountRetrieveParams < Stripe::RequestParams + class FinancialAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184300,8 +185197,8 @@ end # typed: true module Stripe module Treasury - class FinancialAccountFeaturesUpdateParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountFeaturesUpdateParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184310,7 +185207,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184319,8 +185216,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -184348,8 +185245,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184372,7 +185269,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184381,8 +185278,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184391,7 +185288,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184423,8 +185320,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184433,7 +185330,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -184538,7 +185435,7 @@ end # typed: true module Stripe module Treasury - class FinancialAccountFeaturesRetrieveParams < Stripe::RequestParams + class FinancialAccountFeaturesRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184552,7 +185449,7 @@ end # typed: true module Stripe module Treasury - class InboundTransferRetrieveParams < Stripe::RequestParams + class InboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184566,7 +185463,7 @@ end # typed: true module Stripe module Treasury - class OutboundPaymentRetrieveParams < Stripe::RequestParams + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184580,7 +185477,7 @@ end # typed: true module Stripe module Treasury - class OutboundTransferRetrieveParams < Stripe::RequestParams + class OutboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184594,7 +185491,7 @@ end # typed: true module Stripe module Treasury - class ReceivedCreditRetrieveParams < Stripe::RequestParams + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184608,7 +185505,7 @@ end # typed: true module Stripe module Treasury - class ReceivedDebitRetrieveParams < Stripe::RequestParams + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184622,7 +185519,7 @@ end # typed: true module Stripe module Treasury - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184636,7 +185533,7 @@ end # typed: true module Stripe module Treasury - class TransactionEntryRetrieveParams < Stripe::RequestParams + class TransactionEntryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184649,7 +185546,7 @@ module Stripe end # typed: true module Stripe - class WebhookEndpointRetrieveParams < Stripe::RequestParams + class WebhookEndpointRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -184663,7 +185560,7 @@ end module Stripe module V2 module Billing - class BillSettingListParams < Stripe::RequestParams + class BillSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end @@ -184687,9 +185584,9 @@ end module Stripe module V2 module Billing - class BillSettingCreateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingCreateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -184710,8 +185607,8 @@ module Stripe } def initialize(tax: nil); end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -184787,7 +185684,7 @@ end module Stripe module V2 module Billing - class BillSettingRetrieveParams < Stripe::RequestParams; end + class BillSettingRetrieveParams < ::Stripe::RequestParams; end end end end @@ -184795,9 +185692,9 @@ end module Stripe module V2 module Billing - class BillSettingUpdateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingUpdateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -184818,8 +185715,8 @@ module Stripe } def initialize(tax: nil); end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -184904,7 +185801,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end @@ -184922,7 +185819,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end @@ -184931,8 +185828,8 @@ end module Stripe module V2 module Billing - class CadenceListParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceListParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Customer object. If provided, only cadences that specifically reference the provided customer ID will be returned. sig { returns(T.nilable(String)) } def customer; end @@ -184990,10 +185887,10 @@ end module Stripe module V2 module Billing - class CadenceCreateParams < Stripe::RequestParams - class BillingCycle < Stripe::RequestParams - class Day < Stripe::RequestParams - class Time < Stripe::RequestParams + class CadenceCreateParams < ::Stripe::RequestParams + class BillingCycle < ::Stripe::RequestParams + class Day < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -185030,8 +185927,8 @@ module Stripe } def initialize(time: nil); end end - class Month < Stripe::RequestParams - class Time < Stripe::RequestParams + class Month < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -185084,8 +185981,8 @@ module Stripe } def initialize(day_of_month: nil, month_of_year: nil, time: nil); end end - class Week < Stripe::RequestParams - class Time < Stripe::RequestParams + class Week < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -185130,8 +186027,8 @@ module Stripe } def initialize(day_of_week: nil, time: nil); end end - class Year < Stripe::RequestParams - class Time < Stripe::RequestParams + class Year < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -185234,7 +186131,7 @@ module Stripe year: nil ); end end - class Payer < Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(String) } def billing_profile; end @@ -185243,8 +186140,8 @@ module Stripe sig { params(billing_profile: String).void } def initialize(billing_profile: nil); end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -185259,7 +186156,7 @@ module Stripe sig { params(id: String, version: T.nilable(String)).void } def initialize(id: nil, version: nil); end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -185348,7 +186245,7 @@ end module Stripe module V2 module Billing - class CadenceRetrieveParams < Stripe::RequestParams + class CadenceRetrieveParams < ::Stripe::RequestParams # Additional resource to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end @@ -185364,8 +186261,8 @@ end module Stripe module V2 module Billing - class CadenceUpdateParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceUpdateParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(T.nilable(String)) } def billing_profile; end @@ -185374,8 +186271,8 @@ module Stripe sig { params(billing_profile: T.nilable(String)).void } def initialize(billing_profile: nil); end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -185392,7 +186289,7 @@ module Stripe sig { params(id: String, version: T.nilable(String)).void } def initialize(id: nil, version: nil); end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -185466,7 +186363,7 @@ end module Stripe module V2 module Billing - class CadenceCancelParams < Stripe::RequestParams; end + class CadenceCancelParams < ::Stripe::RequestParams; end end end end @@ -185474,7 +186371,7 @@ end module Stripe module V2 module Billing - class CollectionSettingListParams < Stripe::RequestParams + class CollectionSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end @@ -185498,9 +186395,9 @@ end module Stripe module V2 module Billing - class CollectionSettingCreateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingCreateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -185528,9 +186425,9 @@ module Stripe } def initialize(payment_due: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -185558,7 +186455,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -185567,8 +186464,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -185616,9 +186513,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -185665,9 +186562,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -185855,7 +186752,7 @@ end module Stripe module V2 module Billing - class CollectionSettingRetrieveParams < Stripe::RequestParams; end + class CollectionSettingRetrieveParams < ::Stripe::RequestParams; end end end end @@ -185863,9 +186760,9 @@ end module Stripe module V2 module Billing - class CollectionSettingUpdateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingUpdateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -185893,9 +186790,9 @@ module Stripe } def initialize(payment_due: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -185923,7 +186820,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -185932,8 +186829,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -185981,9 +186878,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -186030,9 +186927,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -186229,7 +187126,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end @@ -186247,7 +187144,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end @@ -186256,7 +187153,7 @@ end module Stripe module V2 module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end @@ -186296,8 +187193,8 @@ end module Stripe module V2 module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(String) } def identifier; end @@ -186335,7 +187232,7 @@ end module Stripe module V2 module Billing - class MeterEventSessionCreateParams < Stripe::RequestParams; end + class MeterEventSessionCreateParams < ::Stripe::RequestParams; end end end end @@ -186343,8 +187240,8 @@ end module Stripe module V2 module Billing - class MeterEventStreamCreateParams < Stripe::RequestParams - class Event < Stripe::RequestParams + class MeterEventStreamCreateParams < ::Stripe::RequestParams + class Event < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end @@ -186394,7 +187291,7 @@ end module Stripe module V2 module Billing - class ProfileListParams < Stripe::RequestParams + class ProfileListParams < ::Stripe::RequestParams # Filter billing profiles by a customer. Mutually exclusive # with `lookup_keys` and `default_payment_method`. sig { returns(T.nilable(String)) } @@ -186443,7 +187340,7 @@ end module Stripe module V2 module Billing - class ProfileCreateParams < Stripe::RequestParams + class ProfileCreateParams < ::Stripe::RequestParams # The ID of the customer object. sig { returns(String) } def customer; end @@ -186491,7 +187388,7 @@ end module Stripe module V2 module Billing - class ProfileRetrieveParams < Stripe::RequestParams; end + class ProfileRetrieveParams < ::Stripe::RequestParams; end end end end @@ -186499,7 +187396,7 @@ end module Stripe module V2 module Billing - class ProfileUpdateParams < Stripe::RequestParams + class ProfileUpdateParams < ::Stripe::RequestParams # The ID of the payment method object. sig { returns(T.nilable(String)) } def default_payment_method; end @@ -186543,7 +187440,7 @@ end module Stripe module V2 module Core - class AccountListParams < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. sig { returns(T.nilable(T::Array[String])) } def applied_configurations; end @@ -186568,10 +187465,10 @@ end module Stripe module V2 module Core - class AccountCreateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. sig { returns(T.nilable(String)) } def exempt; end @@ -186592,9 +187489,9 @@ module Stripe } def initialize(exempt: nil, ip_address: nil, location_source: nil); end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -186608,7 +187505,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -186682,8 +187579,8 @@ module Stripe } def initialize(invoice: nil); end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186706,8 +187603,8 @@ module Stripe } def initialize(automatic_indirect_tax: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -186826,8 +187723,8 @@ module Stripe test_clock: nil ); end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -186836,7 +187733,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -186862,8 +187759,8 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186872,7 +187769,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186881,7 +187778,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186890,7 +187787,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186899,7 +187796,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186908,7 +187805,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186917,7 +187814,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186926,7 +187823,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186935,7 +187832,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186944,7 +187841,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186953,7 +187850,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186962,7 +187859,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186971,7 +187868,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186980,7 +187877,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186989,7 +187886,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -186998,7 +187895,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187007,7 +187904,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187016,7 +187913,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187025,7 +187922,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187034,7 +187931,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187043,7 +187940,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187052,7 +187949,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187061,7 +187958,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187070,7 +187967,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187079,7 +187976,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187088,7 +187985,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187097,7 +187994,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187106,7 +188003,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187115,7 +188012,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187124,7 +188021,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187133,7 +188030,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187142,7 +188039,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187151,7 +188048,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187160,7 +188057,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187169,7 +188066,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187178,7 +188075,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187187,7 +188084,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187196,7 +188093,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187205,7 +188102,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187214,7 +188111,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187223,7 +188120,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187232,7 +188129,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187241,7 +188138,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187250,7 +188147,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187705,8 +188602,8 @@ module Stripe zip_payments: nil ); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -187736,7 +188633,7 @@ module Stripe } def initialize(decline_on: nil); end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -187750,8 +188647,8 @@ module Stripe sig { params(descriptor: T.nilable(String), prefix: T.nilable(String)).void } def initialize(descriptor: nil, prefix: nil); end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -187901,10 +188798,10 @@ module Stripe support: nil ); end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187913,7 +188810,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187945,7 +188842,7 @@ module Stripe } def initialize(local: nil, wire: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -187954,8 +188851,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188024,10 +188921,10 @@ module Stripe } def initialize(capabilities: nil); end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188050,8 +188947,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188074,8 +188971,8 @@ module Stripe } def initialize(gbp: nil); end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188098,8 +188995,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188108,7 +189005,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188117,7 +189014,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188158,8 +189055,8 @@ module Stripe } def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil); end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188168,7 +189065,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -188303,8 +189200,8 @@ module Stripe } def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil); end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -188325,7 +189222,7 @@ module Stripe } def initialize(business_url: nil, doing_business_as: nil, product_description: nil); end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. sig { returns(String) } def fees_collector; end @@ -188368,9 +189265,9 @@ module Stripe } def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil); end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -188391,7 +189288,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -188412,7 +189309,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -188445,8 +189342,8 @@ module Stripe ownership_exemption_reason: nil ); end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -188465,7 +189362,7 @@ module Stripe sig { params(date: String, ip: String, user_agent: T.nilable(String)).void } def initialize(date: nil, ip: nil, user_agent: nil); end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -188553,8 +189450,8 @@ module Stripe terms_of_service: nil ); end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -188603,12 +189500,12 @@ module Stripe town: nil ); end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -188617,12 +189514,12 @@ module Stripe sig { params(_fiscal_year_end: T.nilable(String)).returns(T.nilable(String)) } def fiscal_year_end=(_fiscal_year_end); end sig { - params(amount: T.nilable(Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void + params(amount: T.nilable(::Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void } def initialize(amount: nil, fiscal_year_end: nil); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188636,7 +189533,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188650,7 +189547,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188664,7 +189561,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188678,7 +189575,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188692,7 +189589,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188706,8 +189603,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -188740,7 +189637,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188754,7 +189651,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188768,7 +189665,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -188890,7 +189787,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -188909,19 +189806,19 @@ module Stripe sig { params(registrar: T.nilable(String), type: String, value: String).void } def initialize(registrar: nil, type: nil, value: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end - sig { params(amount: T.nilable(Stripe::V2::Amount)).void } + sig { params(amount: T.nilable(::Stripe::V2::Amount)).void } def initialize(amount: nil); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -188970,7 +189867,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189042,8 +189939,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -189052,7 +189949,7 @@ module Stripe sig { params(registered_name: T.nilable(String)).void } def initialize(registered_name: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -189184,8 +190081,8 @@ module Stripe structure: nil ); end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189240,7 +190137,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -189266,7 +190163,7 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189315,7 +190212,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. sig { returns(Integer) } def day; end @@ -189334,8 +190231,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -189349,7 +190246,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -189363,8 +190260,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -189397,8 +190294,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -189431,7 +190328,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -189501,7 +190398,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -189515,7 +190412,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -189552,8 +190449,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189602,7 +190499,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189674,8 +190571,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -189689,7 +190586,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -189983,7 +190880,7 @@ end module Stripe module V2 module Core - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end @@ -189999,10 +190896,10 @@ end module Stripe module V2 module Core - class AccountUpdateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. sig { returns(T.nilable(String)) } def exempt; end @@ -190033,9 +190930,9 @@ module Stripe validate_location: nil ); end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -190049,7 +190946,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -190128,8 +191025,8 @@ module Stripe } def initialize(default_payment_method: nil, invoice: nil); end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190152,8 +191049,8 @@ module Stripe } def initialize(automatic_indirect_tax: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -190278,8 +191175,8 @@ module Stripe test_clock: nil ); end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -190288,7 +191185,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -190314,8 +191211,8 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190324,7 +191221,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190333,7 +191230,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190342,7 +191239,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190351,7 +191248,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190360,7 +191257,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190369,7 +191266,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190378,7 +191275,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190387,7 +191284,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190396,7 +191293,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190405,7 +191302,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190414,7 +191311,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190423,7 +191320,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190432,7 +191329,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190441,7 +191338,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190450,7 +191347,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190459,7 +191356,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190468,7 +191365,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190477,7 +191374,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190486,7 +191383,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190495,7 +191392,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190504,7 +191401,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190513,7 +191410,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190522,7 +191419,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190531,7 +191428,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190540,7 +191437,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190549,7 +191446,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190558,7 +191455,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190567,7 +191464,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190576,7 +191473,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190585,7 +191482,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190594,7 +191491,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190603,7 +191500,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190612,7 +191509,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190621,7 +191518,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190630,7 +191527,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190639,7 +191536,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190648,7 +191545,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190657,7 +191554,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190666,7 +191563,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190675,7 +191572,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190684,7 +191581,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190693,7 +191590,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -190702,7 +191599,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191157,8 +192054,8 @@ module Stripe zip_payments: nil ); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -191188,7 +192085,7 @@ module Stripe } def initialize(decline_on: nil); end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -191202,8 +192099,8 @@ module Stripe sig { params(descriptor: T.nilable(String), prefix: T.nilable(String)).void } def initialize(descriptor: nil, prefix: nil); end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -191359,10 +192256,10 @@ module Stripe support: nil ); end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191371,7 +192268,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191403,7 +192300,7 @@ module Stripe } def initialize(local: nil, wire: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191412,8 +192309,8 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191494,10 +192391,10 @@ module Stripe } def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil); end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191520,8 +192417,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191544,8 +192441,8 @@ module Stripe } def initialize(gbp: nil); end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191568,8 +192465,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191578,7 +192475,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191587,7 +192484,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191628,8 +192525,8 @@ module Stripe } def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil); end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191638,7 +192535,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -191778,8 +192675,8 @@ module Stripe } def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil); end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -191800,7 +192697,7 @@ module Stripe } def initialize(business_url: nil, doing_business_as: nil, product_description: nil); end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. sig { returns(String) } def fees_collector; end @@ -191843,9 +192740,9 @@ module Stripe } def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil); end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -191866,7 +192763,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -191887,7 +192784,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -191920,8 +192817,8 @@ module Stripe ownership_exemption_reason: nil ); end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -191942,7 +192839,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -192032,8 +192929,8 @@ module Stripe terms_of_service: nil ); end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -192082,12 +192979,12 @@ module Stripe town: nil ); end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -192096,12 +192993,12 @@ module Stripe sig { params(_fiscal_year_end: T.nilable(String)).returns(T.nilable(String)) } def fiscal_year_end=(_fiscal_year_end); end sig { - params(amount: T.nilable(Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void + params(amount: T.nilable(::Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void } def initialize(amount: nil, fiscal_year_end: nil); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192115,7 +193012,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192129,7 +193026,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192143,7 +193040,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192157,7 +193054,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192171,7 +193068,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192185,8 +193082,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -192219,7 +193116,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192233,7 +193130,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192247,7 +193144,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192369,7 +193266,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -192388,19 +193285,19 @@ module Stripe sig { params(registrar: T.nilable(String), type: String, value: String).void } def initialize(registrar: nil, type: nil, value: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end - sig { params(amount: T.nilable(Stripe::V2::Amount)).void } + sig { params(amount: T.nilable(::Stripe::V2::Amount)).void } def initialize(amount: nil); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -192449,7 +193346,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -192521,8 +193418,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -192531,7 +193428,7 @@ module Stripe sig { params(registered_name: T.nilable(String)).void } def initialize(registered_name: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -192663,8 +193560,8 @@ module Stripe structure: nil ); end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -192719,7 +193616,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -192745,7 +193642,7 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -192794,7 +193691,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. sig { returns(Integer) } def day; end @@ -192813,8 +193710,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192828,7 +193725,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192842,8 +193739,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -192876,8 +193773,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -192910,7 +193807,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -192980,7 +193877,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -192994,7 +193891,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -193031,8 +193928,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -193081,7 +193978,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -193153,8 +194050,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -193168,7 +194065,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -193462,7 +194359,7 @@ end module Stripe module V2 module Core - class AccountCloseParams < Stripe::RequestParams + class AccountCloseParams < ::Stripe::RequestParams # Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed. sig { returns(T.nilable(T::Array[String])) } def applied_configurations; end @@ -193481,7 +194378,7 @@ module Stripe module V2 module Core module Accounts - class PersonListParams < Stripe::RequestParams + class PersonListParams < ::Stripe::RequestParams # The upper limit on the number of accounts returned by the List Account request. sig { returns(T.nilable(Integer)) } def limit; end @@ -193499,8 +194396,8 @@ module Stripe module V2 module Core module Accounts - class PersonCreateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonCreateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -193555,7 +194452,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -193581,8 +194478,8 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -193615,7 +194512,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -193664,7 +194561,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. sig { returns(Integer) } def day; end @@ -193683,8 +194580,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -193698,7 +194595,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -193712,8 +194609,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -193746,8 +194643,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -193780,7 +194677,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -193846,7 +194743,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -193860,7 +194757,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -193915,8 +194812,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -193965,7 +194862,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -194037,8 +194934,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -194052,7 +194949,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -194238,7 +195135,7 @@ module Stripe module V2 module Core module Accounts - class PersonDeleteParams < Stripe::RequestParams; end + class PersonDeleteParams < ::Stripe::RequestParams; end end end end @@ -194248,7 +195145,7 @@ module Stripe module V2 module Core module Accounts - class PersonRetrieveParams < Stripe::RequestParams; end + class PersonRetrieveParams < ::Stripe::RequestParams; end end end end @@ -194258,8 +195155,8 @@ module Stripe module V2 module Core module Accounts - class PersonUpdateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonUpdateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -194314,7 +195211,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -194340,8 +195237,8 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -194376,7 +195273,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -194425,7 +195322,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. sig { returns(Integer) } def day; end @@ -194444,8 +195341,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -194459,7 +195356,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -194473,8 +195370,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -194507,8 +195404,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -194541,7 +195438,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -194607,7 +195504,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -194621,7 +195518,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -194676,8 +195573,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -194726,7 +195623,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -194798,8 +195695,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -194813,7 +195710,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -194998,10 +195895,10 @@ end module Stripe module V2 module Core - class AccountLinkCreateParams < Stripe::RequestParams - class UseCase < Stripe::RequestParams - class AccountOnboarding < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class UseCase < ::Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -195049,8 +195946,8 @@ module Stripe return_url: nil ); end end - class AccountUpdate < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountUpdate < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -195144,7 +196041,7 @@ end module Stripe module V2 module Core - class EventListParams < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams # The page size. sig { returns(T.nilable(Integer)) } def limit; end @@ -195167,7 +196064,7 @@ end module Stripe module V2 module Core - class EventRetrieveParams < Stripe::RequestParams; end + class EventRetrieveParams < ::Stripe::RequestParams; end end end end @@ -195175,7 +196072,7 @@ end module Stripe module V2 module Core - class EventDestinationListParams < Stripe::RequestParams + class EventDestinationListParams < ::Stripe::RequestParams # Additional fields to include in the response. Currently supports `webhook_endpoint.url`. sig { returns(T.nilable(T::Array[String])) } def include; end @@ -195196,8 +196093,8 @@ end module Stripe module V2 module Core - class EventDestinationCreateParams < Stripe::RequestParams - class AmazonEventbridge < Stripe::RequestParams + class EventDestinationCreateParams < ::Stripe::RequestParams + class AmazonEventbridge < ::Stripe::RequestParams # The AWS account ID. sig { returns(String) } def aws_account_id; end @@ -195211,7 +196108,7 @@ module Stripe sig { params(aws_account_id: String, aws_region: String).void } def initialize(aws_account_id: nil, aws_region: nil); end end - class WebhookEndpoint < Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. sig { returns(String) } def url; end @@ -195307,7 +196204,7 @@ end module Stripe module V2 module Core - class EventDestinationDeleteParams < Stripe::RequestParams; end + class EventDestinationDeleteParams < ::Stripe::RequestParams; end end end end @@ -195315,7 +196212,7 @@ end module Stripe module V2 module Core - class EventDestinationRetrieveParams < Stripe::RequestParams + class EventDestinationRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end @@ -195331,8 +196228,8 @@ end module Stripe module V2 module Core - class EventDestinationUpdateParams < Stripe::RequestParams - class WebhookEndpoint < Stripe::RequestParams + class EventDestinationUpdateParams < ::Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. sig { returns(String) } def url; end @@ -195396,7 +196293,7 @@ end module Stripe module V2 module Core - class EventDestinationDisableParams < Stripe::RequestParams; end + class EventDestinationDisableParams < ::Stripe::RequestParams; end end end end @@ -195404,7 +196301,7 @@ end module Stripe module V2 module Core - class EventDestinationEnableParams < Stripe::RequestParams; end + class EventDestinationEnableParams < ::Stripe::RequestParams; end end end end @@ -195412,7 +196309,7 @@ end module Stripe module V2 module Core - class EventDestinationPingParams < Stripe::RequestParams; end + class EventDestinationPingParams < ::Stripe::RequestParams; end end end end @@ -195421,8 +196318,8 @@ module Stripe module V2 module Core module Vault - class GbBankAccountCreateParams < Stripe::RequestParams - class ConfirmationOfPayee < Stripe::RequestParams + class GbBankAccountCreateParams < ::Stripe::RequestParams + class ConfirmationOfPayee < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. # Closed enum. sig { returns(T.nilable(String)) } @@ -195489,7 +196386,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountRetrieveParams < Stripe::RequestParams; end + class GbBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end @@ -195499,7 +196396,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountAcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end + class GbBankAccountAcknowledgeConfirmationOfPayeeParams < ::Stripe::RequestParams; end end end end @@ -195509,7 +196406,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountArchiveParams < Stripe::RequestParams; end + class GbBankAccountArchiveParams < ::Stripe::RequestParams; end end end end @@ -195519,7 +196416,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountInitiateConfirmationOfPayeeParams < Stripe::RequestParams + class GbBankAccountInitiateConfirmationOfPayeeParams < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. sig { returns(T.nilable(String)) } def business_type; end @@ -195542,7 +196439,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountCreateParams < Stripe::RequestParams + class UsBankAccountCreateParams < ::Stripe::RequestParams # The account number of the bank account. sig { returns(String) } def account_number; end @@ -195582,7 +196479,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountRetrieveParams < Stripe::RequestParams; end + class UsBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end @@ -195592,7 +196489,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountUpdateParams < Stripe::RequestParams + class UsBankAccountUpdateParams < ::Stripe::RequestParams # The bank account's fedwire routing number can be provided for update it was were empty previously. sig { returns(T.nilable(String)) } def fedwire_routing_number; end @@ -195617,7 +196514,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountArchiveParams < Stripe::RequestParams; end + class UsBankAccountArchiveParams < ::Stripe::RequestParams; end end end end @@ -195626,7 +196523,7 @@ end module Stripe module V2 module MoneyManagement - class AdjustmentListParams < Stripe::RequestParams + class AdjustmentListParams < ::Stripe::RequestParams # Filter for Adjustments linked to a Flow. sig { returns(T.nilable(String)) } def adjusted_flow; end @@ -195687,7 +196584,7 @@ end module Stripe module V2 module MoneyManagement - class AdjustmentRetrieveParams < Stripe::RequestParams; end + class AdjustmentRetrieveParams < ::Stripe::RequestParams; end end end end @@ -195695,7 +196592,7 @@ end module Stripe module V2 module MoneyManagement - class FinancialAccountListParams < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams # The page limit. sig { returns(T.nilable(Integer)) } def limit; end @@ -195716,8 +196613,8 @@ end module Stripe module V2 module MoneyManagement - class FinancialAccountCreateParams < Stripe::RequestParams - class Storage < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Storage < ::Stripe::RequestParams # The currencies that this FinancialAccount can hold. sig { returns(T::Array[String]) } def holds_currencies; end @@ -195762,7 +196659,7 @@ end module Stripe module V2 module MoneyManagement - class FinancialAccountRetrieveParams < Stripe::RequestParams; end + class FinancialAccountRetrieveParams < ::Stripe::RequestParams; end end end end @@ -195770,8 +196667,8 @@ end module Stripe module V2 module MoneyManagement - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The address to send forwarded payments to. sig { returns(T.nilable(String)) } def payment_method; end @@ -195806,7 +196703,7 @@ end module Stripe module V2 module MoneyManagement - class FinancialAddressListParams < Stripe::RequestParams + class FinancialAddressListParams < ::Stripe::RequestParams # The ID of the FinancialAccount for which FinancialAddresses are to be returned. sig { returns(T.nilable(String)) } def financial_account; end @@ -195834,7 +196731,7 @@ end module Stripe module V2 module MoneyManagement - class FinancialAddressCreateParams < Stripe::RequestParams + class FinancialAddressCreateParams < ::Stripe::RequestParams # The ID of the FinancialAccount the new FinancialAddress should be associated with. sig { returns(String) } def financial_account; end @@ -195855,7 +196752,7 @@ end module Stripe module V2 module MoneyManagement - class FinancialAddressRetrieveParams < Stripe::RequestParams + class FinancialAddressRetrieveParams < ::Stripe::RequestParams # Open Enum. A list of fields to reveal in the FinancialAddresses returned. sig { returns(T.nilable(T::Array[String])) } def include; end @@ -195871,7 +196768,7 @@ end module Stripe module V2 module MoneyManagement - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } @@ -195926,8 +196823,8 @@ end module Stripe module V2 module MoneyManagement - class InboundTransferCreateParams < Stripe::RequestParams - class From < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams + class From < ::Stripe::RequestParams # An optional currency field used to specify which currency is debited from the Payment Method. # Since many Payment Methods support only one currency, this field is optional. sig { returns(T.nilable(String)) } @@ -195942,7 +196839,7 @@ module Stripe sig { params(currency: T.nilable(String), payment_method: String).void } def initialize(currency: nil, payment_method: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # The currency in which funds will land in. sig { returns(String) } def currency; end @@ -195957,9 +196854,9 @@ module Stripe def initialize(currency: nil, financial_account: nil); end end # The amount, in specified currency, by which the FinancialAccount balance will increase due to the InboundTransfer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # An optional, freeform description field intended to store metadata. sig { returns(T.nilable(String)) } @@ -195981,7 +196878,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, description: T.nilable(String), from: V2::MoneyManagement::InboundTransferCreateParams::From, to: V2::MoneyManagement::InboundTransferCreateParams::To).void + params(amount: ::Stripe::V2::Amount, description: T.nilable(String), from: V2::MoneyManagement::InboundTransferCreateParams::From, to: V2::MoneyManagement::InboundTransferCreateParams::To).void } def initialize(amount: nil, description: nil, from: nil, to: nil); end end @@ -195992,7 +196889,7 @@ end module Stripe module V2 module MoneyManagement - class InboundTransferRetrieveParams < Stripe::RequestParams; end + class InboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196000,7 +196897,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentListParams < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } @@ -196067,8 +196964,8 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -196077,7 +196974,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. sig { returns(String) } def currency; end @@ -196091,7 +196988,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class RecipientNotification < Stripe::RequestParams + class RecipientNotification < ::Stripe::RequestParams # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. sig { returns(String) } @@ -196101,7 +196998,7 @@ module Stripe sig { params(setting: String).void } def initialize(setting: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -196129,9 +197026,9 @@ module Stripe def initialize(currency: nil, payout_method: nil, recipient: nil); end end # The "presentment amount" to be sent to the recipient. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Delivery options to be used to send the OutboundPayment. sig { @@ -196183,7 +197080,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundPaymentCreateParams::From, metadata: T.nilable(T::Hash[String, String]), outbound_payment_quote: T.nilable(String), recipient_notification: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::RecipientNotification), to: V2::MoneyManagement::OutboundPaymentCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundPaymentCreateParams::From, metadata: T.nilable(T::Hash[String, String]), outbound_payment_quote: T.nilable(String), recipient_notification: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::RecipientNotification), to: V2::MoneyManagement::OutboundPaymentCreateParams::To).void } def initialize( amount: nil, @@ -196203,7 +197100,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196211,7 +197108,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentCancelParams < Stripe::RequestParams; end + class OutboundPaymentCancelParams < ::Stripe::RequestParams; end end end end @@ -196219,8 +197116,8 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentQuoteCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -196229,7 +197126,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAccount's currency drawn from. sig { returns(String) } def currency; end @@ -196243,7 +197140,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -196271,9 +197168,9 @@ module Stripe def initialize(currency: nil, payout_method: nil, recipient: nil); end end # The "presentment amount" to be sent to the recipient. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Method to be used to send the OutboundPayment. sig { @@ -196299,7 +197196,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentQuoteCreateParams::DeliveryOptions), from: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::From, to: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentQuoteCreateParams::DeliveryOptions), from: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::From, to: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::To).void } def initialize(amount: nil, delivery_options: nil, from: nil, to: nil); end end @@ -196310,7 +197207,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentQuoteRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196318,7 +197215,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundSetupIntentListParams < Stripe::RequestParams + class OutboundSetupIntentListParams < ::Stripe::RequestParams # The page size. sig { returns(T.nilable(Integer)) } def limit; end @@ -196334,9 +197231,9 @@ end module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCreateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentCreateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. sig { returns(String) } def account_number; end @@ -196379,7 +197276,7 @@ module Stripe swift_code: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. sig { returns(String) } def exp_month; end @@ -196460,7 +197357,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundSetupIntentRetrieveParams < Stripe::RequestParams; end + class OutboundSetupIntentRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196468,9 +197365,9 @@ end module Stripe module V2 module MoneyManagement - class OutboundSetupIntentUpdateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentUpdateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. sig { returns(String) } def account_number; end @@ -196513,7 +197410,7 @@ module Stripe swift_code: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. sig { returns(T.nilable(String)) } def exp_month; end @@ -196589,7 +197486,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCancelParams < Stripe::RequestParams; end + class OutboundSetupIntentCancelParams < ::Stripe::RequestParams; end end end end @@ -196597,7 +197494,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } @@ -196658,8 +197555,8 @@ end module Stripe module V2 module MoneyManagement - class OutboundTransferCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -196668,7 +197565,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. sig { returns(String) } def currency; end @@ -196682,7 +197579,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -196703,9 +197600,9 @@ module Stripe def initialize(currency: nil, payout_method: nil); end end # The "presentment amount" for the OutboundPayment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Delivery options to be used to send the OutboundTransfer. sig { @@ -196743,7 +197640,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundTransferCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundTransferCreateParams::From, metadata: T.nilable(T::Hash[String, String]), to: V2::MoneyManagement::OutboundTransferCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundTransferCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundTransferCreateParams::From, metadata: T.nilable(T::Hash[String, String]), to: V2::MoneyManagement::OutboundTransferCreateParams::To).void } def initialize( amount: nil, @@ -196761,7 +197658,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundTransferRetrieveParams < Stripe::RequestParams; end + class OutboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196769,7 +197666,7 @@ end module Stripe module V2 module MoneyManagement - class OutboundTransferCancelParams < Stripe::RequestParams; end + class OutboundTransferCancelParams < ::Stripe::RequestParams; end end end end @@ -196777,8 +197674,8 @@ end module Stripe module V2 module MoneyManagement - class PayoutMethodListParams < Stripe::RequestParams - class UsageStatus < Stripe::RequestParams + class PayoutMethodListParams < ::Stripe::RequestParams + class UsageStatus < ::Stripe::RequestParams # List of payments status to filter by. sig { returns(T.nilable(T::Array[String])) } def payments; end @@ -196822,7 +197719,7 @@ end module Stripe module V2 module MoneyManagement - class PayoutMethodRetrieveParams < Stripe::RequestParams; end + class PayoutMethodRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196830,7 +197727,7 @@ end module Stripe module V2 module MoneyManagement - class PayoutMethodArchiveParams < Stripe::RequestParams; end + class PayoutMethodArchiveParams < ::Stripe::RequestParams; end end end end @@ -196838,7 +197735,7 @@ end module Stripe module V2 module MoneyManagement - class PayoutMethodUnarchiveParams < Stripe::RequestParams; end + class PayoutMethodUnarchiveParams < ::Stripe::RequestParams; end end end end @@ -196846,7 +197743,7 @@ end module Stripe module V2 module MoneyManagement - class PayoutMethodsBankAccountSpecRetrieveParams < Stripe::RequestParams + class PayoutMethodsBankAccountSpecRetrieveParams < ::Stripe::RequestParams # The countries to fetch the bank account spec for. sig { returns(T.nilable(T::Array[String])) } def countries; end @@ -196862,7 +197759,7 @@ end module Stripe module V2 module MoneyManagement - class ReceivedCreditListParams < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } @@ -196917,7 +197814,7 @@ end module Stripe module V2 module MoneyManagement - class ReceivedCreditRetrieveParams < Stripe::RequestParams; end + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196925,7 +197822,7 @@ end module Stripe module V2 module MoneyManagement - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # The page limit. sig { returns(T.nilable(Integer)) } def limit; end @@ -196941,7 +197838,7 @@ end module Stripe module V2 module MoneyManagement - class ReceivedDebitRetrieveParams < Stripe::RequestParams; end + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams; end end end end @@ -196949,7 +197846,7 @@ end module Stripe module V2 module MoneyManagement - class TransactionListParams < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. sig { returns(T.nilable(String)) } def created; end @@ -197011,7 +197908,7 @@ end module Stripe module V2 module MoneyManagement - class TransactionRetrieveParams < Stripe::RequestParams; end + class TransactionRetrieveParams < ::Stripe::RequestParams; end end end end @@ -197019,7 +197916,7 @@ end module Stripe module V2 module MoneyManagement - class TransactionEntryListParams < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. sig { returns(T.nilable(String)) } def created; end @@ -197075,7 +197972,7 @@ end module Stripe module V2 module MoneyManagement - class TransactionEntryRetrieveParams < Stripe::RequestParams; end + class TransactionEntryRetrieveParams < ::Stripe::RequestParams; end end end end @@ -197083,7 +197980,7 @@ end module Stripe module V2 module Payments - class OffSessionPaymentListParams < Stripe::RequestParams + class OffSessionPaymentListParams < ::Stripe::RequestParams # The page size limit. If not provided, the default is 20. sig { returns(T.nilable(Integer)) } def limit; end @@ -197099,10 +197996,10 @@ end module Stripe module V2 module Payments - class OffSessionPaymentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class OffSessionPaymentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -197157,7 +198054,7 @@ module Stripe unit_cost: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -197178,7 +198075,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -197224,7 +198121,7 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Capture < Stripe::RequestParams + class Capture < ::Stripe::RequestParams # The method to use to capture the payment. sig { returns(String) } def capture_method; end @@ -197233,8 +198130,8 @@ module Stripe sig { params(capture_method: String).void } def initialize(capture_method: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # If you are making a Credential On File transaction with a previously saved card, you should pass the Network Transaction ID # from a prior initial authorization on Stripe (from a successful SetupIntent or a PaymentIntent with `setup_future_usage` set), # or one that you have obtained from another payment processor. This is a token from the network which uniquely identifies the transaction. @@ -197262,7 +198159,7 @@ module Stripe } def initialize(card: nil); end end - class PaymentsOrchestration < Stripe::RequestParams + class PaymentsOrchestration < ::Stripe::RequestParams # True when you want to enable payments orchestration for this off-session payment. False otherwise. sig { returns(T::Boolean) } def enabled; end @@ -197271,7 +198168,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class RetryDetails < Stripe::RequestParams + class RetryDetails < ::Stripe::RequestParams # The pre-configured retry policy to use for the payment. sig { returns(T.nilable(String)) } def retry_policy; end @@ -197285,7 +198182,7 @@ module Stripe sig { params(retry_policy: T.nilable(String), retry_strategy: String).void } def initialize(retry_policy: nil, retry_strategy: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount @@ -197307,9 +198204,9 @@ module Stripe def initialize(amount: nil, destination: nil); end end # The “presentment amount” to be collected from the customer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Provides industry-specific information about the amount. sig { returns(T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails)) } @@ -197411,7 +198308,7 @@ module Stripe } def transfer_data=(_transfer_data); end sig { - params(amount: Stripe::V2::Amount, amount_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails), cadence: String, capture: T.nilable(V2::Payments::OffSessionPaymentCreateParams::Capture), capture_method: T.nilable(String), customer: String, metadata: T::Hash[String, String], on_behalf_of: T.nilable(String), payment_method: String, payment_method_options: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentMethodOptions), payments_orchestration: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentsOrchestration), retry_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::RetryDetails), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), test_clock: T.nilable(String), transfer_data: T.nilable(V2::Payments::OffSessionPaymentCreateParams::TransferData)).void + params(amount: ::Stripe::V2::Amount, amount_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails), cadence: String, capture: T.nilable(V2::Payments::OffSessionPaymentCreateParams::Capture), capture_method: T.nilable(String), customer: String, metadata: T::Hash[String, String], on_behalf_of: T.nilable(String), payment_method: String, payment_method_options: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentMethodOptions), payments_orchestration: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentsOrchestration), retry_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::RetryDetails), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), test_clock: T.nilable(String), transfer_data: T.nilable(V2::Payments::OffSessionPaymentCreateParams::TransferData)).void } def initialize( amount: nil, @@ -197439,7 +198336,7 @@ end module Stripe module V2 module Payments - class OffSessionPaymentRetrieveParams < Stripe::RequestParams; end + class OffSessionPaymentRetrieveParams < ::Stripe::RequestParams; end end end end @@ -197447,7 +198344,7 @@ end module Stripe module V2 module Payments - class OffSessionPaymentCancelParams < Stripe::RequestParams; end + class OffSessionPaymentCancelParams < ::Stripe::RequestParams; end end end end @@ -197455,8 +198352,8 @@ end module Stripe module V2 module Payments - class OffSessionPaymentCaptureParams < Stripe::RequestParams - class TransferData < Stripe::RequestParams + class OffSessionPaymentCaptureParams < ::Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount @@ -197530,11 +198427,11 @@ end module Stripe module V2 module TestHelpers - class FinancialAddressCreditParams < Stripe::RequestParams + class FinancialAddressCreditParams < ::Stripe::RequestParams # Object containing the amount value and currency to credit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit. sig { returns(String) } @@ -197547,7 +198444,7 @@ module Stripe sig { params(_statement_descriptor: T.nilable(String)).returns(T.nilable(String)) } def statement_descriptor=(_statement_descriptor); end sig { - params(amount: Stripe::V2::Amount, network: String, statement_descriptor: T.nilable(String)).void + params(amount: ::Stripe::V2::Amount, network: String, statement_descriptor: T.nilable(String)).void } def initialize(amount: nil, network: nil, statement_descriptor: nil); end end @@ -197558,7 +198455,7 @@ end module Stripe module V2 module TestHelpers - class FinancialAddressGenerateMicrodepositsParams < Stripe::RequestParams; end + class FinancialAddressGenerateMicrodepositsParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/account_capability_list_params.rbi b/rbi/stripe/params/account_capability_list_params.rbi index 145b0fefc..b6dcd180e 100644 --- a/rbi/stripe/params/account_capability_list_params.rbi +++ b/rbi/stripe/params/account_capability_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountCapabilityListParams < Stripe::RequestParams + class AccountCapabilityListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_capability_retrieve_params.rbi b/rbi/stripe/params/account_capability_retrieve_params.rbi index 0d9ffd4ce..52eaa0168 100644 --- a/rbi/stripe/params/account_capability_retrieve_params.rbi +++ b/rbi/stripe/params/account_capability_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountCapabilityRetrieveParams < Stripe::RequestParams + class AccountCapabilityRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_capability_update_params.rbi b/rbi/stripe/params/account_capability_update_params.rbi index f06dd0e84..4cf1ead43 100644 --- a/rbi/stripe/params/account_capability_update_params.rbi +++ b/rbi/stripe/params/account_capability_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountCapabilityUpdateParams < Stripe::RequestParams + class AccountCapabilityUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_create_params.rbi b/rbi/stripe/params/account_create_params.rbi index f43bbbaf8..dac8efb7c 100644 --- a/rbi/stripe/params/account_create_params.rbi +++ b/rbi/stripe/params/account_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -53,8 +53,8 @@ module Stripe routing_number: nil ); end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -73,7 +73,7 @@ module Stripe sig { params(amount: Integer, currency: String, fiscal_year_end: String).void } def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -87,7 +87,7 @@ module Stripe sig { params(amount: Integer, currency: String).void } def initialize(amount: nil, currency: nil); end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -216,8 +216,8 @@ module Stripe url: nil ); end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -226,7 +226,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -235,7 +235,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -244,7 +244,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -253,7 +253,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -262,7 +262,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -271,7 +271,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -280,7 +280,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -289,7 +289,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -298,7 +298,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -307,7 +307,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -316,7 +316,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -325,7 +325,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -334,7 +334,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -343,7 +343,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -352,7 +352,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -361,7 +361,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -370,7 +370,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -379,7 +379,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -388,7 +388,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -397,7 +397,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -406,7 +406,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -415,7 +415,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -424,7 +424,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -433,7 +433,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -442,7 +442,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -451,7 +451,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -460,7 +460,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -469,7 +469,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -478,7 +478,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -487,7 +487,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -496,7 +496,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -505,7 +505,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -514,7 +514,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -523,7 +523,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -532,7 +532,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -541,7 +541,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -550,7 +550,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -559,7 +559,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -568,7 +568,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -577,7 +577,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -586,7 +586,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -595,7 +595,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -604,7 +604,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -613,7 +613,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -622,7 +622,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -631,7 +631,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -640,7 +640,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -649,7 +649,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -658,7 +658,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -667,7 +667,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -676,7 +676,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -685,7 +685,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -694,7 +694,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -703,7 +703,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -712,7 +712,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -721,7 +721,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -730,7 +730,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -739,7 +739,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -748,7 +748,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -757,7 +757,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -766,7 +766,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -775,7 +775,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -784,7 +784,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -793,7 +793,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -802,7 +802,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -811,7 +811,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -820,7 +820,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -829,7 +829,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -838,7 +838,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -847,7 +847,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -856,7 +856,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -865,7 +865,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -874,7 +874,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1481,7 +1481,7 @@ module Stripe zip_payments: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -1580,7 +1580,7 @@ module Stripe default_for_currency: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -1599,8 +1599,8 @@ module Stripe sig { params(object: String, currency: T.nilable(String), token: String).void } def initialize(object: nil, currency: nil, token: nil); end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1643,7 +1643,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1692,7 +1692,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1741,7 +1741,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -1762,7 +1762,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -1783,7 +1783,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -1802,8 +1802,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -1928,6 +1949,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)).returns(T.nilable(AccountCreateParams::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -1958,7 +1986,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(AccountCreateParams::Company::Address), address_kana: T.nilable(AccountCreateParams::Company::AddressKana), address_kanji: T.nilable(AccountCreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountCreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountCreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountCreateParams::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountCreateParams::Company::Verification)).void + params(address: T.nilable(AccountCreateParams::Company::Address), address_kana: T.nilable(AccountCreateParams::Company::AddressKana), address_kanji: T.nilable(AccountCreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountCreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountCreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountCreateParams::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(AccountCreateParams::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountCreateParams::Company::Verification)).void } def initialize( address: nil, @@ -1978,6 +2006,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -1985,8 +2014,8 @@ module Stripe verification: nil ); end end - class Controller < Stripe::RequestParams - class Application < Stripe::RequestParams + class Controller < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). sig { returns(T::Boolean) } def loss_liable; end @@ -2007,7 +2036,7 @@ module Stripe } def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil); end end - class Dashboard < Stripe::RequestParams + class Dashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. sig { returns(T.nilable(String)) } def type; end @@ -2016,7 +2045,7 @@ module Stripe sig { params(type: T.nilable(String)).void } def initialize(type: nil); end end - class Fees < Stripe::RequestParams + class Fees < ::Stripe::RequestParams # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). sig { returns(T.nilable(String)) } def payer; end @@ -2025,7 +2054,7 @@ module Stripe sig { params(payer: T.nilable(String)).void } def initialize(payer: nil); end end - class Losses < Stripe::RequestParams + class Losses < ::Stripe::RequestParams # A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`. sig { returns(T.nilable(String)) } def payments; end @@ -2034,7 +2063,7 @@ module Stripe sig { params(payments: T.nilable(String)).void } def initialize(payments: nil); end end - class StripeDashboard < Stripe::RequestParams + class StripeDashboard < ::Stripe::RequestParams # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`. sig { returns(T.nilable(String)) } def type; end @@ -2095,8 +2124,8 @@ module Stripe stripe_dashboard: nil ); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2105,7 +2134,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2114,7 +2143,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2123,7 +2152,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2132,7 +2161,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2141,7 +2170,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2150,7 +2179,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2159,7 +2188,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2168,7 +2197,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2255,7 +2284,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -2264,8 +2293,8 @@ module Stripe sig { params(payments_pricing: T.nilable(String)).void } def initialize(payments_pricing: nil); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2308,7 +2337,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -2357,7 +2386,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -2406,7 +2435,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -2425,7 +2454,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2468,7 +2497,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -2507,8 +2536,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2522,7 +2551,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2719,8 +2748,8 @@ module Stripe verification: nil ); end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -2730,7 +2759,7 @@ module Stripe sig { params(pause_requested: T.nilable(T::Boolean)).void } def initialize(pause_requested: nil); end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -2759,8 +2788,8 @@ module Stripe } def initialize(charges: nil, payouts: nil); end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -2769,7 +2798,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name sig { returns(T.nilable(String)) } def account_holder_name; end @@ -2785,7 +2814,7 @@ module Stripe } def initialize(account_holder_name: nil, business_account_number: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -2811,7 +2840,7 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -2831,8 +2860,8 @@ module Stripe } def initialize(payout_destination: nil, payout_destination_selector: nil); end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -2865,8 +2894,8 @@ module Stripe } def initialize(tos_acceptance: nil); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -2918,7 +2947,7 @@ module Stripe statement_descriptor_prefix_kanji: nil ); end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. sig { returns(T.nilable(String)) } def hosted_payment_method_save; end @@ -2927,7 +2956,7 @@ module Stripe sig { params(hosted_payment_method_save: T.nilable(String)).void } def initialize(hosted_payment_method_save: nil); end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -2952,8 +2981,8 @@ module Stripe statement_descriptor_kanji: nil ); end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days; end @@ -3026,7 +3055,7 @@ module Stripe } def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil); end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T.nilable(T::Boolean)) } def consented_to_paperless_delivery; end @@ -3037,8 +3066,8 @@ module Stripe sig { params(consented_to_paperless_delivery: T.nilable(T::Boolean)).void } def initialize(consented_to_paperless_delivery: nil); end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -3165,7 +3194,7 @@ module Stripe treasury: nil ); end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. sig { returns(T.nilable(Integer)) } def date; end diff --git a/rbi/stripe/params/account_delete_params.rbi b/rbi/stripe/params/account_delete_params.rbi index 6edab2b6f..7373956d1 100644 --- a/rbi/stripe/params/account_delete_params.rbi +++ b/rbi/stripe/params/account_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class AccountDeleteParams < Stripe::RequestParams; end + class AccountDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/account_external_account_create_params.rbi b/rbi/stripe/params/account_external_account_create_params.rbi index e43dde38c..8c548633c 100644 --- a/rbi/stripe/params/account_external_account_create_params.rbi +++ b/rbi/stripe/params/account_external_account_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -53,7 +53,7 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -146,7 +146,7 @@ module Stripe metadata: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end diff --git a/rbi/stripe/params/account_external_account_delete_params.rbi b/rbi/stripe/params/account_external_account_delete_params.rbi index 07d01a2d3..72a1cf73c 100644 --- a/rbi/stripe/params/account_external_account_delete_params.rbi +++ b/rbi/stripe/params/account_external_account_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class AccountExternalAccountDeleteParams < Stripe::RequestParams; end + class AccountExternalAccountDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/account_external_account_list_params.rbi b/rbi/stripe/params/account_external_account_list_params.rbi index a32f7da42..c5c76a3bd 100644 --- a/rbi/stripe/params/account_external_account_list_params.rbi +++ b/rbi/stripe/params/account_external_account_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountExternalAccountListParams < Stripe::RequestParams + class AccountExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/account_external_account_retrieve_params.rbi b/rbi/stripe/params/account_external_account_retrieve_params.rbi index d08eb4c11..e14729ae6 100644 --- a/rbi/stripe/params/account_external_account_retrieve_params.rbi +++ b/rbi/stripe/params/account_external_account_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountExternalAccountRetrieveParams < Stripe::RequestParams + class AccountExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_external_account_update_params.rbi b/rbi/stripe/params/account_external_account_update_params.rbi index 0f21feab3..f88941790 100644 --- a/rbi/stripe/params/account_external_account_update_params.rbi +++ b/rbi/stripe/params/account_external_account_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class AccountExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class AccountExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end diff --git a/rbi/stripe/params/account_link_create_params.rbi b/rbi/stripe/params/account_link_create_params.rbi index 857567f1b..dcaffa28a 100644 --- a/rbi/stripe/params/account_link_create_params.rbi +++ b/rbi/stripe/params/account_link_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountLinkCreateParams < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`. sig { returns(T.nilable(String)) } def fields; end diff --git a/rbi/stripe/params/account_list_params.rbi b/rbi/stripe/params/account_list_params.rbi index c506a18bb..d22265d7d 100644 --- a/rbi/stripe/params/account_list_params.rbi +++ b/rbi/stripe/params/account_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/account_login_link_create_params.rbi b/rbi/stripe/params/account_login_link_create_params.rbi index c59395f0b..7fb228e4f 100644 --- a/rbi/stripe/params/account_login_link_create_params.rbi +++ b/rbi/stripe/params/account_login_link_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountLoginLinkCreateParams < Stripe::RequestParams + class AccountLoginLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_notice_list_params.rbi b/rbi/stripe/params/account_notice_list_params.rbi index e3a360908..23a72ab1f 100644 --- a/rbi/stripe/params/account_notice_list_params.rbi +++ b/rbi/stripe/params/account_notice_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountNoticeListParams < Stripe::RequestParams + class AccountNoticeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/account_notice_retrieve_params.rbi b/rbi/stripe/params/account_notice_retrieve_params.rbi index aa9446e08..8932ed422 100644 --- a/rbi/stripe/params/account_notice_retrieve_params.rbi +++ b/rbi/stripe/params/account_notice_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountNoticeRetrieveParams < Stripe::RequestParams + class AccountNoticeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_notice_update_params.rbi b/rbi/stripe/params/account_notice_update_params.rbi index 7ea7fc3c6..61aed800f 100644 --- a/rbi/stripe/params/account_notice_update_params.rbi +++ b/rbi/stripe/params/account_notice_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountNoticeUpdateParams < Stripe::RequestParams - class Email < Stripe::RequestParams + class AccountNoticeUpdateParams < ::Stripe::RequestParams + class Email < ::Stripe::RequestParams # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. sig { returns(String) } def plain_text; end diff --git a/rbi/stripe/params/account_person_create_params.rbi b/rbi/stripe/params/account_person_create_params.rbi index ddf3405a9..263839b03 100644 --- a/rbi/stripe/params/account_person_create_params.rbi +++ b/rbi/stripe/params/account_person_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class AccountPersonCreateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonCreateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -38,7 +38,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -81,7 +81,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -130,7 +130,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -179,7 +179,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -198,8 +198,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -208,7 +208,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -217,7 +217,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -252,7 +252,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -295,7 +295,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -352,8 +352,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -369,7 +369,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -407,8 +407,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -422,7 +422,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end diff --git a/rbi/stripe/params/account_person_delete_params.rbi b/rbi/stripe/params/account_person_delete_params.rbi index 38183ba88..9f9c2b527 100644 --- a/rbi/stripe/params/account_person_delete_params.rbi +++ b/rbi/stripe/params/account_person_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class AccountPersonDeleteParams < Stripe::RequestParams; end + class AccountPersonDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/account_person_list_params.rbi b/rbi/stripe/params/account_person_list_params.rbi index 02a937eee..f2ef16887 100644 --- a/rbi/stripe/params/account_person_list_params.rbi +++ b/rbi/stripe/params/account_person_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountPersonListParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonListParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end diff --git a/rbi/stripe/params/account_person_retrieve_params.rbi b/rbi/stripe/params/account_person_retrieve_params.rbi index 883905bab..3b87d17ce 100644 --- a/rbi/stripe/params/account_person_retrieve_params.rbi +++ b/rbi/stripe/params/account_person_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountPersonRetrieveParams < Stripe::RequestParams + class AccountPersonRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_person_update_params.rbi b/rbi/stripe/params/account_person_update_params.rbi index d5d1c7263..ad7a9ef11 100644 --- a/rbi/stripe/params/account_person_update_params.rbi +++ b/rbi/stripe/params/account_person_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class AccountPersonUpdateParams < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class AccountPersonUpdateParams < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -38,7 +38,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -81,7 +81,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -130,7 +130,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -179,7 +179,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -198,8 +198,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -208,7 +208,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -217,7 +217,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -252,7 +252,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -295,7 +295,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -352,8 +352,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -369,7 +369,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -407,8 +407,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -422,7 +422,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end diff --git a/rbi/stripe/params/account_persons_params.rbi b/rbi/stripe/params/account_persons_params.rbi index 9aeae568d..5981a776d 100644 --- a/rbi/stripe/params/account_persons_params.rbi +++ b/rbi/stripe/params/account_persons_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountPersonsParams < Stripe::RequestParams - class Relationship < Stripe::RequestParams + class AccountPersonsParams < ::Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # A filter on the list of people returned based on whether these people are authorizers of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end diff --git a/rbi/stripe/params/account_reject_params.rbi b/rbi/stripe/params/account_reject_params.rbi index 3050703aa..c22fb4bde 100644 --- a/rbi/stripe/params/account_reject_params.rbi +++ b/rbi/stripe/params/account_reject_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountRejectParams < Stripe::RequestParams + class AccountRejectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_retrieve_current_params.rbi b/rbi/stripe/params/account_retrieve_current_params.rbi index b47eb6e2b..81d7fbfdb 100644 --- a/rbi/stripe/params/account_retrieve_current_params.rbi +++ b/rbi/stripe/params/account_retrieve_current_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountRetrieveCurrentParams < Stripe::RequestParams + class AccountRetrieveCurrentParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_retrieve_params.rbi b/rbi/stripe/params/account_retrieve_params.rbi index 5a495e4b7..f9b135693 100644 --- a/rbi/stripe/params/account_retrieve_params.rbi +++ b/rbi/stripe/params/account_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/account_session_create_params.rbi b/rbi/stripe/params/account_session_create_params.rbi index 914d95e0e..0d643d79d 100644 --- a/rbi/stripe/params/account_session_create_params.rbi +++ b/rbi/stripe/params/account_session_create_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class AccountSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class AccountManagement < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class AccountManagement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -48,8 +48,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AccountOnboarding < Stripe::RequestParams - class Features < Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -91,8 +91,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AppInstall < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppInstall < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_apps; end @@ -120,8 +120,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class AppViewport < Stripe::RequestParams - class Features < Stripe::RequestParams + class AppViewport < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # The list of apps allowed to be enabled in the embedded component. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_apps; end @@ -149,8 +149,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Balances < Stripe::RequestParams - class Features < Stripe::RequestParams + class Balances < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -210,8 +210,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancing < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancing < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -231,8 +231,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancingApplication < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingApplication < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -252,8 +252,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalFinancingPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalFinancingPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -273,8 +273,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class CapitalOverview < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class CapitalOverview < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -294,8 +294,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class DisputesList < Stripe::RequestParams - class Features < Stripe::RequestParams + class DisputesList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -347,8 +347,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Documents < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class Documents < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -366,8 +366,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ExportTaxTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ExportTaxTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -387,8 +387,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class FinancialAccount < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccount < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -442,8 +442,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class FinancialAccountTransactions < Stripe::RequestParams - class Features < Stripe::RequestParams + class FinancialAccountTransactions < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card spend dispute management features. sig { returns(T.nilable(T::Boolean)) } def card_spend_dispute_management; end @@ -473,8 +473,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class InstantPayoutsPromotion < Stripe::RequestParams - class Features < Stripe::RequestParams + class InstantPayoutsPromotion < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -522,8 +522,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class IssuingCard < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCard < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. sig { returns(T.nilable(T::Boolean)) } def card_management; end @@ -577,8 +577,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class IssuingCardsList < Stripe::RequestParams - class Features < Stripe::RequestParams + class IssuingCardsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow card management features. sig { returns(T.nilable(T::Boolean)) } def card_management; end @@ -642,8 +642,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class NotificationBanner < Stripe::RequestParams - class Features < Stripe::RequestParams + class NotificationBanner < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -685,8 +685,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentDetails < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -738,8 +738,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentDisputes < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentDisputes < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. sig { returns(T.nilable(T::Boolean)) } def destination_on_behalf_of_charge_management; end @@ -787,8 +787,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PaymentMethodSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PaymentMethodSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -808,8 +808,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Payments < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T.nilable(T::Boolean)) } def capture_payments; end @@ -861,8 +861,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PayoutDetails < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutDetails < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -880,8 +880,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Payouts < Stripe::RequestParams - class Features < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T.nilable(T::Boolean)) } def disable_stripe_user_authentication; end @@ -941,8 +941,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PayoutsList < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class PayoutsList < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -960,8 +960,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ProductTaxCodeSelector < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ProductTaxCodeSelector < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -981,8 +981,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class Recipients < Stripe::RequestParams - class Features < Stripe::RequestParams + class Recipients < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # Whether to allow sending money. sig { returns(T.nilable(T::Boolean)) } def send_money; end @@ -1008,8 +1008,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class ReportingChart < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class ReportingChart < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -1027,8 +1027,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxRegistrations < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxRegistrations < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -1048,8 +1048,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxSettings < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxSettings < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end @@ -1067,8 +1067,8 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class TaxThresholdMonitoring < Stripe::RequestParams - class Features < Stripe::RequestParams; end + class TaxThresholdMonitoring < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams; end # Whether the embedded component is enabled. sig { returns(T::Boolean) } def enabled; end diff --git a/rbi/stripe/params/account_update_params.rbi b/rbi/stripe/params/account_update_params.rbi index 072ffc94d..a841ff4c7 100644 --- a/rbi/stripe/params/account_update_params.rbi +++ b/rbi/stripe/params/account_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class AccountUpdateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -53,8 +53,8 @@ module Stripe routing_number: nil ); end end - class BusinessProfile < Stripe::RequestParams - class AnnualRevenue < Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -73,7 +73,7 @@ module Stripe sig { params(amount: Integer, currency: String, fiscal_year_end: String).void } def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -87,7 +87,7 @@ module Stripe sig { params(amount: Integer, currency: String).void } def initialize(amount: nil, currency: nil); end end - class SupportAddress < Stripe::RequestParams + class SupportAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -216,8 +216,8 @@ module Stripe url: nil ); end end - class Capabilities < Stripe::RequestParams - class AcssDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -226,7 +226,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -235,7 +235,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -244,7 +244,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -253,7 +253,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -262,7 +262,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -271,7 +271,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AutomaticIndirectTax < Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -280,7 +280,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -289,7 +289,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -298,7 +298,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BankTransferPayments < Stripe::RequestParams + class BankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -307,7 +307,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BilliePayments < Stripe::RequestParams + class BilliePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -316,7 +316,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -325,7 +325,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -334,7 +334,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardIssuing < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -343,7 +343,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -352,7 +352,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -361,7 +361,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -370,7 +370,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CryptoPayments < Stripe::RequestParams + class CryptoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -379,7 +379,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -388,7 +388,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -397,7 +397,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -406,7 +406,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GiropayPayments < Stripe::RequestParams + class GiropayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -415,7 +415,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GopayPayments < Stripe::RequestParams + class GopayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -424,7 +424,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -433,7 +433,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPayments < Stripe::RequestParams + class IdBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -442,7 +442,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdBankTransferPaymentsBca < Stripe::RequestParams + class IdBankTransferPaymentsBca < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -451,7 +451,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -460,7 +460,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IndiaInternationalPayments < Stripe::RequestParams + class IndiaInternationalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -469,7 +469,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -478,7 +478,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -487,7 +487,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -496,7 +496,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -505,7 +505,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -514,7 +514,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -523,7 +523,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LegacyPayments < Stripe::RequestParams + class LegacyPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -532,7 +532,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -541,7 +541,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MbWayPayments < Stripe::RequestParams + class MbWayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -550,7 +550,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -559,7 +559,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -568,7 +568,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -577,7 +577,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -586,7 +586,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NzBankAccountBecsDebitPayments < Stripe::RequestParams + class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -595,7 +595,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -604,7 +604,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -613,7 +613,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -622,7 +622,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -631,7 +631,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -640,7 +640,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypalPayments < Stripe::RequestParams + class PaypalPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -649,7 +649,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaypayPayments < Stripe::RequestParams + class PaypayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -658,7 +658,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaytoPayments < Stripe::RequestParams + class PaytoPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -667,7 +667,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PixPayments < Stripe::RequestParams + class PixPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -676,7 +676,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -685,7 +685,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class QrisPayments < Stripe::RequestParams + class QrisPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -694,7 +694,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RechnungPayments < Stripe::RequestParams + class RechnungPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -703,7 +703,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -712,7 +712,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -721,7 +721,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SatispayPayments < Stripe::RequestParams + class SatispayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -730,7 +730,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -739,7 +739,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -748,7 +748,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ShopeepayPayments < Stripe::RequestParams + class ShopeepayPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -757,7 +757,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SofortPayments < Stripe::RequestParams + class SofortPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -766,7 +766,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalancePayments < Stripe::RequestParams + class StripeBalancePayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -775,7 +775,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -784,7 +784,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099K < Stripe::RequestParams + class TaxReportingUs1099K < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -793,7 +793,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TaxReportingUs1099Misc < Stripe::RequestParams + class TaxReportingUs1099Misc < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -802,7 +802,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Transfers < Stripe::RequestParams + class Transfers < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -811,7 +811,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -820,7 +820,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryEvolve < Stripe::RequestParams + class TreasuryEvolve < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -829,7 +829,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryFifthThird < Stripe::RequestParams + class TreasuryFifthThird < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -838,7 +838,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TreasuryGoldmanSachs < Stripe::RequestParams + class TreasuryGoldmanSachs < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -847,7 +847,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -856,7 +856,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankAccountAchPayments < Stripe::RequestParams + class UsBankAccountAchPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -865,7 +865,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -874,7 +874,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1481,7 +1481,7 @@ module Stripe zip_payments: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -1580,7 +1580,7 @@ module Stripe default_for_currency: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -1599,8 +1599,8 @@ module Stripe sig { params(object: String, currency: T.nilable(String), token: String).void } def initialize(object: nil, currency: nil, token: nil); end end - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1643,7 +1643,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1692,7 +1692,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1741,7 +1741,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -1762,7 +1762,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -1783,7 +1783,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -1802,8 +1802,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -1928,6 +1949,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)).returns(T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -1958,7 +1986,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(AccountUpdateParams::Company::Address), address_kana: T.nilable(AccountUpdateParams::Company::AddressKana), address_kanji: T.nilable(AccountUpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountUpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountUpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountUpdateParams::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountUpdateParams::Company::Verification)).void + params(address: T.nilable(AccountUpdateParams::Company::Address), address_kana: T.nilable(AccountUpdateParams::Company::AddressKana), address_kanji: T.nilable(AccountUpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(AccountUpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(AccountUpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, AccountUpdateParams::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(AccountUpdateParams::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(AccountUpdateParams::Company::Verification)).void } def initialize( address: nil, @@ -1978,6 +2006,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -1985,8 +2014,8 @@ module Stripe verification: nil ); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -1995,7 +2024,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2004,7 +2033,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2013,7 +2042,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2022,7 +2051,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2031,7 +2060,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2040,7 +2069,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2049,7 +2078,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2058,7 +2087,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -2145,7 +2174,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class Groups < Stripe::RequestParams + class Groups < ::Stripe::RequestParams # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -2154,8 +2183,8 @@ module Stripe sig { params(payments_pricing: T.nilable(String)).void } def initialize(payments_pricing: nil); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2198,7 +2227,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -2247,7 +2276,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -2296,7 +2325,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -2315,7 +2344,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2358,7 +2387,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -2397,8 +2426,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2412,7 +2441,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2609,8 +2638,8 @@ module Stripe verification: nil ); end end - class RiskControls < Stripe::RequestParams - class Charges < Stripe::RequestParams + class RiskControls < ::Stripe::RequestParams + class Charges < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -2620,7 +2649,7 @@ module Stripe sig { params(pause_requested: T.nilable(T::Boolean)).void } def initialize(pause_requested: nil); end end - class Payouts < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`. # There can be a delay before the risk control is paused or unpaused. sig { returns(T.nilable(T::Boolean)) } @@ -2649,8 +2678,8 @@ module Stripe } def initialize(charges: nil, payouts: nil); end end - class Settings < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -2659,7 +2688,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class BankBcaOnboarding < Stripe::RequestParams + class BankBcaOnboarding < ::Stripe::RequestParams # Bank BCA business account holder name sig { returns(T.nilable(String)) } def account_holder_name; end @@ -2675,7 +2704,7 @@ module Stripe } def initialize(account_holder_name: nil, business_account_number: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -2701,7 +2730,7 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capital < Stripe::RequestParams + class Capital < ::Stripe::RequestParams # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -2721,8 +2750,8 @@ module Stripe } def initialize(payout_destination: nil, payout_destination_selector: nil); end end - class CardIssuing < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -2755,8 +2784,8 @@ module Stripe } def initialize(tos_acceptance: nil); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -2808,7 +2837,7 @@ module Stripe statement_descriptor_prefix_kanji: nil ); end end - class Invoices < Stripe::RequestParams + class Invoices < ::Stripe::RequestParams # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def default_account_tax_ids; end @@ -2826,7 +2855,7 @@ module Stripe } def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil); end end - class Payments < Stripe::RequestParams + class Payments < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors). sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -2851,8 +2880,8 @@ module Stripe statement_descriptor_kanji: nil ); end end - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days; end @@ -2925,7 +2954,7 @@ module Stripe } def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil); end end - class TaxForms < Stripe::RequestParams + class TaxForms < ::Stripe::RequestParams # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T.nilable(T::Boolean)) } def consented_to_paperless_delivery; end @@ -2936,8 +2965,8 @@ module Stripe sig { params(consented_to_paperless_delivery: T.nilable(T::Boolean)).void } def initialize(consented_to_paperless_delivery: nil); end end - class Treasury < Stripe::RequestParams - class TosAcceptance < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -3064,7 +3093,7 @@ module Stripe treasury: nil ); end end - class TosAcceptance < Stripe::RequestParams + class TosAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted their service agreement. sig { returns(T.nilable(Integer)) } def date; end diff --git a/rbi/stripe/params/apple_pay_domain_create_params.rbi b/rbi/stripe/params/apple_pay_domain_create_params.rbi index fec755dd2..b937d5213 100644 --- a/rbi/stripe/params/apple_pay_domain_create_params.rbi +++ b/rbi/stripe/params/apple_pay_domain_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplePayDomainCreateParams < Stripe::RequestParams + class ApplePayDomainCreateParams < ::Stripe::RequestParams # Attribute for param field domain_name sig { returns(String) } def domain_name; end diff --git a/rbi/stripe/params/apple_pay_domain_delete_params.rbi b/rbi/stripe/params/apple_pay_domain_delete_params.rbi index 33d90e187..cb73df684 100644 --- a/rbi/stripe/params/apple_pay_domain_delete_params.rbi +++ b/rbi/stripe/params/apple_pay_domain_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class ApplePayDomainDeleteParams < Stripe::RequestParams; end + class ApplePayDomainDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/apple_pay_domain_list_params.rbi b/rbi/stripe/params/apple_pay_domain_list_params.rbi index f4fbdaf91..ae14e00cd 100644 --- a/rbi/stripe/params/apple_pay_domain_list_params.rbi +++ b/rbi/stripe/params/apple_pay_domain_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplePayDomainListParams < Stripe::RequestParams + class ApplePayDomainListParams < ::Stripe::RequestParams # Attribute for param field domain_name sig { returns(T.nilable(String)) } def domain_name; end diff --git a/rbi/stripe/params/apple_pay_domain_retrieve_params.rbi b/rbi/stripe/params/apple_pay_domain_retrieve_params.rbi index 28c2b3955..f8c6f702d 100644 --- a/rbi/stripe/params/apple_pay_domain_retrieve_params.rbi +++ b/rbi/stripe/params/apple_pay_domain_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplePayDomainRetrieveParams < Stripe::RequestParams + class ApplePayDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/application_fee_list_params.rbi b/rbi/stripe/params/application_fee_list_params.rbi index 54d270348..6e4b8436f 100644 --- a/rbi/stripe/params/application_fee_list_params.rbi +++ b/rbi/stripe/params/application_fee_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ApplicationFeeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ApplicationFeeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/application_fee_refund_create_params.rbi b/rbi/stripe/params/application_fee_refund_create_params.rbi index d4153dc5d..1894a90fd 100644 --- a/rbi/stripe/params/application_fee_refund_create_params.rbi +++ b/rbi/stripe/params/application_fee_refund_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplicationFeeRefundCreateParams < Stripe::RequestParams + class ApplicationFeeRefundCreateParams < ::Stripe::RequestParams # A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/application_fee_refund_list_params.rbi b/rbi/stripe/params/application_fee_refund_list_params.rbi index a0d0cb735..e6c2a5d6a 100644 --- a/rbi/stripe/params/application_fee_refund_list_params.rbi +++ b/rbi/stripe/params/application_fee_refund_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplicationFeeRefundListParams < Stripe::RequestParams + class ApplicationFeeRefundListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/application_fee_refund_retrieve_params.rbi b/rbi/stripe/params/application_fee_refund_retrieve_params.rbi index 23882bcfb..03eafda2b 100644 --- a/rbi/stripe/params/application_fee_refund_retrieve_params.rbi +++ b/rbi/stripe/params/application_fee_refund_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplicationFeeRefundRetrieveParams < Stripe::RequestParams + class ApplicationFeeRefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/application_fee_refund_update_params.rbi b/rbi/stripe/params/application_fee_refund_update_params.rbi index b03b54b54..6e07b4007 100644 --- a/rbi/stripe/params/application_fee_refund_update_params.rbi +++ b/rbi/stripe/params/application_fee_refund_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplicationFeeRefundUpdateParams < Stripe::RequestParams + class ApplicationFeeRefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/application_fee_retrieve_params.rbi b/rbi/stripe/params/application_fee_retrieve_params.rbi index 8298834b9..74350c840 100644 --- a/rbi/stripe/params/application_fee_retrieve_params.rbi +++ b/rbi/stripe/params/application_fee_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ApplicationFeeRetrieveParams < Stripe::RequestParams + class ApplicationFeeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/apps/secret_create_params.rbi b/rbi/stripe/params/apps/secret_create_params.rbi index 446ab530d..bb8b99df2 100644 --- a/rbi/stripe/params/apps/secret_create_params.rbi +++ b/rbi/stripe/params/apps/secret_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Apps - class SecretCreateParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretCreateParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end diff --git a/rbi/stripe/params/apps/secret_delete_where_params.rbi b/rbi/stripe/params/apps/secret_delete_where_params.rbi index 3efbca23a..ec1796d32 100644 --- a/rbi/stripe/params/apps/secret_delete_where_params.rbi +++ b/rbi/stripe/params/apps/secret_delete_where_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Apps - class SecretDeleteWhereParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretDeleteWhereParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end diff --git a/rbi/stripe/params/apps/secret_find_params.rbi b/rbi/stripe/params/apps/secret_find_params.rbi index 7e0039af3..569c8e1b6 100644 --- a/rbi/stripe/params/apps/secret_find_params.rbi +++ b/rbi/stripe/params/apps/secret_find_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Apps - class SecretFindParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretFindParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end diff --git a/rbi/stripe/params/apps/secret_list_params.rbi b/rbi/stripe/params/apps/secret_list_params.rbi index ef5dbc518..2f23f7bf3 100644 --- a/rbi/stripe/params/apps/secret_list_params.rbi +++ b/rbi/stripe/params/apps/secret_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Apps - class SecretListParams < Stripe::RequestParams - class Scope < Stripe::RequestParams + class SecretListParams < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams # The secret scope type. sig { returns(String) } def type; end diff --git a/rbi/stripe/params/balance_retrieve_params.rbi b/rbi/stripe/params/balance_retrieve_params.rbi index 3308dc5c1..029fc05f8 100644 --- a/rbi/stripe/params/balance_retrieve_params.rbi +++ b/rbi/stripe/params/balance_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class BalanceRetrieveParams < Stripe::RequestParams + class BalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/balance_settings_retrieve_params.rbi b/rbi/stripe/params/balance_settings_retrieve_params.rbi index 20009e93c..f77f34381 100644 --- a/rbi/stripe/params/balance_settings_retrieve_params.rbi +++ b/rbi/stripe/params/balance_settings_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class BalanceSettingsRetrieveParams < Stripe::RequestParams + class BalanceSettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/balance_settings_update_params.rbi b/rbi/stripe/params/balance_settings_update_params.rbi index f80033613..09a49ef7a 100644 --- a/rbi/stripe/params/balance_settings_update_params.rbi +++ b/rbi/stripe/params/balance_settings_update_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class BalanceSettingsUpdateParams < Stripe::RequestParams - class Payments < Stripe::RequestParams - class Payouts < Stripe::RequestParams - class Schedule < Stripe::RequestParams + class BalanceSettingsUpdateParams < ::Stripe::RequestParams + class Payments < ::Stripe::RequestParams + class Payouts < ::Stripe::RequestParams + class Schedule < ::Stripe::RequestParams # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. sig { returns(T.nilable(String)) } def interval; end @@ -59,7 +59,7 @@ module Stripe statement_descriptor: nil ); end end - class SettlementTiming < Stripe::RequestParams + class SettlementTiming < ::Stripe::RequestParams # Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](/connect/manage-payout-schedule). sig { returns(T.nilable(T.any(String, Integer))) } def delay_days_override; end diff --git a/rbi/stripe/params/balance_transaction_list_params.rbi b/rbi/stripe/params/balance_transaction_list_params.rbi index c73a51060..2e836cf45 100644 --- a/rbi/stripe/params/balance_transaction_list_params.rbi +++ b/rbi/stripe/params/balance_transaction_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class BalanceTransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class BalanceTransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/balance_transaction_retrieve_params.rbi b/rbi/stripe/params/balance_transaction_retrieve_params.rbi index d7aeef8ce..f12ba3bc0 100644 --- a/rbi/stripe/params/balance_transaction_retrieve_params.rbi +++ b/rbi/stripe/params/balance_transaction_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class BalanceTransactionRetrieveParams < Stripe::RequestParams + class BalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/alert_activate_params.rbi b/rbi/stripe/params/billing/alert_activate_params.rbi index e4368d2d9..145230e45 100644 --- a/rbi/stripe/params/billing/alert_activate_params.rbi +++ b/rbi/stripe/params/billing/alert_activate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class AlertActivateParams < Stripe::RequestParams + class AlertActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/alert_archive_params.rbi b/rbi/stripe/params/billing/alert_archive_params.rbi index e912e8422..a6dab3527 100644 --- a/rbi/stripe/params/billing/alert_archive_params.rbi +++ b/rbi/stripe/params/billing/alert_archive_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class AlertArchiveParams < Stripe::RequestParams + class AlertArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/alert_create_params.rbi b/rbi/stripe/params/billing/alert_create_params.rbi index 0fea33102..583a797f2 100644 --- a/rbi/stripe/params/billing/alert_create_params.rbi +++ b/rbi/stripe/params/billing/alert_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Billing - class AlertCreateParams < Stripe::RequestParams - class UsageThreshold < Stripe::RequestParams - class Filter < Stripe::RequestParams + class AlertCreateParams < ::Stripe::RequestParams + class UsageThreshold < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams # Limit the scope to this usage alert only to this customer. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/billing/alert_deactivate_params.rbi b/rbi/stripe/params/billing/alert_deactivate_params.rbi index 873fe9f12..586c22e01 100644 --- a/rbi/stripe/params/billing/alert_deactivate_params.rbi +++ b/rbi/stripe/params/billing/alert_deactivate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class AlertDeactivateParams < Stripe::RequestParams + class AlertDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/alert_list_params.rbi b/rbi/stripe/params/billing/alert_list_params.rbi index 6784d7a01..46952e146 100644 --- a/rbi/stripe/params/billing/alert_list_params.rbi +++ b/rbi/stripe/params/billing/alert_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class AlertListParams < Stripe::RequestParams + class AlertListParams < ::Stripe::RequestParams # Filter results to only include this type of alert. sig { returns(T.nilable(String)) } def alert_type; end diff --git a/rbi/stripe/params/billing/alert_retrieve_params.rbi b/rbi/stripe/params/billing/alert_retrieve_params.rbi index 4be80c5fa..8bba44d15 100644 --- a/rbi/stripe/params/billing/alert_retrieve_params.rbi +++ b/rbi/stripe/params/billing/alert_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class AlertRetrieveParams < Stripe::RequestParams + class AlertRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/analytics/meter_usage_retrieve_params.rbi b/rbi/stripe/params/billing/analytics/meter_usage_retrieve_params.rbi index dfa22eb33..829672879 100644 --- a/rbi/stripe/params/billing/analytics/meter_usage_retrieve_params.rbi +++ b/rbi/stripe/params/billing/analytics/meter_usage_retrieve_params.rbi @@ -5,8 +5,8 @@ module Stripe module Billing module Analytics - class MeterUsageRetrieveParams < Stripe::RequestParams - class Meter < Stripe::RequestParams + class MeterUsageRetrieveParams < ::Stripe::RequestParams + class Meter < ::Stripe::RequestParams # Key-value pairs used to filter usage events by meter dimension values. If specified, usage will be filtered for matching usage events. sig { returns(T.nilable(T::Hash[String, String])) } def dimension_filters; end diff --git a/rbi/stripe/params/billing/credit_balance_summary_retrieve_params.rbi b/rbi/stripe/params/billing/credit_balance_summary_retrieve_params.rbi index 3cc0ba8a4..62ba24184 100644 --- a/rbi/stripe/params/billing/credit_balance_summary_retrieve_params.rbi +++ b/rbi/stripe/params/billing/credit_balance_summary_retrieve_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module Billing - class CreditBalanceSummaryRetrieveParams < Stripe::RequestParams - class Filter < Stripe::RequestParams - class ApplicabilityScope < Stripe::RequestParams - class Price < Stripe::RequestParams + class CreditBalanceSummaryRetrieveParams < ::Stripe::RequestParams + class Filter < ::Stripe::RequestParams + class ApplicabilityScope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. sig { returns(String) } def id; end diff --git a/rbi/stripe/params/billing/credit_balance_transaction_list_params.rbi b/rbi/stripe/params/billing/credit_balance_transaction_list_params.rbi index 0c568f14a..bccdee6c6 100644 --- a/rbi/stripe/params/billing/credit_balance_transaction_list_params.rbi +++ b/rbi/stripe/params/billing/credit_balance_transaction_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditBalanceTransactionListParams < Stripe::RequestParams + class CreditBalanceTransactionListParams < ::Stripe::RequestParams # The credit grant for which to fetch credit balance transactions. sig { returns(T.nilable(String)) } def credit_grant; end diff --git a/rbi/stripe/params/billing/credit_balance_transaction_retrieve_params.rbi b/rbi/stripe/params/billing/credit_balance_transaction_retrieve_params.rbi index 103d4dcdf..48aac633e 100644 --- a/rbi/stripe/params/billing/credit_balance_transaction_retrieve_params.rbi +++ b/rbi/stripe/params/billing/credit_balance_transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditBalanceTransactionRetrieveParams < Stripe::RequestParams + class CreditBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/credit_grant_create_params.rbi b/rbi/stripe/params/billing/credit_grant_create_params.rbi index 380fd53f7..ba1d32149 100644 --- a/rbi/stripe/params/billing/credit_grant_create_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Billing - class CreditGrantCreateParams < Stripe::RequestParams - class Amount < Stripe::RequestParams - class Monetary < Stripe::RequestParams + class CreditGrantCreateParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams + class Monetary < ::Stripe::RequestParams # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter. sig { returns(String) } def currency; end @@ -37,9 +37,9 @@ module Stripe } def initialize(monetary: nil, type: nil); end end - class ApplicabilityConfig < Stripe::RequestParams - class Scope < Stripe::RequestParams - class Price < Stripe::RequestParams + class ApplicabilityConfig < ::Stripe::RequestParams + class Scope < ::Stripe::RequestParams + class Price < ::Stripe::RequestParams # The price ID this credit grant should apply to. sig { returns(String) } def id; end @@ -91,10 +91,10 @@ module Stripe params(_applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig).returns(Billing::CreditGrantCreateParams::ApplicabilityConfig) } def applicability_config=(_applicability_config); end - # The category of this credit grant. - sig { returns(String) } + # The category of this credit grant. It defaults to `paid` if not specified. + sig { returns(T.nilable(String)) } def category; end - sig { params(_category: String).returns(String) } + sig { params(_category: T.nilable(String)).returns(T.nilable(String)) } def category=(_category); end # ID of the customer to receive the billing credits. sig { returns(T.nilable(String)) } @@ -139,7 +139,7 @@ module Stripe sig { params(_priority: T.nilable(Integer)).returns(T.nilable(Integer)) } def priority=(_priority); end sig { - params(amount: Billing::CreditGrantCreateParams::Amount, applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig, category: String, customer: T.nilable(String), customer_account: T.nilable(String), effective_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), metadata: T.nilable(T::Hash[String, String]), name: T.nilable(String), priority: T.nilable(Integer)).void + params(amount: Billing::CreditGrantCreateParams::Amount, applicability_config: Billing::CreditGrantCreateParams::ApplicabilityConfig, category: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), effective_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), metadata: T.nilable(T::Hash[String, String]), name: T.nilable(String), priority: T.nilable(Integer)).void } def initialize( amount: nil, diff --git a/rbi/stripe/params/billing/credit_grant_expire_params.rbi b/rbi/stripe/params/billing/credit_grant_expire_params.rbi index 7edec2a37..4375c92c1 100644 --- a/rbi/stripe/params/billing/credit_grant_expire_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_expire_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditGrantExpireParams < Stripe::RequestParams + class CreditGrantExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/credit_grant_list_params.rbi b/rbi/stripe/params/billing/credit_grant_list_params.rbi index 8bf4e841a..99927c404 100644 --- a/rbi/stripe/params/billing/credit_grant_list_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditGrantListParams < Stripe::RequestParams + class CreditGrantListParams < ::Stripe::RequestParams # Only return credit grants for this customer. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/billing/credit_grant_retrieve_params.rbi b/rbi/stripe/params/billing/credit_grant_retrieve_params.rbi index a4b80fb80..1b75f6036 100644 --- a/rbi/stripe/params/billing/credit_grant_retrieve_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditGrantRetrieveParams < Stripe::RequestParams + class CreditGrantRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/credit_grant_update_params.rbi b/rbi/stripe/params/billing/credit_grant_update_params.rbi index 0abb1aa86..4c037268a 100644 --- a/rbi/stripe/params/billing/credit_grant_update_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditGrantUpdateParams < Stripe::RequestParams + class CreditGrantUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/credit_grant_void_grant_params.rbi b/rbi/stripe/params/billing/credit_grant_void_grant_params.rbi index 86934733c..1c04eb8ae 100644 --- a/rbi/stripe/params/billing/credit_grant_void_grant_params.rbi +++ b/rbi/stripe/params/billing/credit_grant_void_grant_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class CreditGrantVoidGrantParams < Stripe::RequestParams + class CreditGrantVoidGrantParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/meter_create_params.rbi b/rbi/stripe/params/billing/meter_create_params.rbi index 77294e3ae..e825800d0 100644 --- a/rbi/stripe/params/billing/meter_create_params.rbi +++ b/rbi/stripe/params/billing/meter_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Billing - class MeterCreateParams < Stripe::RequestParams - class CustomerMapping < Stripe::RequestParams + class MeterCreateParams < ::Stripe::RequestParams + class CustomerMapping < ::Stripe::RequestParams # The key in the meter event payload to use for mapping the event to a customer. sig { returns(String) } def event_payload_key; end @@ -19,7 +19,7 @@ module Stripe sig { params(event_payload_key: String, type: String).void } def initialize(event_payload_key: nil, type: nil); end end - class DefaultAggregation < Stripe::RequestParams + class DefaultAggregation < ::Stripe::RequestParams # Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window. sig { returns(String) } def formula; end @@ -28,7 +28,7 @@ module Stripe sig { params(formula: String).void } def initialize(formula: nil); end end - class ValueSettings < Stripe::RequestParams + class ValueSettings < ::Stripe::RequestParams # The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a `bytes_used` field, then set the event_payload_key to "bytes_used". sig { returns(String) } def event_payload_key; end diff --git a/rbi/stripe/params/billing/meter_deactivate_params.rbi b/rbi/stripe/params/billing/meter_deactivate_params.rbi index 7af29aeb3..7c6f144a9 100644 --- a/rbi/stripe/params/billing/meter_deactivate_params.rbi +++ b/rbi/stripe/params/billing/meter_deactivate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterDeactivateParams < Stripe::RequestParams + class MeterDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/meter_event_adjustment_create_params.rbi b/rbi/stripe/params/billing/meter_event_adjustment_create_params.rbi index 8b7eda334..fb05bc03b 100644 --- a/rbi/stripe/params/billing/meter_event_adjustment_create_params.rbi +++ b/rbi/stripe/params/billing/meter_event_adjustment_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(T.nilable(String)) } def identifier; end diff --git a/rbi/stripe/params/billing/meter_event_create_params.rbi b/rbi/stripe/params/billing/meter_event_create_params.rbi index 4de6124f9..14e136b93 100644 --- a/rbi/stripe/params/billing/meter_event_create_params.rbi +++ b/rbi/stripe/params/billing/meter_event_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end diff --git a/rbi/stripe/params/billing/meter_event_summary_list_params.rbi b/rbi/stripe/params/billing/meter_event_summary_list_params.rbi index eff04b1c2..803389a4c 100644 --- a/rbi/stripe/params/billing/meter_event_summary_list_params.rbi +++ b/rbi/stripe/params/billing/meter_event_summary_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterEventSummaryListParams < Stripe::RequestParams + class MeterEventSummaryListParams < ::Stripe::RequestParams # The customer for which to fetch event summaries. sig { returns(String) } def customer; end diff --git a/rbi/stripe/params/billing/meter_list_params.rbi b/rbi/stripe/params/billing/meter_list_params.rbi index 4695516da..23e32cf71 100644 --- a/rbi/stripe/params/billing/meter_list_params.rbi +++ b/rbi/stripe/params/billing/meter_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterListParams < Stripe::RequestParams + class MeterListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/billing/meter_reactivate_params.rbi b/rbi/stripe/params/billing/meter_reactivate_params.rbi index d604c593d..a016f9115 100644 --- a/rbi/stripe/params/billing/meter_reactivate_params.rbi +++ b/rbi/stripe/params/billing/meter_reactivate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterReactivateParams < Stripe::RequestParams + class MeterReactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/meter_retrieve_params.rbi b/rbi/stripe/params/billing/meter_retrieve_params.rbi index 0ff323ad9..c9503060c 100644 --- a/rbi/stripe/params/billing/meter_retrieve_params.rbi +++ b/rbi/stripe/params/billing/meter_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterRetrieveParams < Stripe::RequestParams + class MeterRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing/meter_update_params.rbi b/rbi/stripe/params/billing/meter_update_params.rbi index 5245622df..dbbea8371 100644 --- a/rbi/stripe/params/billing/meter_update_params.rbi +++ b/rbi/stripe/params/billing/meter_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Billing - class MeterUpdateParams < Stripe::RequestParams + class MeterUpdateParams < ::Stripe::RequestParams # The meter’s name. Not visible to the customer. sig { returns(T.nilable(String)) } def display_name; end diff --git a/rbi/stripe/params/billing_portal/configuration_create_params.rbi b/rbi/stripe/params/billing_portal/configuration_create_params.rbi index 2e4628c29..2910190ef 100644 --- a/rbi/stripe/params/billing_portal/configuration_create_params.rbi +++ b/rbi/stripe/params/billing_portal/configuration_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module BillingPortal - class ConfigurationCreateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -26,8 +26,8 @@ module Stripe } def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil); end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_updates; end @@ -45,7 +45,7 @@ module Stripe } def initialize(allowed_updates: nil, enabled: nil); end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -54,17 +54,24 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - sig { params(enabled: T::Boolean).void } - def initialize(enabled: nil); end + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + sig { returns(T.nilable(String)) } + def payment_method_configuration; end + sig { + params(_payment_method_configuration: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_configuration=(_payment_method_configuration); end + sig { params(enabled: T::Boolean, payment_method_configuration: T.nilable(String)).void } + def initialize(enabled: nil, payment_method_configuration: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -114,9 +121,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -161,8 +168,8 @@ module Stripe } def initialize(adjustable_quantity: nil, prices: nil, product: nil); end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. sig { returns(String) } def type; end @@ -293,7 +300,7 @@ module Stripe subscription_update: nil ); end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. sig { returns(T::Boolean) } def enabled; end diff --git a/rbi/stripe/params/billing_portal/configuration_list_params.rbi b/rbi/stripe/params/billing_portal/configuration_list_params.rbi index 5fb6e747d..145d6a842 100644 --- a/rbi/stripe/params/billing_portal/configuration_list_params.rbi +++ b/rbi/stripe/params/billing_portal/configuration_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module BillingPortal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations). sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/billing_portal/configuration_retrieve_params.rbi b/rbi/stripe/params/billing_portal/configuration_retrieve_params.rbi index 3ff6dbcc6..1a4389bd0 100644 --- a/rbi/stripe/params/billing_portal/configuration_retrieve_params.rbi +++ b/rbi/stripe/params/billing_portal/configuration_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module BillingPortal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/billing_portal/configuration_update_params.rbi b/rbi/stripe/params/billing_portal/configuration_update_params.rbi index 84e6e20eb..41b3b7f51 100644 --- a/rbi/stripe/params/billing_portal/configuration_update_params.rbi +++ b/rbi/stripe/params/billing_portal/configuration_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module BillingPortal - class ConfigurationUpdateParams < Stripe::RequestParams - class BusinessProfile < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BusinessProfile < ::Stripe::RequestParams # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -26,8 +26,8 @@ module Stripe } def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil); end end - class Features < Stripe::RequestParams - class CustomerUpdate < Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T.nilable(T.any(String, T::Array[String]))) } def allowed_updates; end @@ -45,7 +45,7 @@ module Stripe } def initialize(allowed_updates: nil, enabled: nil); end end - class InvoiceHistory < Stripe::RequestParams + class InvoiceHistory < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -54,17 +54,24 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentMethodUpdate < Stripe::RequestParams + class PaymentMethodUpdate < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - sig { params(enabled: T::Boolean).void } - def initialize(enabled: nil); end + # The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. + sig { returns(T.nilable(String)) } + def payment_method_configuration; end + sig { + params(_payment_method_configuration: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_configuration=(_payment_method_configuration); end + sig { params(enabled: T::Boolean, payment_method_configuration: T.nilable(String)).void } + def initialize(enabled: nil, payment_method_configuration: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class CancellationReason < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class CancellationReason < ::Stripe::RequestParams # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -116,9 +123,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionUpdate < Stripe::RequestParams - class Product < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -163,8 +170,8 @@ module Stripe } def initialize(adjustable_quantity: nil, prices: nil, product: nil); end end - class ScheduleAtPeriodEnd < Stripe::RequestParams - class Condition < Stripe::RequestParams + class ScheduleAtPeriodEnd < ::Stripe::RequestParams + class Condition < ::Stripe::RequestParams # The type of condition. sig { returns(String) } def type; end @@ -295,7 +302,7 @@ module Stripe subscription_update: nil ); end end - class LoginPage < Stripe::RequestParams + class LoginPage < ::Stripe::RequestParams # Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal. # # Set to `false` to deactivate the `login_page.url`. diff --git a/rbi/stripe/params/billing_portal/session_create_params.rbi b/rbi/stripe/params/billing_portal/session_create_params.rbi index 300fe5d92..b4facc72f 100644 --- a/rbi/stripe/params/billing_portal/session_create_params.rbi +++ b/rbi/stripe/params/billing_portal/session_create_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module BillingPortal - class SessionCreateParams < Stripe::RequestParams - class FlowData < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class FlowData < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the flow is completed. sig { returns(T.nilable(String)) } def custom_message; end @@ -16,7 +16,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the flow is completed. sig { returns(String) } def return_url; end @@ -53,9 +53,9 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class SubscriptionCancel < Stripe::RequestParams - class Retention < Stripe::RequestParams - class CouponOffer < Stripe::RequestParams + class SubscriptionCancel < ::Stripe::RequestParams + class Retention < ::Stripe::RequestParams + class CouponOffer < ::Stripe::RequestParams # The ID of the coupon to be offered. sig { returns(String) } def coupon; end @@ -102,7 +102,7 @@ module Stripe } def initialize(retention: nil, subscription: nil); end end - class SubscriptionUpdate < Stripe::RequestParams + class SubscriptionUpdate < ::Stripe::RequestParams # The ID of the subscription to be updated. sig { returns(String) } def subscription; end @@ -111,8 +111,8 @@ module Stripe sig { params(subscription: String).void } def initialize(subscription: nil); end end - class SubscriptionUpdateConfirm < Stripe::RequestParams - class Discount < Stripe::RequestParams + class SubscriptionUpdateConfirm < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # The ID of the coupon to apply to this subscription update. sig { returns(T.nilable(String)) } def coupon; end @@ -126,7 +126,7 @@ module Stripe sig { params(coupon: T.nilable(String), promotion_code: T.nilable(String)).void } def initialize(coupon: nil, promotion_code: nil); end end - class Item < Stripe::RequestParams + class Item < ::Stripe::RequestParams # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. sig { returns(String) } def id; end diff --git a/rbi/stripe/params/capital/financing_offer_list_params.rbi b/rbi/stripe/params/capital/financing_offer_list_params.rbi index 4a9641767..792865512 100644 --- a/rbi/stripe/params/capital/financing_offer_list_params.rbi +++ b/rbi/stripe/params/capital/financing_offer_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Capital - class FinancingOfferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancingOfferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/capital/financing_offer_mark_delivered_params.rbi b/rbi/stripe/params/capital/financing_offer_mark_delivered_params.rbi index 9cfa31806..e69c96a46 100644 --- a/rbi/stripe/params/capital/financing_offer_mark_delivered_params.rbi +++ b/rbi/stripe/params/capital/financing_offer_mark_delivered_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Capital - class FinancingOfferMarkDeliveredParams < Stripe::RequestParams + class FinancingOfferMarkDeliveredParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/capital/financing_offer_retrieve_params.rbi b/rbi/stripe/params/capital/financing_offer_retrieve_params.rbi index 0a51ba069..09a77c6cb 100644 --- a/rbi/stripe/params/capital/financing_offer_retrieve_params.rbi +++ b/rbi/stripe/params/capital/financing_offer_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Capital - class FinancingOfferRetrieveParams < Stripe::RequestParams + class FinancingOfferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/capital/financing_summary_retrieve_params.rbi b/rbi/stripe/params/capital/financing_summary_retrieve_params.rbi index 0a99c64e2..2cc25a86c 100644 --- a/rbi/stripe/params/capital/financing_summary_retrieve_params.rbi +++ b/rbi/stripe/params/capital/financing_summary_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Capital - class FinancingSummaryRetrieveParams < Stripe::RequestParams + class FinancingSummaryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/capital/financing_transaction_list_params.rbi b/rbi/stripe/params/capital/financing_transaction_list_params.rbi index 1bab9ee08..023e2afc7 100644 --- a/rbi/stripe/params/capital/financing_transaction_list_params.rbi +++ b/rbi/stripe/params/capital/financing_transaction_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Capital - class FinancingTransactionListParams < Stripe::RequestParams + class FinancingTransactionListParams < ::Stripe::RequestParams # For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge. sig { returns(T.nilable(String)) } def charge; end diff --git a/rbi/stripe/params/capital/financing_transaction_retrieve_params.rbi b/rbi/stripe/params/capital/financing_transaction_retrieve_params.rbi index 7c203fafa..32606f617 100644 --- a/rbi/stripe/params/capital/financing_transaction_retrieve_params.rbi +++ b/rbi/stripe/params/capital/financing_transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Capital - class FinancingTransactionRetrieveParams < Stripe::RequestParams + class FinancingTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/charge_capture_params.rbi b/rbi/stripe/params/charge_capture_params.rbi index f7ec8c1c6..7f15aada0 100644 --- a/rbi/stripe/params/charge_capture_params.rbi +++ b/rbi/stripe/params/charge_capture_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class ChargeCaptureParams < Stripe::RequestParams - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class ChargeCaptureParams < ::Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -15,8 +15,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -56,7 +56,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -70,7 +70,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -93,7 +93,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -136,7 +136,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -343,8 +343,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -387,7 +387,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -396,8 +396,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -505,8 +505,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -515,8 +515,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -556,7 +556,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -565,7 +565,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -682,8 +682,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -726,7 +726,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -735,8 +735,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -776,7 +776,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -931,8 +931,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -941,7 +941,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1061,7 +1061,7 @@ module Stripe subscription: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/charge_create_params.rbi b/rbi/stripe/params/charge_create_params.rbi index 3361b0ced..0a731bfc2 100644 --- a/rbi/stripe/params/charge_create_params.rbi +++ b/rbi/stripe/params/charge_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ChargeCreateParams < Stripe::RequestParams - class Destination < Stripe::RequestParams + class ChargeCreateParams < ::Stripe::RequestParams + class Destination < ::Stripe::RequestParams # ID of an existing, connected Stripe account. sig { returns(String) } def account; end @@ -18,7 +18,7 @@ module Stripe sig { params(account: String, amount: T.nilable(Integer)).void } def initialize(account: nil, amount: nil); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -27,8 +27,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -103,7 +103,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/charge_list_params.rbi b/rbi/stripe/params/charge_list_params.rbi index 184cfb9ae..e6fa66be1 100644 --- a/rbi/stripe/params/charge_list_params.rbi +++ b/rbi/stripe/params/charge_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ChargeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ChargeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/charge_retrieve_params.rbi b/rbi/stripe/params/charge_retrieve_params.rbi index 2f10ae992..6031c8f09 100644 --- a/rbi/stripe/params/charge_retrieve_params.rbi +++ b/rbi/stripe/params/charge_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ChargeRetrieveParams < Stripe::RequestParams + class ChargeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/charge_search_params.rbi b/rbi/stripe/params/charge_search_params.rbi index 3283ca7d3..835623ec1 100644 --- a/rbi/stripe/params/charge_search_params.rbi +++ b/rbi/stripe/params/charge_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ChargeSearchParams < Stripe::RequestParams + class ChargeSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/charge_update_params.rbi b/rbi/stripe/params/charge_update_params.rbi index 602072138..4205b7f70 100644 --- a/rbi/stripe/params/charge_update_params.rbi +++ b/rbi/stripe/params/charge_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ChargeUpdateParams < Stripe::RequestParams - class FraudDetails < Stripe::RequestParams + class ChargeUpdateParams < ::Stripe::RequestParams + class FraudDetails < ::Stripe::RequestParams # Either `safe` or `fraudulent`. sig { returns(T.any(String, String)) } def user_report; end @@ -13,9 +13,9 @@ module Stripe sig { params(user_report: T.any(String, String)).void } def initialize(user_report: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -24,8 +24,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -65,7 +65,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -79,7 +79,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -102,7 +102,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -145,7 +145,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -352,8 +352,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -396,7 +396,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -405,8 +405,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -514,8 +514,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -524,8 +524,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -565,7 +565,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -574,7 +574,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -691,8 +691,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -735,7 +735,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -744,8 +744,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -785,7 +785,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -938,8 +938,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -948,7 +948,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1068,8 +1068,8 @@ module Stripe subscription: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/checkout/session_create_params.rbi b/rbi/stripe/params/checkout/session_create_params.rbi index 4cc08466f..8d72f479d 100644 --- a/rbi/stripe/params/checkout/session_create_params.rbi +++ b/rbi/stripe/params/checkout/session_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Checkout - class SessionCreateParams < Stripe::RequestParams - class AdaptivePricing < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AdaptivePricing < ::Stripe::RequestParams # If set to `true`, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing). sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -14,8 +14,8 @@ module Stripe sig { params(enabled: T.nilable(T::Boolean)).void } def initialize(enabled: nil); end end - class AfterExpiration < Stripe::RequestParams - class Recovery < Stripe::RequestParams + class AfterExpiration < ::Stripe::RequestParams + class Recovery < ::Stripe::RequestParams # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` sig { returns(T.nilable(T::Boolean)) } def allow_promotion_codes; end @@ -45,8 +45,8 @@ module Stripe } def initialize(recovery: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -79,8 +79,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BrandingSettings < Stripe::RequestParams - class Icon < Stripe::RequestParams + class BrandingSettings < ::Stripe::RequestParams + class Icon < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -99,7 +99,7 @@ module Stripe sig { params(file: T.nilable(String), type: String, url: T.nilable(String)).void } def initialize(file: nil, type: nil, url: nil); end end - class Logo < Stripe::RequestParams + class Logo < ::Stripe::RequestParams # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -174,8 +174,8 @@ module Stripe logo: nil ); end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. sig { returns(String) } @@ -216,9 +216,9 @@ module Stripe terms_of_service: nil ); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -249,7 +249,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -263,7 +263,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -284,7 +284,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -361,8 +361,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -371,7 +371,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -380,7 +380,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -389,7 +389,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -442,7 +442,7 @@ module Stripe terms_of_service_acceptance: nil ); end end - class CustomerUpdate < Stripe::RequestParams + class CustomerUpdate < ::Stripe::RequestParams # Describes whether Checkout saves the billing address onto `customer.address`. # To always collect a full billing address, use `billing_address_collection`. Defaults to `never`. sig { returns(T.nilable(String)) } @@ -465,8 +465,8 @@ module Stripe } def initialize(address: nil, name: nil, shipping: nil); end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). sig { returns(T.nilable(Integer)) } def amount_off; end @@ -533,9 +533,9 @@ module Stripe } def initialize(coupon: nil, coupon_data: nil, promotion_code: nil); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -549,7 +549,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -563,7 +563,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -662,8 +662,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -684,8 +684,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -732,7 +732,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -856,8 +856,8 @@ module Stripe tax_rates: nil ); end end - class NameCollection < Stripe::RequestParams - class Business < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams # Enable business name collection on the Checkout Session. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -871,7 +871,7 @@ module Stripe sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } def initialize(enabled: nil, optional: nil); end end - class Individual < Stripe::RequestParams + class Individual < ::Stripe::RequestParams # Enable individual name collection on the Checkout Session. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -904,8 +904,8 @@ module Stripe } def initialize(business: nil, individual: nil); end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -948,9 +948,9 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1031,7 +1031,7 @@ module Stripe tracking_number: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -1156,7 +1156,7 @@ module Stripe transfer_group: nil ); end end - class PaymentMethodData < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams # Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout. sig { returns(T.nilable(String)) } def allow_redisplay; end @@ -1165,9 +1165,9 @@ module Stripe sig { params(allow_redisplay: T.nilable(String)).void } def initialize(allow_redisplay: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1254,7 +1254,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1276,7 +1276,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1298,7 +1298,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1313,7 +1313,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1322,7 +1322,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1344,7 +1344,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1364,8 +1364,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String), target_date: T.nilable(String)).void } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1404,7 +1404,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1419,7 +1419,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1428,7 +1428,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -1450,8 +1450,8 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams # Setting to true enables installments for this Checkout Session. # Setting to false will prevent any installment plan from applying to a payment. sig { returns(T.nilable(T::Boolean)) } @@ -1461,7 +1461,7 @@ module Stripe sig { params(enabled: T.nilable(T::Boolean)).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. sig { returns(T.nilable(T::Array[String])) } def brands_blocked; end @@ -1574,7 +1574,7 @@ module Stripe statement_descriptor_suffix_kanji: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1596,9 +1596,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -1665,7 +1665,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class DemoPay < Stripe::RequestParams + class DemoPay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1680,7 +1680,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1695,7 +1695,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1710,7 +1710,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1725,7 +1725,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1740,7 +1740,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1755,7 +1755,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class KakaoPay < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1777,9 +1777,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -1863,7 +1863,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil, subscriptions: nil); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -1885,7 +1885,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1907,7 +1907,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1929,7 +1929,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1951,7 +1951,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1966,7 +1966,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1988,7 +1988,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -2010,7 +2010,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2034,8 +2034,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2044,7 +2044,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2059,7 +2059,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2120,8 +2120,8 @@ module Stripe subsellers: nil ); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -2195,8 +2195,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -2291,7 +2291,7 @@ module Stripe setup_future_usage: nil ); end end - class RevolutPay < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2313,7 +2313,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2322,7 +2322,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2331,8 +2331,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -2371,7 +2371,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2386,7 +2386,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. sig { returns(T.nilable(String)) } def reference; end @@ -2395,8 +2395,23 @@ module Stripe sig { params(reference: T.nilable(String)).void } def initialize(reference: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + sig { returns(T.nilable(String)) } + def setup_future_usage; end + sig { params(_setup_future_usage: T.nilable(String)).returns(T.nilable(String)) } + def setup_future_usage=(_setup_future_usage); end + sig { params(setup_future_usage: T.nilable(String)).void } + def initialize(setup_future_usage: nil); end + end + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`. sig { returns(T.nilable(T::Array[String])) } def permissions; end @@ -2456,7 +2471,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -2781,6 +2796,13 @@ module Stripe params(_swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish)).returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish)) } def swish=(_swish); end + # contains details about the TWINT payment method options. + sig { returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)) } + def twint; end + sig { + params(_twint: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)).returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint)) + } + def twint=(_twint); end # contains details about the Us Bank Account payment method options. sig { returns(T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount)) @@ -2798,7 +2820,7 @@ module Stripe } def wechat_pay=(_wechat_pay); end sig { - params(acss_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AcssDebit), affirm: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Affirm), afterpay_clearpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AfterpayClearpay), alipay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alipay), alma: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alma), amazon_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AmazonPay), au_becs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AuBecsDebit), bacs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::BacsDebit), bancontact: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Bancontact), billie: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Billie), boleto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Boleto), card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Card), cashapp: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Cashapp), customer_balance: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::CustomerBalance), demo_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::DemoPay), eps: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Eps), fpx: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Fpx), giropay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Giropay), grabpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Grabpay), ideal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Ideal), kakao_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KakaoPay), klarna: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Klarna), konbini: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Konbini), kr_card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KrCard), link: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Link), mobilepay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Mobilepay), multibanco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Multibanco), naver_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::NaverPay), oxxo: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Oxxo), p24: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::P24), pay_by_bank: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::PayByBank), payco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payco), paynow: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paynow), paypal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paypal), payto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payto), pix: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Pix), revolut_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::RevolutPay), samsung_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SamsungPay), satispay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Satispay), sepa_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SepaDebit), sofort: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Sofort), swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish), us_bank_account: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount), wechat_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::WechatPay)).void + params(acss_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AcssDebit), affirm: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Affirm), afterpay_clearpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AfterpayClearpay), alipay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alipay), alma: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Alma), amazon_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AmazonPay), au_becs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::AuBecsDebit), bacs_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::BacsDebit), bancontact: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Bancontact), billie: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Billie), boleto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Boleto), card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Card), cashapp: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Cashapp), customer_balance: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::CustomerBalance), demo_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::DemoPay), eps: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Eps), fpx: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Fpx), giropay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Giropay), grabpay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Grabpay), ideal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Ideal), kakao_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KakaoPay), klarna: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Klarna), konbini: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Konbini), kr_card: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::KrCard), link: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Link), mobilepay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Mobilepay), multibanco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Multibanco), naver_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::NaverPay), oxxo: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Oxxo), p24: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::P24), pay_by_bank: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::PayByBank), payco: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payco), paynow: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paynow), paypal: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Paypal), payto: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Payto), pix: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Pix), revolut_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::RevolutPay), samsung_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SamsungPay), satispay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Satispay), sepa_debit: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::SepaDebit), sofort: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Sofort), swish: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Swish), twint: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::Twint), us_bank_account: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::UsBankAccount), wechat_pay: T.nilable(Checkout::SessionCreateParams::PaymentMethodOptions::WechatPay)).void } def initialize( acss_debit: nil, @@ -2843,12 +2865,13 @@ module Stripe sepa_debit: nil, sofort: nil, swish: nil, + twint: nil, us_bank_account: nil, wechat_pay: nil ); end end - class Permissions < Stripe::RequestParams - class Update < Stripe::RequestParams + class Permissions < ::Stripe::RequestParams + class Update < ::Stripe::RequestParams # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -2912,7 +2935,7 @@ module Stripe update_shipping_details: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. # # Can only be set in `payment` and `subscription` mode. @@ -2923,7 +2946,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class SavedPaymentMethodOptions < Stripe::RequestParams + class SavedPaymentMethodOptions < ::Stripe::RequestParams # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. sig { returns(T.nilable(T::Array[String])) } def allow_redisplay_filters; end @@ -2950,7 +2973,7 @@ module Stripe payment_method_save: nil ); end end - class SetupIntentData < Stripe::RequestParams + class SetupIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -2973,7 +2996,7 @@ module Stripe } def initialize(description: nil, metadata: nil, on_behalf_of: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -2983,10 +3006,10 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -3000,7 +3023,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -3037,8 +3060,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -3151,9 +3174,9 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class SubscriptionData < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -3181,8 +3204,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -3210,7 +3233,7 @@ module Stripe } def initialize(issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -3224,8 +3247,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -3348,7 +3371,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -3362,8 +3385,8 @@ module Stripe sig { params(enabled: T::Boolean, required: T.nilable(String)).void } def initialize(enabled: nil, required: nil); end end - class WalletOptions < Stripe::RequestParams - class Link < Stripe::RequestParams + class WalletOptions < ::Stripe::RequestParams + class Link < ::Stripe::RequestParams # Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice. sig { returns(T.nilable(String)) } def display; end diff --git a/rbi/stripe/params/checkout/session_expire_params.rbi b/rbi/stripe/params/checkout/session_expire_params.rbi index 4edbf48d8..26398181f 100644 --- a/rbi/stripe/params/checkout/session_expire_params.rbi +++ b/rbi/stripe/params/checkout/session_expire_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Checkout - class SessionExpireParams < Stripe::RequestParams + class SessionExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/checkout/session_line_item_list_params.rbi b/rbi/stripe/params/checkout/session_line_item_list_params.rbi index 9319019b2..038c84dca 100644 --- a/rbi/stripe/params/checkout/session_line_item_list_params.rbi +++ b/rbi/stripe/params/checkout/session_line_item_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Checkout - class SessionLineItemListParams < Stripe::RequestParams + class SessionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/checkout/session_list_line_items_params.rbi b/rbi/stripe/params/checkout/session_list_line_items_params.rbi index 8b9e72615..989a2ec58 100644 --- a/rbi/stripe/params/checkout/session_list_line_items_params.rbi +++ b/rbi/stripe/params/checkout/session_list_line_items_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Checkout - class SessionListLineItemsParams < Stripe::RequestParams + class SessionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/checkout/session_list_params.rbi b/rbi/stripe/params/checkout/session_list_params.rbi index c63212c70..0f02eec49 100644 --- a/rbi/stripe/params/checkout/session_list_params.rbi +++ b/rbi/stripe/params/checkout/session_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Checkout - class SessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -31,7 +31,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CustomerDetails < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # Customer's email address. sig { returns(String) } def email; end diff --git a/rbi/stripe/params/checkout/session_retrieve_params.rbi b/rbi/stripe/params/checkout/session_retrieve_params.rbi index c2db11371..e923f4905 100644 --- a/rbi/stripe/params/checkout/session_retrieve_params.rbi +++ b/rbi/stripe/params/checkout/session_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Checkout - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/checkout/session_update_params.rbi b/rbi/stripe/params/checkout/session_update_params.rbi index 461fb73f6..1762a0867 100644 --- a/rbi/stripe/params/checkout/session_update_params.rbi +++ b/rbi/stripe/params/checkout/session_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Checkout - class SessionUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SessionUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -32,9 +32,9 @@ module Stripe } def initialize(liability: nil); end end - class CollectedInformation < Stripe::RequestParams - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CollectedInformation < ::Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -110,8 +110,8 @@ module Stripe } def initialize(shipping_details: nil); end end - class Discount < Stripe::RequestParams - class CouponData < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class CouponData < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). sig { returns(T.nilable(Integer)) } def amount_off; end @@ -173,9 +173,9 @@ module Stripe } def initialize(coupon: nil, coupon_data: nil); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -215,8 +215,8 @@ module Stripe } def initialize(invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity. sig { returns(T::Boolean) } def enabled; end @@ -237,8 +237,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -285,7 +285,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -409,10 +409,10 @@ module Stripe tax_rates: nil ); end end - class ShippingOption < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -426,7 +426,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -463,8 +463,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -577,9 +577,9 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end diff --git a/rbi/stripe/params/climate/order_cancel_params.rbi b/rbi/stripe/params/climate/order_cancel_params.rbi index 3a5addfc3..3124ba405 100644 --- a/rbi/stripe/params/climate/order_cancel_params.rbi +++ b/rbi/stripe/params/climate/order_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/climate/order_create_params.rbi b/rbi/stripe/params/climate/order_create_params.rbi index fe51d482c..df30403a4 100644 --- a/rbi/stripe/params/climate/order_create_params.rbi +++ b/rbi/stripe/params/climate/order_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Climate - class OrderCreateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end diff --git a/rbi/stripe/params/climate/order_list_params.rbi b/rbi/stripe/params/climate/order_list_params.rbi index f6c986b83..1424e6529 100644 --- a/rbi/stripe/params/climate/order_list_params.rbi +++ b/rbi/stripe/params/climate/order_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/climate/order_retrieve_params.rbi b/rbi/stripe/params/climate/order_retrieve_params.rbi index 009a433d7..6f65d0b61 100644 --- a/rbi/stripe/params/climate/order_retrieve_params.rbi +++ b/rbi/stripe/params/climate/order_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/climate/order_update_params.rbi b/rbi/stripe/params/climate/order_update_params.rbi index e0efe75ba..6ebc67e1b 100644 --- a/rbi/stripe/params/climate/order_update_params.rbi +++ b/rbi/stripe/params/climate/order_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Climate - class OrderUpdateParams < Stripe::RequestParams - class Beneficiary < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class Beneficiary < ::Stripe::RequestParams # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end diff --git a/rbi/stripe/params/climate/product_list_params.rbi b/rbi/stripe/params/climate/product_list_params.rbi index e41ba05ab..9d7786f82 100644 --- a/rbi/stripe/params/climate/product_list_params.rbi +++ b/rbi/stripe/params/climate/product_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class ProductListParams < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/climate/product_retrieve_params.rbi b/rbi/stripe/params/climate/product_retrieve_params.rbi index 9daef3a8f..8d241e641 100644 --- a/rbi/stripe/params/climate/product_retrieve_params.rbi +++ b/rbi/stripe/params/climate/product_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/climate/supplier_list_params.rbi b/rbi/stripe/params/climate/supplier_list_params.rbi index 2efe5e125..2850d020a 100644 --- a/rbi/stripe/params/climate/supplier_list_params.rbi +++ b/rbi/stripe/params/climate/supplier_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class SupplierListParams < Stripe::RequestParams + class SupplierListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/climate/supplier_retrieve_params.rbi b/rbi/stripe/params/climate/supplier_retrieve_params.rbi index 4380ccc25..19d187bf1 100644 --- a/rbi/stripe/params/climate/supplier_retrieve_params.rbi +++ b/rbi/stripe/params/climate/supplier_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Climate - class SupplierRetrieveParams < Stripe::RequestParams + class SupplierRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/confirmation_token_create_params.rbi b/rbi/stripe/params/confirmation_token_create_params.rbi index 3a34ace3a..6283e0e8a 100644 --- a/rbi/stripe/params/confirmation_token_create_params.rbi +++ b/rbi/stripe/params/confirmation_token_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -26,12 +26,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -45,7 +45,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -59,10 +59,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139,8 +139,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -149,10 +149,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -161,7 +161,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -175,10 +175,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -187,7 +187,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -196,10 +196,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -230,13 +230,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -245,7 +245,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -288,8 +288,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -298,12 +298,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -324,10 +324,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -336,8 +336,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -366,10 +366,10 @@ module Stripe sig { params(dob: ConfirmationTokenCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -378,8 +378,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -388,7 +388,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -402,9 +402,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -441,8 +441,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(ConfirmationTokenCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -941,10 +941,10 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -1007,8 +1007,8 @@ module Stripe } def initialize(card: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/confirmation_token_retrieve_params.rbi b/rbi/stripe/params/confirmation_token_retrieve_params.rbi index d781e7442..17e3764da 100644 --- a/rbi/stripe/params/confirmation_token_retrieve_params.rbi +++ b/rbi/stripe/params/confirmation_token_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ConfirmationTokenRetrieveParams < Stripe::RequestParams + class ConfirmationTokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/country_spec_list_params.rbi b/rbi/stripe/params/country_spec_list_params.rbi index 7b2be9c01..b3264d16b 100644 --- a/rbi/stripe/params/country_spec_list_params.rbi +++ b/rbi/stripe/params/country_spec_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CountrySpecListParams < Stripe::RequestParams + class CountrySpecListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/country_spec_retrieve_params.rbi b/rbi/stripe/params/country_spec_retrieve_params.rbi index 1fbaf79f7..236e7e0e2 100644 --- a/rbi/stripe/params/country_spec_retrieve_params.rbi +++ b/rbi/stripe/params/country_spec_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CountrySpecRetrieveParams < Stripe::RequestParams + class CountrySpecRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/coupon_create_params.rbi b/rbi/stripe/params/coupon_create_params.rbi index f7cee68e5..19a90a1ab 100644 --- a/rbi/stripe/params/coupon_create_params.rbi +++ b/rbi/stripe/params/coupon_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CouponCreateParams < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class CouponCreateParams < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # An array of Product IDs that this Coupon will apply to. sig { returns(T.nilable(T::Array[String])) } def products; end @@ -13,7 +13,7 @@ module Stripe sig { params(products: T.nilable(T::Array[String])).void } def initialize(products: nil); end end - class CurrencyOptions < Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. sig { returns(Integer) } def amount_off; end @@ -22,7 +22,7 @@ module Stripe sig { params(amount_off: Integer).void } def initialize(amount_off: nil); end end - class Script < Stripe::RequestParams + class Script < ::Stripe::RequestParams # The configuration values of the script. The keys and values are specific to the script implementation. sig { returns(T::Hash[String, T.untyped]) } def configuration; end diff --git a/rbi/stripe/params/coupon_delete_params.rbi b/rbi/stripe/params/coupon_delete_params.rbi index e75b26fc6..2f91ba4bb 100644 --- a/rbi/stripe/params/coupon_delete_params.rbi +++ b/rbi/stripe/params/coupon_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class CouponDeleteParams < Stripe::RequestParams; end + class CouponDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/coupon_list_params.rbi b/rbi/stripe/params/coupon_list_params.rbi index 40b5cde19..ad089e003 100644 --- a/rbi/stripe/params/coupon_list_params.rbi +++ b/rbi/stripe/params/coupon_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CouponListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CouponListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/coupon_retrieve_params.rbi b/rbi/stripe/params/coupon_retrieve_params.rbi index 3f68397cd..c0273987c 100644 --- a/rbi/stripe/params/coupon_retrieve_params.rbi +++ b/rbi/stripe/params/coupon_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CouponRetrieveParams < Stripe::RequestParams + class CouponRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/coupon_update_params.rbi b/rbi/stripe/params/coupon_update_params.rbi index fe6c63ff5..ed0d2a790 100644 --- a/rbi/stripe/params/coupon_update_params.rbi +++ b/rbi/stripe/params/coupon_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CouponUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class CouponUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A positive integer representing the amount to subtract from an invoice total. sig { returns(Integer) } def amount_off; end diff --git a/rbi/stripe/params/credit_note_create_params.rbi b/rbi/stripe/params/credit_note_create_params.rbi index 1055b160d..3a83e53f8 100644 --- a/rbi/stripe/params/credit_note_create_params.rbi +++ b/rbi/stripe/params/credit_note_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CreditNoteCreateParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteCreateParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -88,21 +88,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNoteCreateParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end diff --git a/rbi/stripe/params/credit_note_line_item_list_params.rbi b/rbi/stripe/params/credit_note_line_item_list_params.rbi index bee826ea1..942179f36 100644 --- a/rbi/stripe/params/credit_note_line_item_list_params.rbi +++ b/rbi/stripe/params/credit_note_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CreditNoteLineItemListParams < Stripe::RequestParams + class CreditNoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/credit_note_list_params.rbi b/rbi/stripe/params/credit_note_list_params.rbi index 8500bb142..0975edb01 100644 --- a/rbi/stripe/params/credit_note_list_params.rbi +++ b/rbi/stripe/params/credit_note_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CreditNoteListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CreditNoteListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/credit_note_list_preview_line_items_params.rbi b/rbi/stripe/params/credit_note_list_preview_line_items_params.rbi index 60567cd6f..830c8a3b4 100644 --- a/rbi/stripe/params/credit_note_list_preview_line_items_params.rbi +++ b/rbi/stripe/params/credit_note_list_preview_line_items_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CreditNoteListPreviewLineItemsParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNoteListPreviewLineItemsParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -90,21 +90,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNoteListPreviewLineItemsParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end diff --git a/rbi/stripe/params/credit_note_preview_lines_list_params.rbi b/rbi/stripe/params/credit_note_preview_lines_list_params.rbi index cd7f6e156..e57110c74 100644 --- a/rbi/stripe/params/credit_note_preview_lines_list_params.rbi +++ b/rbi/stripe/params/credit_note_preview_lines_list_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CreditNotePreviewLinesListParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewLinesListParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -90,21 +90,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNotePreviewLinesListParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end diff --git a/rbi/stripe/params/credit_note_preview_params.rbi b/rbi/stripe/params/credit_note_preview_params.rbi index 98173e150..f0678ed13 100644 --- a/rbi/stripe/params/credit_note_preview_params.rbi +++ b/rbi/stripe/params/credit_note_preview_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CreditNotePreviewParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class TaxAmount < Stripe::RequestParams + class CreditNotePreviewParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams # The amount, in cents (or local equivalent), of the tax. sig { returns(Integer) } def amount; end @@ -88,21 +88,49 @@ module Stripe unit_amount_decimal: nil ); end end - class Refund < Stripe::RequestParams + class Refund < ::Stripe::RequestParams + class PaymentRecordRefund < ::Stripe::RequestParams + # The ID of the PaymentRecord with the refund to link to this credit note. + sig { returns(String) } + def payment_record; end + sig { params(_payment_record: String).returns(String) } + def payment_record=(_payment_record); end + # The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord. + sig { returns(String) } + def refund_group; end + sig { params(_refund_group: String).returns(String) } + def refund_group=(_refund_group); end + sig { params(payment_record: String, refund_group: String).void } + def initialize(payment_record: nil, refund_group: nil); end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. sig { returns(T.nilable(Integer)) } def amount_refunded; end sig { params(_amount_refunded: T.nilable(Integer)).returns(T.nilable(Integer)) } def amount_refunded=(_amount_refunded); end + # The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`. + sig { returns(T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)) } + def payment_record_refund; end + sig { + params(_payment_record_refund: T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)).returns(T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund)) + } + def payment_record_refund=(_payment_record_refund); end # ID of an existing refund to link this credit note to. Required when `type` is `refund`. sig { returns(T.nilable(String)) } def refund; end sig { params(_refund: T.nilable(String)).returns(T.nilable(String)) } def refund=(_refund); end - sig { params(amount_refunded: T.nilable(Integer), refund: T.nilable(String)).void } - def initialize(amount_refunded: nil, refund: nil); end + # Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`. + sig { returns(T.nilable(String)) } + def type; end + sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } + def type=(_type); end + sig { + params(amount_refunded: T.nilable(Integer), payment_record_refund: T.nilable(CreditNotePreviewParams::Refund::PaymentRecordRefund), refund: T.nilable(String), type: T.nilable(String)).void + } + def initialize(amount_refunded: nil, payment_record_refund: nil, refund: nil, type: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The ID of the shipping rate to use for this order. sig { returns(T.nilable(String)) } def shipping_rate; end diff --git a/rbi/stripe/params/credit_note_retrieve_params.rbi b/rbi/stripe/params/credit_note_retrieve_params.rbi index f90d58919..b9a740312 100644 --- a/rbi/stripe/params/credit_note_retrieve_params.rbi +++ b/rbi/stripe/params/credit_note_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CreditNoteRetrieveParams < Stripe::RequestParams + class CreditNoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/credit_note_update_params.rbi b/rbi/stripe/params/credit_note_update_params.rbi index 456eb8d89..d72804b89 100644 --- a/rbi/stripe/params/credit_note_update_params.rbi +++ b/rbi/stripe/params/credit_note_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CreditNoteUpdateParams < Stripe::RequestParams + class CreditNoteUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/credit_note_void_credit_note_params.rbi b/rbi/stripe/params/credit_note_void_credit_note_params.rbi index a0fc69c85..cc8567ecf 100644 --- a/rbi/stripe/params/credit_note_void_credit_note_params.rbi +++ b/rbi/stripe/params/credit_note_void_credit_note_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CreditNoteVoidCreditNoteParams < Stripe::RequestParams + class CreditNoteVoidCreditNoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_balance_transaction_create_params.rbi b/rbi/stripe/params/customer_balance_transaction_create_params.rbi index 0358c350e..5c5115d03 100644 --- a/rbi/stripe/params/customer_balance_transaction_create_params.rbi +++ b/rbi/stripe/params/customer_balance_transaction_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerBalanceTransactionCreateParams < Stripe::RequestParams + class CustomerBalanceTransactionCreateParams < ::Stripe::RequestParams # The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/customer_balance_transaction_list_params.rbi b/rbi/stripe/params/customer_balance_transaction_list_params.rbi index 289ab6945..dc50f578c 100644 --- a/rbi/stripe/params/customer_balance_transaction_list_params.rbi +++ b/rbi/stripe/params/customer_balance_transaction_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerBalanceTransactionListParams < Stripe::RequestParams + class CustomerBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/customer_balance_transaction_retrieve_params.rbi b/rbi/stripe/params/customer_balance_transaction_retrieve_params.rbi index e15acd8ae..a6626ff27 100644 --- a/rbi/stripe/params/customer_balance_transaction_retrieve_params.rbi +++ b/rbi/stripe/params/customer_balance_transaction_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_balance_transaction_update_params.rbi b/rbi/stripe/params/customer_balance_transaction_update_params.rbi index f9cfb8f28..623600d3d 100644 --- a/rbi/stripe/params/customer_balance_transaction_update_params.rbi +++ b/rbi/stripe/params/customer_balance_transaction_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerBalanceTransactionUpdateParams < Stripe::RequestParams + class CustomerBalanceTransactionUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/customer_cash_balance_retrieve_params.rbi b/rbi/stripe/params/customer_cash_balance_retrieve_params.rbi index da3292da5..fbc6e2435 100644 --- a/rbi/stripe/params/customer_cash_balance_retrieve_params.rbi +++ b/rbi/stripe/params/customer_cash_balance_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerCashBalanceRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_cash_balance_transaction_list_params.rbi b/rbi/stripe/params/customer_cash_balance_transaction_list_params.rbi index 7ff0c0295..8c899fe58 100644 --- a/rbi/stripe/params/customer_cash_balance_transaction_list_params.rbi +++ b/rbi/stripe/params/customer_cash_balance_transaction_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerCashBalanceTransactionListParams < Stripe::RequestParams + class CustomerCashBalanceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/customer_cash_balance_transaction_retrieve_params.rbi b/rbi/stripe/params/customer_cash_balance_transaction_retrieve_params.rbi index 57270063c..a2f12ef16 100644 --- a/rbi/stripe/params/customer_cash_balance_transaction_retrieve_params.rbi +++ b/rbi/stripe/params/customer_cash_balance_transaction_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerCashBalanceTransactionRetrieveParams < Stripe::RequestParams + class CustomerCashBalanceTransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_cash_balance_update_params.rbi b/rbi/stripe/params/customer_cash_balance_update_params.rbi index 0e24eeaf7..f93585467 100644 --- a/rbi/stripe/params/customer_cash_balance_update_params.rbi +++ b/rbi/stripe/params/customer_cash_balance_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CustomerCashBalanceUpdateParams < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CustomerCashBalanceUpdateParams < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end diff --git a/rbi/stripe/params/customer_create_funding_instructions_params.rbi b/rbi/stripe/params/customer_create_funding_instructions_params.rbi index 966339db4..d0f276570 100644 --- a/rbi/stripe/params/customer_create_funding_instructions_params.rbi +++ b/rbi/stripe/params/customer_create_funding_instructions_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CustomerCreateFundingInstructionsParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerCreateFundingInstructionsParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end diff --git a/rbi/stripe/params/customer_create_params.rbi b/rbi/stripe/params/customer_create_params.rbi index 2c4034237..16d2ab9cc 100644 --- a/rbi/stripe/params/customer_create_params.rbi +++ b/rbi/stripe/params/customer_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CustomerCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -47,8 +47,8 @@ module Stripe state: nil ); end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end @@ -68,8 +68,8 @@ module Stripe sig { params(settings: T.nilable(CustomerCreateParams::CashBalance::Settings)).void } def initialize(settings: nil); end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -83,7 +83,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -139,8 +139,8 @@ module Stripe rendering_options: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -205,7 +205,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end @@ -219,7 +219,7 @@ module Stripe sig { params(ip_address: T.nilable(String), validate_location: T.nilable(String)).void } def initialize(ip_address: nil, validate_location: nil); end end - class TaxIdDatum < Stripe::RequestParams + class TaxIdDatum < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end diff --git a/rbi/stripe/params/customer_delete_discount_params.rbi b/rbi/stripe/params/customer_delete_discount_params.rbi index 3d485ff59..f5024cf41 100644 --- a/rbi/stripe/params/customer_delete_discount_params.rbi +++ b/rbi/stripe/params/customer_delete_discount_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class CustomerDeleteDiscountParams < Stripe::RequestParams; end + class CustomerDeleteDiscountParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/customer_delete_params.rbi b/rbi/stripe/params/customer_delete_params.rbi index 91fbff5c3..1dd63c9b8 100644 --- a/rbi/stripe/params/customer_delete_params.rbi +++ b/rbi/stripe/params/customer_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class CustomerDeleteParams < Stripe::RequestParams; end + class CustomerDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/customer_fund_cash_balance_params.rbi b/rbi/stripe/params/customer_fund_cash_balance_params.rbi index fb6e69dc5..a3dfee148 100644 --- a/rbi/stripe/params/customer_fund_cash_balance_params.rbi +++ b/rbi/stripe/params/customer_fund_cash_balance_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/customer_funding_instructions_create_params.rbi b/rbi/stripe/params/customer_funding_instructions_create_params.rbi index bb2234519..4366386ae 100644 --- a/rbi/stripe/params/customer_funding_instructions_create_params.rbi +++ b/rbi/stripe/params/customer_funding_instructions_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CustomerFundingInstructionsCreateParams < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerFundingInstructionsCreateParams < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end diff --git a/rbi/stripe/params/customer_list_params.rbi b/rbi/stripe/params/customer_list_params.rbi index fe0cbe6dd..0c8408d88 100644 --- a/rbi/stripe/params/customer_list_params.rbi +++ b/rbi/stripe/params/customer_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CustomerListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CustomerListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/customer_list_payment_methods_params.rbi b/rbi/stripe/params/customer_list_payment_methods_params.rbi index 1eed06fee..deb4e69c8 100644 --- a/rbi/stripe/params/customer_list_payment_methods_params.rbi +++ b/rbi/stripe/params/customer_list_payment_methods_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerListPaymentMethodsParams < Stripe::RequestParams + class CustomerListPaymentMethodsParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. sig { returns(T.nilable(String)) } def allow_redisplay; end diff --git a/rbi/stripe/params/customer_payment_method_list_params.rbi b/rbi/stripe/params/customer_payment_method_list_params.rbi index e1c313796..02e1e2cf3 100644 --- a/rbi/stripe/params/customer_payment_method_list_params.rbi +++ b/rbi/stripe/params/customer_payment_method_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentMethodListParams < Stripe::RequestParams + class CustomerPaymentMethodListParams < ::Stripe::RequestParams # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. sig { returns(T.nilable(String)) } def allow_redisplay; end diff --git a/rbi/stripe/params/customer_payment_method_retrieve_params.rbi b/rbi/stripe/params/customer_payment_method_retrieve_params.rbi index 894507b93..167e9f317 100644 --- a/rbi/stripe/params/customer_payment_method_retrieve_params.rbi +++ b/rbi/stripe/params/customer_payment_method_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentMethodRetrieveParams < Stripe::RequestParams + class CustomerPaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_payment_source_create_params.rbi b/rbi/stripe/params/customer_payment_source_create_params.rbi index c8ba5e1b4..d32650cb9 100644 --- a/rbi/stripe/params/customer_payment_source_create_params.rbi +++ b/rbi/stripe/params/customer_payment_source_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentSourceCreateParams < Stripe::RequestParams + class CustomerPaymentSourceCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_payment_source_delete_params.rbi b/rbi/stripe/params/customer_payment_source_delete_params.rbi index c52e6ee2f..56a8cf7ff 100644 --- a/rbi/stripe/params/customer_payment_source_delete_params.rbi +++ b/rbi/stripe/params/customer_payment_source_delete_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentSourceDeleteParams < Stripe::RequestParams + class CustomerPaymentSourceDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_payment_source_list_params.rbi b/rbi/stripe/params/customer_payment_source_list_params.rbi index b74a6b986..9abf687a3 100644 --- a/rbi/stripe/params/customer_payment_source_list_params.rbi +++ b/rbi/stripe/params/customer_payment_source_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentSourceListParams < Stripe::RequestParams + class CustomerPaymentSourceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/customer_payment_source_retrieve_params.rbi b/rbi/stripe/params/customer_payment_source_retrieve_params.rbi index e9e351b80..306b60883 100644 --- a/rbi/stripe/params/customer_payment_source_retrieve_params.rbi +++ b/rbi/stripe/params/customer_payment_source_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentSourceRetrieveParams < Stripe::RequestParams + class CustomerPaymentSourceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_payment_source_update_params.rbi b/rbi/stripe/params/customer_payment_source_update_params.rbi index 8422d1052..402fb482c 100644 --- a/rbi/stripe/params/customer_payment_source_update_params.rbi +++ b/rbi/stripe/params/customer_payment_source_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CustomerPaymentSourceUpdateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerPaymentSourceUpdateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/customer_payment_source_verify_params.rbi b/rbi/stripe/params/customer_payment_source_verify_params.rbi index 1df2bd701..ac072162b 100644 --- a/rbi/stripe/params/customer_payment_source_verify_params.rbi +++ b/rbi/stripe/params/customer_payment_source_verify_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerPaymentSourceVerifyParams < Stripe::RequestParams + class CustomerPaymentSourceVerifyParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end diff --git a/rbi/stripe/params/customer_retrieve_params.rbi b/rbi/stripe/params/customer_retrieve_params.rbi index 1ece20a73..8cd02cfcd 100644 --- a/rbi/stripe/params/customer_retrieve_params.rbi +++ b/rbi/stripe/params/customer_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerRetrieveParams < Stripe::RequestParams + class CustomerRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_retrieve_payment_method_params.rbi b/rbi/stripe/params/customer_retrieve_payment_method_params.rbi index dfb696ef6..f760445f2 100644 --- a/rbi/stripe/params/customer_retrieve_payment_method_params.rbi +++ b/rbi/stripe/params/customer_retrieve_payment_method_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerRetrievePaymentMethodParams < Stripe::RequestParams + class CustomerRetrievePaymentMethodParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_search_params.rbi b/rbi/stripe/params/customer_search_params.rbi index 68b14f181..3ed5a26ef 100644 --- a/rbi/stripe/params/customer_search_params.rbi +++ b/rbi/stripe/params/customer_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerSearchParams < Stripe::RequestParams + class CustomerSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_session_create_params.rbi b/rbi/stripe/params/customer_session_create_params.rbi index 8feaaefa4..485279a7e 100644 --- a/rbi/stripe/params/customer_session_create_params.rbi +++ b/rbi/stripe/params/customer_session_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class CustomerSessionCreateParams < Stripe::RequestParams - class Components < Stripe::RequestParams - class BuyButton < Stripe::RequestParams + class CustomerSessionCreateParams < ::Stripe::RequestParams + class Components < ::Stripe::RequestParams + class BuyButton < ::Stripe::RequestParams # Whether the buy button is enabled. sig { returns(T::Boolean) } def enabled; end @@ -14,8 +14,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class PaymentElement < Stripe::RequestParams - class Features < Stripe::RequestParams + class PaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -89,7 +89,7 @@ module Stripe } def initialize(enabled: nil, features: nil); end end - class PricingTable < Stripe::RequestParams + class PricingTable < ::Stripe::RequestParams # Whether the pricing table is enabled. sig { returns(T::Boolean) } def enabled; end diff --git a/rbi/stripe/params/customer_tax_id_create_params.rbi b/rbi/stripe/params/customer_tax_id_create_params.rbi index 77b7ec05c..3210ec464 100644 --- a/rbi/stripe/params/customer_tax_id_create_params.rbi +++ b/rbi/stripe/params/customer_tax_id_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerTaxIdCreateParams < Stripe::RequestParams + class CustomerTaxIdCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_tax_id_delete_params.rbi b/rbi/stripe/params/customer_tax_id_delete_params.rbi index 7adc3f23a..e07f0c60e 100644 --- a/rbi/stripe/params/customer_tax_id_delete_params.rbi +++ b/rbi/stripe/params/customer_tax_id_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class CustomerTaxIdDeleteParams < Stripe::RequestParams; end + class CustomerTaxIdDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/customer_tax_id_list_params.rbi b/rbi/stripe/params/customer_tax_id_list_params.rbi index 3e10acc56..c13f82175 100644 --- a/rbi/stripe/params/customer_tax_id_list_params.rbi +++ b/rbi/stripe/params/customer_tax_id_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerTaxIdListParams < Stripe::RequestParams + class CustomerTaxIdListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/customer_tax_id_retrieve_params.rbi b/rbi/stripe/params/customer_tax_id_retrieve_params.rbi index f0f9c3312..ca3736a6b 100644 --- a/rbi/stripe/params/customer_tax_id_retrieve_params.rbi +++ b/rbi/stripe/params/customer_tax_id_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class CustomerTaxIdRetrieveParams < Stripe::RequestParams + class CustomerTaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/customer_update_params.rbi b/rbi/stripe/params/customer_update_params.rbi index f9a848d3d..133a4111d 100644 --- a/rbi/stripe/params/customer_update_params.rbi +++ b/rbi/stripe/params/customer_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class CustomerUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -47,8 +47,8 @@ module Stripe state: nil ); end end - class CashBalance < Stripe::RequestParams - class Settings < Stripe::RequestParams + class CashBalance < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams # Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). sig { returns(T.nilable(String)) } def reconciliation_mode; end @@ -68,8 +68,8 @@ module Stripe sig { params(settings: T.nilable(CustomerUpdateParams::CashBalance::Settings)).void } def initialize(settings: nil); end end - class InvoiceSettings < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -83,7 +83,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -139,8 +139,8 @@ module Stripe rendering_options: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -205,7 +205,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end diff --git a/rbi/stripe/params/dispute_close_params.rbi b/rbi/stripe/params/dispute_close_params.rbi index 5ad64cce8..bf3bc32e2 100644 --- a/rbi/stripe/params/dispute_close_params.rbi +++ b/rbi/stripe/params/dispute_close_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class DisputeCloseParams < Stripe::RequestParams + class DisputeCloseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/dispute_list_params.rbi b/rbi/stripe/params/dispute_list_params.rbi index 5d8505286..3f2b8d83a 100644 --- a/rbi/stripe/params/dispute_list_params.rbi +++ b/rbi/stripe/params/dispute_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/dispute_retrieve_params.rbi b/rbi/stripe/params/dispute_retrieve_params.rbi index 6a416b39d..39176c00e 100644 --- a/rbi/stripe/params/dispute_retrieve_params.rbi +++ b/rbi/stripe/params/dispute_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/dispute_update_params.rbi b/rbi/stripe/params/dispute_update_params.rbi index 792324703..10e2a206b 100644 --- a/rbi/stripe/params/dispute_update_params.rbi +++ b/rbi/stripe/params/dispute_update_params.rbi @@ -3,12 +3,12 @@ # typed: true module Stripe - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class EnhancedEvidence < Stripe::RequestParams - class VisaCompellingEvidence3 < Stripe::RequestParams - class DisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class EnhancedEvidence < ::Stripe::RequestParams + class VisaCompellingEvidence3 < ::Stripe::RequestParams + class DisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -111,8 +111,8 @@ module Stripe shipping_address: nil ); end end - class PriorUndisputedTransaction < Stripe::RequestParams - class ShippingAddress < Stripe::RequestParams + class PriorUndisputedTransaction < ::Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -238,7 +238,7 @@ module Stripe } def initialize(disputed_transaction: nil, prior_undisputed_transactions: nil); end end - class VisaCompliance < Stripe::RequestParams + class VisaCompliance < ::Stripe::RequestParams # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. sig { returns(T.nilable(T::Boolean)) } def fee_acknowledged; end diff --git a/rbi/stripe/params/entitlements/active_entitlement_list_params.rbi b/rbi/stripe/params/entitlements/active_entitlement_list_params.rbi index aa3b795e4..f50dd3c13 100644 --- a/rbi/stripe/params/entitlements/active_entitlement_list_params.rbi +++ b/rbi/stripe/params/entitlements/active_entitlement_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class ActiveEntitlementListParams < Stripe::RequestParams + class ActiveEntitlementListParams < ::Stripe::RequestParams # The ID of the customer. sig { returns(String) } def customer; end diff --git a/rbi/stripe/params/entitlements/active_entitlement_retrieve_params.rbi b/rbi/stripe/params/entitlements/active_entitlement_retrieve_params.rbi index 75b15c4e6..79dc40544 100644 --- a/rbi/stripe/params/entitlements/active_entitlement_retrieve_params.rbi +++ b/rbi/stripe/params/entitlements/active_entitlement_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class ActiveEntitlementRetrieveParams < Stripe::RequestParams + class ActiveEntitlementRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/entitlements/feature_create_params.rbi b/rbi/stripe/params/entitlements/feature_create_params.rbi index 6faf3e804..0fce7bf45 100644 --- a/rbi/stripe/params/entitlements/feature_create_params.rbi +++ b/rbi/stripe/params/entitlements/feature_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class FeatureCreateParams < Stripe::RequestParams + class FeatureCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/entitlements/feature_list_params.rbi b/rbi/stripe/params/entitlements/feature_list_params.rbi index 80bc289c0..c74df282b 100644 --- a/rbi/stripe/params/entitlements/feature_list_params.rbi +++ b/rbi/stripe/params/entitlements/feature_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class FeatureListParams < Stripe::RequestParams + class FeatureListParams < ::Stripe::RequestParams # If set, filter results to only include features with the given archive status. sig { returns(T.nilable(T::Boolean)) } def archived; end diff --git a/rbi/stripe/params/entitlements/feature_retrieve_params.rbi b/rbi/stripe/params/entitlements/feature_retrieve_params.rbi index 012270d8f..dca328bc4 100644 --- a/rbi/stripe/params/entitlements/feature_retrieve_params.rbi +++ b/rbi/stripe/params/entitlements/feature_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class FeatureRetrieveParams < Stripe::RequestParams + class FeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/entitlements/feature_update_params.rbi b/rbi/stripe/params/entitlements/feature_update_params.rbi index 75fdae9d6..8339cc833 100644 --- a/rbi/stripe/params/entitlements/feature_update_params.rbi +++ b/rbi/stripe/params/entitlements/feature_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Entitlements - class FeatureUpdateParams < Stripe::RequestParams + class FeatureUpdateParams < ::Stripe::RequestParams # Inactive features cannot be attached to new products and will not be returned from the features list endpoint. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/ephemeral_key_create_params.rbi b/rbi/stripe/params/ephemeral_key_create_params.rbi index 8c202f888..dd829ac2a 100644 --- a/rbi/stripe/params/ephemeral_key_create_params.rbi +++ b/rbi/stripe/params/ephemeral_key_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class EphemeralKeyCreateParams < Stripe::RequestParams + class EphemeralKeyCreateParams < ::Stripe::RequestParams # The ID of the Customer you'd like to modify using the resulting ephemeral key. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/ephemeral_key_delete_params.rbi b/rbi/stripe/params/ephemeral_key_delete_params.rbi index e741f197f..0249d88f5 100644 --- a/rbi/stripe/params/ephemeral_key_delete_params.rbi +++ b/rbi/stripe/params/ephemeral_key_delete_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class EphemeralKeyDeleteParams < Stripe::RequestParams + class EphemeralKeyDeleteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/event_list_params.rbi b/rbi/stripe/params/event_list_params.rbi index 69dc245d4..e517c722d 100644 --- a/rbi/stripe/params/event_list_params.rbi +++ b/rbi/stripe/params/event_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class EventListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/event_retrieve_params.rbi b/rbi/stripe/params/event_retrieve_params.rbi index c01398b11..935950867 100644 --- a/rbi/stripe/params/event_retrieve_params.rbi +++ b/rbi/stripe/params/event_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class EventRetrieveParams < Stripe::RequestParams + class EventRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/exchange_rate_list_params.rbi b/rbi/stripe/params/exchange_rate_list_params.rbi index 56e128fde..d12f4843d 100644 --- a/rbi/stripe/params/exchange_rate_list_params.rbi +++ b/rbi/stripe/params/exchange_rate_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ExchangeRateListParams < Stripe::RequestParams + class ExchangeRateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/exchange_rate_retrieve_params.rbi b/rbi/stripe/params/exchange_rate_retrieve_params.rbi index 40b8f8e89..0a2301c6e 100644 --- a/rbi/stripe/params/exchange_rate_retrieve_params.rbi +++ b/rbi/stripe/params/exchange_rate_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ExchangeRateRetrieveParams < Stripe::RequestParams + class ExchangeRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/external_account_create_params.rbi b/rbi/stripe/params/external_account_create_params.rbi index 119cd1b58..f4e2557ac 100644 --- a/rbi/stripe/params/external_account_create_params.rbi +++ b/rbi/stripe/params/external_account_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ExternalAccountCreateParams < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class ExternalAccountCreateParams < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -53,7 +53,7 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end @@ -146,7 +146,7 @@ module Stripe metadata: nil ); end end - class CardToken < Stripe::RequestParams + class CardToken < ::Stripe::RequestParams # Attribute for param field object sig { returns(String) } def object; end diff --git a/rbi/stripe/params/external_account_delete_params.rbi b/rbi/stripe/params/external_account_delete_params.rbi index ae13ffc79..7960e2a78 100644 --- a/rbi/stripe/params/external_account_delete_params.rbi +++ b/rbi/stripe/params/external_account_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class ExternalAccountDeleteParams < Stripe::RequestParams; end + class ExternalAccountDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/external_account_list_params.rbi b/rbi/stripe/params/external_account_list_params.rbi index 14e15eb08..67120dc7d 100644 --- a/rbi/stripe/params/external_account_list_params.rbi +++ b/rbi/stripe/params/external_account_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ExternalAccountListParams < Stripe::RequestParams + class ExternalAccountListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/external_account_retrieve_params.rbi b/rbi/stripe/params/external_account_retrieve_params.rbi index 25221d27a..ce705b1a1 100644 --- a/rbi/stripe/params/external_account_retrieve_params.rbi +++ b/rbi/stripe/params/external_account_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ExternalAccountRetrieveParams < Stripe::RequestParams + class ExternalAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/external_account_update_params.rbi b/rbi/stripe/params/external_account_update_params.rbi index e5fe49305..cb8d9a6d5 100644 --- a/rbi/stripe/params/external_account_update_params.rbi +++ b/rbi/stripe/params/external_account_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class ExternalAccountUpdateParams < Stripe::RequestParams - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class ExternalAccountUpdateParams < ::Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end diff --git a/rbi/stripe/params/file_create_params.rbi b/rbi/stripe/params/file_create_params.rbi index dd3f24d7f..dcbeb4bd6 100644 --- a/rbi/stripe/params/file_create_params.rbi +++ b/rbi/stripe/params/file_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class FileCreateParams < Stripe::RequestParams - class FileLinkData < Stripe::RequestParams + class FileCreateParams < ::Stripe::RequestParams + class FileLinkData < ::Stripe::RequestParams # Set this to `true` to create a file link for the newly created file. Creating a link is only possible when the file's `purpose` is one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `issuing_regulatory_reporting`, `pci_document`, `tax_document_user_upload`, `terminal_android_apk`, or `terminal_reader_splashscreen`. sig { returns(T::Boolean) } def create; end diff --git a/rbi/stripe/params/file_link_create_params.rbi b/rbi/stripe/params/file_link_create_params.rbi index 4b2b81c33..ba50458f3 100644 --- a/rbi/stripe/params/file_link_create_params.rbi +++ b/rbi/stripe/params/file_link_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FileLinkCreateParams < Stripe::RequestParams + class FileLinkCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/file_link_list_params.rbi b/rbi/stripe/params/file_link_list_params.rbi index a20e0b222..4bd51a70b 100644 --- a/rbi/stripe/params/file_link_list_params.rbi +++ b/rbi/stripe/params/file_link_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class FileLinkListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileLinkListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/file_link_retrieve_params.rbi b/rbi/stripe/params/file_link_retrieve_params.rbi index 30d5e89b6..5313ab7dd 100644 --- a/rbi/stripe/params/file_link_retrieve_params.rbi +++ b/rbi/stripe/params/file_link_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FileLinkRetrieveParams < Stripe::RequestParams + class FileLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/file_link_update_params.rbi b/rbi/stripe/params/file_link_update_params.rbi index 4c4d5ae12..3ed647e81 100644 --- a/rbi/stripe/params/file_link_update_params.rbi +++ b/rbi/stripe/params/file_link_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FileLinkUpdateParams < Stripe::RequestParams + class FileLinkUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/file_list_params.rbi b/rbi/stripe/params/file_list_params.rbi index a0f85247a..449a1aacd 100644 --- a/rbi/stripe/params/file_list_params.rbi +++ b/rbi/stripe/params/file_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class FileListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FileListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/file_retrieve_params.rbi b/rbi/stripe/params/file_retrieve_params.rbi index 3a9866ade..a5c72771d 100644 --- a/rbi/stripe/params/file_retrieve_params.rbi +++ b/rbi/stripe/params/file_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FileRetrieveParams < Stripe::RequestParams + class FileRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_disconnect_params.rbi b/rbi/stripe/params/financial_connections/account_disconnect_params.rbi index e41f28885..b5bc5a844 100644 --- a/rbi/stripe/params/financial_connections/account_disconnect_params.rbi +++ b/rbi/stripe/params/financial_connections/account_disconnect_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountDisconnectParams < Stripe::RequestParams + class AccountDisconnectParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_inferred_balance_list_params.rbi b/rbi/stripe/params/financial_connections/account_inferred_balance_list_params.rbi index 09bd27985..3b6a39eb0 100644 --- a/rbi/stripe/params/financial_connections/account_inferred_balance_list_params.rbi +++ b/rbi/stripe/params/financial_connections/account_inferred_balance_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountInferredBalanceListParams < Stripe::RequestParams + class AccountInferredBalanceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/financial_connections/account_list_owners_params.rbi b/rbi/stripe/params/financial_connections/account_list_owners_params.rbi index a85877de5..faf0500a0 100644 --- a/rbi/stripe/params/financial_connections/account_list_owners_params.rbi +++ b/rbi/stripe/params/financial_connections/account_list_owners_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountListOwnersParams < Stripe::RequestParams + class AccountListOwnersParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/financial_connections/account_list_params.rbi b/rbi/stripe/params/financial_connections/account_list_params.rbi index d34a95cf8..39fadd68f 100644 --- a/rbi/stripe/params/financial_connections/account_list_params.rbi +++ b/rbi/stripe/params/financial_connections/account_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module FinancialConnections - class AccountListParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. sig { returns(T.nilable(String)) } def account; end diff --git a/rbi/stripe/params/financial_connections/account_owner_list_params.rbi b/rbi/stripe/params/financial_connections/account_owner_list_params.rbi index cdfdbd14a..b27242f1b 100644 --- a/rbi/stripe/params/financial_connections/account_owner_list_params.rbi +++ b/rbi/stripe/params/financial_connections/account_owner_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountOwnerListParams < Stripe::RequestParams + class AccountOwnerListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/financial_connections/account_refresh_account_params.rbi b/rbi/stripe/params/financial_connections/account_refresh_account_params.rbi index 66b3e8cfd..f0fde388d 100644 --- a/rbi/stripe/params/financial_connections/account_refresh_account_params.rbi +++ b/rbi/stripe/params/financial_connections/account_refresh_account_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountRefreshAccountParams < Stripe::RequestParams + class AccountRefreshAccountParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_refresh_params.rbi b/rbi/stripe/params/financial_connections/account_refresh_params.rbi index 4937df50a..5c81b61a3 100644 --- a/rbi/stripe/params/financial_connections/account_refresh_params.rbi +++ b/rbi/stripe/params/financial_connections/account_refresh_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountRefreshParams < Stripe::RequestParams + class AccountRefreshParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_retrieve_params.rbi b/rbi/stripe/params/financial_connections/account_retrieve_params.rbi index 0186a4d9d..7a298eeb2 100644 --- a/rbi/stripe/params/financial_connections/account_retrieve_params.rbi +++ b/rbi/stripe/params/financial_connections/account_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_subscribe_params.rbi b/rbi/stripe/params/financial_connections/account_subscribe_params.rbi index e519b6b79..1584823d2 100644 --- a/rbi/stripe/params/financial_connections/account_subscribe_params.rbi +++ b/rbi/stripe/params/financial_connections/account_subscribe_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountSubscribeParams < Stripe::RequestParams + class AccountSubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/account_unsubscribe_params.rbi b/rbi/stripe/params/financial_connections/account_unsubscribe_params.rbi index 9f5cc86ff..e896be734 100644 --- a/rbi/stripe/params/financial_connections/account_unsubscribe_params.rbi +++ b/rbi/stripe/params/financial_connections/account_unsubscribe_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class AccountUnsubscribeParams < Stripe::RequestParams + class AccountUnsubscribeParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/institution_list_params.rbi b/rbi/stripe/params/financial_connections/institution_list_params.rbi index 9f7f31d7e..33c29ec1a 100644 --- a/rbi/stripe/params/financial_connections/institution_list_params.rbi +++ b/rbi/stripe/params/financial_connections/institution_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class InstitutionListParams < Stripe::RequestParams + class InstitutionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/financial_connections/institution_retrieve_params.rbi b/rbi/stripe/params/financial_connections/institution_retrieve_params.rbi index e73d8d9db..997f68573 100644 --- a/rbi/stripe/params/financial_connections/institution_retrieve_params.rbi +++ b/rbi/stripe/params/financial_connections/institution_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class InstitutionRetrieveParams < Stripe::RequestParams + class InstitutionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/session_create_params.rbi b/rbi/stripe/params/financial_connections/session_create_params.rbi index c25deb67f..3b93f66ca 100644 --- a/rbi/stripe/params/financial_connections/session_create_params.rbi +++ b/rbi/stripe/params/financial_connections/session_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module FinancialConnections - class SessionCreateParams < Stripe::RequestParams - class AccountHolder < Stripe::RequestParams + class SessionCreateParams < ::Stripe::RequestParams + class AccountHolder < ::Stripe::RequestParams # The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -31,7 +31,7 @@ module Stripe } def initialize(account: nil, customer: nil, customer_account: nil, type: nil); end end - class Filters < Stripe::RequestParams + class Filters < ::Stripe::RequestParams # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -54,7 +54,7 @@ module Stripe } def initialize(account_subcategories: nil, countries: nil, institution: nil); end end - class Limits < Stripe::RequestParams + class Limits < ::Stripe::RequestParams # The number of accounts that can be linked in this Session. sig { returns(Integer) } def accounts; end @@ -63,7 +63,7 @@ module Stripe sig { params(accounts: Integer).void } def initialize(accounts: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Whether manual entry will be handled by Stripe during the Session. sig { returns(T.nilable(String)) } def mode; end diff --git a/rbi/stripe/params/financial_connections/session_retrieve_params.rbi b/rbi/stripe/params/financial_connections/session_retrieve_params.rbi index 636cf592b..5874f3b14 100644 --- a/rbi/stripe/params/financial_connections/session_retrieve_params.rbi +++ b/rbi/stripe/params/financial_connections/session_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class SessionRetrieveParams < Stripe::RequestParams + class SessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/financial_connections/transaction_list_params.rbi b/rbi/stripe/params/financial_connections/transaction_list_params.rbi index a46c9b4a5..0c188abd8 100644 --- a/rbi/stripe/params/financial_connections/transaction_list_params.rbi +++ b/rbi/stripe/params/financial_connections/transaction_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module FinancialConnections - class TransactionListParams < Stripe::RequestParams - class TransactedAt < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class TransactedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -31,7 +31,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class TransactionRefresh < Stripe::RequestParams + class TransactionRefresh < ::Stripe::RequestParams # Return results where the transactions were created or updated by a refresh that took place after this refresh (non-inclusive). sig { returns(String) } def after; end diff --git a/rbi/stripe/params/financial_connections/transaction_retrieve_params.rbi b/rbi/stripe/params/financial_connections/transaction_retrieve_params.rbi index b30ad9255..de713f4f5 100644 --- a/rbi/stripe/params/financial_connections/transaction_retrieve_params.rbi +++ b/rbi/stripe/params/financial_connections/transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module FinancialConnections - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/forwarding/request_create_params.rbi b/rbi/stripe/params/forwarding/request_create_params.rbi index 506ab41d1..c71995e9a 100644 --- a/rbi/stripe/params/forwarding/request_create_params.rbi +++ b/rbi/stripe/params/forwarding/request_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Forwarding - class RequestCreateParams < Stripe::RequestParams - class Request < Stripe::RequestParams - class Header < Stripe::RequestParams + class RequestCreateParams < ::Stripe::RequestParams + class Request < ::Stripe::RequestParams + class Header < ::Stripe::RequestParams # The header name. sig { returns(String) } def name; end diff --git a/rbi/stripe/params/forwarding/request_list_params.rbi b/rbi/stripe/params/forwarding/request_list_params.rbi index a3b01c2f1..371c93ea8 100644 --- a/rbi/stripe/params/forwarding/request_list_params.rbi +++ b/rbi/stripe/params/forwarding/request_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Forwarding - class RequestListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RequestListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Return results where the `created` field is greater than this value. sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/forwarding/request_retrieve_params.rbi b/rbi/stripe/params/forwarding/request_retrieve_params.rbi index 940316874..6a4955087 100644 --- a/rbi/stripe/params/forwarding/request_retrieve_params.rbi +++ b/rbi/stripe/params/forwarding/request_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Forwarding - class RequestRetrieveParams < Stripe::RequestParams + class RequestRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/fx_quote_create_params.rbi b/rbi/stripe/params/fx_quote_create_params.rbi index 6a8b766e3..0eb594634 100644 --- a/rbi/stripe/params/fx_quote_create_params.rbi +++ b/rbi/stripe/params/fx_quote_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class FxQuoteCreateParams < Stripe::RequestParams - class Usage < Stripe::RequestParams - class Payment < Stripe::RequestParams + class FxQuoteCreateParams < ::Stripe::RequestParams + class Usage < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -23,7 +23,7 @@ module Stripe sig { params(destination: T.nilable(String), on_behalf_of: T.nilable(String)).void } def initialize(destination: nil, on_behalf_of: nil); end end - class Transfer < Stripe::RequestParams + class Transfer < ::Stripe::RequestParams # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. diff --git a/rbi/stripe/params/fx_quote_list_params.rbi b/rbi/stripe/params/fx_quote_list_params.rbi index 34f079551..b875da273 100644 --- a/rbi/stripe/params/fx_quote_list_params.rbi +++ b/rbi/stripe/params/fx_quote_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FxQuoteListParams < Stripe::RequestParams + class FxQuoteListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/fx_quote_retrieve_params.rbi b/rbi/stripe/params/fx_quote_retrieve_params.rbi index 378453240..45c517f49 100644 --- a/rbi/stripe/params/fx_quote_retrieve_params.rbi +++ b/rbi/stripe/params/fx_quote_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class FxQuoteRetrieveParams < Stripe::RequestParams + class FxQuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/identity/verification_report_list_params.rbi b/rbi/stripe/params/identity/verification_report_list_params.rbi index 858862427..746caa221 100644 --- a/rbi/stripe/params/identity/verification_report_list_params.rbi +++ b/rbi/stripe/params/identity/verification_report_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Identity - class VerificationReportListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationReportListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/identity/verification_report_retrieve_params.rbi b/rbi/stripe/params/identity/verification_report_retrieve_params.rbi index 881777a52..88de3121e 100644 --- a/rbi/stripe/params/identity/verification_report_retrieve_params.rbi +++ b/rbi/stripe/params/identity/verification_report_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Identity - class VerificationReportRetrieveParams < Stripe::RequestParams + class VerificationReportRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/identity/verification_session_cancel_params.rbi b/rbi/stripe/params/identity/verification_session_cancel_params.rbi index e1a63942a..79b98535a 100644 --- a/rbi/stripe/params/identity/verification_session_cancel_params.rbi +++ b/rbi/stripe/params/identity/verification_session_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Identity - class VerificationSessionCancelParams < Stripe::RequestParams + class VerificationSessionCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/identity/verification_session_create_params.rbi b/rbi/stripe/params/identity/verification_session_create_params.rbi index fdcdf73f7..71c602ae7 100644 --- a/rbi/stripe/params/identity/verification_session_create_params.rbi +++ b/rbi/stripe/params/identity/verification_session_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Identity - class VerificationSessionCreateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionCreateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -57,7 +57,7 @@ module Stripe } def initialize(document: nil); end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified sig { returns(T.nilable(String)) } def email; end @@ -71,7 +71,7 @@ module Stripe sig { params(email: T.nilable(String), phone: T.nilable(String)).void } def initialize(email: nil, phone: nil); end end - class RelatedPerson < Stripe::RequestParams + class RelatedPerson < ::Stripe::RequestParams # A token representing a connected account. If provided, the person parameter is also required and must be associated with the account. sig { returns(String) } def account; end diff --git a/rbi/stripe/params/identity/verification_session_list_params.rbi b/rbi/stripe/params/identity/verification_session_list_params.rbi index bbacdf1e5..ece3b7b12 100644 --- a/rbi/stripe/params/identity/verification_session_list_params.rbi +++ b/rbi/stripe/params/identity/verification_session_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Identity - class VerificationSessionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class VerificationSessionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/identity/verification_session_redact_params.rbi b/rbi/stripe/params/identity/verification_session_redact_params.rbi index 2818caf61..fc4138f05 100644 --- a/rbi/stripe/params/identity/verification_session_redact_params.rbi +++ b/rbi/stripe/params/identity/verification_session_redact_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Identity - class VerificationSessionRedactParams < Stripe::RequestParams + class VerificationSessionRedactParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/identity/verification_session_retrieve_params.rbi b/rbi/stripe/params/identity/verification_session_retrieve_params.rbi index 2a29e4d75..123fdb1e6 100644 --- a/rbi/stripe/params/identity/verification_session_retrieve_params.rbi +++ b/rbi/stripe/params/identity/verification_session_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Identity - class VerificationSessionRetrieveParams < Stripe::RequestParams + class VerificationSessionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/identity/verification_session_update_params.rbi b/rbi/stripe/params/identity/verification_session_update_params.rbi index 39682b1ca..b55241957 100644 --- a/rbi/stripe/params/identity/verification_session_update_params.rbi +++ b/rbi/stripe/params/identity/verification_session_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Identity - class VerificationSessionUpdateParams < Stripe::RequestParams - class Options < Stripe::RequestParams - class Document < Stripe::RequestParams + class VerificationSessionUpdateParams < ::Stripe::RequestParams + class Options < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -57,7 +57,7 @@ module Stripe } def initialize(document: nil); end end - class ProvidedDetails < Stripe::RequestParams + class ProvidedDetails < ::Stripe::RequestParams # Email of user being verified sig { returns(T.nilable(String)) } def email; end diff --git a/rbi/stripe/params/invoice_add_lines_params.rbi b/rbi/stripe/params/invoice_add_lines_params.rbi index de4ba8d4e..ffed951b7 100644 --- a/rbi/stripe/params/invoice_add_lines_params.rbi +++ b/rbi/stripe/params/invoice_add_lines_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class InvoiceAddLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceAddLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -70,7 +70,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -84,8 +84,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -174,7 +174,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -183,8 +183,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end diff --git a/rbi/stripe/params/invoice_attach_payment_params.rbi b/rbi/stripe/params/invoice_attach_payment_params.rbi index 5431f0215..9e7d7ec37 100644 --- a/rbi/stripe/params/invoice_attach_payment_params.rbi +++ b/rbi/stripe/params/invoice_attach_payment_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceAttachPaymentParams < Stripe::RequestParams - class PaymentRecordData < Stripe::RequestParams + class InvoiceAttachPaymentParams < ::Stripe::RequestParams + class PaymentRecordData < ::Stripe::RequestParams # The amount that was paid out of band. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/invoice_create_params.rbi b/rbi/stripe/params/invoice_create_params.rbi index f9e9e96bd..5444ae1a1 100644 --- a/rbi/stripe/params/invoice_create_params.rbi +++ b/rbi/stripe/params/invoice_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceCreateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceCreateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -30,8 +30,8 @@ module Stripe } def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -62,7 +62,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -76,9 +76,9 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -141,7 +141,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class FromInvoice < Stripe::RequestParams + class FromInvoice < ::Stripe::RequestParams # The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted sig { returns(String) } def action; end @@ -155,7 +155,7 @@ module Stripe sig { params(action: String, invoice: String).void } def initialize(action: nil, invoice: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -169,10 +169,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -200,7 +200,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -209,9 +209,9 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -274,9 +274,9 @@ module Stripe } def initialize(installments: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -323,9 +323,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -334,9 +334,9 @@ module Stripe sig { params(amount_includes_iof: T.nilable(String)).void } def initialize(amount_includes_iof: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -376,9 +376,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -577,8 +577,8 @@ module Stripe payment_method_types: nil ); end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -620,10 +620,10 @@ module Stripe } def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_version: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -637,7 +637,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -674,8 +674,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -786,8 +786,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -852,7 +852,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/invoice_create_preview_params.rbi b/rbi/stripe/params/invoice_create_preview_params.rbi index 91947d6d6..bb012a5db 100644 --- a/rbi/stripe/params/invoice_create_preview_params.rbi +++ b/rbi/stripe/params/invoice_create_preview_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class InvoiceCreatePreviewParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class InvoiceCreatePreviewParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -36,8 +36,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -80,8 +80,8 @@ module Stripe state: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -146,7 +146,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. sig { returns(T.nilable(String)) } def ip_address; end @@ -155,7 +155,7 @@ module Stripe sig { params(ip_address: T.nilable(String)).void } def initialize(ip_address: nil); end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -213,9 +213,9 @@ module Stripe } def initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -278,10 +278,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -346,7 +346,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -360,7 +360,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -511,7 +511,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -525,10 +525,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class ScheduleDetails < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class ScheduleDetails < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -537,7 +537,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -584,8 +584,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. sig { returns(Integer) } def index; end @@ -594,7 +594,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -636,9 +636,9 @@ module Stripe } def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -687,7 +687,7 @@ module Stripe promotion_code: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -708,7 +708,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -766,11 +766,11 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -842,7 +842,7 @@ module Stripe promotion_code: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -912,7 +912,7 @@ module Stripe trial: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -921,10 +921,10 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -996,7 +996,7 @@ module Stripe promotion_code: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -1103,7 +1103,7 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. sig { returns(T.nilable(T::Hash[String, String])) } def add; end @@ -1133,8 +1133,8 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -1162,8 +1162,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -1278,8 +1278,8 @@ module Stripe trial_settings: nil ); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -1307,11 +1307,11 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1378,8 +1378,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -1393,7 +1393,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -1430,7 +1430,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -1531,8 +1531,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -1565,7 +1565,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -1583,9 +1583,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1652,7 +1652,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1666,8 +1666,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -1707,8 +1707,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -1717,9 +1717,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1786,8 +1786,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1847,7 +1847,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -1943,7 +1943,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -1952,7 +1952,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -1966,8 +1966,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -2188,9 +2188,9 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -2199,7 +2199,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -2323,9 +2323,9 @@ module Stripe proration_behavior: nil ); end end - class SubscriptionDetails < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionDetails < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -2353,8 +2353,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -2368,8 +2368,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -2435,8 +2435,8 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -2445,9 +2445,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -2514,8 +2514,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -2661,7 +2661,7 @@ module Stripe tax_rates: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end diff --git a/rbi/stripe/params/invoice_delete_params.rbi b/rbi/stripe/params/invoice_delete_params.rbi index 0e0fdc5fe..39eefbdb3 100644 --- a/rbi/stripe/params/invoice_delete_params.rbi +++ b/rbi/stripe/params/invoice_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class InvoiceDeleteParams < Stripe::RequestParams; end + class InvoiceDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/invoice_finalize_invoice_params.rbi b/rbi/stripe/params/invoice_finalize_invoice_params.rbi index b9a1dfc6c..ac4dc0bd9 100644 --- a/rbi/stripe/params/invoice_finalize_invoice_params.rbi +++ b/rbi/stripe/params/invoice_finalize_invoice_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceFinalizeInvoiceParams < Stripe::RequestParams + class InvoiceFinalizeInvoiceParams < ::Stripe::RequestParams # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. sig { returns(T.nilable(T::Boolean)) } def auto_advance; end diff --git a/rbi/stripe/params/invoice_item_create_params.rbi b/rbi/stripe/params/invoice_item_create_params.rbi index 7e7100ac6..5e5cb3c9b 100644 --- a/rbi/stripe/params/invoice_item_create_params.rbi +++ b/rbi/stripe/params/invoice_item_create_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class InvoiceItemCreateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemCreateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -69,7 +69,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -83,7 +83,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -120,7 +120,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end diff --git a/rbi/stripe/params/invoice_item_delete_params.rbi b/rbi/stripe/params/invoice_item_delete_params.rbi index 91a6022f3..d6276f694 100644 --- a/rbi/stripe/params/invoice_item_delete_params.rbi +++ b/rbi/stripe/params/invoice_item_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class InvoiceItemDeleteParams < Stripe::RequestParams; end + class InvoiceItemDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/invoice_item_list_params.rbi b/rbi/stripe/params/invoice_item_list_params.rbi index 4ff0329d5..7c1082505 100644 --- a/rbi/stripe/params/invoice_item_list_params.rbi +++ b/rbi/stripe/params/invoice_item_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/invoice_item_retrieve_params.rbi b/rbi/stripe/params/invoice_item_retrieve_params.rbi index 45230521e..0f0f5c53a 100644 --- a/rbi/stripe/params/invoice_item_retrieve_params.rbi +++ b/rbi/stripe/params/invoice_item_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceItemRetrieveParams < Stripe::RequestParams + class InvoiceItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_item_update_params.rbi b/rbi/stripe/params/invoice_item_update_params.rbi index 1bbd4898e..8a0b58e4e 100644 --- a/rbi/stripe/params/invoice_item_update_params.rbi +++ b/rbi/stripe/params/invoice_item_update_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class InvoiceItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -69,7 +69,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -83,7 +83,7 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -120,7 +120,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end diff --git a/rbi/stripe/params/invoice_line_item_list_params.rbi b/rbi/stripe/params/invoice_line_item_list_params.rbi index 8da50b9d5..c30bca49a 100644 --- a/rbi/stripe/params/invoice_line_item_list_params.rbi +++ b/rbi/stripe/params/invoice_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceLineItemListParams < Stripe::RequestParams + class InvoiceLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/invoice_line_item_update_params.rbi b/rbi/stripe/params/invoice_line_item_update_params.rbi index e11f1c215..0e8a2498d 100644 --- a/rbi/stripe/params/invoice_line_item_update_params.rbi +++ b/rbi/stripe/params/invoice_line_item_update_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class InvoiceLineItemUpdateParams < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceLineItemUpdateParams < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -69,7 +69,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -83,8 +83,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -173,7 +173,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -182,8 +182,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end diff --git a/rbi/stripe/params/invoice_list_params.rbi b/rbi/stripe/params/invoice_list_params.rbi index 4dc27efe8..99b21ac22 100644 --- a/rbi/stripe/params/invoice_list_params.rbi +++ b/rbi/stripe/params/invoice_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class InvoiceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -30,7 +30,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class DueDate < Stripe::RequestParams + class DueDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/invoice_mark_uncollectible_params.rbi b/rbi/stripe/params/invoice_mark_uncollectible_params.rbi index 5c3c38b06..15b5c050f 100644 --- a/rbi/stripe/params/invoice_mark_uncollectible_params.rbi +++ b/rbi/stripe/params/invoice_mark_uncollectible_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceMarkUncollectibleParams < Stripe::RequestParams + class InvoiceMarkUncollectibleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_pay_params.rbi b/rbi/stripe/params/invoice_pay_params.rbi index e095ca2ac..d140a926c 100644 --- a/rbi/stripe/params/invoice_pay_params.rbi +++ b/rbi/stripe/params/invoice_pay_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoicePayParams < Stripe::RequestParams + class InvoicePayParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_payment_list_params.rbi b/rbi/stripe/params/invoice_payment_list_params.rbi index 2d41c1cec..483d11ae6 100644 --- a/rbi/stripe/params/invoice_payment_list_params.rbi +++ b/rbi/stripe/params/invoice_payment_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoicePaymentListParams < Stripe::RequestParams - class Payment < Stripe::RequestParams + class InvoicePaymentListParams < ::Stripe::RequestParams + class Payment < ::Stripe::RequestParams # Only return invoice payments associated by this payment intent ID. sig { returns(T.nilable(String)) } def payment_intent; end diff --git a/rbi/stripe/params/invoice_payment_retrieve_params.rbi b/rbi/stripe/params/invoice_payment_retrieve_params.rbi index ac578b705..f18ddec46 100644 --- a/rbi/stripe/params/invoice_payment_retrieve_params.rbi +++ b/rbi/stripe/params/invoice_payment_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoicePaymentRetrieveParams < Stripe::RequestParams + class InvoicePaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_remove_lines_params.rbi b/rbi/stripe/params/invoice_remove_lines_params.rbi index cbcedae15..1dafc31a0 100644 --- a/rbi/stripe/params/invoice_remove_lines_params.rbi +++ b/rbi/stripe/params/invoice_remove_lines_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceRemoveLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams + class InvoiceRemoveLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams # Either `delete` or `unassign`. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice. sig { returns(String) } def behavior; end diff --git a/rbi/stripe/params/invoice_rendering_template_archive_params.rbi b/rbi/stripe/params/invoice_rendering_template_archive_params.rbi index 127d45679..08d696fdd 100644 --- a/rbi/stripe/params/invoice_rendering_template_archive_params.rbi +++ b/rbi/stripe/params/invoice_rendering_template_archive_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceRenderingTemplateArchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateArchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_rendering_template_list_params.rbi b/rbi/stripe/params/invoice_rendering_template_list_params.rbi index d72237e76..91288484c 100644 --- a/rbi/stripe/params/invoice_rendering_template_list_params.rbi +++ b/rbi/stripe/params/invoice_rendering_template_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceRenderingTemplateListParams < Stripe::RequestParams + class InvoiceRenderingTemplateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/invoice_rendering_template_retrieve_params.rbi b/rbi/stripe/params/invoice_rendering_template_retrieve_params.rbi index 5008acb79..5f22efb72 100644 --- a/rbi/stripe/params/invoice_rendering_template_retrieve_params.rbi +++ b/rbi/stripe/params/invoice_rendering_template_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceRenderingTemplateRetrieveParams < Stripe::RequestParams + class InvoiceRenderingTemplateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_rendering_template_unarchive_params.rbi b/rbi/stripe/params/invoice_rendering_template_unarchive_params.rbi index 921e593b5..8730ca6a2 100644 --- a/rbi/stripe/params/invoice_rendering_template_unarchive_params.rbi +++ b/rbi/stripe/params/invoice_rendering_template_unarchive_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceRenderingTemplateUnarchiveParams < Stripe::RequestParams + class InvoiceRenderingTemplateUnarchiveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_retrieve_params.rbi b/rbi/stripe/params/invoice_retrieve_params.rbi index 272cd756d..1b4e29a74 100644 --- a/rbi/stripe/params/invoice_retrieve_params.rbi +++ b/rbi/stripe/params/invoice_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceRetrieveParams < Stripe::RequestParams + class InvoiceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_search_params.rbi b/rbi/stripe/params/invoice_search_params.rbi index c1e2eebbc..e144b1592 100644 --- a/rbi/stripe/params/invoice_search_params.rbi +++ b/rbi/stripe/params/invoice_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceSearchParams < Stripe::RequestParams + class InvoiceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_send_invoice_params.rbi b/rbi/stripe/params/invoice_send_invoice_params.rbi index 6c6d76880..99b2b51d6 100644 --- a/rbi/stripe/params/invoice_send_invoice_params.rbi +++ b/rbi/stripe/params/invoice_send_invoice_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceSendInvoiceParams < Stripe::RequestParams + class InvoiceSendInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/invoice_update_lines_params.rbi b/rbi/stripe/params/invoice_update_lines_params.rbi index ba27a19a3..f5aa55450 100644 --- a/rbi/stripe/params/invoice_update_lines_params.rbi +++ b/rbi/stripe/params/invoice_update_lines_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class InvoiceUpdateLinesParams < Stripe::RequestParams - class Line < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class InvoiceUpdateLinesParams < ::Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -72,7 +72,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams + class Period < ::Stripe::RequestParams # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -86,8 +86,8 @@ module Stripe sig { params(end_: Integer, start: Integer).void } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -176,7 +176,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Pricing < Stripe::RequestParams + class Pricing < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -185,8 +185,8 @@ module Stripe sig { params(price: T.nilable(String)).void } def initialize(price: nil); end end - class TaxAmount < Stripe::RequestParams - class TaxRateData < Stripe::RequestParams + class TaxAmount < ::Stripe::RequestParams + class TaxRateData < ::Stripe::RequestParams # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(T.nilable(String)) } def country; end diff --git a/rbi/stripe/params/invoice_update_params.rbi b/rbi/stripe/params/invoice_update_params.rbi index 9e511b24c..3611b7437 100644 --- a/rbi/stripe/params/invoice_update_params.rbi +++ b/rbi/stripe/params/invoice_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class InvoiceUpdateParams < Stripe::RequestParams - class AmountsDue < Stripe::RequestParams + class InvoiceUpdateParams < ::Stripe::RequestParams + class AmountsDue < ::Stripe::RequestParams # The amount in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -30,8 +30,8 @@ module Stripe } def initialize(amount: nil, days_until_due: nil, description: nil, due_date: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -62,7 +62,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -76,9 +76,9 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -141,7 +141,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -155,10 +155,10 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -186,7 +186,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -195,9 +195,9 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -260,9 +260,9 @@ module Stripe } def initialize(installments: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -309,9 +309,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams # Determines if the amount includes the IOF tax. Defaults to `never`. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -320,9 +320,9 @@ module Stripe sig { params(amount_includes_iof: T.nilable(String)).void } def initialize(amount_includes_iof: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -362,9 +362,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -563,8 +563,8 @@ module Stripe payment_method_types: nil ); end end - class Rendering < Stripe::RequestParams - class Pdf < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams + class Pdf < ::Stripe::RequestParams # Page size for invoice PDF. Can be set to `a4`, `letter`, or `auto`. # If set to `auto`, invoice PDF page size defaults to `a4` for customers with # Japanese locale and `letter` for customers with other locales. @@ -606,10 +606,10 @@ module Stripe } def initialize(amount_tax_display: nil, pdf: nil, template: nil, template_version: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -623,7 +623,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -660,8 +660,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -772,8 +772,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -838,7 +838,7 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/invoice_void_invoice_params.rbi b/rbi/stripe/params/invoice_void_invoice_params.rbi index 1190f2d13..b9bb5b035 100644 --- a/rbi/stripe/params/invoice_void_invoice_params.rbi +++ b/rbi/stripe/params/invoice_void_invoice_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class InvoiceVoidInvoiceParams < Stripe::RequestParams + class InvoiceVoidInvoiceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_approve_params.rbi b/rbi/stripe/params/issuing/authorization_approve_params.rbi index a2b5c7ed3..687de56d9 100644 --- a/rbi/stripe/params/issuing/authorization_approve_params.rbi +++ b/rbi/stripe/params/issuing/authorization_approve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationApproveParams < Stripe::RequestParams + class AuthorizationApproveParams < ::Stripe::RequestParams # If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request). sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/issuing/authorization_capture_params.rbi b/rbi/stripe/params/issuing/authorization_capture_params.rbi index 37ba01ebf..4d5ca8f03 100644 --- a/rbi/stripe/params/issuing/authorization_capture_params.rbi +++ b/rbi/stripe/params/issuing/authorization_capture_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -44,8 +44,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -54,7 +54,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -63,7 +63,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -149,8 +149,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -233,7 +233,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -270,7 +270,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -284,7 +284,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/issuing/authorization_create_params.rbi b/rbi/stripe/params/issuing/authorization_create_params.rbi index c483502c6..5530101e1 100644 --- a/rbi/stripe/params/issuing/authorization_create_params.rbi +++ b/rbi/stripe/params/issuing/authorization_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -19,8 +19,8 @@ module Stripe sig { params(atm_fee: T.nilable(Integer), cashback_amount: T.nilable(Integer)).void } def initialize(atm_fee: nil, cashback_amount: nil); end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -57,8 +57,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -67,7 +67,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -76,7 +76,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -158,7 +158,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -195,7 +195,7 @@ module Stripe unit_cost_decimal: nil ); end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -256,7 +256,7 @@ module Stripe url: nil ); end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -265,8 +265,8 @@ module Stripe sig { params(acquiring_institution_id: T.nilable(String)).void } def initialize(acquiring_institution_id: nil); end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def invalid_account_number_decline_rate_past_hour; end @@ -299,7 +299,7 @@ module Stripe risk_level: nil ); end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def dispute_rate; end @@ -336,8 +336,8 @@ module Stripe } def initialize(card_testing_risk: nil, merchant_dispute_risk: nil); end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -351,7 +351,7 @@ module Stripe sig { params(claimed_by: String, type: String).void } def initialize(claimed_by: nil, type: nil); end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end diff --git a/rbi/stripe/params/issuing/authorization_decline_params.rbi b/rbi/stripe/params/issuing/authorization_decline_params.rbi index ef473c629..e38db65b7 100644 --- a/rbi/stripe/params/issuing/authorization_decline_params.rbi +++ b/rbi/stripe/params/issuing/authorization_decline_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationDeclineParams < Stripe::RequestParams + class AuthorizationDeclineParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_expire_params.rbi b/rbi/stripe/params/issuing/authorization_expire_params.rbi index 545d38b24..60e37a01f 100644 --- a/rbi/stripe/params/issuing/authorization_expire_params.rbi +++ b/rbi/stripe/params/issuing/authorization_expire_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_finalize_amount_params.rbi b/rbi/stripe/params/issuing/authorization_finalize_amount_params.rbi index c6b7f7eac..936131545 100644 --- a/rbi/stripe/params/issuing/authorization_finalize_amount_params.rbi +++ b/rbi/stripe/params/issuing/authorization_finalize_amount_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -43,8 +43,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -53,7 +53,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -62,7 +62,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -148,7 +148,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end diff --git a/rbi/stripe/params/issuing/authorization_increment_params.rbi b/rbi/stripe/params/issuing/authorization_increment_params.rbi index 3fba75e77..9ca1ba811 100644 --- a/rbi/stripe/params/issuing/authorization_increment_params.rbi +++ b/rbi/stripe/params/issuing/authorization_increment_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_list_params.rbi b/rbi/stripe/params/issuing/authorization_list_params.rbi index 4fb67c822..9e87dd9d0 100644 --- a/rbi/stripe/params/issuing/authorization_list_params.rbi +++ b/rbi/stripe/params/issuing/authorization_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class AuthorizationListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class AuthorizationListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/authorization_respond_params.rbi b/rbi/stripe/params/issuing/authorization_respond_params.rbi index 50618b247..42bc44a9a 100644 --- a/rbi/stripe/params/issuing/authorization_respond_params.rbi +++ b/rbi/stripe/params/issuing/authorization_respond_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). sig { returns(T::Boolean) } def confirmed; end diff --git a/rbi/stripe/params/issuing/authorization_retrieve_params.rbi b/rbi/stripe/params/issuing/authorization_retrieve_params.rbi index d5d0d29a0..54fd72ef6 100644 --- a/rbi/stripe/params/issuing/authorization_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/authorization_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationRetrieveParams < Stripe::RequestParams + class AuthorizationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_reverse_params.rbi b/rbi/stripe/params/issuing/authorization_reverse_params.rbi index ebf877ee4..e3a8356e9 100644 --- a/rbi/stripe/params/issuing/authorization_reverse_params.rbi +++ b/rbi/stripe/params/issuing/authorization_reverse_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/authorization_update_params.rbi b/rbi/stripe/params/issuing/authorization_update_params.rbi index 973f27d87..ef2ee2810 100644 --- a/rbi/stripe/params/issuing/authorization_update_params.rbi +++ b/rbi/stripe/params/issuing/authorization_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class AuthorizationUpdateParams < Stripe::RequestParams + class AuthorizationUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_create_params.rbi b/rbi/stripe/params/issuing/card_create_params.rbi index c66bcf3b1..71dbb9241 100644 --- a/rbi/stripe/params/issuing/card_create_params.rbi +++ b/rbi/stripe/params/issuing/card_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CardCreateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardCreateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. sig { returns(T.nilable(String)) } def encrypted_number; end @@ -14,8 +14,8 @@ module Stripe sig { params(encrypted_number: T.nilable(String)).void } def initialize(encrypted_number: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -58,7 +58,7 @@ module Stripe state: nil ); end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. sig { returns(String) } def mode; end @@ -67,7 +67,7 @@ module Stripe sig { params(mode: String).void } def initialize(mode: nil); end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. sig { returns(T.nilable(String)) } def eori_number; end @@ -136,8 +136,8 @@ module Stripe type: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/issuing/card_deliver_card_params.rbi b/rbi/stripe/params/issuing/card_deliver_card_params.rbi index ac1a61008..fe0f86822 100644 --- a/rbi/stripe/params/issuing/card_deliver_card_params.rbi +++ b/rbi/stripe/params/issuing/card_deliver_card_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_fail_card_params.rbi b/rbi/stripe/params/issuing/card_fail_card_params.rbi index 6b6943f6f..1352757f9 100644 --- a/rbi/stripe/params/issuing/card_fail_card_params.rbi +++ b/rbi/stripe/params/issuing/card_fail_card_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_list_params.rbi b/rbi/stripe/params/issuing/card_list_params.rbi index d11113e75..cf180113b 100644 --- a/rbi/stripe/params/issuing/card_list_params.rbi +++ b/rbi/stripe/params/issuing/card_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CardListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/card_retrieve_params.rbi b/rbi/stripe/params/issuing/card_retrieve_params.rbi index c516b90f5..adb50a6d8 100644 --- a/rbi/stripe/params/issuing/card_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/card_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardRetrieveParams < Stripe::RequestParams + class CardRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_return_card_params.rbi b/rbi/stripe/params/issuing/card_return_card_params.rbi index 22995f53b..9a3097eaa 100644 --- a/rbi/stripe/params/issuing/card_return_card_params.rbi +++ b/rbi/stripe/params/issuing/card_return_card_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_ship_card_params.rbi b/rbi/stripe/params/issuing/card_ship_card_params.rbi index af8633f31..e13521a6c 100644 --- a/rbi/stripe/params/issuing/card_ship_card_params.rbi +++ b/rbi/stripe/params/issuing/card_ship_card_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_submit_card_params.rbi b/rbi/stripe/params/issuing/card_submit_card_params.rbi index 92a599681..2a0c0e8af 100644 --- a/rbi/stripe/params/issuing/card_submit_card_params.rbi +++ b/rbi/stripe/params/issuing/card_submit_card_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/card_update_params.rbi b/rbi/stripe/params/issuing/card_update_params.rbi index a9f9cffac..9cd148c64 100644 --- a/rbi/stripe/params/issuing/card_update_params.rbi +++ b/rbi/stripe/params/issuing/card_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CardUpdateParams < Stripe::RequestParams - class Pin < Stripe::RequestParams + class CardUpdateParams < ::Stripe::RequestParams + class Pin < ::Stripe::RequestParams # The card's desired new PIN, encrypted under Stripe's public key. sig { returns(T.nilable(String)) } def encrypted_number; end @@ -14,8 +14,8 @@ module Stripe sig { params(encrypted_number: T.nilable(String)).void } def initialize(encrypted_number: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -58,7 +58,7 @@ module Stripe state: nil ); end end - class AddressValidation < Stripe::RequestParams + class AddressValidation < ::Stripe::RequestParams # The address validation capabilities to use. sig { returns(String) } def mode; end @@ -67,7 +67,7 @@ module Stripe sig { params(mode: String).void } def initialize(mode: nil); end end - class Customs < Stripe::RequestParams + class Customs < ::Stripe::RequestParams # The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe. sig { returns(T.nilable(String)) } def eori_number; end @@ -136,8 +136,8 @@ module Stripe type: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/issuing/cardholder_create_params.rbi b/rbi/stripe/params/issuing/cardholder_create_params.rbi index c2695ddda..9a505428d 100644 --- a/rbi/stripe/params/issuing/cardholder_create_params.rbi +++ b/rbi/stripe/params/issuing/cardholder_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class CardholderCreateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderCreateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -59,7 +59,7 @@ module Stripe sig { params(address: Issuing::CardholderCreateParams::Billing::Address).void } def initialize(address: nil); end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. sig { returns(T.nilable(String)) } def tax_id; end @@ -68,9 +68,9 @@ module Stripe sig { params(tax_id: T.nilable(String)).void } def initialize(tax_id: nil); end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. sig { returns(T.nilable(Integer)) } def date; end @@ -105,7 +105,7 @@ module Stripe } def initialize(user_terms_acceptance: nil); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -124,8 +124,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. sig { returns(T.nilable(String)) } def back; end @@ -195,8 +195,8 @@ module Stripe verification: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/issuing/cardholder_list_params.rbi b/rbi/stripe/params/issuing/cardholder_list_params.rbi index b3909bd60..8267ed8ff 100644 --- a/rbi/stripe/params/issuing/cardholder_list_params.rbi +++ b/rbi/stripe/params/issuing/cardholder_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CardholderListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class CardholderListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/cardholder_retrieve_params.rbi b/rbi/stripe/params/issuing/cardholder_retrieve_params.rbi index de8f62f40..46a65b691 100644 --- a/rbi/stripe/params/issuing/cardholder_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/cardholder_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CardholderRetrieveParams < Stripe::RequestParams + class CardholderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/cardholder_update_params.rbi b/rbi/stripe/params/issuing/cardholder_update_params.rbi index 50a56d5af..c35123666 100644 --- a/rbi/stripe/params/issuing/cardholder_update_params.rbi +++ b/rbi/stripe/params/issuing/cardholder_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class CardholderUpdateParams < Stripe::RequestParams - class Billing < Stripe::RequestParams - class Address < Stripe::RequestParams + class CardholderUpdateParams < ::Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(String) } def city; end @@ -59,7 +59,7 @@ module Stripe sig { params(address: Issuing::CardholderUpdateParams::Billing::Address).void } def initialize(address: nil); end end - class Company < Stripe::RequestParams + class Company < ::Stripe::RequestParams # The entity's business ID number. sig { returns(T.nilable(String)) } def tax_id; end @@ -68,9 +68,9 @@ module Stripe sig { params(tax_id: T.nilable(String)).void } def initialize(tax_id: nil); end end - class Individual < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams - class UserTermsAcceptance < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams + class UserTermsAcceptance < ::Stripe::RequestParams # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. sig { returns(T.nilable(Integer)) } def date; end @@ -105,7 +105,7 @@ module Stripe } def initialize(user_terms_acceptance: nil); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -124,8 +124,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. sig { returns(T.nilable(String)) } def back; end @@ -195,8 +195,8 @@ module Stripe verification: nil ); end end - class SpendingControls < Stripe::RequestParams - class SpendingLimit < Stripe::RequestParams + class SpendingControls < ::Stripe::RequestParams + class SpendingLimit < ::Stripe::RequestParams # Maximum amount allowed to spend per interval. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_correct_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_correct_params.rbi index 218a11208..4fcc0fdeb 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_correct_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_correct_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCorrectParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCorrectParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. sig { returns(T.nilable(String)) } def application_method; end @@ -26,7 +26,7 @@ module Stripe } def initialize(application_method: nil, purpose: nil, submitted_at: nil); end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -40,8 +40,8 @@ module Stripe sig { params(email: String, name: String).void } def initialize(email: nil, name: nil); end end - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -57,7 +57,7 @@ module Stripe } def initialize(reason_other_explanation: nil, reasons: nil); end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -71,7 +71,7 @@ module Stripe sig { params(amount: Integer, currency: T.nilable(String)).void } def initialize(amount: nil, currency: nil); end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -102,7 +102,7 @@ module Stripe reasons: nil ); end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -170,7 +170,7 @@ module Stripe type: nil ); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rbi index bd592ea30..f8d8da340 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCreateFromApplicationParams < Stripe::RequestParams - class Application < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromApplicationParams < ::Stripe::RequestParams + class Application < ::Stripe::RequestParams # The channel through which the applicant has submitted their application. Defaults to `online`. sig { returns(T.nilable(String)) } def application_method; end @@ -26,7 +26,7 @@ module Stripe } def initialize(application_method: nil, purpose: nil, submitted_at: nil); end end - class CreditUser < Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rbi index bfd118117..579da5b10 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordCreateFromProactiveReviewParams < Stripe::RequestParams - class CreditUser < Stripe::RequestParams + class CreditUnderwritingRecordCreateFromProactiveReviewParams < ::Stripe::RequestParams + class CreditUser < ::Stripe::RequestParams # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -19,8 +19,8 @@ module Stripe sig { params(email: String, name: String).void } def initialize(email: nil, name: nil); end end - class Decision < Stripe::RequestParams - class CreditLimitApproved < Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -34,7 +34,7 @@ module Stripe sig { params(amount: Integer, currency: T.nilable(String)).void } def initialize(amount: nil, currency: nil); end end - class CreditLimitDecreased < Stripe::RequestParams + class CreditLimitDecreased < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -65,7 +65,7 @@ module Stripe reasons: nil ); end end - class CreditLineClosed < Stripe::RequestParams + class CreditLineClosed < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -123,7 +123,7 @@ module Stripe type: nil ); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_list_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_list_params.rbi index 9018353e9..dc2007b73 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_list_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordListParams < Stripe::RequestParams + class CreditUnderwritingRecordListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_report_decision_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_report_decision_params.rbi index 083aefb52..c4f499004 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_report_decision_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_report_decision_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordReportDecisionParams < Stripe::RequestParams - class Decision < Stripe::RequestParams - class ApplicationRejected < Stripe::RequestParams + class CreditUnderwritingRecordReportDecisionParams < ::Stripe::RequestParams + class Decision < ::Stripe::RequestParams + class ApplicationRejected < ::Stripe::RequestParams # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -22,7 +22,7 @@ module Stripe } def initialize(reason_other_explanation: nil, reasons: nil); end end - class CreditLimitApproved < Stripe::RequestParams + class CreditLimitApproved < ::Stripe::RequestParams # The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -64,7 +64,7 @@ module Stripe } def initialize(application_rejected: nil, credit_limit_approved: nil, type: nil); end end - class UnderwritingException < Stripe::RequestParams + class UnderwritingException < ::Stripe::RequestParams # Written explanation for the exception. sig { returns(String) } def explanation; end diff --git a/rbi/stripe/params/issuing/credit_underwriting_record_retrieve_params.rbi b/rbi/stripe/params/issuing/credit_underwriting_record_retrieve_params.rbi index a1ca66ca4..8a3711636 100644 --- a/rbi/stripe/params/issuing/credit_underwriting_record_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/credit_underwriting_record_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class CreditUnderwritingRecordRetrieveParams < Stripe::RequestParams + class CreditUnderwritingRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/dispute_create_params.rbi b/rbi/stripe/params/issuing/dispute_create_params.rbi index d94ac9e42..d5a8e7e98 100644 --- a/rbi/stripe/params/issuing/dispute_create_params.rbi +++ b/rbi/stripe/params/issuing/dispute_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class DisputeCreateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeCreateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -85,7 +85,7 @@ module Stripe returned_at: nil ); end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -128,7 +128,7 @@ module Stripe original_transaction: nil ); end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -144,7 +144,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -193,7 +193,7 @@ module Stripe returned_at: nil ); end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -209,7 +209,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -250,7 +250,7 @@ module Stripe product_type: nil ); end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -283,7 +283,7 @@ module Stripe product_type: nil ); end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -410,7 +410,7 @@ module Stripe service_not_as_described: nil ); end end - class Treasury < Stripe::RequestParams + class Treasury < ::Stripe::RequestParams # The ID of the ReceivedDebit to initiate an Issuings dispute for. sig { returns(String) } def received_debit; end diff --git a/rbi/stripe/params/issuing/dispute_list_params.rbi b/rbi/stripe/params/issuing/dispute_list_params.rbi index 74f674150..30a4c79ce 100644 --- a/rbi/stripe/params/issuing/dispute_list_params.rbi +++ b/rbi/stripe/params/issuing/dispute_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class DisputeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class DisputeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/dispute_retrieve_params.rbi b/rbi/stripe/params/issuing/dispute_retrieve_params.rbi index 04d440aa5..98ecff084 100644 --- a/rbi/stripe/params/issuing/dispute_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/dispute_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class DisputeRetrieveParams < Stripe::RequestParams + class DisputeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/dispute_settlement_detail_list_params.rbi b/rbi/stripe/params/issuing/dispute_settlement_detail_list_params.rbi index 11003d182..a2f22181e 100644 --- a/rbi/stripe/params/issuing/dispute_settlement_detail_list_params.rbi +++ b/rbi/stripe/params/issuing/dispute_settlement_detail_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class DisputeSettlementDetailListParams < Stripe::RequestParams + class DisputeSettlementDetailListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rbi b/rbi/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rbi index 2d03c4fcd..a4e5d59e7 100644 --- a/rbi/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class DisputeSettlementDetailRetrieveParams < Stripe::RequestParams + class DisputeSettlementDetailRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/dispute_submit_params.rbi b/rbi/stripe/params/issuing/dispute_submit_params.rbi index ddb5f934f..1321d6dd3 100644 --- a/rbi/stripe/params/issuing/dispute_submit_params.rbi +++ b/rbi/stripe/params/issuing/dispute_submit_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class DisputeSubmitParams < Stripe::RequestParams + class DisputeSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/dispute_update_params.rbi b/rbi/stripe/params/issuing/dispute_update_params.rbi index 59bad2fa8..a8d2abeab 100644 --- a/rbi/stripe/params/issuing/dispute_update_params.rbi +++ b/rbi/stripe/params/issuing/dispute_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Issuing - class DisputeUpdateParams < Stripe::RequestParams - class Evidence < Stripe::RequestParams - class Canceled < Stripe::RequestParams + class DisputeUpdateParams < ::Stripe::RequestParams + class Evidence < ::Stripe::RequestParams + class Canceled < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -85,7 +85,7 @@ module Stripe returned_at: nil ); end end - class Duplicate < Stripe::RequestParams + class Duplicate < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -128,7 +128,7 @@ module Stripe original_transaction: nil ); end end - class Fraudulent < Stripe::RequestParams + class Fraudulent < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -144,7 +144,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class MerchandiseNotAsDescribed < Stripe::RequestParams + class MerchandiseNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -193,7 +193,7 @@ module Stripe returned_at: nil ); end end - class NoValidAuthorization < Stripe::RequestParams + class NoValidAuthorization < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -209,7 +209,7 @@ module Stripe } def initialize(additional_documentation: nil, explanation: nil); end end - class NotReceived < Stripe::RequestParams + class NotReceived < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -250,7 +250,7 @@ module Stripe product_type: nil ); end end - class Other < Stripe::RequestParams + class Other < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end @@ -283,7 +283,7 @@ module Stripe product_type: nil ); end end - class ServiceNotAsDescribed < Stripe::RequestParams + class ServiceNotAsDescribed < ::Stripe::RequestParams # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. sig { returns(T.nilable(String)) } def additional_documentation; end diff --git a/rbi/stripe/params/issuing/fraud_liability_debit_list_params.rbi b/rbi/stripe/params/issuing/fraud_liability_debit_list_params.rbi index 5000817ee..28bed6aeb 100644 --- a/rbi/stripe/params/issuing/fraud_liability_debit_list_params.rbi +++ b/rbi/stripe/params/issuing/fraud_liability_debit_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class FraudLiabilityDebitListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FraudLiabilityDebitListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/fraud_liability_debit_retrieve_params.rbi b/rbi/stripe/params/issuing/fraud_liability_debit_retrieve_params.rbi index 2676e65e4..24263f4c5 100644 --- a/rbi/stripe/params/issuing/fraud_liability_debit_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/fraud_liability_debit_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class FraudLiabilityDebitRetrieveParams < Stripe::RequestParams + class FraudLiabilityDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/personalization_design_activate_params.rbi b/rbi/stripe/params/issuing/personalization_design_activate_params.rbi index d0eabf0e9..1f910b3ce 100644 --- a/rbi/stripe/params/issuing/personalization_design_activate_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_activate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/personalization_design_create_params.rbi b/rbi/stripe/params/issuing/personalization_design_create_params.rbi index ef32b561e..f0fa3c80a 100644 --- a/rbi/stripe/params/issuing/personalization_design_create_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignCreateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignCreateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -36,7 +36,7 @@ module Stripe header_title: nil ); end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end diff --git a/rbi/stripe/params/issuing/personalization_design_deactivate_params.rbi b/rbi/stripe/params/issuing/personalization_design_deactivate_params.rbi index 024536175..67b20becb 100644 --- a/rbi/stripe/params/issuing/personalization_design_deactivate_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_deactivate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/personalization_design_list_params.rbi b/rbi/stripe/params/issuing/personalization_design_list_params.rbi index a42338a46..a840374c6 100644 --- a/rbi/stripe/params/issuing/personalization_design_list_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignListParams < Stripe::RequestParams - class Preferences < Stripe::RequestParams + class PersonalizationDesignListParams < ::Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Only return the personalization design that's set as the default. A connected account uses the Connect platform's default design if no personalization design is set as the default. sig { returns(T.nilable(T::Boolean)) } def is_default; end diff --git a/rbi/stripe/params/issuing/personalization_design_reject_params.rbi b/rbi/stripe/params/issuing/personalization_design_reject_params.rbi index 2c81b3f83..f315f9455 100644 --- a/rbi/stripe/params/issuing/personalization_design_reject_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_reject_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end diff --git a/rbi/stripe/params/issuing/personalization_design_retrieve_params.rbi b/rbi/stripe/params/issuing/personalization_design_retrieve_params.rbi index 629174063..37c1b1dab 100644 --- a/rbi/stripe/params/issuing/personalization_design_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignRetrieveParams < Stripe::RequestParams + class PersonalizationDesignRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/personalization_design_update_params.rbi b/rbi/stripe/params/issuing/personalization_design_update_params.rbi index 878c244ff..6bf05d10b 100644 --- a/rbi/stripe/params/issuing/personalization_design_update_params.rbi +++ b/rbi/stripe/params/issuing/personalization_design_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class PersonalizationDesignUpdateParams < Stripe::RequestParams - class CarrierText < Stripe::RequestParams + class PersonalizationDesignUpdateParams < ::Stripe::RequestParams + class CarrierText < ::Stripe::RequestParams # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -36,7 +36,7 @@ module Stripe header_title: nil ); end end - class Preferences < Stripe::RequestParams + class Preferences < ::Stripe::RequestParams # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end diff --git a/rbi/stripe/params/issuing/physical_bundle_list_params.rbi b/rbi/stripe/params/issuing/physical_bundle_list_params.rbi index f5ea958bb..aaca46289 100644 --- a/rbi/stripe/params/issuing/physical_bundle_list_params.rbi +++ b/rbi/stripe/params/issuing/physical_bundle_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class PhysicalBundleListParams < Stripe::RequestParams + class PhysicalBundleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/issuing/physical_bundle_retrieve_params.rbi b/rbi/stripe/params/issuing/physical_bundle_retrieve_params.rbi index efea29d37..6ec597fcf 100644 --- a/rbi/stripe/params/issuing/physical_bundle_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/physical_bundle_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class PhysicalBundleRetrieveParams < Stripe::RequestParams + class PhysicalBundleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/token_list_params.rbi b/rbi/stripe/params/issuing/token_list_params.rbi index 068c5f1fc..e2391c1bd 100644 --- a/rbi/stripe/params/issuing/token_list_params.rbi +++ b/rbi/stripe/params/issuing/token_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class TokenListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TokenListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/token_retrieve_params.rbi b/rbi/stripe/params/issuing/token_retrieve_params.rbi index 88561966d..4d25c648d 100644 --- a/rbi/stripe/params/issuing/token_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/token_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/token_update_params.rbi b/rbi/stripe/params/issuing/token_update_params.rbi index a349a7022..67341b7a4 100644 --- a/rbi/stripe/params/issuing/token_update_params.rbi +++ b/rbi/stripe/params/issuing/token_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class TokenUpdateParams < Stripe::RequestParams + class TokenUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/transaction_create_force_capture_params.rbi b/rbi/stripe/params/issuing/transaction_create_force_capture_params.rbi index 9ab582d94..e1e0bff7a 100644 --- a/rbi/stripe/params/issuing/transaction_create_force_capture_params.rbi +++ b/rbi/stripe/params/issuing/transaction_create_force_capture_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -66,9 +66,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -105,8 +105,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -115,7 +115,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -124,7 +124,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -210,8 +210,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -294,7 +294,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -331,7 +331,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -345,7 +345,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/issuing/transaction_create_unlinked_refund_params.rbi b/rbi/stripe/params/issuing/transaction_create_unlinked_refund_params.rbi index 5c67f6867..0d956c718 100644 --- a/rbi/stripe/params/issuing/transaction_create_unlinked_refund_params.rbi +++ b/rbi/stripe/params/issuing/transaction_create_unlinked_refund_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -66,9 +66,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -105,8 +105,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -115,7 +115,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -124,7 +124,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -210,8 +210,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -294,7 +294,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -331,7 +331,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -345,7 +345,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/issuing/transaction_list_params.rbi b/rbi/stripe/params/issuing/transaction_list_params.rbi index 3f24d7215..9c62599b1 100644 --- a/rbi/stripe/params/issuing/transaction_list_params.rbi +++ b/rbi/stripe/params/issuing/transaction_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Issuing - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/issuing/transaction_refund_params.rbi b/rbi/stripe/params/issuing/transaction_refund_params.rbi index c24bb5bb6..30b7b3265 100644 --- a/rbi/stripe/params/issuing/transaction_refund_params.rbi +++ b/rbi/stripe/params/issuing/transaction_refund_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/transaction_retrieve_params.rbi b/rbi/stripe/params/issuing/transaction_retrieve_params.rbi index b559e62f0..7f68975fd 100644 --- a/rbi/stripe/params/issuing/transaction_retrieve_params.rbi +++ b/rbi/stripe/params/issuing/transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/issuing/transaction_update_params.rbi b/rbi/stripe/params/issuing/transaction_update_params.rbi index bdf348a5d..2258570da 100644 --- a/rbi/stripe/params/issuing/transaction_update_params.rbi +++ b/rbi/stripe/params/issuing/transaction_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Issuing - class TransactionUpdateParams < Stripe::RequestParams + class TransactionUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/mandate_list_params.rbi b/rbi/stripe/params/mandate_list_params.rbi index 4f1fa921e..5832cfc50 100644 --- a/rbi/stripe/params/mandate_list_params.rbi +++ b/rbi/stripe/params/mandate_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MandateListParams < Stripe::RequestParams + class MandateListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/mandate_retrieve_params.rbi b/rbi/stripe/params/mandate_retrieve_params.rbi index 17f3872fe..c76d3e5f1 100644 --- a/rbi/stripe/params/mandate_retrieve_params.rbi +++ b/rbi/stripe/params/mandate_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MandateRetrieveParams < Stripe::RequestParams + class MandateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/margin_create_params.rbi b/rbi/stripe/params/margin_create_params.rbi index 81c3c70b6..dff5aab28 100644 --- a/rbi/stripe/params/margin_create_params.rbi +++ b/rbi/stripe/params/margin_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MarginCreateParams < Stripe::RequestParams + class MarginCreateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/margin_list_params.rbi b/rbi/stripe/params/margin_list_params.rbi index 1f68afd1a..d1923cab2 100644 --- a/rbi/stripe/params/margin_list_params.rbi +++ b/rbi/stripe/params/margin_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MarginListParams < Stripe::RequestParams + class MarginListParams < ::Stripe::RequestParams # Only return margins that are active or inactive. For example, pass `true` to only list active margins. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/margin_retrieve_params.rbi b/rbi/stripe/params/margin_retrieve_params.rbi index 8fb598c2e..122d5b239 100644 --- a/rbi/stripe/params/margin_retrieve_params.rbi +++ b/rbi/stripe/params/margin_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MarginRetrieveParams < Stripe::RequestParams + class MarginRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/margin_update_params.rbi b/rbi/stripe/params/margin_update_params.rbi index 62f3034c5..746c10e4b 100644 --- a/rbi/stripe/params/margin_update_params.rbi +++ b/rbi/stripe/params/margin_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class MarginUpdateParams < Stripe::RequestParams + class MarginUpdateParams < ::Stripe::RequestParams # Whether the margin can be applied to invoices, invoice items, or invoice line items or not. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/order_cancel_params.rbi b/rbi/stripe/params/order_cancel_params.rbi index 09e86c9f0..018d24a41 100644 --- a/rbi/stripe/params/order_cancel_params.rbi +++ b/rbi/stripe/params/order_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderCancelParams < Stripe::RequestParams + class OrderCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/order_create_params.rbi b/rbi/stripe/params/order_create_params.rbi index 423b70705..6aa0d1dc2 100644 --- a/rbi/stripe/params/order_create_params.rbi +++ b/rbi/stripe/params/order_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class OrderCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. sig { returns(T::Boolean) } def enabled; end @@ -13,8 +13,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -84,7 +84,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -105,8 +105,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -120,7 +120,7 @@ module Stripe sig { params(coupon: T.nilable(String), discount: T.nilable(String)).void } def initialize(coupon: nil, discount: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(T.nilable(String)) } def currency; end @@ -159,8 +159,8 @@ module Stripe unit_amount_decimal: nil ); end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -328,11 +328,11 @@ module Stripe tax_rates: nil ); end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -409,7 +409,7 @@ module Stripe verification_method: nil ); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -440,7 +440,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -459,7 +459,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -485,7 +485,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -507,9 +507,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -578,7 +578,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -597,8 +597,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -637,8 +637,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -748,7 +748,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -783,7 +783,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -807,7 +807,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -833,9 +833,9 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -977,8 +977,8 @@ module Stripe subsellers: nil ); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1021,7 +1021,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -1049,7 +1049,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -1234,7 +1234,7 @@ module Stripe wechat_pay: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -1312,10 +1312,10 @@ module Stripe sig { params(settings: OrderCreateParams::Payment::Settings).void } def initialize(settings: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -1329,7 +1329,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -1366,8 +1366,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -1478,8 +1478,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1544,8 +1544,8 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end diff --git a/rbi/stripe/params/order_line_item_list_params.rbi b/rbi/stripe/params/order_line_item_list_params.rbi index 1213ed491..121d18887 100644 --- a/rbi/stripe/params/order_line_item_list_params.rbi +++ b/rbi/stripe/params/order_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderLineItemListParams < Stripe::RequestParams + class OrderLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/order_list_line_items_params.rbi b/rbi/stripe/params/order_list_line_items_params.rbi index de7d0b5e1..e9484e661 100644 --- a/rbi/stripe/params/order_list_line_items_params.rbi +++ b/rbi/stripe/params/order_list_line_items_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderListLineItemsParams < Stripe::RequestParams + class OrderListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/order_list_params.rbi b/rbi/stripe/params/order_list_params.rbi index f28d79991..3ebd51c9b 100644 --- a/rbi/stripe/params/order_list_params.rbi +++ b/rbi/stripe/params/order_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderListParams < Stripe::RequestParams + class OrderListParams < ::Stripe::RequestParams # Only return orders for the given customer. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/order_reopen_params.rbi b/rbi/stripe/params/order_reopen_params.rbi index e51b7ba87..e8851336c 100644 --- a/rbi/stripe/params/order_reopen_params.rbi +++ b/rbi/stripe/params/order_reopen_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderReopenParams < Stripe::RequestParams + class OrderReopenParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/order_retrieve_params.rbi b/rbi/stripe/params/order_retrieve_params.rbi index 61d668c16..03ae30f3a 100644 --- a/rbi/stripe/params/order_retrieve_params.rbi +++ b/rbi/stripe/params/order_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderRetrieveParams < Stripe::RequestParams + class OrderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/order_submit_params.rbi b/rbi/stripe/params/order_submit_params.rbi index 472b979cd..1b308bfd4 100644 --- a/rbi/stripe/params/order_submit_params.rbi +++ b/rbi/stripe/params/order_submit_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class OrderSubmitParams < Stripe::RequestParams + class OrderSubmitParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/order_update_params.rbi b/rbi/stripe/params/order_update_params.rbi index ee1e6db20..74acc80e6 100644 --- a/rbi/stripe/params/order_update_params.rbi +++ b/rbi/stripe/params/order_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class OrderUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class OrderUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enable automatic tax calculation which will automatically compute tax rates on this order. sig { returns(T::Boolean) } def enabled; end @@ -13,8 +13,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -84,7 +84,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Discount < Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -105,8 +105,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams # ID of the coupon to create a new discount for. sig { returns(T.nilable(String)) } def coupon; end @@ -120,7 +120,7 @@ module Stripe sig { params(coupon: T.nilable(String), discount: T.nilable(String)).void } def initialize(coupon: nil, discount: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(T.nilable(String)) } def currency; end @@ -159,8 +159,8 @@ module Stripe unit_amount_decimal: nil ); end end - class ProductData < Stripe::RequestParams - class PackageDimensions < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end @@ -334,11 +334,11 @@ module Stripe tax_rates: nil ); end end - class Payment < Stripe::RequestParams - class Settings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payment < ::Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -415,7 +415,7 @@ module Stripe verification_method: nil ); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -446,7 +446,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -465,7 +465,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -491,7 +491,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -513,9 +513,9 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -584,7 +584,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -603,8 +603,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -643,8 +643,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -754,7 +754,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -789,7 +789,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -813,7 +813,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -839,9 +839,9 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -983,8 +983,8 @@ module Stripe subsellers: nil ); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1027,7 +1027,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -1055,7 +1055,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -1240,7 +1240,7 @@ module Stripe wechat_pay: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end @@ -1322,10 +1322,10 @@ module Stripe sig { params(settings: OrderUpdateParams::Payment::Settings).void } def initialize(settings: nil); end end - class ShippingCost < Stripe::RequestParams - class ShippingRateData < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams + class ShippingRateData < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -1339,7 +1339,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -1376,8 +1376,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -1488,8 +1488,8 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1554,8 +1554,8 @@ module Stripe } def initialize(address: nil, name: nil, phone: nil); end end - class TaxDetails < Stripe::RequestParams - class TaxId < Stripe::RequestParams + class TaxDetails < ::Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end diff --git a/rbi/stripe/params/payment_attempt_record_list_params.rbi b/rbi/stripe/params/payment_attempt_record_list_params.rbi index bd9b3935d..a9d84fd4e 100644 --- a/rbi/stripe/params/payment_attempt_record_list_params.rbi +++ b/rbi/stripe/params/payment_attempt_record_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentAttemptRecordListParams < Stripe::RequestParams + class PaymentAttemptRecordListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -19,9 +19,14 @@ module Stripe def payment_record; end sig { params(_payment_record: String).returns(String) } def payment_record=(_payment_record); end + # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. + sig { returns(T.nilable(String)) } + def starting_after; end + sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) } + def starting_after=(_starting_after); end sig { - params(expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), payment_record: String).void + params(expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), payment_record: String, starting_after: T.nilable(String)).void } - def initialize(expand: nil, limit: nil, payment_record: nil); end + def initialize(expand: nil, limit: nil, payment_record: nil, starting_after: nil); end end end \ No newline at end of file diff --git a/rbi/stripe/params/payment_attempt_record_retrieve_params.rbi b/rbi/stripe/params/payment_attempt_record_retrieve_params.rbi index c558468b0..98536bbfe 100644 --- a/rbi/stripe/params/payment_attempt_record_retrieve_params.rbi +++ b/rbi/stripe/params/payment_attempt_record_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentAttemptRecordRetrieveParams < Stripe::RequestParams + class PaymentAttemptRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_intent_amount_details_line_item_list_params.rbi b/rbi/stripe/params/payment_intent_amount_details_line_item_list_params.rbi index bfe3e2ec6..a241e1e9e 100644 --- a/rbi/stripe/params/payment_intent_amount_details_line_item_list_params.rbi +++ b/rbi/stripe/params/payment_intent_amount_details_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentAmountDetailsLineItemListParams < Stripe::RequestParams + class PaymentIntentAmountDetailsLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/payment_intent_apply_customer_balance_params.rbi b/rbi/stripe/params/payment_intent_apply_customer_balance_params.rbi index f3633aca0..021ececaf 100644 --- a/rbi/stripe/params/payment_intent_apply_customer_balance_params.rbi +++ b/rbi/stripe/params/payment_intent_apply_customer_balance_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentApplyCustomerBalanceParams < Stripe::RequestParams + class PaymentIntentApplyCustomerBalanceParams < ::Stripe::RequestParams # Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter. # # A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent. diff --git a/rbi/stripe/params/payment_intent_cancel_params.rbi b/rbi/stripe/params/payment_intent_cancel_params.rbi index afff1edb8..030a89aec 100644 --- a/rbi/stripe/params/payment_intent_cancel_params.rbi +++ b/rbi/stripe/params/payment_intent_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentCancelParams < Stripe::RequestParams + class PaymentIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` sig { returns(T.nilable(String)) } def cancellation_reason; end diff --git a/rbi/stripe/params/payment_intent_capture_params.rbi b/rbi/stripe/params/payment_intent_capture_params.rbi index 4ec776b3e..2a2bbcf26 100644 --- a/rbi/stripe/params/payment_intent_capture_params.rbi +++ b/rbi/stripe/params/payment_intent_capture_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class PaymentIntentCaptureParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCaptureParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -25,7 +25,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -46,7 +46,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -108,7 +108,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -177,7 +177,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -200,7 +200,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -244,9 +244,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -275,9 +275,9 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentCaptureParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -286,8 +286,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -327,7 +327,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -341,7 +341,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -364,7 +364,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -407,7 +407,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -620,8 +620,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -664,7 +664,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -673,8 +673,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -788,8 +788,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -798,8 +798,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -839,7 +839,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -848,7 +848,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -967,8 +967,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1011,7 +1011,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1020,8 +1020,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1061,7 +1061,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -1216,8 +1216,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1226,7 +1226,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1348,7 +1348,7 @@ module Stripe subscription: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/payment_intent_confirm_params.rbi b/rbi/stripe/params/payment_intent_confirm_params.rbi index 7f4d42629..0fe97e27b 100644 --- a/rbi/stripe/params/payment_intent_confirm_params.rbi +++ b/rbi/stripe/params/payment_intent_confirm_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class PaymentIntentConfirmParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentConfirmParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -25,7 +25,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -46,7 +46,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -108,7 +108,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -177,7 +177,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -200,7 +200,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -244,9 +244,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -275,10 +275,10 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentConfirmParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -337,9 +337,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -348,8 +348,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -389,7 +389,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -403,7 +403,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -426,7 +426,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -469,7 +469,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -682,8 +682,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -726,7 +726,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -735,8 +735,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -850,8 +850,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -860,8 +860,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -901,7 +901,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -910,7 +910,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -1029,8 +1029,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1073,7 +1073,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1082,8 +1082,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1123,7 +1123,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -1278,8 +1278,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1288,7 +1288,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1410,8 +1410,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -1432,12 +1432,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -1451,7 +1451,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -1465,10 +1465,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1545,8 +1545,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -1555,10 +1555,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1567,7 +1567,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1581,10 +1581,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -1593,7 +1593,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -1602,10 +1602,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1636,13 +1636,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -1651,7 +1651,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1694,8 +1694,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1704,12 +1704,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -1730,10 +1730,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -1742,8 +1742,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1772,10 +1772,10 @@ module Stripe sig { params(dob: PaymentIntentConfirmParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -1784,8 +1784,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -1794,7 +1794,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1808,9 +1808,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1847,8 +1847,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentConfirmParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -2347,9 +2347,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -2426,7 +2426,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2459,7 +2459,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2493,7 +2493,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2512,7 +2512,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2525,7 +2525,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2553,7 +2553,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2579,8 +2579,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -2623,7 +2623,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -2649,7 +2649,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2662,7 +2662,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -2684,7 +2684,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -2710,9 +2710,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -2756,7 +2756,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -2819,8 +2819,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2882,9 +2882,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -3162,8 +3162,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -3206,7 +3206,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3236,7 +3236,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3253,9 +3253,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -3324,7 +3324,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3341,7 +3341,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3358,7 +3358,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3375,7 +3375,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3392,7 +3392,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3409,7 +3409,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -3438,7 +3438,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3457,8 +3457,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3486,8 +3486,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -3524,8 +3524,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -3635,7 +3635,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -3684,7 +3684,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3712,7 +3712,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3747,7 +3747,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3764,7 +3764,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3792,7 +3792,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3809,7 +3809,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3837,7 +3837,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3863,7 +3863,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -3887,7 +3887,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3913,8 +3913,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3927,7 +3927,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3944,9 +3944,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -4088,7 +4088,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4101,8 +4101,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -4174,8 +4174,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -4278,7 +4278,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4295,7 +4295,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4312,8 +4312,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4341,7 +4341,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4354,7 +4354,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4367,8 +4367,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -4411,7 +4411,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4428,7 +4428,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -4456,7 +4456,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4475,7 +4475,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -4497,7 +4497,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4514,9 +4514,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -4534,7 +4534,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -4591,7 +4591,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -4600,7 +4600,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -4683,7 +4683,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -4712,7 +4712,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -5325,7 +5325,7 @@ module Stripe zip: nil ); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -5334,8 +5334,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/payment_intent_create_params.rbi b/rbi/stripe/params/payment_intent_create_params.rbi index 282ebd6b8..7f6a4d70d 100644 --- a/rbi/stripe/params/payment_intent_create_params.rbi +++ b/rbi/stripe/params/payment_intent_create_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class PaymentIntentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -25,7 +25,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -46,7 +46,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -108,7 +108,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -177,7 +177,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -200,7 +200,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -244,7 +244,7 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class AutomaticPaymentMethods < Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -260,9 +260,9 @@ module Stripe sig { params(allow_redirects: T.nilable(String), enabled: T::Boolean).void } def initialize(allow_redirects: nil, enabled: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -291,10 +291,10 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentCreateParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(String) } def ip_address; end @@ -353,9 +353,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -364,8 +364,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -405,7 +405,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -419,7 +419,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -442,7 +442,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -485,7 +485,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -698,8 +698,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -742,7 +742,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -751,8 +751,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -864,8 +864,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -874,8 +874,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -915,7 +915,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -924,7 +924,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -1043,8 +1043,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1087,7 +1087,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1096,8 +1096,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1137,7 +1137,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -1292,8 +1292,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1302,7 +1302,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1424,8 +1424,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -1446,12 +1446,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -1465,7 +1465,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -1479,10 +1479,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1559,8 +1559,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -1569,10 +1569,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1581,7 +1581,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1595,10 +1595,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -1607,7 +1607,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -1616,10 +1616,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1650,13 +1650,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -1665,7 +1665,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1708,8 +1708,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1718,12 +1718,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -1744,10 +1744,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -1756,8 +1756,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1786,10 +1786,10 @@ module Stripe sig { params(dob: PaymentIntentCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -1798,8 +1798,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -1808,7 +1808,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1822,9 +1822,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1861,8 +1861,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -2361,9 +2361,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -2440,7 +2440,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2473,7 +2473,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2507,7 +2507,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2526,7 +2526,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2539,7 +2539,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2567,7 +2567,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2593,8 +2593,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -2637,7 +2637,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -2663,7 +2663,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2676,7 +2676,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -2698,7 +2698,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -2724,9 +2724,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -2770,7 +2770,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -2833,8 +2833,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2896,9 +2896,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -3176,8 +3176,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -3220,7 +3220,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3250,7 +3250,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3267,9 +3267,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -3338,7 +3338,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3355,7 +3355,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3372,7 +3372,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3389,7 +3389,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3406,7 +3406,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3423,7 +3423,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -3452,7 +3452,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3471,8 +3471,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3500,8 +3500,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -3538,8 +3538,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -3649,7 +3649,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -3698,7 +3698,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3726,7 +3726,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3761,7 +3761,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3778,7 +3778,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3806,7 +3806,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3823,7 +3823,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3851,7 +3851,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3877,7 +3877,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -3901,7 +3901,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3927,8 +3927,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3941,7 +3941,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3958,9 +3958,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -4102,7 +4102,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4115,8 +4115,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -4188,8 +4188,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -4292,7 +4292,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4309,7 +4309,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4326,8 +4326,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4355,7 +4355,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4368,7 +4368,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4381,8 +4381,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -4425,7 +4425,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4442,7 +4442,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -4470,7 +4470,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4489,7 +4489,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -4511,7 +4511,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4528,9 +4528,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -4548,7 +4548,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -4605,7 +4605,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -4614,7 +4614,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -4697,7 +4697,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -4726,7 +4726,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -5339,7 +5339,7 @@ module Stripe zip: nil ); end end - class RadarOptions < Stripe::RequestParams + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -5348,8 +5348,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -5424,7 +5424,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. # The amount is capped at the total transaction amount and if no amount is set, # the full amount is transferred. diff --git a/rbi/stripe/params/payment_intent_decrement_authorization_params.rbi b/rbi/stripe/params/payment_intent_decrement_authorization_params.rbi index 750328ea6..5079a48fb 100644 --- a/rbi/stripe/params/payment_intent_decrement_authorization_params.rbi +++ b/rbi/stripe/params/payment_intent_decrement_authorization_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class PaymentIntentDecrementAuthorizationParams < Stripe::RequestParams - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class PaymentIntentDecrementAuthorizationParams < ::Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -39,7 +39,7 @@ module Stripe } def initialize(inputs: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/payment_intent_increment_authorization_params.rbi b/rbi/stripe/params/payment_intent_increment_authorization_params.rbi index d7022af16..175a41ad9 100644 --- a/rbi/stripe/params/payment_intent_increment_authorization_params.rbi +++ b/rbi/stripe/params/payment_intent_increment_authorization_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class PaymentIntentIncrementAuthorizationParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentIncrementAuthorizationParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -25,7 +25,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -46,7 +46,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -108,7 +108,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -179,7 +179,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -202,7 +202,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -250,9 +250,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -285,7 +285,7 @@ module Stripe } def initialize(inputs: nil); end end - class PaymentDetails < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. sig { returns(T.nilable(String)) } def customer_reference; end @@ -299,8 +299,8 @@ module Stripe sig { params(customer_reference: T.nilable(String), order_reference: T.nilable(String)).void } def initialize(customer_reference: nil, order_reference: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Request partial authorization on this PaymentIntent. sig { returns(T.nilable(String)) } def request_partial_authorization; end @@ -323,7 +323,7 @@ module Stripe } def initialize(card: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/payment_intent_list_params.rbi b/rbi/stripe/params/payment_intent_list_params.rbi index acf8a4d48..70c2bddd0 100644 --- a/rbi/stripe/params/payment_intent_list_params.rbi +++ b/rbi/stripe/params/payment_intent_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PaymentIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/payment_intent_retrieve_params.rbi b/rbi/stripe/params/payment_intent_retrieve_params.rbi index bec9791f9..936ad798b 100644 --- a/rbi/stripe/params/payment_intent_retrieve_params.rbi +++ b/rbi/stripe/params/payment_intent_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentRetrieveParams < Stripe::RequestParams + class PaymentIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source. sig { returns(T.nilable(String)) } def client_secret; end diff --git a/rbi/stripe/params/payment_intent_search_params.rbi b/rbi/stripe/params/payment_intent_search_params.rbi index 2edd0bf5f..a48b12679 100644 --- a/rbi/stripe/params/payment_intent_search_params.rbi +++ b/rbi/stripe/params/payment_intent_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentSearchParams < Stripe::RequestParams + class PaymentIntentSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_intent_trigger_action_params.rbi b/rbi/stripe/params/payment_intent_trigger_action_params.rbi index f8f307148..fbd8bc9b6 100644 --- a/rbi/stripe/params/payment_intent_trigger_action_params.rbi +++ b/rbi/stripe/params/payment_intent_trigger_action_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentIntentTriggerActionParams < Stripe::RequestParams - class ScanQrCode < Stripe::RequestParams + class PaymentIntentTriggerActionParams < ::Stripe::RequestParams + class ScanQrCode < ::Stripe::RequestParams # Whether the QR Code scan's payment should succeed or fail. sig { returns(T.nilable(String)) } def result; end diff --git a/rbi/stripe/params/payment_intent_update_params.rbi b/rbi/stripe/params/payment_intent_update_params.rbi index 334884310..bf4873023 100644 --- a/rbi/stripe/params/payment_intent_update_params.rbi +++ b/rbi/stripe/params/payment_intent_update_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class PaymentIntentUpdateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentIntentUpdateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. sig { returns(T.nilable(String)) } def commodity_code; end @@ -25,7 +25,7 @@ module Stripe sig { params(commodity_code: T.nilable(String)).void } def initialize(commodity_code: nil); end end - class Klarna < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams # URL to an image for the product. Max length, 4096 characters. sig { returns(T.nilable(String)) } def image_url; end @@ -46,7 +46,7 @@ module Stripe } def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -108,7 +108,7 @@ module Stripe } def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The total tax on an item. Non-negative integer. sig { returns(Integer) } def total_tax_amount; end @@ -177,7 +177,7 @@ module Stripe unit_of_measure: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(T.any(String, Integer))) } def amount; end @@ -200,7 +200,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end @@ -244,9 +244,9 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Hooks < Stripe::RequestParams - class Inputs < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Hooks < ::Stripe::RequestParams + class Inputs < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -275,9 +275,9 @@ module Stripe sig { params(inputs: T.nilable(PaymentIntentUpdateParams::Hooks::Inputs)).void } def initialize(inputs: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -320,9 +320,9 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentDetails < Stripe::RequestParams - class CarRental < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class PaymentDetails < ::Stripe::RequestParams + class CarRental < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -331,8 +331,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -372,7 +372,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Distance < Stripe::RequestParams + class Distance < ::Stripe::RequestParams # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -386,7 +386,7 @@ module Stripe sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void } def initialize(amount: nil, unit: nil); end end - class Driver < Stripe::RequestParams + class Driver < ::Stripe::RequestParams # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -409,7 +409,7 @@ module Stripe } def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil); end end - class PickupAddress < Stripe::RequestParams + class PickupAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -452,7 +452,7 @@ module Stripe state: nil ); end end - class ReturnAddress < Stripe::RequestParams + class ReturnAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -665,8 +665,8 @@ module Stripe vehicle_identification_number: nil ); end end - class EventDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class EventDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -709,7 +709,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -718,8 +718,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -831,8 +831,8 @@ module Stripe starts_at: nil ); end end - class Flight < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -841,8 +841,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -882,7 +882,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the flight reservation. sig { returns(String) } def name; end @@ -891,7 +891,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Segment < Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The flight segment amount. sig { returns(T.nilable(Integer)) } def amount; end @@ -1010,8 +1010,8 @@ module Stripe ticket_number: nil ); end end - class Lodging < Stripe::RequestParams - class Address < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1054,7 +1054,7 @@ module Stripe state: nil ); end end - class Affiliate < Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1063,8 +1063,8 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class Delivery < Stripe::RequestParams - class Recipient < Stripe::RequestParams + class Delivery < ::Stripe::RequestParams + class Recipient < ::Stripe::RequestParams # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1104,7 +1104,7 @@ module Stripe } def initialize(mode: nil, recipient: nil); end end - class Passenger < Stripe::RequestParams + class Passenger < ::Stripe::RequestParams # Full name of the person or entity on the lodging reservation. sig { returns(String) } def name; end @@ -1259,8 +1259,8 @@ module Stripe total_tax_amount: nil ); end end - class Subscription < Stripe::RequestParams - class Affiliate < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class Affiliate < ::Stripe::RequestParams # The name of the affiliate that originated the purchase. sig { returns(String) } def name; end @@ -1269,7 +1269,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class BillingInterval < Stripe::RequestParams + class BillingInterval < ::Stripe::RequestParams # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(Integer) } def count; end @@ -1391,8 +1391,8 @@ module Stripe subscription: nil ); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -1413,12 +1413,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -1432,7 +1432,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -1446,10 +1446,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1526,8 +1526,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -1536,10 +1536,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1548,7 +1548,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1562,10 +1562,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -1574,7 +1574,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -1583,10 +1583,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1617,13 +1617,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -1632,7 +1632,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1675,8 +1675,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -1685,12 +1685,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -1711,10 +1711,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -1723,8 +1723,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1753,10 +1753,10 @@ module Stripe sig { params(dob: PaymentIntentUpdateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -1765,8 +1765,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -1775,7 +1775,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1789,9 +1789,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1828,8 +1828,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentIntentUpdateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -2328,9 +2328,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -2407,7 +2407,7 @@ module Stripe verification_method: nil ); end end - class Affirm < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2440,7 +2440,7 @@ module Stripe } def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil); end end - class AfterpayClearpay < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2474,7 +2474,7 @@ module Stripe } def initialize(capture_method: nil, reference: nil, setup_future_usage: nil); end end - class Alipay < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2493,7 +2493,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Alma < Stripe::RequestParams + class Alma < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2506,7 +2506,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class AmazonPay < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2534,7 +2534,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class AuBecsDebit < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2560,8 +2560,8 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -2604,7 +2604,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -2630,7 +2630,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class Billie < Stripe::RequestParams + class Billie < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -2643,7 +2643,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Blik < Stripe::RequestParams + class Blik < ::Stripe::RequestParams # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. sig { returns(T.nilable(String)) } def code; end @@ -2665,7 +2665,7 @@ module Stripe sig { params(code: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(code: nil, setup_future_usage: nil); end end - class Boleto < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -2691,9 +2691,9 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -2737,7 +2737,7 @@ module Stripe } def initialize(enabled: nil, plan: nil); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -2800,8 +2800,8 @@ module Stripe supported_types: nil ); end end - class StatementDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class StatementDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2863,9 +2863,9 @@ module Stripe } def initialize(address: nil, phone: nil); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -3143,8 +3143,8 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams - class Routing < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams + class Routing < ::Stripe::RequestParams # Routing requested priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -3187,7 +3187,7 @@ module Stripe routing: nil ); end end - class Cashapp < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3217,7 +3217,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Crypto < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3234,9 +3234,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -3305,7 +3305,7 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil); end end - class Eps < Stripe::RequestParams + class Eps < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3322,7 +3322,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3339,7 +3339,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Giropay < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3356,7 +3356,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Gopay < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3373,7 +3373,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Grabpay < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3390,7 +3390,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class IdBankTransfer < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -3419,7 +3419,7 @@ module Stripe } def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3438,8 +3438,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3467,8 +3467,8 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -3505,8 +3505,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -3616,7 +3616,7 @@ module Stripe subscriptions: nil ); end end - class Konbini < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -3665,7 +3665,7 @@ module Stripe setup_future_usage: nil ); end end - class KrCard < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3693,7 +3693,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3728,7 +3728,7 @@ module Stripe } def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil); end end - class MbWay < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3745,7 +3745,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Mobilepay < Stripe::RequestParams + class Mobilepay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3773,7 +3773,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class Multibanco < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3790,7 +3790,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class NaverPay < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3818,7 +3818,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3844,7 +3844,7 @@ module Stripe } def initialize(setup_future_usage: nil, target_date: nil); end end - class Oxxo < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -3868,7 +3868,7 @@ module Stripe } def initialize(expires_after_days: nil, setup_future_usage: nil); end end - class P24 < Stripe::RequestParams + class P24 < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3894,8 +3894,8 @@ module Stripe } def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -3908,7 +3908,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Paynow < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3925,9 +3925,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Paypal < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -4069,7 +4069,7 @@ module Stripe subsellers: nil ); end end - class Paypay < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4082,8 +4082,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -4155,8 +4155,8 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -4259,7 +4259,7 @@ module Stripe setup_future_usage: nil ); end end - class Promptpay < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4276,7 +4276,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Qris < Stripe::RequestParams + class Qris < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4293,8 +4293,8 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Rechnung < Stripe::RequestParams; end - class RevolutPay < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams; end + class RevolutPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4322,7 +4322,7 @@ module Stripe } def initialize(capture_method: nil, setup_future_usage: nil); end end - class SamsungPay < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4335,7 +4335,7 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class Satispay < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams # Controls when the funds are captured from the customer's account. # # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. @@ -4348,8 +4348,8 @@ module Stripe sig { params(capture_method: T.nilable(String)).void } def initialize(capture_method: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -4392,7 +4392,7 @@ module Stripe } def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil); end end - class Shopeepay < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4409,7 +4409,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class Sofort < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams # Language shown to the payer on redirect. sig { returns(T.nilable(T.any(String, String))) } def preferred_language; end @@ -4437,7 +4437,7 @@ module Stripe } def initialize(preferred_language: nil, setup_future_usage: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4456,7 +4456,7 @@ module Stripe sig { params(setup_future_usage: T.nilable(T.any(String, String))).void } def initialize(setup_future_usage: nil); end end - class Swish < Stripe::RequestParams + class Swish < ::Stripe::RequestParams # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -4478,7 +4478,7 @@ module Stripe sig { params(reference: T.nilable(String), setup_future_usage: T.nilable(String)).void } def initialize(reference: nil, setup_future_usage: nil); end end - class Twint < Stripe::RequestParams + class Twint < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -4495,9 +4495,9 @@ module Stripe sig { params(setup_future_usage: T.nilable(String)).void } def initialize(setup_future_usage: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -4515,7 +4515,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -4572,7 +4572,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -4581,7 +4581,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -4664,7 +4664,7 @@ module Stripe verification_method: nil ); end end - class WechatPay < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -4693,7 +4693,7 @@ module Stripe } def initialize(app_id: nil, client: nil, setup_future_usage: nil); end end - class Zip < Stripe::RequestParams + class Zip < ::Stripe::RequestParams # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -5306,8 +5306,8 @@ module Stripe zip: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -5382,7 +5382,7 @@ module Stripe } def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/payment_intent_verify_microdeposits_params.rbi b/rbi/stripe/params/payment_intent_verify_microdeposits_params.rbi index 2c07d0993..487f9fcc8 100644 --- a/rbi/stripe/params/payment_intent_verify_microdeposits_params.rbi +++ b/rbi/stripe/params/payment_intent_verify_microdeposits_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentIntentVerifyMicrodepositsParams < Stripe::RequestParams + class PaymentIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end diff --git a/rbi/stripe/params/payment_link_create_params.rbi b/rbi/stripe/params/payment_link_create_params.rbi index 0a8c2b6b6..c12e14f6d 100644 --- a/rbi/stripe/params/payment_link_create_params.rbi +++ b/rbi/stripe/params/payment_link_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PaymentLinkCreateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkCreateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -14,7 +14,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. sig { returns(String) } def url; end @@ -47,8 +47,8 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -81,8 +81,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class ConsentCollection < Stripe::RequestParams - class PaymentMethodReuseAgreement < Stripe::RequestParams + class ConsentCollection < ::Stripe::RequestParams + class PaymentMethodReuseAgreement < ::Stripe::RequestParams # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's # defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. sig { returns(String) } @@ -123,9 +123,9 @@ module Stripe terms_of_service: nil ); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -156,7 +156,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -170,7 +170,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -191,7 +191,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -268,8 +268,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -278,7 +278,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -287,7 +287,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -296,7 +296,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -347,9 +347,9 @@ module Stripe terms_of_service_acceptance: nil ); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -363,7 +363,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -377,7 +377,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -474,8 +474,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. sig { returns(T::Boolean) } def enabled; end @@ -496,8 +496,8 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil); end end - class PriceData < Stripe::RequestParams - class ProductData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } def description; end @@ -542,7 +542,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -637,8 +637,56 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, price_data: nil, quantity: nil); end end - class OptionalItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + # Controls settings applied for collecting the customer's business name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection::Business)) } + def business; end + sig { + params(_business: T.nilable(PaymentLinkCreateParams::NameCollection::Business)).returns(T.nilable(PaymentLinkCreateParams::NameCollection::Business)) + } + def business=(_business); end + # Controls settings applied for collecting the customer's individual name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection::Individual)) } + def individual; end + sig { + params(_individual: T.nilable(PaymentLinkCreateParams::NameCollection::Individual)).returns(T.nilable(PaymentLinkCreateParams::NameCollection::Individual)) + } + def individual=(_individual); end + sig { + params(business: T.nilable(PaymentLinkCreateParams::NameCollection::Business), individual: T.nilable(PaymentLinkCreateParams::NameCollection::Individual)).void + } + def initialize(business: nil, individual: nil); end + end + class OptionalItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -681,7 +729,7 @@ module Stripe } def initialize(adjustable_quantity: nil, price: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams + class PaymentIntentData < ::Stripe::RequestParams # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -744,7 +792,7 @@ module Stripe transfer_group: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. sig { returns(T::Boolean) } def enabled; end @@ -753,8 +801,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. sig { returns(Integer) } def limit; end @@ -775,7 +823,7 @@ module Stripe } def initialize(completed_sessions: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -785,7 +833,7 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class ShippingOption < Stripe::RequestParams + class ShippingOption < ::Stripe::RequestParams # The ID of the Shipping Rate to use for this shipping option. sig { returns(T.nilable(String)) } def shipping_rate; end @@ -794,9 +842,9 @@ module Stripe sig { params(shipping_rate: T.nilable(String)).void } def initialize(shipping_rate: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -824,8 +872,8 @@ module Stripe } def initialize(issuer: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -888,7 +936,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -902,7 +950,7 @@ module Stripe sig { params(enabled: T::Boolean, required: T.nilable(String)).void } def initialize(enabled: nil, required: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when a charge succeeds. sig { returns(T.nilable(Integer)) } def amount; end @@ -1015,6 +1063,13 @@ module Stripe params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) } def metadata=(_metadata); end + # Controls settings applied for collecting the customer's name. + sig { returns(T.nilable(PaymentLinkCreateParams::NameCollection)) } + def name_collection; end + sig { + params(_name_collection: T.nilable(PaymentLinkCreateParams::NameCollection)).returns(T.nilable(PaymentLinkCreateParams::NameCollection)) + } + def name_collection=(_name_collection); end # The account on behalf of which to charge. sig { returns(T.nilable(String)) } def on_behalf_of; end @@ -1109,7 +1164,7 @@ module Stripe } def transfer_data=(_transfer_data); end sig { - params(after_completion: T.nilable(PaymentLinkCreateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), application_fee_amount: T.nilable(Integer), application_fee_percent: T.nilable(Float), automatic_tax: T.nilable(PaymentLinkCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), consent_collection: T.nilable(PaymentLinkCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[PaymentLinkCreateParams::CustomField]), custom_text: T.nilable(PaymentLinkCreateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkCreateParams::InvoiceCreation), line_items: T::Array[PaymentLinkCreateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[PaymentLinkCreateParams::OptionalItem]), payment_intent_data: T.nilable(PaymentLinkCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T::Array[String]), phone_number_collection: T.nilable(PaymentLinkCreateParams::PhoneNumberCollection), restrictions: T.nilable(PaymentLinkCreateParams::Restrictions), shipping_address_collection: T.nilable(PaymentLinkCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[PaymentLinkCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkCreateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkCreateParams::TaxIdCollection), transfer_data: T.nilable(PaymentLinkCreateParams::TransferData)).void + params(after_completion: T.nilable(PaymentLinkCreateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), application_fee_amount: T.nilable(Integer), application_fee_percent: T.nilable(Float), automatic_tax: T.nilable(PaymentLinkCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), consent_collection: T.nilable(PaymentLinkCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[PaymentLinkCreateParams::CustomField]), custom_text: T.nilable(PaymentLinkCreateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkCreateParams::InvoiceCreation), line_items: T::Array[PaymentLinkCreateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), name_collection: T.nilable(PaymentLinkCreateParams::NameCollection), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[PaymentLinkCreateParams::OptionalItem]), payment_intent_data: T.nilable(PaymentLinkCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T::Array[String]), phone_number_collection: T.nilable(PaymentLinkCreateParams::PhoneNumberCollection), restrictions: T.nilable(PaymentLinkCreateParams::Restrictions), shipping_address_collection: T.nilable(PaymentLinkCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[PaymentLinkCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkCreateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkCreateParams::TaxIdCollection), transfer_data: T.nilable(PaymentLinkCreateParams::TransferData)).void } def initialize( after_completion: nil, @@ -1128,6 +1183,7 @@ module Stripe invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, on_behalf_of: nil, optional_items: nil, payment_intent_data: nil, diff --git a/rbi/stripe/params/payment_link_line_item_list_params.rbi b/rbi/stripe/params/payment_link_line_item_list_params.rbi index fd4da4ca0..d4bf64d82 100644 --- a/rbi/stripe/params/payment_link_line_item_list_params.rbi +++ b/rbi/stripe/params/payment_link_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentLinkLineItemListParams < Stripe::RequestParams + class PaymentLinkLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/payment_link_list_line_items_params.rbi b/rbi/stripe/params/payment_link_list_line_items_params.rbi index c29871000..92e0184f7 100644 --- a/rbi/stripe/params/payment_link_list_line_items_params.rbi +++ b/rbi/stripe/params/payment_link_list_line_items_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentLinkListLineItemsParams < Stripe::RequestParams + class PaymentLinkListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/payment_link_list_params.rbi b/rbi/stripe/params/payment_link_list_params.rbi index c95ae1b7d..4dae02b26 100644 --- a/rbi/stripe/params/payment_link_list_params.rbi +++ b/rbi/stripe/params/payment_link_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentLinkListParams < Stripe::RequestParams + class PaymentLinkListParams < ::Stripe::RequestParams # Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment links). sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/payment_link_retrieve_params.rbi b/rbi/stripe/params/payment_link_retrieve_params.rbi index 840fb4203..9aac7868c 100644 --- a/rbi/stripe/params/payment_link_retrieve_params.rbi +++ b/rbi/stripe/params/payment_link_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentLinkRetrieveParams < Stripe::RequestParams + class PaymentLinkRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_link_update_params.rbi b/rbi/stripe/params/payment_link_update_params.rbi index da254b95d..9f1bd2d01 100644 --- a/rbi/stripe/params/payment_link_update_params.rbi +++ b/rbi/stripe/params/payment_link_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PaymentLinkUpdateParams < Stripe::RequestParams - class AfterCompletion < Stripe::RequestParams - class HostedConfirmation < Stripe::RequestParams + class PaymentLinkUpdateParams < ::Stripe::RequestParams + class AfterCompletion < ::Stripe::RequestParams + class HostedConfirmation < ::Stripe::RequestParams # A custom message to display to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -14,7 +14,7 @@ module Stripe sig { params(custom_message: T.nilable(String)).void } def initialize(custom_message: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-id) included. sig { returns(String) } def url; end @@ -47,8 +47,8 @@ module Stripe } def initialize(hosted_confirmation: nil, redirect: nil, type: nil); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -81,9 +81,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class CustomField < Stripe::RequestParams - class Dropdown < Stripe::RequestParams - class Option < Stripe::RequestParams + class CustomField < ::Stripe::RequestParams + class Dropdown < ::Stripe::RequestParams + class Option < ::Stripe::RequestParams # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -114,7 +114,7 @@ module Stripe } def initialize(default_value: nil, options: nil); end end - class Label < Stripe::RequestParams + class Label < ::Stripe::RequestParams # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(String) } def custom; end @@ -128,7 +128,7 @@ module Stripe sig { params(custom: String, type: String).void } def initialize(custom: nil, type: nil); end end - class Numeric < Stripe::RequestParams + class Numeric < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -149,7 +149,7 @@ module Stripe } def initialize(default_value: nil, maximum_length: nil, minimum_length: nil); end end - class Text < Stripe::RequestParams + class Text < ::Stripe::RequestParams # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -226,8 +226,8 @@ module Stripe type: nil ); end end - class CustomText < Stripe::RequestParams - class AfterSubmit < Stripe::RequestParams + class CustomText < ::Stripe::RequestParams + class AfterSubmit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -236,7 +236,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class ShippingAddress < Stripe::RequestParams + class ShippingAddress < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -245,7 +245,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class Submit < Stripe::RequestParams + class Submit < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -254,7 +254,7 @@ module Stripe sig { params(message: String).void } def initialize(message: nil); end end - class TermsOfServiceAcceptance < Stripe::RequestParams + class TermsOfServiceAcceptance < ::Stripe::RequestParams # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -305,9 +305,9 @@ module Stripe terms_of_service_acceptance: nil ); end end - class InvoiceCreation < Stripe::RequestParams - class InvoiceData < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class InvoiceCreation < ::Stripe::RequestParams + class InvoiceData < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -321,7 +321,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Issuer < Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -335,7 +335,7 @@ module Stripe sig { params(account: T.nilable(String), type: String).void } def initialize(account: nil, type: nil); end end - class RenderingOptions < Stripe::RequestParams + class RenderingOptions < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(T.any(String, String))) } def amount_tax_display; end @@ -432,8 +432,8 @@ module Stripe } def initialize(enabled: nil, invoice_data: nil); end end - class LineItem < Stripe::RequestParams - class AdjustableQuantity < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class AdjustableQuantity < ::Stripe::RequestParams # Set to true if the quantity can be adjusted to any non-negative Integer. sig { returns(T::Boolean) } def enabled; end @@ -476,7 +476,55 @@ module Stripe } def initialize(adjustable_quantity: nil, id: nil, quantity: nil); end end - class PaymentIntentData < Stripe::RequestParams + class NameCollection < ::Stripe::RequestParams + class Business < ::Stripe::RequestParams + # Enable business name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their business name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + class Individual < ::Stripe::RequestParams + # Enable individual name collection on the payment link. Defaults to `false`. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # Whether the customer is required to provide their full name before checking out. Defaults to `false`. + sig { returns(T.nilable(T::Boolean)) } + def optional; end + sig { params(_optional: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def optional=(_optional); end + sig { params(enabled: T::Boolean, optional: T.nilable(T::Boolean)).void } + def initialize(enabled: nil, optional: nil); end + end + # Controls settings applied for collecting the customer's business name. + sig { returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Business)) } + def business; end + sig { + params(_business: T.nilable(PaymentLinkUpdateParams::NameCollection::Business)).returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Business)) + } + def business=(_business); end + # Controls settings applied for collecting the customer's individual name. + sig { returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)) } + def individual; end + sig { + params(_individual: T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)).returns(T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)) + } + def individual=(_individual); end + sig { + params(business: T.nilable(PaymentLinkUpdateParams::NameCollection::Business), individual: T.nilable(PaymentLinkUpdateParams::NameCollection::Individual)).void + } + def initialize(business: nil, individual: nil); end + end + class PaymentIntentData < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end @@ -517,7 +565,7 @@ module Stripe transfer_group: nil ); end end - class PhoneNumberCollection < Stripe::RequestParams + class PhoneNumberCollection < ::Stripe::RequestParams # Set to `true` to enable phone number collection. sig { returns(T::Boolean) } def enabled; end @@ -526,8 +574,8 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Restrictions < Stripe::RequestParams - class CompletedSessions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CompletedSessions < ::Stripe::RequestParams # The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. sig { returns(Integer) } def limit; end @@ -548,7 +596,7 @@ module Stripe } def initialize(completed_sessions: nil); end end - class ShippingAddressCollection < Stripe::RequestParams + class ShippingAddressCollection < ::Stripe::RequestParams # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. sig { returns(T::Array[String]) } @@ -558,9 +606,9 @@ module Stripe sig { params(allowed_countries: T::Array[String]).void } def initialize(allowed_countries: nil); end end - class SubscriptionData < Stripe::RequestParams - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -588,8 +636,8 @@ module Stripe } def initialize(issuer: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -650,7 +698,7 @@ module Stripe trial_settings: nil ); end end - class TaxIdCollection < Stripe::RequestParams + class TaxIdCollection < ::Stripe::RequestParams # Enable tax ID collection during checkout. Defaults to `false`. sig { returns(T::Boolean) } def enabled; end @@ -743,6 +791,13 @@ module Stripe params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) } def metadata=(_metadata); end + # Controls settings applied for collecting the customer's name. + sig { returns(T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))) } + def name_collection; end + sig { + params(_name_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))).returns(T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection))) + } + def name_collection=(_name_collection); end # A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. sig { returns(T.nilable(PaymentLinkUpdateParams::PaymentIntentData)) } def payment_intent_data; end @@ -809,7 +864,7 @@ module Stripe } def tax_id_collection=(_tax_id_collection); end sig { - params(active: T.nilable(T::Boolean), after_completion: T.nilable(PaymentLinkUpdateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(PaymentLinkUpdateParams::AutomaticTax), billing_address_collection: T.nilable(String), custom_fields: T.nilable(T.any(String, T::Array[PaymentLinkUpdateParams::CustomField])), custom_text: T.nilable(PaymentLinkUpdateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkUpdateParams::InvoiceCreation), line_items: T.nilable(T::Array[PaymentLinkUpdateParams::LineItem]), metadata: T.nilable(T::Hash[String, String]), payment_intent_data: T.nilable(PaymentLinkUpdateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T.any(String, T::Array[String])), phone_number_collection: T.nilable(PaymentLinkUpdateParams::PhoneNumberCollection), restrictions: T.nilable(T.any(String, PaymentLinkUpdateParams::Restrictions)), shipping_address_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::ShippingAddressCollection)), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkUpdateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkUpdateParams::TaxIdCollection)).void + params(active: T.nilable(T::Boolean), after_completion: T.nilable(PaymentLinkUpdateParams::AfterCompletion), allow_promotion_codes: T.nilable(T::Boolean), automatic_tax: T.nilable(PaymentLinkUpdateParams::AutomaticTax), billing_address_collection: T.nilable(String), custom_fields: T.nilable(T.any(String, T::Array[PaymentLinkUpdateParams::CustomField])), custom_text: T.nilable(PaymentLinkUpdateParams::CustomText), customer_creation: T.nilable(String), expand: T.nilable(T::Array[String]), inactive_message: T.nilable(String), invoice_creation: T.nilable(PaymentLinkUpdateParams::InvoiceCreation), line_items: T.nilable(T::Array[PaymentLinkUpdateParams::LineItem]), metadata: T.nilable(T::Hash[String, String]), name_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::NameCollection)), payment_intent_data: T.nilable(PaymentLinkUpdateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_types: T.nilable(T.any(String, T::Array[String])), phone_number_collection: T.nilable(PaymentLinkUpdateParams::PhoneNumberCollection), restrictions: T.nilable(T.any(String, PaymentLinkUpdateParams::Restrictions)), shipping_address_collection: T.nilable(T.any(String, PaymentLinkUpdateParams::ShippingAddressCollection)), submit_type: T.nilable(String), subscription_data: T.nilable(PaymentLinkUpdateParams::SubscriptionData), tax_id_collection: T.nilable(PaymentLinkUpdateParams::TaxIdCollection)).void } def initialize( active: nil, @@ -825,6 +880,7 @@ module Stripe invoice_creation: nil, line_items: nil, metadata: nil, + name_collection: nil, payment_intent_data: nil, payment_method_collection: nil, payment_method_types: nil, diff --git a/rbi/stripe/params/payment_method_attach_params.rbi b/rbi/stripe/params/payment_method_attach_params.rbi index b321ffcff..1d4dc5e85 100644 --- a/rbi/stripe/params/payment_method_attach_params.rbi +++ b/rbi/stripe/params/payment_method_attach_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodAttachParams < Stripe::RequestParams + class PaymentMethodAttachParams < ::Stripe::RequestParams # The ID of the customer to which to attach the PaymentMethod. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/payment_method_configuration_create_params.rbi b/rbi/stripe/params/payment_method_configuration_create_params.rbi index 67b61bf98..0862ad3c0 100644 --- a/rbi/stripe/params/payment_method_configuration_create_params.rbi +++ b/rbi/stripe/params/payment_method_configuration_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PaymentMethodConfigurationCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -28,8 +28,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -50,8 +50,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -74,8 +74,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -96,8 +96,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -118,8 +118,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -142,8 +142,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -166,8 +166,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -190,8 +190,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -214,8 +214,8 @@ module Stripe } def initialize(display_preference: nil); end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -238,8 +238,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -262,8 +262,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -284,8 +284,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -306,8 +306,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -328,8 +328,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -350,8 +350,8 @@ module Stripe } def initialize(display_preference: nil); end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -374,8 +374,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -396,8 +396,30 @@ module Stripe } def initialize(display_preference: nil); end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationCreateParams::Crypto::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -420,8 +442,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -442,8 +464,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -464,8 +486,8 @@ module Stripe } def initialize(display_preference: nil); end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -488,8 +510,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -510,8 +532,8 @@ module Stripe } def initialize(display_preference: nil); end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -534,8 +556,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -556,8 +578,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -578,8 +600,8 @@ module Stripe } def initialize(display_preference: nil); end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -602,8 +624,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -624,8 +646,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -646,8 +668,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -670,8 +692,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -692,8 +714,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -714,8 +736,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -736,8 +758,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -758,8 +780,30 @@ module Stripe } def initialize(display_preference: nil); end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationCreateParams::MbWay::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -782,8 +826,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -806,8 +850,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -830,8 +874,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -854,8 +898,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -876,8 +920,8 @@ module Stripe } def initialize(display_preference: nil); end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -898,8 +942,8 @@ module Stripe } def initialize(display_preference: nil); end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -922,8 +966,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -944,8 +988,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -966,8 +1010,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -988,8 +1032,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1010,8 +1054,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1032,8 +1076,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1054,8 +1098,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1078,8 +1122,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1100,8 +1144,8 @@ module Stripe } def initialize(display_preference: nil); end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1124,8 +1168,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1148,8 +1192,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1172,8 +1216,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1196,8 +1240,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1220,8 +1264,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1242,8 +1286,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1264,8 +1308,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1286,8 +1330,8 @@ module Stripe } def initialize(display_preference: nil); end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1310,8 +1354,8 @@ module Stripe } def initialize(display_preference: nil); end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1334,8 +1378,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1475,6 +1519,13 @@ module Stripe params(_cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Cashapp)) } def cashapp=(_cashapp); end + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto)) } + def crypto; end + sig { + params(_crypto: T.nilable(PaymentMethodConfigurationCreateParams::Crypto)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Crypto)) + } + def crypto=(_crypto); end # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance)) } def customer_balance; end @@ -1592,6 +1643,13 @@ module Stripe params(_link: T.nilable(PaymentMethodConfigurationCreateParams::Link)).returns(T.nilable(PaymentMethodConfigurationCreateParams::Link)) } def link=(_link); end + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay)) } + def mb_way; end + sig { + params(_mb_way: T.nilable(PaymentMethodConfigurationCreateParams::MbWay)).returns(T.nilable(PaymentMethodConfigurationCreateParams::MbWay)) + } + def mb_way=(_mb_way); end # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. sig { returns(T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay)) } def mobilepay; end @@ -1785,7 +1843,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationCreateParams::Billie), blik: T.nilable(PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp), customer_balance: T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(PaymentMethodConfigurationCreateParams::Link), mobilepay: T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationCreateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationCreateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationCreateParams::Swish), twint: T.nilable(PaymentMethodConfigurationCreateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationCreateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationCreateParams::Billie), blik: T.nilable(PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationCreateParams::Cashapp), crypto: T.nilable(PaymentMethodConfigurationCreateParams::Crypto), customer_balance: T.nilable(PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(PaymentMethodConfigurationCreateParams::Link), mb_way: T.nilable(PaymentMethodConfigurationCreateParams::MbWay), mobilepay: T.nilable(PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationCreateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationCreateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationCreateParams::Swish), twint: T.nilable(PaymentMethodConfigurationCreateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationCreateParams::Zip)).void } def initialize( acss_debit: nil, @@ -1805,6 +1863,7 @@ module Stripe card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -1822,6 +1881,7 @@ module Stripe konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, diff --git a/rbi/stripe/params/payment_method_configuration_list_params.rbi b/rbi/stripe/params/payment_method_configuration_list_params.rbi index 7e7db21c1..dade8ae04 100644 --- a/rbi/stripe/params/payment_method_configuration_list_params.rbi +++ b/rbi/stripe/params/payment_method_configuration_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodConfigurationListParams < Stripe::RequestParams + class PaymentMethodConfigurationListParams < ::Stripe::RequestParams # The Connect application to filter by. sig { returns(T.nilable(String)) } def application; end diff --git a/rbi/stripe/params/payment_method_configuration_retrieve_params.rbi b/rbi/stripe/params/payment_method_configuration_retrieve_params.rbi index 71a3aece1..3403c1c17 100644 --- a/rbi/stripe/params/payment_method_configuration_retrieve_params.rbi +++ b/rbi/stripe/params/payment_method_configuration_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodConfigurationRetrieveParams < Stripe::RequestParams + class PaymentMethodConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_method_configuration_update_params.rbi b/rbi/stripe/params/payment_method_configuration_update_params.rbi index 91e537957..16a57de9c 100644 --- a/rbi/stripe/params/payment_method_configuration_update_params.rbi +++ b/rbi/stripe/params/payment_method_configuration_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PaymentMethodConfigurationUpdateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PaymentMethodConfigurationUpdateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -28,8 +28,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Affirm < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -50,8 +50,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AfterpayClearpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AfterpayClearpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -74,8 +74,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alipay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alipay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -96,8 +96,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Alma < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Alma < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -118,8 +118,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AmazonPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -142,8 +142,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -166,8 +166,8 @@ module Stripe } def initialize(display_preference: nil); end end - class ApplePayLater < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class ApplePayLater < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -190,8 +190,8 @@ module Stripe } def initialize(display_preference: nil); end end - class AuBecsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class AuBecsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -214,8 +214,8 @@ module Stripe } def initialize(display_preference: nil); end end - class BacsDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -238,8 +238,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Bancontact < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -262,8 +262,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Billie < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Billie < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -284,8 +284,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Blik < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Blik < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -306,8 +306,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Boleto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Boleto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -328,8 +328,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Card < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -350,8 +350,8 @@ module Stripe } def initialize(display_preference: nil); end end - class CartesBancaires < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -374,8 +374,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Cashapp < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -396,8 +396,30 @@ module Stripe } def initialize(display_preference: nil); end end - class CustomerBalance < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Crypto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class CustomerBalance < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -420,8 +442,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Eps < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Eps < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -442,8 +464,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Fpx < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -464,8 +486,8 @@ module Stripe } def initialize(display_preference: nil); end end - class FrMealVoucherConecs < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class FrMealVoucherConecs < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -488,8 +510,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Giropay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -510,8 +532,8 @@ module Stripe } def initialize(display_preference: nil); end end - class GooglePay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class GooglePay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -534,8 +556,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Gopay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Gopay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -556,8 +578,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Grabpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Grabpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -578,8 +600,8 @@ module Stripe } def initialize(display_preference: nil); end end - class IdBankTransfer < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -602,8 +624,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Ideal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -624,8 +646,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Jcb < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Jcb < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -646,8 +668,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KakaoPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KakaoPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -670,8 +692,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Klarna < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Klarna < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -692,8 +714,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Konbini < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -714,8 +736,8 @@ module Stripe } def initialize(display_preference: nil); end end - class KrCard < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class KrCard < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -736,8 +758,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Link < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Link < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -758,8 +780,30 @@ module Stripe } def initialize(display_preference: nil); end end - class Mobilepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class MbWay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams + # The account's preference for whether or not to display this payment method. + sig { returns(T.nilable(String)) } + def preference; end + sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) } + def preference=(_preference); end + sig { params(preference: T.nilable(String)).void } + def initialize(preference: nil); end + end + # Whether or not the payment method should be displayed. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)) } + def display_preference; end + sig { + params(_display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)) + } + def display_preference=(_display_preference); end + sig { + params(display_preference: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay::DisplayPreference)).void + } + def initialize(display_preference: nil); end + end + class Mobilepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -782,8 +826,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Multibanco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Multibanco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -806,8 +850,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NaverPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NaverPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -830,8 +874,8 @@ module Stripe } def initialize(display_preference: nil); end end - class NzBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -854,8 +898,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Oxxo < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -876,8 +920,8 @@ module Stripe } def initialize(display_preference: nil); end end - class P24 < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class P24 < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -898,8 +942,8 @@ module Stripe } def initialize(display_preference: nil); end end - class PayByBank < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -922,8 +966,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payco < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payco < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -944,8 +988,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paynow < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paynow < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -966,8 +1010,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypal < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -988,8 +1032,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Paypay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Paypay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1010,8 +1054,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Payto < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1032,8 +1076,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Pix < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1054,8 +1098,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Promptpay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Promptpay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1078,8 +1122,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Qris < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Qris < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1100,8 +1144,8 @@ module Stripe } def initialize(display_preference: nil); end end - class RevolutPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1124,8 +1168,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SamsungPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SamsungPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1148,8 +1192,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Satispay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Satispay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1172,8 +1216,8 @@ module Stripe } def initialize(display_preference: nil); end end - class SepaDebit < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1196,8 +1240,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Shopeepay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1220,8 +1264,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Sofort < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Sofort < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1242,8 +1286,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Swish < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Swish < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1264,8 +1308,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Twint < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Twint < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1286,8 +1330,8 @@ module Stripe } def initialize(display_preference: nil); end end - class UsBankAccount < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1310,8 +1354,8 @@ module Stripe } def initialize(display_preference: nil); end end - class WechatPay < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class WechatPay < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1334,8 +1378,8 @@ module Stripe } def initialize(display_preference: nil); end end - class Zip < Stripe::RequestParams - class DisplayPreference < Stripe::RequestParams + class Zip < ::Stripe::RequestParams + class DisplayPreference < ::Stripe::RequestParams # The account's preference for whether or not to display this payment method. sig { returns(T.nilable(String)) } def preference; end @@ -1480,6 +1524,13 @@ module Stripe params(_cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp)) } def cashapp=(_cashapp); end + # [Stablecoin payments](https://stripe.com/docs/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)) } + def crypto; end + sig { + params(_crypto: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Crypto)) + } + def crypto=(_crypto); end # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details. sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance)) } def customer_balance; end @@ -1597,6 +1648,13 @@ module Stripe params(_link: T.nilable(PaymentMethodConfigurationUpdateParams::Link)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::Link)) } def link=(_link); end + # MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://stripe.com/docs/payments/mb-way) for more details. + sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)) } + def mb_way; end + sig { + params(_mb_way: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)).returns(T.nilable(PaymentMethodConfigurationUpdateParams::MbWay)) + } + def mb_way=(_mb_way); end # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details. sig { returns(T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay)) } def mobilepay; end @@ -1785,7 +1843,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationUpdateParams::Billie), blik: T.nilable(PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp), customer_balance: T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(PaymentMethodConfigurationUpdateParams::Link), mobilepay: T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationUpdateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationUpdateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationUpdateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationUpdateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationUpdateParams::Swish), twint: T.nilable(PaymentMethodConfigurationUpdateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationUpdateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(PaymentMethodConfigurationUpdateParams::Billie), blik: T.nilable(PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(PaymentMethodConfigurationUpdateParams::Cashapp), crypto: T.nilable(PaymentMethodConfigurationUpdateParams::Crypto), customer_balance: T.nilable(PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(PaymentMethodConfigurationUpdateParams::Link), mb_way: T.nilable(PaymentMethodConfigurationUpdateParams::MbWay), mobilepay: T.nilable(PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(PaymentMethodConfigurationUpdateParams::Qris), revolut_pay: T.nilable(PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(PaymentMethodConfigurationUpdateParams::Satispay), sepa_debit: T.nilable(PaymentMethodConfigurationUpdateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(PaymentMethodConfigurationUpdateParams::Sofort), swish: T.nilable(PaymentMethodConfigurationUpdateParams::Swish), twint: T.nilable(PaymentMethodConfigurationUpdateParams::Twint), us_bank_account: T.nilable(PaymentMethodConfigurationUpdateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(PaymentMethodConfigurationUpdateParams::Zip)).void } def initialize( acss_debit: nil, @@ -1806,6 +1864,7 @@ module Stripe card: nil, cartes_bancaires: nil, cashapp: nil, + crypto: nil, customer_balance: nil, eps: nil, expand: nil, @@ -1823,6 +1882,7 @@ module Stripe konbini: nil, kr_card: nil, link: nil, + mb_way: nil, mobilepay: nil, multibanco: nil, name: nil, diff --git a/rbi/stripe/params/payment_method_create_params.rbi b/rbi/stripe/params/payment_method_create_params.rbi index 1f88f0484..bce54ec5b 100644 --- a/rbi/stripe/params/payment_method_create_params.rbi +++ b/rbi/stripe/params/payment_method_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentMethodCreateParams < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodCreateParams < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -25,12 +25,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -44,7 +44,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -58,10 +58,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -136,8 +136,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -146,8 +146,8 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(String)) } def preferred; end @@ -200,10 +200,10 @@ module Stripe token: nil ); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -212,7 +212,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -226,10 +226,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -238,7 +238,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -247,10 +247,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -279,13 +279,13 @@ module Stripe sig { params(dob: T.nilable(PaymentMethodCreateParams::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -294,7 +294,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -337,8 +337,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -347,12 +347,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -373,10 +373,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -385,8 +385,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -415,10 +415,10 @@ module Stripe sig { params(dob: PaymentMethodCreateParams::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -427,8 +427,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -437,7 +437,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -451,9 +451,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -490,8 +490,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(PaymentMethodCreateParams::AcssDebit)) } def acss_debit; end diff --git a/rbi/stripe/params/payment_method_detach_params.rbi b/rbi/stripe/params/payment_method_detach_params.rbi index 5403ddfaf..79d32add1 100644 --- a/rbi/stripe/params/payment_method_detach_params.rbi +++ b/rbi/stripe/params/payment_method_detach_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDetachParams < Stripe::RequestParams + class PaymentMethodDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_method_domain_create_params.rbi b/rbi/stripe/params/payment_method_domain_create_params.rbi index 73dd764d3..000fafbf8 100644 --- a/rbi/stripe/params/payment_method_domain_create_params.rbi +++ b/rbi/stripe/params/payment_method_domain_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDomainCreateParams < Stripe::RequestParams + class PaymentMethodDomainCreateParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. sig { returns(String) } def domain_name; end diff --git a/rbi/stripe/params/payment_method_domain_list_params.rbi b/rbi/stripe/params/payment_method_domain_list_params.rbi index 5c0ac1ecb..fad778e92 100644 --- a/rbi/stripe/params/payment_method_domain_list_params.rbi +++ b/rbi/stripe/params/payment_method_domain_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDomainListParams < Stripe::RequestParams + class PaymentMethodDomainListParams < ::Stripe::RequestParams # The domain name that this payment method domain object represents. sig { returns(T.nilable(String)) } def domain_name; end diff --git a/rbi/stripe/params/payment_method_domain_retrieve_params.rbi b/rbi/stripe/params/payment_method_domain_retrieve_params.rbi index 6b88e9cec..30bd6af8d 100644 --- a/rbi/stripe/params/payment_method_domain_retrieve_params.rbi +++ b/rbi/stripe/params/payment_method_domain_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDomainRetrieveParams < Stripe::RequestParams + class PaymentMethodDomainRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_method_domain_update_params.rbi b/rbi/stripe/params/payment_method_domain_update_params.rbi index a507af080..b3c339a90 100644 --- a/rbi/stripe/params/payment_method_domain_update_params.rbi +++ b/rbi/stripe/params/payment_method_domain_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDomainUpdateParams < Stripe::RequestParams + class PaymentMethodDomainUpdateParams < ::Stripe::RequestParams # Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout. sig { returns(T.nilable(T::Boolean)) } def enabled; end diff --git a/rbi/stripe/params/payment_method_domain_validate_params.rbi b/rbi/stripe/params/payment_method_domain_validate_params.rbi index b9a8097f1..1ac231aa2 100644 --- a/rbi/stripe/params/payment_method_domain_validate_params.rbi +++ b/rbi/stripe/params/payment_method_domain_validate_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodDomainValidateParams < Stripe::RequestParams + class PaymentMethodDomainValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_method_list_params.rbi b/rbi/stripe/params/payment_method_list_params.rbi index 2d46a61bd..faedfe25a 100644 --- a/rbi/stripe/params/payment_method_list_params.rbi +++ b/rbi/stripe/params/payment_method_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodListParams < Stripe::RequestParams + class PaymentMethodListParams < ::Stripe::RequestParams # The ID of the customer whose PaymentMethods will be retrieved. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/payment_method_retrieve_params.rbi b/rbi/stripe/params/payment_method_retrieve_params.rbi index f090e20d4..963ee6ac3 100644 --- a/rbi/stripe/params/payment_method_retrieve_params.rbi +++ b/rbi/stripe/params/payment_method_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentMethodRetrieveParams < Stripe::RequestParams + class PaymentMethodRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_method_update_params.rbi b/rbi/stripe/params/payment_method_update_params.rbi index c7c76035d..c43482ee0 100644 --- a/rbi/stripe/params/payment_method_update_params.rbi +++ b/rbi/stripe/params/payment_method_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PaymentMethodUpdateParams < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodUpdateParams < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -80,8 +80,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(T.any(String, String))) } def preferred; end @@ -114,7 +114,7 @@ module Stripe } def initialize(exp_month: nil, exp_year: nil, networks: nil); end end - class Payto < Stripe::RequestParams + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -135,7 +135,7 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Bank account holder type. sig { returns(T.nilable(String)) } def account_holder_type; end diff --git a/rbi/stripe/params/payment_record_report_payment_attempt_canceled_params.rbi b/rbi/stripe/params/payment_record_report_payment_attempt_canceled_params.rbi index 32fc8c823..9a3c88d7d 100644 --- a/rbi/stripe/params/payment_record_report_payment_attempt_canceled_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_attempt_canceled_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentRecordReportPaymentAttemptCanceledParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptCanceledParams < ::Stripe::RequestParams # When the reported payment was canceled. Measured in seconds since the Unix epoch. sig { returns(Integer) } def canceled_at; end diff --git a/rbi/stripe/params/payment_record_report_payment_attempt_failed_params.rbi b/rbi/stripe/params/payment_record_report_payment_attempt_failed_params.rbi index 0d95b55fc..41f50370e 100644 --- a/rbi/stripe/params/payment_record_report_payment_attempt_failed_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_attempt_failed_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentRecordReportPaymentAttemptFailedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptFailedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rbi b/rbi/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rbi index 24f5a5e88..45974ed1a 100644 --- a/rbi/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentRecordReportPaymentAttemptGuaranteedParams < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptGuaranteedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payment_record_report_payment_attempt_informational_params.rbi b/rbi/stripe/params/payment_record_report_payment_attempt_informational_params.rbi index e241eba82..ec49c5471 100644 --- a/rbi/stripe/params/payment_record_report_payment_attempt_informational_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_attempt_informational_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentRecordReportPaymentAttemptInformationalParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptInformationalParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. sig { returns(T.nilable(String)) } def customer; end @@ -30,8 +30,8 @@ module Stripe } def initialize(customer: nil, email: nil, name: nil, phone: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/payment_record_report_payment_attempt_params.rbi b/rbi/stripe/params/payment_record_report_payment_attempt_params.rbi index 4e16be434..1ba8b49b0 100644 --- a/rbi/stripe/params/payment_record_report_payment_attempt_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_attempt_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentRecordReportPaymentAttemptParams < Stripe::RequestParams - class Failed < Stripe::RequestParams + class PaymentRecordReportPaymentAttemptParams < ::Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def failed_at; end @@ -13,7 +13,7 @@ module Stripe sig { params(failed_at: Integer).void } def initialize(failed_at: nil); end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def guaranteed_at; end @@ -22,9 +22,9 @@ module Stripe sig { params(guaranteed_at: Integer).void } def initialize(guaranteed_at: nil); end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -96,7 +96,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(T.nilable(String)) } def display_name; end @@ -143,8 +143,8 @@ module Stripe } def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/payment_record_report_payment_params.rbi b/rbi/stripe/params/payment_record_report_payment_params.rbi index c6bf39962..00dc55cc2 100644 --- a/rbi/stripe/params/payment_record_report_payment_params.rbi +++ b/rbi/stripe/params/payment_record_report_payment_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PaymentRecordReportPaymentParams < Stripe::RequestParams - class AmountRequested < Stripe::RequestParams + class PaymentRecordReportPaymentParams < ::Stripe::RequestParams + class AmountRequested < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -18,7 +18,7 @@ module Stripe sig { params(currency: String, value: Integer).void } def initialize(currency: nil, value: nil); end end - class CustomerDetails < Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams # The customer who made the payment. sig { returns(T.nilable(String)) } def customer; end @@ -44,7 +44,7 @@ module Stripe } def initialize(customer: nil, email: nil, name: nil, phone: nil); end end - class Failed < Stripe::RequestParams + class Failed < ::Stripe::RequestParams # When the reported payment failed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def failed_at; end @@ -53,7 +53,7 @@ module Stripe sig { params(failed_at: Integer).void } def initialize(failed_at: nil); end end - class Guaranteed < Stripe::RequestParams + class Guaranteed < ::Stripe::RequestParams # When the reported payment was guaranteed. Measured in seconds since the Unix epoch. sig { returns(Integer) } def guaranteed_at; end @@ -62,9 +62,9 @@ module Stripe sig { params(guaranteed_at: Integer).void } def initialize(guaranteed_at: nil); end end - class PaymentMethodDetails < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class PaymentMethodDetails < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -136,7 +136,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Custom < Stripe::RequestParams + class Custom < ::Stripe::RequestParams # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(T.nilable(String)) } def display_name; end @@ -181,8 +181,8 @@ module Stripe } def initialize(billing_details: nil, custom: nil, payment_method: nil, type: nil); end end - class ProcessorDetails < Stripe::RequestParams - class Custom < Stripe::RequestParams + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(String) } def payment_reference; end @@ -208,8 +208,8 @@ module Stripe } def initialize(custom: nil, type: nil); end end - class ShippingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShippingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/payment_record_report_refund_params.rbi b/rbi/stripe/params/payment_record_report_refund_params.rbi new file mode 100644 index 000000000..0e4592f15 --- /dev/null +++ b/rbi/stripe/params/payment_record_report_refund_params.rbi @@ -0,0 +1,113 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + class PaymentRecordReportRefundParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams + # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + sig { returns(String) } + def currency; end + sig { params(_currency: String).returns(String) } + def currency=(_currency); end + # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY. + sig { returns(Integer) } + def value; end + sig { params(_value: Integer).returns(Integer) } + def value=(_value); end + sig { params(currency: String, value: Integer).void } + def initialize(currency: nil, value: nil); end + end + class ProcessorDetails < ::Stripe::RequestParams + class Custom < ::Stripe::RequestParams + # A reference to the external refund. This field must be unique across all refunds. + sig { returns(String) } + def refund_reference; end + sig { params(_refund_reference: String).returns(String) } + def refund_reference=(_refund_reference); end + sig { params(refund_reference: String).void } + def initialize(refund_reference: nil); end + end + # Information about the custom processor used to make this refund. + sig { returns(T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)) } + def custom; end + sig { + params(_custom: T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)).returns(T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom)) + } + def custom=(_custom); end + # The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor. + sig { returns(String) } + def type; end + sig { params(_type: String).returns(String) } + def type=(_type); end + sig { + params(custom: T.nilable(PaymentRecordReportRefundParams::ProcessorDetails::Custom), type: String).void + } + def initialize(custom: nil, type: nil); end + end + class Refunded < ::Stripe::RequestParams + # When the reported refund completed. Measured in seconds since the Unix epoch. + sig { returns(Integer) } + def refunded_at; end + sig { params(_refunded_at: Integer).returns(Integer) } + def refunded_at=(_refunded_at); end + sig { params(refunded_at: Integer).void } + def initialize(refunded_at: nil); end + end + # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment. + sig { returns(T.nilable(PaymentRecordReportRefundParams::Amount)) } + def amount; end + sig { + params(_amount: T.nilable(PaymentRecordReportRefundParams::Amount)).returns(T.nilable(PaymentRecordReportRefundParams::Amount)) + } + def amount=(_amount); end + # Specifies which fields in the response should be expanded. + sig { returns(T.nilable(T::Array[String])) } + def expand; end + sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } + def expand=(_expand); end + # When the reported refund was initiated. Measured in seconds since the Unix epoch. + sig { returns(T.nilable(Integer)) } + def initiated_at; end + sig { params(_initiated_at: T.nilable(Integer)).returns(T.nilable(Integer)) } + def initiated_at=(_initiated_at); end + # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + sig { returns(T.nilable(T.any(String, T::Hash[String, String]))) } + def metadata; end + sig { + params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String]))) + } + def metadata=(_metadata); end + # The outcome of the reported refund. + sig { returns(String) } + def outcome; end + sig { params(_outcome: String).returns(String) } + def outcome=(_outcome); end + # Processor information for this refund. + sig { returns(PaymentRecordReportRefundParams::ProcessorDetails) } + def processor_details; end + sig { + params(_processor_details: PaymentRecordReportRefundParams::ProcessorDetails).returns(PaymentRecordReportRefundParams::ProcessorDetails) + } + def processor_details=(_processor_details); end + # Information about the payment attempt refund. + sig { returns(PaymentRecordReportRefundParams::Refunded) } + def refunded; end + sig { + params(_refunded: PaymentRecordReportRefundParams::Refunded).returns(PaymentRecordReportRefundParams::Refunded) + } + def refunded=(_refunded); end + sig { + params(amount: T.nilable(PaymentRecordReportRefundParams::Amount), expand: T.nilable(T::Array[String]), initiated_at: T.nilable(Integer), metadata: T.nilable(T.any(String, T::Hash[String, String])), outcome: String, processor_details: PaymentRecordReportRefundParams::ProcessorDetails, refunded: PaymentRecordReportRefundParams::Refunded).void + } + def initialize( + amount: nil, + expand: nil, + initiated_at: nil, + metadata: nil, + outcome: nil, + processor_details: nil, + refunded: nil + ); end + end +end \ No newline at end of file diff --git a/rbi/stripe/params/payment_record_retrieve_params.rbi b/rbi/stripe/params/payment_record_retrieve_params.rbi index a7d6e6ecb..b40306538 100644 --- a/rbi/stripe/params/payment_record_retrieve_params.rbi +++ b/rbi/stripe/params/payment_record_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PaymentRecordRetrieveParams < Stripe::RequestParams + class PaymentRecordRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payout_cancel_params.rbi b/rbi/stripe/params/payout_cancel_params.rbi index a9f159696..863df1d46 100644 --- a/rbi/stripe/params/payout_cancel_params.rbi +++ b/rbi/stripe/params/payout_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PayoutCancelParams < Stripe::RequestParams + class PayoutCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payout_create_params.rbi b/rbi/stripe/params/payout_create_params.rbi index 1f26a3b70..4355adfd7 100644 --- a/rbi/stripe/params/payout_create_params.rbi +++ b/rbi/stripe/params/payout_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PayoutCreateParams < Stripe::RequestParams + class PayoutCreateParams < ::Stripe::RequestParams # A positive integer in cents representing how much to payout. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/payout_list_params.rbi b/rbi/stripe/params/payout_list_params.rbi index a9547bb58..c99ca07f4 100644 --- a/rbi/stripe/params/payout_list_params.rbi +++ b/rbi/stripe/params/payout_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PayoutListParams < Stripe::RequestParams - class ArrivalDate < Stripe::RequestParams + class PayoutListParams < ::Stripe::RequestParams + class ArrivalDate < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -30,7 +30,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/payout_retrieve_params.rbi b/rbi/stripe/params/payout_retrieve_params.rbi index 13a8fe1ab..0e45fdc9a 100644 --- a/rbi/stripe/params/payout_retrieve_params.rbi +++ b/rbi/stripe/params/payout_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PayoutRetrieveParams < Stripe::RequestParams + class PayoutRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payout_reverse_params.rbi b/rbi/stripe/params/payout_reverse_params.rbi index 96fca010c..16711cc03 100644 --- a/rbi/stripe/params/payout_reverse_params.rbi +++ b/rbi/stripe/params/payout_reverse_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PayoutReverseParams < Stripe::RequestParams + class PayoutReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/payout_update_params.rbi b/rbi/stripe/params/payout_update_params.rbi index bbe11b31f..1670e4934 100644 --- a/rbi/stripe/params/payout_update_params.rbi +++ b/rbi/stripe/params/payout_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PayoutUpdateParams < Stripe::RequestParams + class PayoutUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/plan_create_params.rbi b/rbi/stripe/params/plan_create_params.rbi index 006e03eab..b326d58e3 100644 --- a/rbi/stripe/params/plan_create_params.rbi +++ b/rbi/stripe/params/plan_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PlanCreateParams < Stripe::RequestParams - class Product < Stripe::RequestParams + class PlanCreateParams < ::Stripe::RequestParams + class Product < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -57,7 +57,7 @@ module Stripe unit_label: nil ); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -94,7 +94,7 @@ module Stripe up_to: nil ); end end - class TransformUsage < Stripe::RequestParams + class TransformUsage < ::Stripe::RequestParams # Divide usage by this number. sig { returns(Integer) } def divide_by; end diff --git a/rbi/stripe/params/plan_delete_params.rbi b/rbi/stripe/params/plan_delete_params.rbi index 979b14209..7ddd23ab2 100644 --- a/rbi/stripe/params/plan_delete_params.rbi +++ b/rbi/stripe/params/plan_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class PlanDeleteParams < Stripe::RequestParams; end + class PlanDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/plan_list_params.rbi b/rbi/stripe/params/plan_list_params.rbi index 00ce00955..41b6f7450 100644 --- a/rbi/stripe/params/plan_list_params.rbi +++ b/rbi/stripe/params/plan_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PlanListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PlanListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/plan_retrieve_params.rbi b/rbi/stripe/params/plan_retrieve_params.rbi index 50efe947c..e34d8faf1 100644 --- a/rbi/stripe/params/plan_retrieve_params.rbi +++ b/rbi/stripe/params/plan_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PlanRetrieveParams < Stripe::RequestParams + class PlanRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/plan_update_params.rbi b/rbi/stripe/params/plan_update_params.rbi index 48b1013b3..705b44f8b 100644 --- a/rbi/stripe/params/plan_update_params.rbi +++ b/rbi/stripe/params/plan_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PlanUpdateParams < Stripe::RequestParams + class PlanUpdateParams < ::Stripe::RequestParams # Whether the plan is currently available for new subscriptions. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/price_create_params.rbi b/rbi/stripe/params/price_create_params.rbi index 8c3b14e50..8f7dd34dd 100644 --- a/rbi/stripe/params/price_create_params.rbi +++ b/rbi/stripe/params/price_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PriceCreateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceCreateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -31,7 +31,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -108,7 +108,7 @@ module Stripe unit_amount_decimal: nil ); end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -134,7 +134,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class ProductData < Stripe::RequestParams + class ProductData < ::Stripe::RequestParams # Whether the product is currently available for purchase. Defaults to `true`. sig { returns(T.nilable(T::Boolean)) } def active; end @@ -187,7 +187,7 @@ module Stripe unit_label: nil ); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -224,7 +224,7 @@ module Stripe usage_type: nil ); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -261,7 +261,7 @@ module Stripe up_to: nil ); end end - class TransformQuantity < Stripe::RequestParams + class TransformQuantity < ::Stripe::RequestParams # Divide usage by this number. sig { returns(Integer) } def divide_by; end diff --git a/rbi/stripe/params/price_list_params.rbi b/rbi/stripe/params/price_list_params.rbi index cf59394a8..1a87d6e11 100644 --- a/rbi/stripe/params/price_list_params.rbi +++ b/rbi/stripe/params/price_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PriceListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PriceListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -30,7 +30,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Filter by billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(T.nilable(String)) } def interval; end diff --git a/rbi/stripe/params/price_retrieve_params.rbi b/rbi/stripe/params/price_retrieve_params.rbi index 69a8002a2..326c18d73 100644 --- a/rbi/stripe/params/price_retrieve_params.rbi +++ b/rbi/stripe/params/price_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PriceRetrieveParams < Stripe::RequestParams + class PriceRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/price_search_params.rbi b/rbi/stripe/params/price_search_params.rbi index a283fccf5..534f7d950 100644 --- a/rbi/stripe/params/price_search_params.rbi +++ b/rbi/stripe/params/price_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PriceSearchParams < Stripe::RequestParams + class PriceSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/price_update_params.rbi b/rbi/stripe/params/price_update_params.rbi index 3edbadb8b..b3a7515b5 100644 --- a/rbi/stripe/params/price_update_params.rbi +++ b/rbi/stripe/params/price_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PriceUpdateParams < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class PriceUpdateParams < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -31,7 +31,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -108,7 +108,7 @@ module Stripe unit_amount_decimal: nil ); end end - class MigrateTo < Stripe::RequestParams + class MigrateTo < ::Stripe::RequestParams # The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`. sig { returns(String) } def behavior; end diff --git a/rbi/stripe/params/privacy/redaction_job_cancel_params.rbi b/rbi/stripe/params/privacy/redaction_job_cancel_params.rbi index dc22d6ac9..fb5e26500 100644 --- a/rbi/stripe/params/privacy/redaction_job_cancel_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobCancelParams < Stripe::RequestParams + class RedactionJobCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/privacy/redaction_job_create_params.rbi b/rbi/stripe/params/privacy/redaction_job_create_params.rbi index 5c6c2509c..63b23d67d 100644 --- a/rbi/stripe/params/privacy/redaction_job_create_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Privacy - class RedactionJobCreateParams < Stripe::RequestParams - class Objects < Stripe::RequestParams + class RedactionJobCreateParams < ::Stripe::RequestParams + class Objects < ::Stripe::RequestParams # Attribute for param field charges sig { returns(T.nilable(T::Array[String])) } def charges; end diff --git a/rbi/stripe/params/privacy/redaction_job_list_params.rbi b/rbi/stripe/params/privacy/redaction_job_list_params.rbi index 71b4240b6..c55f79a56 100644 --- a/rbi/stripe/params/privacy/redaction_job_list_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobListParams < Stripe::RequestParams + class RedactionJobListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/privacy/redaction_job_retrieve_params.rbi b/rbi/stripe/params/privacy/redaction_job_retrieve_params.rbi index cef1ab499..f3eb94d91 100644 --- a/rbi/stripe/params/privacy/redaction_job_retrieve_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobRetrieveParams < Stripe::RequestParams + class RedactionJobRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/privacy/redaction_job_run_params.rbi b/rbi/stripe/params/privacy/redaction_job_run_params.rbi index c4f255159..1c585d0c0 100644 --- a/rbi/stripe/params/privacy/redaction_job_run_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_run_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobRunParams < Stripe::RequestParams + class RedactionJobRunParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/privacy/redaction_job_update_params.rbi b/rbi/stripe/params/privacy/redaction_job_update_params.rbi index 0468216fa..1c79fc5d4 100644 --- a/rbi/stripe/params/privacy/redaction_job_update_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobUpdateParams < Stripe::RequestParams + class RedactionJobUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/privacy/redaction_job_validate_params.rbi b/rbi/stripe/params/privacy/redaction_job_validate_params.rbi index 9c80d90ef..6932d4cd0 100644 --- a/rbi/stripe/params/privacy/redaction_job_validate_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_validate_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobValidateParams < Stripe::RequestParams + class RedactionJobValidateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/privacy/redaction_job_validation_error_list_params.rbi b/rbi/stripe/params/privacy/redaction_job_validation_error_list_params.rbi index 5e18e6ea4..4069159f5 100644 --- a/rbi/stripe/params/privacy/redaction_job_validation_error_list_params.rbi +++ b/rbi/stripe/params/privacy/redaction_job_validation_error_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Privacy - class RedactionJobValidationErrorListParams < Stripe::RequestParams + class RedactionJobValidationErrorListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/product_create_params.rbi b/rbi/stripe/params/product_create_params.rbi index 7fd3c7fb4..8097d8869 100644 --- a/rbi/stripe/params/product_create_params.rbi +++ b/rbi/stripe/params/product_create_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class ProductCreateParams < Stripe::RequestParams - class DefaultPriceData < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams - class CustomUnitAmount < Stripe::RequestParams + class ProductCreateParams < ::Stripe::RequestParams + class DefaultPriceData < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -32,7 +32,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Tier < Stripe::RequestParams + class Tier < ::Stripe::RequestParams # The flat billing amount for an entire tier, regardless of the number of units in the tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -113,7 +113,7 @@ module Stripe unit_amount_decimal: nil ); end end - class CustomUnitAmount < Stripe::RequestParams + class CustomUnitAmount < ::Stripe::RequestParams # Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`. sig { returns(T::Boolean) } def enabled; end @@ -139,7 +139,7 @@ module Stripe } def initialize(enabled: nil, maximum: nil, minimum: nil, preset: nil); end end - class Recurring < Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -217,7 +217,7 @@ module Stripe unit_amount_decimal: nil ); end end - class MarketingFeature < Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. sig { returns(String) } def name; end @@ -226,7 +226,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end diff --git a/rbi/stripe/params/product_delete_params.rbi b/rbi/stripe/params/product_delete_params.rbi index fcf084af1..7441120a7 100644 --- a/rbi/stripe/params/product_delete_params.rbi +++ b/rbi/stripe/params/product_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class ProductDeleteParams < Stripe::RequestParams; end + class ProductDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/product_feature_create_params.rbi b/rbi/stripe/params/product_feature_create_params.rbi index 433d4d7bf..54acfddb7 100644 --- a/rbi/stripe/params/product_feature_create_params.rbi +++ b/rbi/stripe/params/product_feature_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ProductFeatureCreateParams < Stripe::RequestParams + class ProductFeatureCreateParams < ::Stripe::RequestParams # The ID of the [Feature](https://stripe.com/docs/api/entitlements/feature) object attached to this product. sig { returns(String) } def entitlement_feature; end diff --git a/rbi/stripe/params/product_feature_delete_params.rbi b/rbi/stripe/params/product_feature_delete_params.rbi index 17c996fe0..8a9f6816e 100644 --- a/rbi/stripe/params/product_feature_delete_params.rbi +++ b/rbi/stripe/params/product_feature_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class ProductFeatureDeleteParams < Stripe::RequestParams; end + class ProductFeatureDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/product_feature_list_params.rbi b/rbi/stripe/params/product_feature_list_params.rbi index 76bee6488..afc19c948 100644 --- a/rbi/stripe/params/product_feature_list_params.rbi +++ b/rbi/stripe/params/product_feature_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ProductFeatureListParams < Stripe::RequestParams + class ProductFeatureListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/product_feature_retrieve_params.rbi b/rbi/stripe/params/product_feature_retrieve_params.rbi index 8edd7c5c8..5878b7348 100644 --- a/rbi/stripe/params/product_feature_retrieve_params.rbi +++ b/rbi/stripe/params/product_feature_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ProductFeatureRetrieveParams < Stripe::RequestParams + class ProductFeatureRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/product_list_params.rbi b/rbi/stripe/params/product_list_params.rbi index 6ff993298..65e71b24e 100644 --- a/rbi/stripe/params/product_list_params.rbi +++ b/rbi/stripe/params/product_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ProductListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ProductListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/product_retrieve_params.rbi b/rbi/stripe/params/product_retrieve_params.rbi index b2eed9093..a9b3db2b6 100644 --- a/rbi/stripe/params/product_retrieve_params.rbi +++ b/rbi/stripe/params/product_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ProductRetrieveParams < Stripe::RequestParams + class ProductRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/product_search_params.rbi b/rbi/stripe/params/product_search_params.rbi index c081db12c..3da491493 100644 --- a/rbi/stripe/params/product_search_params.rbi +++ b/rbi/stripe/params/product_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ProductSearchParams < Stripe::RequestParams + class ProductSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/product_update_params.rbi b/rbi/stripe/params/product_update_params.rbi index e0b06458a..f990d99e3 100644 --- a/rbi/stripe/params/product_update_params.rbi +++ b/rbi/stripe/params/product_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ProductUpdateParams < Stripe::RequestParams - class MarketingFeature < Stripe::RequestParams + class ProductUpdateParams < ::Stripe::RequestParams + class MarketingFeature < ::Stripe::RequestParams # The marketing feature name. Up to 80 characters long. sig { returns(String) } def name; end @@ -13,7 +13,7 @@ module Stripe sig { params(name: String).void } def initialize(name: nil); end end - class PackageDimensions < Stripe::RequestParams + class PackageDimensions < ::Stripe::RequestParams # Height, in inches. Maximum precision is 2 decimal places. sig { returns(Float) } def height; end diff --git a/rbi/stripe/params/promotion_code_create_params.rbi b/rbi/stripe/params/promotion_code_create_params.rbi index a9df73ff7..bd2cb7704 100644 --- a/rbi/stripe/params/promotion_code_create_params.rbi +++ b/rbi/stripe/params/promotion_code_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PromotionCodeCreateParams < Stripe::RequestParams - class Promotion < Stripe::RequestParams + class PromotionCodeCreateParams < ::Stripe::RequestParams + class Promotion < ::Stripe::RequestParams # If promotion `type` is `coupon`, the coupon for this promotion code. sig { returns(T.nilable(String)) } def coupon; end @@ -18,8 +18,8 @@ module Stripe sig { params(coupon: T.nilable(String), type: String).void } def initialize(coupon: nil, type: nil); end end - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(T.nilable(Integer)) } def minimum_amount; end diff --git a/rbi/stripe/params/promotion_code_list_params.rbi b/rbi/stripe/params/promotion_code_list_params.rbi index e6366154f..555147706 100644 --- a/rbi/stripe/params/promotion_code_list_params.rbi +++ b/rbi/stripe/params/promotion_code_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class PromotionCodeListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class PromotionCodeListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/promotion_code_retrieve_params.rbi b/rbi/stripe/params/promotion_code_retrieve_params.rbi index 4fc26879e..fbe87d445 100644 --- a/rbi/stripe/params/promotion_code_retrieve_params.rbi +++ b/rbi/stripe/params/promotion_code_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class PromotionCodeRetrieveParams < Stripe::RequestParams + class PromotionCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/promotion_code_update_params.rbi b/rbi/stripe/params/promotion_code_update_params.rbi index 1c7043fc0..fecb5ce80 100644 --- a/rbi/stripe/params/promotion_code_update_params.rbi +++ b/rbi/stripe/params/promotion_code_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class PromotionCodeUpdateParams < Stripe::RequestParams - class Restrictions < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class PromotionCodeUpdateParams < ::Stripe::RequestParams + class Restrictions < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(T.nilable(Integer)) } def minimum_amount; end diff --git a/rbi/stripe/params/quote_accept_params.rbi b/rbi/stripe/params/quote_accept_params.rbi index ef4a08c6f..53ec5abd3 100644 --- a/rbi/stripe/params/quote_accept_params.rbi +++ b/rbi/stripe/params/quote_accept_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteAcceptParams < Stripe::RequestParams + class QuoteAcceptParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_cancel_params.rbi b/rbi/stripe/params/quote_cancel_params.rbi index 92bd05900..0bf21d5d1 100644 --- a/rbi/stripe/params/quote_cancel_params.rbi +++ b/rbi/stripe/params/quote_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteCancelParams < Stripe::RequestParams + class QuoteCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_computed_upfront_line_items_list_params.rbi b/rbi/stripe/params/quote_computed_upfront_line_items_list_params.rbi index 6b9041b82..a93c23028 100644 --- a/rbi/stripe/params/quote_computed_upfront_line_items_list_params.rbi +++ b/rbi/stripe/params/quote_computed_upfront_line_items_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteComputedUpfrontLineItemsListParams < Stripe::RequestParams + class QuoteComputedUpfrontLineItemsListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_create_params.rbi b/rbi/stripe/params/quote_create_params.rbi index efdc61649..8c858256f 100644 --- a/rbi/stripe/params/quote_create_params.rbi +++ b/rbi/stripe/params/quote_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class QuoteCreateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteCreateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -36,9 +36,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101,7 +101,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class FromQuote < Stripe::RequestParams + class FromQuote < ::Stripe::RequestParams # Whether this quote is a revision of the previous quote. sig { returns(T.nilable(T::Boolean)) } def is_revision; end @@ -115,8 +115,8 @@ module Stripe sig { params(is_revision: T.nilable(T::Boolean), quote: String).void } def initialize(is_revision: nil, quote: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -147,10 +147,10 @@ module Stripe } def initialize(days_until_due: nil, issuer: nil); end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -197,10 +197,10 @@ module Stripe promotion_code: nil ); end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -267,7 +267,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -333,7 +333,7 @@ module Stripe trial: nil ); end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -354,7 +354,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -363,7 +363,7 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -384,10 +384,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -454,7 +454,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -604,7 +604,7 @@ module Stripe type: nil ); end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -625,7 +625,7 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -646,8 +646,8 @@ module Stripe } def initialize(cancel_at: nil, invoice_now: nil, prorate: nil); end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -656,7 +656,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -699,8 +699,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -726,8 +726,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -736,7 +736,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array. sig { returns(T.nilable(Integer)) } def index; end @@ -774,8 +774,8 @@ module Stripe } def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -876,10 +876,10 @@ module Stripe trial_settings: nil ); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -942,8 +942,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1043,10 +1043,10 @@ module Stripe tax_rates: nil ); end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1084,8 +1084,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1099,7 +1099,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1165,8 +1165,8 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -1192,7 +1192,7 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -1297,8 +1297,8 @@ module Stripe trial_period_days: nil ); end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -1319,9 +1319,9 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1359,8 +1359,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1374,7 +1374,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1502,7 +1502,7 @@ module Stripe proration_behavior: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/quote_finalize_quote_params.rbi b/rbi/stripe/params/quote_finalize_quote_params.rbi index 8f5eaad86..4ade2491d 100644 --- a/rbi/stripe/params/quote_finalize_quote_params.rbi +++ b/rbi/stripe/params/quote_finalize_quote_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteFinalizeQuoteParams < Stripe::RequestParams + class QuoteFinalizeQuoteParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_line_item_list_params.rbi b/rbi/stripe/params/quote_line_item_list_params.rbi index 7d5f75884..15597e6c3 100644 --- a/rbi/stripe/params/quote_line_item_list_params.rbi +++ b/rbi/stripe/params/quote_line_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteLineItemListParams < Stripe::RequestParams + class QuoteLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_line_list_params.rbi b/rbi/stripe/params/quote_line_list_params.rbi index 6725a56bc..aaea92ac2 100644 --- a/rbi/stripe/params/quote_line_list_params.rbi +++ b/rbi/stripe/params/quote_line_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteLineListParams < Stripe::RequestParams + class QuoteLineListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_list_computed_upfront_line_items_params.rbi b/rbi/stripe/params/quote_list_computed_upfront_line_items_params.rbi index eff10cd92..79e59f536 100644 --- a/rbi/stripe/params/quote_list_computed_upfront_line_items_params.rbi +++ b/rbi/stripe/params/quote_list_computed_upfront_line_items_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteListComputedUpfrontLineItemsParams < Stripe::RequestParams + class QuoteListComputedUpfrontLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_list_line_items_params.rbi b/rbi/stripe/params/quote_list_line_items_params.rbi index 6b88b4d21..5d0b3bafb 100644 --- a/rbi/stripe/params/quote_list_line_items_params.rbi +++ b/rbi/stripe/params/quote_list_line_items_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteListLineItemsParams < Stripe::RequestParams + class QuoteListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_list_lines_params.rbi b/rbi/stripe/params/quote_list_lines_params.rbi index 065caf6d6..2a99a3d17 100644 --- a/rbi/stripe/params/quote_list_lines_params.rbi +++ b/rbi/stripe/params/quote_list_lines_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteListLinesParams < Stripe::RequestParams + class QuoteListLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_list_params.rbi b/rbi/stripe/params/quote_list_params.rbi index f02734b58..16ef70b72 100644 --- a/rbi/stripe/params/quote_list_params.rbi +++ b/rbi/stripe/params/quote_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteListParams < Stripe::RequestParams + class QuoteListParams < ::Stripe::RequestParams # The ID of the customer whose quotes will be retrieved. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/quote_list_preview_invoice_lines_params.rbi b/rbi/stripe/params/quote_list_preview_invoice_lines_params.rbi index 28c94be95..c147b3745 100644 --- a/rbi/stripe/params/quote_list_preview_invoice_lines_params.rbi +++ b/rbi/stripe/params/quote_list_preview_invoice_lines_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteListPreviewInvoiceLinesParams < Stripe::RequestParams + class QuoteListPreviewInvoiceLinesParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_mark_draft_params.rbi b/rbi/stripe/params/quote_mark_draft_params.rbi index 6ef4b6307..b7eb7261e 100644 --- a/rbi/stripe/params/quote_mark_draft_params.rbi +++ b/rbi/stripe/params/quote_mark_draft_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteMarkDraftParams < Stripe::RequestParams + class QuoteMarkDraftParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_mark_stale_params.rbi b/rbi/stripe/params/quote_mark_stale_params.rbi index 9e50fc630..e5275b4a7 100644 --- a/rbi/stripe/params/quote_mark_stale_params.rbi +++ b/rbi/stripe/params/quote_mark_stale_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteMarkStaleParams < Stripe::RequestParams + class QuoteMarkStaleParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_pdf_params.rbi b/rbi/stripe/params/quote_pdf_params.rbi index ec3426990..bef0f0f24 100644 --- a/rbi/stripe/params/quote_pdf_params.rbi +++ b/rbi/stripe/params/quote_pdf_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuotePdfParams < Stripe::RequestParams + class QuotePdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_preview_invoice_list_params.rbi b/rbi/stripe/params/quote_preview_invoice_list_params.rbi index 3ca3acf0f..dbe827cde 100644 --- a/rbi/stripe/params/quote_preview_invoice_list_params.rbi +++ b/rbi/stripe/params/quote_preview_invoice_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuotePreviewInvoiceListParams < Stripe::RequestParams + class QuotePreviewInvoiceListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_preview_subscription_schedule_list_params.rbi b/rbi/stripe/params/quote_preview_subscription_schedule_list_params.rbi index a064fc8c3..fdd5ac432 100644 --- a/rbi/stripe/params/quote_preview_subscription_schedule_list_params.rbi +++ b/rbi/stripe/params/quote_preview_subscription_schedule_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuotePreviewSubscriptionScheduleListParams < Stripe::RequestParams + class QuotePreviewSubscriptionScheduleListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/quote_reestimate_params.rbi b/rbi/stripe/params/quote_reestimate_params.rbi index 285ca386a..75675d908 100644 --- a/rbi/stripe/params/quote_reestimate_params.rbi +++ b/rbi/stripe/params/quote_reestimate_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteReestimateParams < Stripe::RequestParams + class QuoteReestimateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_retrieve_params.rbi b/rbi/stripe/params/quote_retrieve_params.rbi index 5c2da29c1..e72da8a0b 100644 --- a/rbi/stripe/params/quote_retrieve_params.rbi +++ b/rbi/stripe/params/quote_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class QuoteRetrieveParams < Stripe::RequestParams + class QuoteRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/quote_update_params.rbi b/rbi/stripe/params/quote_update_params.rbi index 240d33ff9..0de4c6d0c 100644 --- a/rbi/stripe/params/quote_update_params.rbi +++ b/rbi/stripe/params/quote_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class QuoteUpdateParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class QuoteUpdateParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -36,9 +36,9 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -101,8 +101,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -133,10 +133,10 @@ module Stripe } def initialize(days_until_due: nil, issuer: nil); end end - class Line < Stripe::RequestParams - class Action < Stripe::RequestParams - class AddDiscount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class Line < ::Stripe::RequestParams + class Action < ::Stripe::RequestParams + class AddDiscount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -183,10 +183,10 @@ module Stripe promotion_code: nil ); end end - class AddItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class AddItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -253,7 +253,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -319,7 +319,7 @@ module Stripe trial: nil ); end end - class RemoveDiscount < Stripe::RequestParams + class RemoveDiscount < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -340,7 +340,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class RemoveItem < Stripe::RequestParams + class RemoveItem < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -349,7 +349,7 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class SetDiscount < Stripe::RequestParams + class SetDiscount < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -370,10 +370,10 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class SetItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SetItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -440,7 +440,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -590,7 +590,7 @@ module Stripe type: nil ); end end - class AppliesTo < Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -611,7 +611,7 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class CancelSubscriptionSchedule < Stripe::RequestParams + class CancelSubscriptionSchedule < ::Stripe::RequestParams # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -632,8 +632,8 @@ module Stripe } def initialize(cancel_at: nil, invoice_now: nil, prorate: nil); end end - class EndsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class EndsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -642,7 +642,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -685,8 +685,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -712,8 +712,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class StartsAt < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class StartsAt < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -722,7 +722,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -765,8 +765,8 @@ module Stripe } def initialize(discount_end: nil, line_ends_at: nil, timestamp: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -873,10 +873,10 @@ module Stripe trial_settings: nil ); end end - class LineItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -939,8 +939,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1046,10 +1046,10 @@ module Stripe tax_rates: nil ); end end - class SubscriptionData < Stripe::RequestParams - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class SubscriptionData < ::Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1087,8 +1087,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1102,7 +1102,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1168,7 +1168,7 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -1261,8 +1261,8 @@ module Stripe trial_period_days: nil ); end end - class SubscriptionDataOverride < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class SubscriptionDataOverride < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -1283,9 +1283,9 @@ module Stripe } def initialize(new_reference: nil, subscription_schedule: nil, type: nil); end end - class BillOnAcceptance < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class LineStartsAt < Stripe::RequestParams + class BillOnAcceptance < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class LineStartsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1323,8 +1323,8 @@ module Stripe } def initialize(line_starts_at: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1338,7 +1338,7 @@ module Stripe sig { params(interval: String, interval_count: Integer).void } def initialize(interval: nil, interval_count: nil); end end - class LineEndsAt < Stripe::RequestParams + class LineEndsAt < ::Stripe::RequestParams # The ID of a quote line. sig { returns(T.nilable(String)) } def id; end @@ -1468,7 +1468,7 @@ module Stripe proration_behavior: nil ); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/radar/early_fraud_warning_list_params.rbi b/rbi/stripe/params/radar/early_fraud_warning_list_params.rbi index 4e98a2ba9..c3db7f25c 100644 --- a/rbi/stripe/params/radar/early_fraud_warning_list_params.rbi +++ b/rbi/stripe/params/radar/early_fraud_warning_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Radar - class EarlyFraudWarningListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class EarlyFraudWarningListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/radar/early_fraud_warning_retrieve_params.rbi b/rbi/stripe/params/radar/early_fraud_warning_retrieve_params.rbi index f86bbafbe..b28d74503 100644 --- a/rbi/stripe/params/radar/early_fraud_warning_retrieve_params.rbi +++ b/rbi/stripe/params/radar/early_fraud_warning_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class EarlyFraudWarningRetrieveParams < Stripe::RequestParams + class EarlyFraudWarningRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/radar/value_list_create_params.rbi b/rbi/stripe/params/radar/value_list_create_params.rbi index fe7e890ed..cb5980925 100644 --- a/rbi/stripe/params/radar/value_list_create_params.rbi +++ b/rbi/stripe/params/radar/value_list_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class ValueListCreateParams < Stripe::RequestParams + class ValueListCreateParams < ::Stripe::RequestParams # The name of the value list for use in rules. sig { returns(String) } def alias; end diff --git a/rbi/stripe/params/radar/value_list_delete_params.rbi b/rbi/stripe/params/radar/value_list_delete_params.rbi index 1b1968c7a..fe26e2eef 100644 --- a/rbi/stripe/params/radar/value_list_delete_params.rbi +++ b/rbi/stripe/params/radar/value_list_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module Radar - class ValueListDeleteParams < Stripe::RequestParams; end + class ValueListDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/radar/value_list_item_create_params.rbi b/rbi/stripe/params/radar/value_list_item_create_params.rbi index 78cd5596c..59c8ea720 100644 --- a/rbi/stripe/params/radar/value_list_item_create_params.rbi +++ b/rbi/stripe/params/radar/value_list_item_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class ValueListItemCreateParams < Stripe::RequestParams + class ValueListItemCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/radar/value_list_item_delete_params.rbi b/rbi/stripe/params/radar/value_list_item_delete_params.rbi index e1fafa07a..a529b31d3 100644 --- a/rbi/stripe/params/radar/value_list_item_delete_params.rbi +++ b/rbi/stripe/params/radar/value_list_item_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module Radar - class ValueListItemDeleteParams < Stripe::RequestParams; end + class ValueListItemDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/radar/value_list_item_list_params.rbi b/rbi/stripe/params/radar/value_list_item_list_params.rbi index 3a3ba3a4c..0bd4f5428 100644 --- a/rbi/stripe/params/radar/value_list_item_list_params.rbi +++ b/rbi/stripe/params/radar/value_list_item_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Radar - class ValueListItemListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListItemListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/radar/value_list_item_retrieve_params.rbi b/rbi/stripe/params/radar/value_list_item_retrieve_params.rbi index 60c7a7e75..ecacd7584 100644 --- a/rbi/stripe/params/radar/value_list_item_retrieve_params.rbi +++ b/rbi/stripe/params/radar/value_list_item_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class ValueListItemRetrieveParams < Stripe::RequestParams + class ValueListItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/radar/value_list_list_params.rbi b/rbi/stripe/params/radar/value_list_list_params.rbi index 9236e3bd2..be7f2e499 100644 --- a/rbi/stripe/params/radar/value_list_list_params.rbi +++ b/rbi/stripe/params/radar/value_list_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Radar - class ValueListListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ValueListListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/radar/value_list_retrieve_params.rbi b/rbi/stripe/params/radar/value_list_retrieve_params.rbi index c652d53b4..1fcc76773 100644 --- a/rbi/stripe/params/radar/value_list_retrieve_params.rbi +++ b/rbi/stripe/params/radar/value_list_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class ValueListRetrieveParams < Stripe::RequestParams + class ValueListRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/radar/value_list_update_params.rbi b/rbi/stripe/params/radar/value_list_update_params.rbi index 5fa76208e..375bc3d26 100644 --- a/rbi/stripe/params/radar/value_list_update_params.rbi +++ b/rbi/stripe/params/radar/value_list_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Radar - class ValueListUpdateParams < Stripe::RequestParams + class ValueListUpdateParams < ::Stripe::RequestParams # The name of the value list for use in rules. sig { returns(T.nilable(String)) } def alias; end diff --git a/rbi/stripe/params/refund_cancel_params.rbi b/rbi/stripe/params/refund_cancel_params.rbi index 3b9e4f5a3..27f640ae0 100644 --- a/rbi/stripe/params/refund_cancel_params.rbi +++ b/rbi/stripe/params/refund_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class RefundCancelParams < Stripe::RequestParams + class RefundCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/refund_create_params.rbi b/rbi/stripe/params/refund_create_params.rbi index 4044e1e50..acff59fa7 100644 --- a/rbi/stripe/params/refund_create_params.rbi +++ b/rbi/stripe/params/refund_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class RefundCreateParams < Stripe::RequestParams + class RefundCreateParams < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/refund_expire_params.rbi b/rbi/stripe/params/refund_expire_params.rbi index 45ba3f9e5..b1a4516f9 100644 --- a/rbi/stripe/params/refund_expire_params.rbi +++ b/rbi/stripe/params/refund_expire_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/refund_list_params.rbi b/rbi/stripe/params/refund_list_params.rbi index aef9320f6..51d04e8fe 100644 --- a/rbi/stripe/params/refund_list_params.rbi +++ b/rbi/stripe/params/refund_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class RefundListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class RefundListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/refund_retrieve_params.rbi b/rbi/stripe/params/refund_retrieve_params.rbi index 075892a32..191b2af55 100644 --- a/rbi/stripe/params/refund_retrieve_params.rbi +++ b/rbi/stripe/params/refund_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class RefundRetrieveParams < Stripe::RequestParams + class RefundRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/refund_update_params.rbi b/rbi/stripe/params/refund_update_params.rbi index 537c67672..d1baad2f8 100644 --- a/rbi/stripe/params/refund_update_params.rbi +++ b/rbi/stripe/params/refund_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class RefundUpdateParams < Stripe::RequestParams + class RefundUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/reporting/report_run_create_params.rbi b/rbi/stripe/params/reporting/report_run_create_params.rbi index 05fc96564..5a018dbe0 100644 --- a/rbi/stripe/params/reporting/report_run_create_params.rbi +++ b/rbi/stripe/params/reporting/report_run_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Reporting - class ReportRunCreateParams < Stripe::RequestParams - class Parameters < Stripe::RequestParams + class ReportRunCreateParams < ::Stripe::RequestParams + class Parameters < ::Stripe::RequestParams # The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set. sig { returns(T.nilable(T::Array[String])) } def columns; end diff --git a/rbi/stripe/params/reporting/report_run_list_params.rbi b/rbi/stripe/params/reporting/report_run_list_params.rbi index 30fdc97f1..ec6f692b2 100644 --- a/rbi/stripe/params/reporting/report_run_list_params.rbi +++ b/rbi/stripe/params/reporting/report_run_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Reporting - class ReportRunListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReportRunListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/reporting/report_run_retrieve_params.rbi b/rbi/stripe/params/reporting/report_run_retrieve_params.rbi index 197ecbadf..321004b7d 100644 --- a/rbi/stripe/params/reporting/report_run_retrieve_params.rbi +++ b/rbi/stripe/params/reporting/report_run_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Reporting - class ReportRunRetrieveParams < Stripe::RequestParams + class ReportRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/reporting/report_type_list_params.rbi b/rbi/stripe/params/reporting/report_type_list_params.rbi index 51e66fa6e..78f22c4cb 100644 --- a/rbi/stripe/params/reporting/report_type_list_params.rbi +++ b/rbi/stripe/params/reporting/report_type_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Reporting - class ReportTypeListParams < Stripe::RequestParams + class ReportTypeListParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/reporting/report_type_retrieve_params.rbi b/rbi/stripe/params/reporting/report_type_retrieve_params.rbi index e815b17ca..19cf95b71 100644 --- a/rbi/stripe/params/reporting/report_type_retrieve_params.rbi +++ b/rbi/stripe/params/reporting/report_type_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Reporting - class ReportTypeRetrieveParams < Stripe::RequestParams + class ReportTypeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/review_approve_params.rbi b/rbi/stripe/params/review_approve_params.rbi index cfa96bb08..12a7f1676 100644 --- a/rbi/stripe/params/review_approve_params.rbi +++ b/rbi/stripe/params/review_approve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ReviewApproveParams < Stripe::RequestParams + class ReviewApproveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/review_list_params.rbi b/rbi/stripe/params/review_list_params.rbi index 335a59cc2..4450724c0 100644 --- a/rbi/stripe/params/review_list_params.rbi +++ b/rbi/stripe/params/review_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ReviewListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ReviewListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/review_retrieve_params.rbi b/rbi/stripe/params/review_retrieve_params.rbi index 63b889cde..a9b211ed8 100644 --- a/rbi/stripe/params/review_retrieve_params.rbi +++ b/rbi/stripe/params/review_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ReviewRetrieveParams < Stripe::RequestParams + class ReviewRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/setup_attempt_list_params.rbi b/rbi/stripe/params/setup_attempt_list_params.rbi index 82beef50f..faebc5095 100644 --- a/rbi/stripe/params/setup_attempt_list_params.rbi +++ b/rbi/stripe/params/setup_attempt_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SetupAttemptListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupAttemptListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/setup_intent_cancel_params.rbi b/rbi/stripe/params/setup_intent_cancel_params.rbi index 07614eeb3..a1a2c0cfb 100644 --- a/rbi/stripe/params/setup_intent_cancel_params.rbi +++ b/rbi/stripe/params/setup_intent_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SetupIntentCancelParams < Stripe::RequestParams + class SetupIntentCancelParams < ::Stripe::RequestParams # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate` sig { returns(T.nilable(String)) } def cancellation_reason; end diff --git a/rbi/stripe/params/setup_intent_confirm_params.rbi b/rbi/stripe/params/setup_intent_confirm_params.rbi index 7c27a75b1..8720f1701 100644 --- a/rbi/stripe/params/setup_intent_confirm_params.rbi +++ b/rbi/stripe/params/setup_intent_confirm_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class SetupIntentConfirmParams < Stripe::RequestParams - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class SetupIntentConfirmParams < ::Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -66,8 +66,8 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -88,12 +88,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -107,7 +107,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -121,10 +121,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -201,8 +201,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -211,10 +211,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -223,7 +223,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -237,10 +237,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -249,7 +249,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -258,10 +258,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -292,13 +292,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -307,7 +307,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -350,8 +350,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -360,12 +360,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -386,10 +386,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -398,8 +398,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -428,10 +428,10 @@ module Stripe sig { params(dob: SetupIntentConfirmParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -440,8 +440,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -450,7 +450,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -464,9 +464,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -503,8 +503,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentConfirmParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -1003,9 +1003,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1070,9 +1070,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1095,8 +1095,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -1165,9 +1165,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -1319,9 +1319,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -1358,8 +1358,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -1449,7 +1449,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -1458,7 +1458,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -1481,8 +1481,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -1545,8 +1545,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -1615,8 +1615,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1639,9 +1639,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1659,7 +1659,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -1716,7 +1716,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -1725,7 +1725,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end diff --git a/rbi/stripe/params/setup_intent_create_params.rbi b/rbi/stripe/params/setup_intent_create_params.rbi index 367804075..c0d5faabd 100644 --- a/rbi/stripe/params/setup_intent_create_params.rbi +++ b/rbi/stripe/params/setup_intent_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SetupIntentCreateParams < Stripe::RequestParams - class AutomaticPaymentMethods < Stripe::RequestParams + class SetupIntentCreateParams < ::Stripe::RequestParams + class AutomaticPaymentMethods < ::Stripe::RequestParams # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -20,10 +20,10 @@ module Stripe sig { params(allow_redirects: T.nilable(String), enabled: T::Boolean).void } def initialize(allow_redirects: nil, enabled: nil); end end - class MandateData < Stripe::RequestParams - class CustomerAcceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams; end - class Online < Stripe::RequestParams + class MandateData < ::Stripe::RequestParams + class CustomerAcceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams; end + class Online < ::Stripe::RequestParams # The IP address from which the Mandate was accepted by the customer. sig { returns(String) } def ip_address; end @@ -80,8 +80,8 @@ module Stripe } def initialize(customer_acceptance: nil); end end - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -102,12 +102,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -121,7 +121,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -135,10 +135,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -215,8 +215,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -225,10 +225,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -237,7 +237,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -251,10 +251,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -263,7 +263,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -272,10 +272,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -304,13 +304,13 @@ module Stripe sig { params(dob: T.nilable(SetupIntentCreateParams::PaymentMethodData::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -319,7 +319,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -362,8 +362,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -372,12 +372,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -398,10 +398,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -410,8 +410,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -440,10 +440,10 @@ module Stripe sig { params(dob: SetupIntentCreateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -452,8 +452,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -462,7 +462,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -476,9 +476,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -515,8 +515,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentCreateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -1015,9 +1015,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1082,9 +1082,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1107,8 +1107,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -1177,9 +1177,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -1331,9 +1331,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -1370,8 +1370,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -1461,7 +1461,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -1470,7 +1470,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -1493,8 +1493,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -1557,8 +1557,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -1627,8 +1627,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1651,9 +1651,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1671,7 +1671,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -1728,7 +1728,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -1737,7 +1737,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -1892,7 +1892,7 @@ module Stripe us_bank_account: nil ); end end - class SingleUse < Stripe::RequestParams + class SingleUse < ::Stripe::RequestParams # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -1951,6 +1951,13 @@ module Stripe def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end + # The list of payment method types to exclude from use with this SetupIntent. + sig { returns(T.nilable(T::Array[String])) } + def excluded_payment_method_types; end + sig { + params(_excluded_payment_method_types: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def excluded_payment_method_types=(_excluded_payment_method_types); end # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -2041,7 +2048,7 @@ module Stripe sig { params(_use_stripe_sdk: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } def use_stripe_sdk=(_use_stripe_sdk); end sig { - params(attach_to_self: T.nilable(T::Boolean), automatic_payment_methods: T.nilable(SetupIntentCreateParams::AutomaticPaymentMethods), confirm: T.nilable(T::Boolean), confirmation_token: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), mandate_data: T.nilable(T.any(String, SetupIntentCreateParams::MandateData)), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentCreateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentCreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), return_url: T.nilable(String), single_use: T.nilable(SetupIntentCreateParams::SingleUse), usage: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void + params(attach_to_self: T.nilable(T::Boolean), automatic_payment_methods: T.nilable(SetupIntentCreateParams::AutomaticPaymentMethods), confirm: T.nilable(T::Boolean), confirmation_token: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), excluded_payment_method_types: T.nilable(T::Array[String]), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), mandate_data: T.nilable(T.any(String, SetupIntentCreateParams::MandateData)), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentCreateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentCreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), return_url: T.nilable(String), single_use: T.nilable(SetupIntentCreateParams::SingleUse), usage: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void } def initialize( attach_to_self: nil, @@ -2051,6 +2058,7 @@ module Stripe customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, mandate_data: nil, diff --git a/rbi/stripe/params/setup_intent_list_params.rbi b/rbi/stripe/params/setup_intent_list_params.rbi index 80f1ed6db..7b279078d 100644 --- a/rbi/stripe/params/setup_intent_list_params.rbi +++ b/rbi/stripe/params/setup_intent_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SetupIntentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class SetupIntentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/setup_intent_retrieve_params.rbi b/rbi/stripe/params/setup_intent_retrieve_params.rbi index 39e72295f..e26364bb6 100644 --- a/rbi/stripe/params/setup_intent_retrieve_params.rbi +++ b/rbi/stripe/params/setup_intent_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SetupIntentRetrieveParams < Stripe::RequestParams + class SetupIntentRetrieveParams < ::Stripe::RequestParams # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent. sig { returns(T.nilable(String)) } def client_secret; end diff --git a/rbi/stripe/params/setup_intent_update_params.rbi b/rbi/stripe/params/setup_intent_update_params.rbi index 50ca9da2d..262d2e15a 100644 --- a/rbi/stripe/params/setup_intent_update_params.rbi +++ b/rbi/stripe/params/setup_intent_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class SetupIntentUpdateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class SetupIntentUpdateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -26,12 +26,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -45,7 +45,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -59,10 +59,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -139,8 +139,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -149,10 +149,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -161,7 +161,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -175,10 +175,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -187,7 +187,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -196,10 +196,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -228,13 +228,13 @@ module Stripe sig { params(dob: T.nilable(SetupIntentUpdateParams::PaymentMethodData::Klarna::Dob)).void } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -243,7 +243,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -286,8 +286,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -296,12 +296,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -322,10 +322,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -334,8 +334,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -364,10 +364,10 @@ module Stripe sig { params(dob: SetupIntentUpdateParams::PaymentMethodData::Rechnung::Dob).void } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -376,8 +376,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -386,7 +386,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -400,9 +400,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -439,8 +439,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(SetupIntentUpdateParams::PaymentMethodData::AcssDebit)) } def acss_debit; end @@ -939,9 +939,9 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # A URL for custom mandate text to render during confirmation step. # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. @@ -1006,9 +1006,9 @@ module Stripe } def initialize(currency: nil, mandate_options: nil, verification_method: nil); end end - class AmazonPay < Stripe::RequestParams; end - class BacsDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class AmazonPay < ::Stripe::RequestParams; end + class BacsDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1031,8 +1031,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -1101,9 +1101,9 @@ module Stripe supported_types: nil ); end end - class ThreeDSecure < Stripe::RequestParams - class NetworkOptions < Stripe::RequestParams - class CartesBancaires < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams + class NetworkOptions < ::Stripe::RequestParams + class CartesBancaires < ::Stripe::RequestParams # The cryptogram calculation algorithm used by the card Issuer's ACS # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. # messageExtension: CB-AVALGO @@ -1255,9 +1255,9 @@ module Stripe three_d_secure: nil ); end end - class CardPresent < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class OnDemand < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class OnDemand < ::Stripe::RequestParams # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. sig { returns(T.nilable(Integer)) } def average_amount; end @@ -1294,8 +1294,8 @@ module Stripe purchase_interval_count: nil ); end end - class Subscription < Stripe::RequestParams - class NextBilling < Stripe::RequestParams + class Subscription < ::Stripe::RequestParams + class NextBilling < ::Stripe::RequestParams # The amount of the next charge for the subscription. sig { returns(Integer) } def amount; end @@ -1385,7 +1385,7 @@ module Stripe subscriptions: nil ); end end - class Link < Stripe::RequestParams + class Link < ::Stripe::RequestParams # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -1394,7 +1394,7 @@ module Stripe sig { params(persistent_token: T.nilable(String)).void } def initialize(persistent_token: nil); end end - class Paypal < Stripe::RequestParams + class Paypal < ::Stripe::RequestParams # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -1417,8 +1417,8 @@ module Stripe } def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil); end end - class Payto < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Payto < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -1481,8 +1481,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -1551,8 +1551,8 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1575,9 +1575,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1595,7 +1595,7 @@ module Stripe } def initialize(account_subcategories: nil, institution: nil); end end - class ManualEntry < Stripe::RequestParams + class ManualEntry < ::Stripe::RequestParams # Settings for configuring manual entry of account details. sig { returns(String) } def mode; end @@ -1652,7 +1652,7 @@ module Stripe return_url: nil ); end end - class MandateOptions < Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # The method used to collect offline mandate customer acceptance. sig { returns(T.nilable(String)) } def collection_method; end @@ -1661,7 +1661,7 @@ module Stripe sig { params(collection_method: T.nilable(String)).void } def initialize(collection_method: nil); end end - class Networks < Stripe::RequestParams + class Networks < ::Stripe::RequestParams # Triggers validations to run across the selected networks sig { returns(T.nilable(T::Array[String])) } def requested; end @@ -1842,6 +1842,13 @@ module Stripe def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end + # The list of payment method types to exclude from use with this SetupIntent. + sig { returns(T.nilable(T.any(String, T::Array[String]))) } + def excluded_payment_method_types; end + sig { + params(_excluded_payment_method_types: T.nilable(T.any(String, T::Array[String]))).returns(T.nilable(T.any(String, T::Array[String]))) + } + def excluded_payment_method_types=(_excluded_payment_method_types); end # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end @@ -1896,13 +1903,14 @@ module Stripe } def payment_method_types=(_payment_method_types); end sig { - params(attach_to_self: T.nilable(T::Boolean), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentUpdateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentUpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String])).void + params(attach_to_self: T.nilable(T::Boolean), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), excluded_payment_method_types: T.nilable(T.any(String, T::Array[String])), expand: T.nilable(T::Array[String]), flow_directions: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(SetupIntentUpdateParams::PaymentMethodData), payment_method_options: T.nilable(SetupIntentUpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String])).void } def initialize( attach_to_self: nil, customer: nil, customer_account: nil, description: nil, + excluded_payment_method_types: nil, expand: nil, flow_directions: nil, metadata: nil, diff --git a/rbi/stripe/params/setup_intent_verify_microdeposits_params.rbi b/rbi/stripe/params/setup_intent_verify_microdeposits_params.rbi index 79d39917c..44ee8b110 100644 --- a/rbi/stripe/params/setup_intent_verify_microdeposits_params.rbi +++ b/rbi/stripe/params/setup_intent_verify_microdeposits_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SetupIntentVerifyMicrodepositsParams < Stripe::RequestParams + class SetupIntentVerifyMicrodepositsParams < ::Stripe::RequestParams # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. sig { returns(T.nilable(T::Array[Integer])) } def amounts; end diff --git a/rbi/stripe/params/shipping_rate_create_params.rbi b/rbi/stripe/params/shipping_rate_create_params.rbi index 2961b3894..4997292ed 100644 --- a/rbi/stripe/params/shipping_rate_create_params.rbi +++ b/rbi/stripe/params/shipping_rate_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class ShippingRateCreateParams < Stripe::RequestParams - class DeliveryEstimate < Stripe::RequestParams - class Maximum < Stripe::RequestParams + class ShippingRateCreateParams < ::Stripe::RequestParams + class DeliveryEstimate < ::Stripe::RequestParams + class Maximum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -19,7 +19,7 @@ module Stripe sig { params(unit: String, value: Integer).void } def initialize(unit: nil, value: nil); end end - class Minimum < Stripe::RequestParams + class Minimum < ::Stripe::RequestParams # A unit of time. sig { returns(String) } def unit; end @@ -52,8 +52,8 @@ module Stripe } def initialize(maximum: nil, minimum: nil); end end - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/shipping_rate_list_params.rbi b/rbi/stripe/params/shipping_rate_list_params.rbi index d7b3fc0f3..e505c6b8d 100644 --- a/rbi/stripe/params/shipping_rate_list_params.rbi +++ b/rbi/stripe/params/shipping_rate_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class ShippingRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class ShippingRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/shipping_rate_retrieve_params.rbi b/rbi/stripe/params/shipping_rate_retrieve_params.rbi index 269a25f8e..e3b0dc511 100644 --- a/rbi/stripe/params/shipping_rate_retrieve_params.rbi +++ b/rbi/stripe/params/shipping_rate_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class ShippingRateRetrieveParams < Stripe::RequestParams + class ShippingRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/shipping_rate_update_params.rbi b/rbi/stripe/params/shipping_rate_update_params.rbi index c0904943f..7b8643a1f 100644 --- a/rbi/stripe/params/shipping_rate_update_params.rbi +++ b/rbi/stripe/params/shipping_rate_update_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class ShippingRateUpdateParams < Stripe::RequestParams - class FixedAmount < Stripe::RequestParams - class CurrencyOptions < Stripe::RequestParams + class ShippingRateUpdateParams < ::Stripe::RequestParams + class FixedAmount < ::Stripe::RequestParams + class CurrencyOptions < ::Stripe::RequestParams # A non-negative integer in cents representing how much to charge. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/sigma/scheduled_query_run_list_params.rbi b/rbi/stripe/params/sigma/scheduled_query_run_list_params.rbi index 9beae6d89..a7f54c392 100644 --- a/rbi/stripe/params/sigma/scheduled_query_run_list_params.rbi +++ b/rbi/stripe/params/sigma/scheduled_query_run_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Sigma - class ScheduledQueryRunListParams < Stripe::RequestParams + class ScheduledQueryRunListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/sigma/scheduled_query_run_retrieve_params.rbi b/rbi/stripe/params/sigma/scheduled_query_run_retrieve_params.rbi index 1c3dbbe5b..87538a539 100644 --- a/rbi/stripe/params/sigma/scheduled_query_run_retrieve_params.rbi +++ b/rbi/stripe/params/sigma/scheduled_query_run_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Sigma - class ScheduledQueryRunRetrieveParams < Stripe::RequestParams + class ScheduledQueryRunRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/source_create_params.rbi b/rbi/stripe/params/source_create_params.rbi index 9704e667c..5099248a9 100644 --- a/rbi/stripe/params/source_create_params.rbi +++ b/rbi/stripe/params/source_create_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class SourceCreateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceCreateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. sig { returns(String) } def contact_email; end @@ -15,7 +15,7 @@ module Stripe sig { params(contact_email: String).void } def initialize(contact_email: nil); end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. sig { returns(T.nilable(Integer)) } def date; end @@ -128,8 +128,8 @@ module Stripe notification_method: nil ); end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -199,7 +199,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class Receiver < Stripe::RequestParams + class Receiver < ::Stripe::RequestParams # The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required. sig { returns(T.nilable(String)) } def refund_attributes_method; end @@ -208,7 +208,7 @@ module Stripe sig { params(refund_attributes_method: T.nilable(String)).void } def initialize(refund_attributes_method: nil); end end - class Redirect < Stripe::RequestParams + class Redirect < ::Stripe::RequestParams # The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application. sig { returns(String) } def return_url; end @@ -217,8 +217,8 @@ module Stripe sig { params(return_url: String).void } def initialize(return_url: nil); end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end @@ -261,8 +261,8 @@ module Stripe type: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/source_detach_params.rbi b/rbi/stripe/params/source_detach_params.rbi index e092a8003..6f6cf7cd7 100644 --- a/rbi/stripe/params/source_detach_params.rbi +++ b/rbi/stripe/params/source_detach_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SourceDetachParams < Stripe::RequestParams + class SourceDetachParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/source_retrieve_params.rbi b/rbi/stripe/params/source_retrieve_params.rbi index 701f2f232..570dff950 100644 --- a/rbi/stripe/params/source_retrieve_params.rbi +++ b/rbi/stripe/params/source_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SourceRetrieveParams < Stripe::RequestParams + class SourceRetrieveParams < ::Stripe::RequestParams # The client secret of the source. Required if a publishable key is used to retrieve the source. sig { returns(T.nilable(String)) } def client_secret; end diff --git a/rbi/stripe/params/source_transaction_list_params.rbi b/rbi/stripe/params/source_transaction_list_params.rbi index 872464ef9..9f778e44b 100644 --- a/rbi/stripe/params/source_transaction_list_params.rbi +++ b/rbi/stripe/params/source_transaction_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SourceTransactionListParams < Stripe::RequestParams + class SourceTransactionListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/source_update_params.rbi b/rbi/stripe/params/source_update_params.rbi index e80c7867a..aade4bb30 100644 --- a/rbi/stripe/params/source_update_params.rbi +++ b/rbi/stripe/params/source_update_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class SourceUpdateParams < Stripe::RequestParams - class Mandate < Stripe::RequestParams - class Acceptance < Stripe::RequestParams - class Offline < Stripe::RequestParams + class SourceUpdateParams < ::Stripe::RequestParams + class Mandate < ::Stripe::RequestParams + class Acceptance < ::Stripe::RequestParams + class Offline < ::Stripe::RequestParams # An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. sig { returns(String) } def contact_email; end @@ -15,7 +15,7 @@ module Stripe sig { params(contact_email: String).void } def initialize(contact_email: nil); end end - class Online < Stripe::RequestParams + class Online < ::Stripe::RequestParams # The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. sig { returns(T.nilable(Integer)) } def date; end @@ -128,8 +128,8 @@ module Stripe notification_method: nil ); end end - class Owner < Stripe::RequestParams - class Address < Stripe::RequestParams + class Owner < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -199,8 +199,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class SourceOrder < Stripe::RequestParams - class Item < Stripe::RequestParams + class SourceOrder < ::Stripe::RequestParams + class Item < ::Stripe::RequestParams # Attribute for param field amount sig { returns(T.nilable(Integer)) } def amount; end @@ -243,8 +243,8 @@ module Stripe type: nil ); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/source_verify_params.rbi b/rbi/stripe/params/source_verify_params.rbi index e6bf68673..e8c27866d 100644 --- a/rbi/stripe/params/source_verify_params.rbi +++ b/rbi/stripe/params/source_verify_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SourceVerifyParams < Stripe::RequestParams + class SourceVerifyParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_attach_cadence_params.rbi b/rbi/stripe/params/subscription_attach_cadence_params.rbi index 1b8f24420..29ec467fc 100644 --- a/rbi/stripe/params/subscription_attach_cadence_params.rbi +++ b/rbi/stripe/params/subscription_attach_cadence_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionAttachCadenceParams < Stripe::RequestParams + class SubscriptionAttachCadenceParams < ::Stripe::RequestParams # The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence. sig { returns(String) } def billing_cadence; end diff --git a/rbi/stripe/params/subscription_cancel_params.rbi b/rbi/stripe/params/subscription_cancel_params.rbi index c5c584a9b..988656150 100644 --- a/rbi/stripe/params/subscription_cancel_params.rbi +++ b/rbi/stripe/params/subscription_cancel_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SubscriptionCancelParams < Stripe::RequestParams - class CancellationDetails < Stripe::RequestParams + class SubscriptionCancelParams < ::Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end diff --git a/rbi/stripe/params/subscription_create_params.rbi b/rbi/stripe/params/subscription_create_params.rbi index e9683d60f..7368c6e32 100644 --- a/rbi/stripe/params/subscription_create_params.rbi +++ b/rbi/stripe/params/subscription_create_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class SubscriptionCreateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionCreateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -72,8 +72,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -87,7 +87,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -120,7 +120,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -215,8 +215,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -247,7 +247,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingCycleAnchorConfig < Stripe::RequestParams + class BillingCycleAnchorConfig < ::Stripe::RequestParams # The day of the month the anchor should be. Ranges from 1 to 31. sig { returns(Integer) } def day_of_month; end @@ -278,8 +278,8 @@ module Stripe } def initialize(day_of_month: nil, hour: nil, minute: nil, month: nil, second: nil); end end - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -305,8 +305,8 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -320,8 +320,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -381,7 +381,7 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -399,9 +399,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -464,8 +464,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -498,8 +498,8 @@ module Stripe } def initialize(account_tax_ids: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -508,9 +508,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -575,8 +575,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -634,7 +634,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -722,10 +722,10 @@ module Stripe trial: nil ); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -753,7 +753,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -762,8 +762,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -808,9 +808,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -857,10 +857,10 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -905,9 +905,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -947,9 +947,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1148,7 +1148,7 @@ module Stripe save_default_payment_method: nil ); end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1162,7 +1162,7 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -1176,7 +1176,7 @@ module Stripe sig { params(iterations: Integer, update_behavior: T.nilable(String)).void } def initialize(iterations: nil, update_behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -1190,8 +1190,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end diff --git a/rbi/stripe/params/subscription_delete_discount_params.rbi b/rbi/stripe/params/subscription_delete_discount_params.rbi index 3e4c3f213..32471a9d8 100644 --- a/rbi/stripe/params/subscription_delete_discount_params.rbi +++ b/rbi/stripe/params/subscription_delete_discount_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class SubscriptionDeleteDiscountParams < Stripe::RequestParams; end + class SubscriptionDeleteDiscountParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/subscription_item_create_params.rbi b/rbi/stripe/params/subscription_item_create_params.rbi index e1d9072b2..1a15fecbf 100644 --- a/rbi/stripe/params/subscription_item_create_params.rbi +++ b/rbi/stripe/params/subscription_item_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SubscriptionItemCreateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemCreateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -13,9 +13,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -78,8 +78,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -137,7 +137,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end diff --git a/rbi/stripe/params/subscription_item_delete_params.rbi b/rbi/stripe/params/subscription_item_delete_params.rbi index 1187c9d43..a3230192a 100644 --- a/rbi/stripe/params/subscription_item_delete_params.rbi +++ b/rbi/stripe/params/subscription_item_delete_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionItemDeleteParams < Stripe::RequestParams + class SubscriptionItemDeleteParams < ::Stripe::RequestParams # Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`. sig { returns(T.nilable(T::Boolean)) } def clear_usage; end diff --git a/rbi/stripe/params/subscription_item_list_params.rbi b/rbi/stripe/params/subscription_item_list_params.rbi index eaaa8dbaf..2858f2b30 100644 --- a/rbi/stripe/params/subscription_item_list_params.rbi +++ b/rbi/stripe/params/subscription_item_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionItemListParams < Stripe::RequestParams + class SubscriptionItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/subscription_item_retrieve_params.rbi b/rbi/stripe/params/subscription_item_retrieve_params.rbi index b071a943b..97e59aa1c 100644 --- a/rbi/stripe/params/subscription_item_retrieve_params.rbi +++ b/rbi/stripe/params/subscription_item_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionItemRetrieveParams < Stripe::RequestParams + class SubscriptionItemRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_item_update_params.rbi b/rbi/stripe/params/subscription_item_update_params.rbi index 7b40a64de..708b59cbb 100644 --- a/rbi/stripe/params/subscription_item_update_params.rbi +++ b/rbi/stripe/params/subscription_item_update_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SubscriptionItemUpdateParams < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class SubscriptionItemUpdateParams < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -13,9 +13,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -78,8 +78,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end diff --git a/rbi/stripe/params/subscription_list_params.rbi b/rbi/stripe/params/subscription_list_params.rbi index e07fa2c17..ca410dc13 100644 --- a/rbi/stripe/params/subscription_list_params.rbi +++ b/rbi/stripe/params/subscription_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SubscriptionListParams < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams + class SubscriptionListParams < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams # Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription. sig { returns(T::Boolean) } def enabled; end @@ -13,7 +13,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -39,7 +39,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CurrentPeriodEnd < Stripe::RequestParams + class CurrentPeriodEnd < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -65,7 +65,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CurrentPeriodStart < Stripe::RequestParams + class CurrentPeriodStart < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/subscription_migrate_params.rbi b/rbi/stripe/params/subscription_migrate_params.rbi index 1f465ba73..dc6529e2c 100644 --- a/rbi/stripe/params/subscription_migrate_params.rbi +++ b/rbi/stripe/params/subscription_migrate_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class SubscriptionMigrateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionMigrateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end diff --git a/rbi/stripe/params/subscription_resume_params.rbi b/rbi/stripe/params/subscription_resume_params.rbi index efc2b70b2..bf9841c17 100644 --- a/rbi/stripe/params/subscription_resume_params.rbi +++ b/rbi/stripe/params/subscription_resume_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionResumeParams < Stripe::RequestParams + class SubscriptionResumeParams < ::Stripe::RequestParams # The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). sig { returns(T.nilable(String)) } def billing_cycle_anchor; end diff --git a/rbi/stripe/params/subscription_retrieve_params.rbi b/rbi/stripe/params/subscription_retrieve_params.rbi index 0df9b8e2e..9ade8ebfb 100644 --- a/rbi/stripe/params/subscription_retrieve_params.rbi +++ b/rbi/stripe/params/subscription_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionRetrieveParams < Stripe::RequestParams + class SubscriptionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_schedule_amend_params.rbi b/rbi/stripe/params/subscription_schedule_amend_params.rbi index ce99d4ff5..7ed9c43ec 100644 --- a/rbi/stripe/params/subscription_schedule_amend_params.rbi +++ b/rbi/stripe/params/subscription_schedule_amend_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class SubscriptionScheduleAmendParams < Stripe::RequestParams - class Amendment < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class SubscriptionScheduleAmendParams < ::Stripe::RequestParams + class Amendment < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -15,7 +15,7 @@ module Stripe sig { params(discount: String).void } def initialize(discount: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -62,8 +62,8 @@ module Stripe } def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil); end end - class AmendmentStart < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array. sig { returns(Integer) } def index; end @@ -72,7 +72,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class DiscountEnd < Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The ID of a specific discount. sig { returns(String) } def discount; end @@ -114,9 +114,9 @@ module Stripe } def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end end - class DiscountAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams + class DiscountAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams # The type of calculation made to determine when the discount ends. sig { returns(String) } def type; end @@ -165,7 +165,7 @@ module Stripe promotion_code: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # The coupon code to remove from the `discounts` array. sig { returns(T.nilable(String)) } def coupon; end @@ -186,7 +186,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, promotion_code: nil); end end - class Set < Stripe::RequestParams + class Set < ::Stripe::RequestParams # The coupon code to replace the `discounts` array with. sig { returns(T.nilable(String)) } def coupon; end @@ -240,11 +240,11 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class ItemAction < Stripe::RequestParams - class Add < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class ItemAction < ::Stripe::RequestParams + class Add < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -311,7 +311,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -381,7 +381,7 @@ module Stripe trial: nil ); end end - class Remove < Stripe::RequestParams + class Remove < ::Stripe::RequestParams # ID of a price to remove. sig { returns(String) } def price; end @@ -390,10 +390,10 @@ module Stripe sig { params(price: String).void } def initialize(price: nil); end end - class Set < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Set < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -460,7 +460,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -561,7 +561,7 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class MetadataAction < Stripe::RequestParams + class MetadataAction < ::Stripe::RequestParams # Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata. sig { returns(T.nilable(T::Hash[String, String])) } def add; end @@ -591,8 +591,8 @@ module Stripe } def initialize(add: nil, remove: nil, set: nil, type: nil); end end - class SetPauseCollection < Stripe::RequestParams - class Set < Stripe::RequestParams + class SetPauseCollection < ::Stripe::RequestParams + class Set < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -620,8 +620,8 @@ module Stripe } def initialize(set: nil, type: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -728,9 +728,9 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams - class BillFrom < Stripe::RequestParams - class AmendmentStart < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams + class BillFrom < ::Stripe::RequestParams + class AmendmentStart < ::Stripe::RequestParams # The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -763,8 +763,8 @@ module Stripe } def initialize(amendment_start: nil, timestamp: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class AmendmentEnd < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class AmendmentEnd < ::Stripe::RequestParams # The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments. sig { returns(Integer) } def index; end @@ -773,7 +773,7 @@ module Stripe sig { params(index: Integer).void } def initialize(index: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -847,7 +847,7 @@ module Stripe } def initialize(bill_from: nil, bill_until: nil, invoice_at: nil, update_behavior: nil); end end - class ScheduleSettings < Stripe::RequestParams + class ScheduleSettings < ::Stripe::RequestParams # Behavior of the subscription schedule and underlying subscription when it ends. sig { returns(T.nilable(String)) } def end_behavior; end diff --git a/rbi/stripe/params/subscription_schedule_cancel_params.rbi b/rbi/stripe/params/subscription_schedule_cancel_params.rbi index 14fd7dffe..7d125b1c1 100644 --- a/rbi/stripe/params/subscription_schedule_cancel_params.rbi +++ b/rbi/stripe/params/subscription_schedule_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionScheduleCancelParams < Stripe::RequestParams + class SubscriptionScheduleCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_schedule_create_params.rbi b/rbi/stripe/params/subscription_schedule_create_params.rbi index cfcce5e41..a89cf05d9 100644 --- a/rbi/stripe/params/subscription_schedule_create_params.rbi +++ b/rbi/stripe/params/subscription_schedule_create_params.rbi @@ -3,9 +3,9 @@ # typed: true module Stripe - class SubscriptionScheduleCreateParams < Stripe::RequestParams - class BillingMode < Stripe::RequestParams - class Flexible < Stripe::RequestParams + class SubscriptionScheduleCreateParams < ::Stripe::RequestParams + class BillingMode < ::Stripe::RequestParams + class Flexible < ::Stripe::RequestParams # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -31,9 +31,9 @@ module Stripe } def initialize(flexible: nil, type: nil); end end - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -66,7 +66,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -84,8 +84,8 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -125,7 +125,7 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -217,11 +217,11 @@ module Stripe transfer_data: nil ); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -288,8 +288,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -303,7 +303,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -336,7 +336,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -435,8 +435,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -467,7 +467,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -485,9 +485,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -552,7 +552,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -566,8 +566,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -605,8 +605,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -615,9 +615,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -684,8 +684,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -743,7 +743,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -835,7 +835,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -844,7 +844,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -858,8 +858,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -1060,7 +1060,7 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end diff --git a/rbi/stripe/params/subscription_schedule_list_params.rbi b/rbi/stripe/params/subscription_schedule_list_params.rbi index 06af5a4c0..c87b427c7 100644 --- a/rbi/stripe/params/subscription_schedule_list_params.rbi +++ b/rbi/stripe/params/subscription_schedule_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class SubscriptionScheduleListParams < Stripe::RequestParams - class CanceledAt < Stripe::RequestParams + class SubscriptionScheduleListParams < ::Stripe::RequestParams + class CanceledAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -30,7 +30,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class CompletedAt < Stripe::RequestParams + class CompletedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -56,7 +56,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -82,7 +82,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class ReleasedAt < Stripe::RequestParams + class ReleasedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/subscription_schedule_release_params.rbi b/rbi/stripe/params/subscription_schedule_release_params.rbi index 004dde1bf..29afe23ca 100644 --- a/rbi/stripe/params/subscription_schedule_release_params.rbi +++ b/rbi/stripe/params/subscription_schedule_release_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionScheduleReleaseParams < Stripe::RequestParams + class SubscriptionScheduleReleaseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_schedule_retrieve_params.rbi b/rbi/stripe/params/subscription_schedule_retrieve_params.rbi index a620eee28..0a9423762 100644 --- a/rbi/stripe/params/subscription_schedule_retrieve_params.rbi +++ b/rbi/stripe/params/subscription_schedule_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionScheduleRetrieveParams < Stripe::RequestParams + class SubscriptionScheduleRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_schedule_update_params.rbi b/rbi/stripe/params/subscription_schedule_update_params.rbi index 15fb6a3a5..5b151f63b 100644 --- a/rbi/stripe/params/subscription_schedule_update_params.rbi +++ b/rbi/stripe/params/subscription_schedule_update_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class SubscriptionScheduleUpdateParams < Stripe::RequestParams - class DefaultSettings < Stripe::RequestParams - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class SubscriptionScheduleUpdateParams < ::Stripe::RequestParams + class DefaultSettings < ::Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -39,7 +39,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -57,8 +57,8 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -98,7 +98,7 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -190,11 +190,11 @@ module Stripe transfer_data: nil ); end end - class Phase < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Phase < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -261,8 +261,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -276,7 +276,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -309,7 +309,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -408,8 +408,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -440,7 +440,7 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -458,9 +458,9 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -525,7 +525,7 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Duration < Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies phase duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -539,8 +539,8 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -578,8 +578,8 @@ module Stripe } def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -588,9 +588,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -657,8 +657,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -716,7 +716,7 @@ module Stripe unit_amount_decimal: nil ); end end - class Trial < Stripe::RequestParams + class Trial < ::Stripe::RequestParams # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -808,7 +808,7 @@ module Stripe trial: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -817,7 +817,7 @@ module Stripe sig { params(behavior: String).void } def initialize(behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -831,8 +831,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -1045,7 +1045,7 @@ module Stripe trial_settings: nil ); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end diff --git a/rbi/stripe/params/subscription_search_params.rbi b/rbi/stripe/params/subscription_search_params.rbi index 891ad5945..4e388d0d8 100644 --- a/rbi/stripe/params/subscription_search_params.rbi +++ b/rbi/stripe/params/subscription_search_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class SubscriptionSearchParams < Stripe::RequestParams + class SubscriptionSearchParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/subscription_update_params.rbi b/rbi/stripe/params/subscription_update_params.rbi index 2ed261e3d..7862f6083 100644 --- a/rbi/stripe/params/subscription_update_params.rbi +++ b/rbi/stripe/params/subscription_update_params.rbi @@ -3,11 +3,11 @@ # typed: true module Stripe - class SubscriptionUpdateParams < Stripe::RequestParams - class AddInvoiceItem < Stripe::RequestParams - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class SubscriptionUpdateParams < ::Stripe::RequestParams + class AddInvoiceItem < ::Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -72,8 +72,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class Period < Stripe::RequestParams - class End < Stripe::RequestParams + class Period < ::Stripe::RequestParams + class End < ::Stripe::RequestParams # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -87,7 +87,7 @@ module Stripe sig { params(timestamp: T.nilable(Integer), type: String).void } def initialize(timestamp: nil, type: nil); end end - class Start < Stripe::RequestParams + class Start < ::Stripe::RequestParams # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -120,7 +120,7 @@ module Stripe } def initialize(end_: nil, start: nil); end end - class PriceData < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -215,8 +215,8 @@ module Stripe tax_rates: nil ); end end - class AutomaticTax < Stripe::RequestParams - class Liability < Stripe::RequestParams + class AutomaticTax < ::Stripe::RequestParams + class Liability < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -247,8 +247,8 @@ module Stripe } def initialize(enabled: nil, liability: nil); end end - class BillingSchedule < Stripe::RequestParams - class AppliesTo < Stripe::RequestParams + class BillingSchedule < ::Stripe::RequestParams + class AppliesTo < ::Stripe::RequestParams # The ID of the price object. sig { returns(T.nilable(String)) } def price; end @@ -262,8 +262,8 @@ module Stripe sig { params(price: T.nilable(String), type: String).void } def initialize(price: nil, type: nil); end end - class BillUntil < Stripe::RequestParams - class Duration < Stripe::RequestParams + class BillUntil < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -323,7 +323,7 @@ module Stripe } def initialize(applies_to: nil, bill_until: nil, key: nil); end end - class BillingThresholds < Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Monetary threshold that triggers the subscription to advance to a new billing period sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -341,7 +341,7 @@ module Stripe } def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil); end end - class CancellationDetails < Stripe::RequestParams + class CancellationDetails < ::Stripe::RequestParams # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end @@ -357,9 +357,9 @@ module Stripe sig { params(comment: T.nilable(String), feedback: T.nilable(T.any(String, String))).void } def initialize(comment: nil, feedback: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -422,8 +422,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class InvoiceSettings < Stripe::RequestParams - class Issuer < Stripe::RequestParams + class InvoiceSettings < ::Stripe::RequestParams + class Issuer < ::Stripe::RequestParams # The connected account being referenced when `type` is `account`. sig { returns(T.nilable(String)) } def account; end @@ -456,8 +456,8 @@ module Stripe } def initialize(account_tax_ids: nil, issuer: nil); end end - class Item < Stripe::RequestParams - class BillingThresholds < Stripe::RequestParams + class Item < ::Stripe::RequestParams + class BillingThresholds < ::Stripe::RequestParams # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte)) sig { returns(Integer) } def usage_gte; end @@ -466,9 +466,9 @@ module Stripe sig { params(usage_gte: Integer).void } def initialize(usage_gte: nil); end end - class Discount < Stripe::RequestParams - class DiscountEnd < Stripe::RequestParams - class Duration < Stripe::RequestParams + class Discount < ::Stripe::RequestParams + class DiscountEnd < ::Stripe::RequestParams + class Duration < ::Stripe::RequestParams # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -533,8 +533,8 @@ module Stripe } def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil); end end - class PriceData < Stripe::RequestParams - class Recurring < Stripe::RequestParams + class PriceData < ::Stripe::RequestParams + class Recurring < ::Stripe::RequestParams # Specifies billing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -674,7 +674,7 @@ module Stripe tax_rates: nil ); end end - class PauseCollection < Stripe::RequestParams + class PauseCollection < ::Stripe::RequestParams # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -688,10 +688,10 @@ module Stripe sig { params(behavior: String, resumes_at: T.nilable(Integer)).void } def initialize(behavior: nil, resumes_at: nil); end end - class PaymentSettings < Stripe::RequestParams - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentSettings < ::Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -719,7 +719,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -728,8 +728,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -774,9 +774,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -823,10 +823,10 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class IdBankTransfer < Stripe::RequestParams; end - class Konbini < Stripe::RequestParams; end - class Pix < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class IdBankTransfer < ::Stripe::RequestParams; end + class Konbini < ::Stripe::RequestParams; end + class Pix < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. If not provided, defaults to 40000. sig { returns(T.nilable(Integer)) } def amount; end @@ -871,9 +871,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class SepaDebit < Stripe::RequestParams; end - class Upi < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class SepaDebit < ::Stripe::RequestParams; end + class Upi < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -913,9 +913,9 @@ module Stripe } def initialize(mandate_options: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1114,7 +1114,7 @@ module Stripe save_default_payment_method: nil ); end end - class PendingInvoiceItemInterval < Stripe::RequestParams + class PendingInvoiceItemInterval < ::Stripe::RequestParams # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -1128,7 +1128,7 @@ module Stripe sig { params(interval: String, interval_count: T.nilable(Integer)).void } def initialize(interval: nil, interval_count: nil); end end - class Prebilling < Stripe::RequestParams + class Prebilling < ::Stripe::RequestParams # This is used to determine the number of billing cycles to prebill. sig { returns(Integer) } def iterations; end @@ -1142,7 +1142,7 @@ module Stripe sig { params(iterations: Integer, update_behavior: T.nilable(String)).void } def initialize(iterations: nil, update_behavior: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end @@ -1156,8 +1156,8 @@ module Stripe sig { params(amount_percent: T.nilable(Float), destination: String).void } def initialize(amount_percent: nil, destination: nil); end end - class TrialSettings < Stripe::RequestParams - class EndBehavior < Stripe::RequestParams + class TrialSettings < ::Stripe::RequestParams + class EndBehavior < ::Stripe::RequestParams # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end diff --git a/rbi/stripe/params/tax/association_find_params.rbi b/rbi/stripe/params/tax/association_find_params.rbi index 070fa87b4..412552eda 100644 --- a/rbi/stripe/params/tax/association_find_params.rbi +++ b/rbi/stripe/params/tax/association_find_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class AssociationFindParams < Stripe::RequestParams + class AssociationFindParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/calculation_create_params.rbi b/rbi/stripe/params/tax/calculation_create_params.rbi index d66aff38f..99c92a848 100644 --- a/rbi/stripe/params/tax/calculation_create_params.rbi +++ b/rbi/stripe/params/tax/calculation_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Tax - class CalculationCreateParams < Stripe::RequestParams - class CustomerDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class CalculationCreateParams < ::Stripe::RequestParams + class CustomerDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -49,7 +49,7 @@ module Stripe state: nil ); end end - class TaxId < Stripe::RequestParams + class TaxId < ::Stripe::RequestParams # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` sig { returns(String) } def type; end @@ -103,7 +103,7 @@ module Stripe taxability_override: nil ); end end - class LineItem < Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). # If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. sig { returns(Integer) } @@ -155,8 +155,8 @@ module Stripe tax_code: nil ); end end - class ShipFromDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class ShipFromDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -209,7 +209,7 @@ module Stripe sig { params(address: Tax::CalculationCreateParams::ShipFromDetails::Address).void } def initialize(address: nil); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/tax/calculation_line_item_list_params.rbi b/rbi/stripe/params/tax/calculation_line_item_list_params.rbi index 84bdb564a..e8451566a 100644 --- a/rbi/stripe/params/tax/calculation_line_item_list_params.rbi +++ b/rbi/stripe/params/tax/calculation_line_item_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class CalculationLineItemListParams < Stripe::RequestParams + class CalculationLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax/calculation_list_line_items_params.rbi b/rbi/stripe/params/tax/calculation_list_line_items_params.rbi index 9fc0024e7..241d44c53 100644 --- a/rbi/stripe/params/tax/calculation_list_line_items_params.rbi +++ b/rbi/stripe/params/tax/calculation_list_line_items_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class CalculationListLineItemsParams < Stripe::RequestParams + class CalculationListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax/calculation_retrieve_params.rbi b/rbi/stripe/params/tax/calculation_retrieve_params.rbi index ef9f17bb8..105616ac4 100644 --- a/rbi/stripe/params/tax/calculation_retrieve_params.rbi +++ b/rbi/stripe/params/tax/calculation_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class CalculationRetrieveParams < Stripe::RequestParams + class CalculationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/form_list_params.rbi b/rbi/stripe/params/tax/form_list_params.rbi index 178d59113..95d96561d 100644 --- a/rbi/stripe/params/tax/form_list_params.rbi +++ b/rbi/stripe/params/tax/form_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Tax - class FormListParams < Stripe::RequestParams - class Payee < Stripe::RequestParams + class FormListParams < ::Stripe::RequestParams + class Payee < ::Stripe::RequestParams # The ID of the Stripe account whose forms will be retrieved. sig { returns(T.nilable(String)) } def account; end diff --git a/rbi/stripe/params/tax/form_pdf_params.rbi b/rbi/stripe/params/tax/form_pdf_params.rbi index fa357f046..867117917 100644 --- a/rbi/stripe/params/tax/form_pdf_params.rbi +++ b/rbi/stripe/params/tax/form_pdf_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class FormPdfParams < Stripe::RequestParams + class FormPdfParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/form_retrieve_params.rbi b/rbi/stripe/params/tax/form_retrieve_params.rbi index 79c8da55e..8f8c85bb4 100644 --- a/rbi/stripe/params/tax/form_retrieve_params.rbi +++ b/rbi/stripe/params/tax/form_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class FormRetrieveParams < Stripe::RequestParams + class FormRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/registration_create_params.rbi b/rbi/stripe/params/tax/registration_create_params.rbi index 92967acba..8cbef25a2 100644 --- a/rbi/stripe/params/tax/registration_create_params.rbi +++ b/rbi/stripe/params/tax/registration_create_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module Tax - class RegistrationCreateParams < Stripe::RequestParams - class CountryOptions < Stripe::RequestParams - class Ae < Stripe::RequestParams - class Standard < Stripe::RequestParams + class RegistrationCreateParams < ::Stripe::RequestParams + class CountryOptions < ::Stripe::RequestParams + class Ae < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -33,8 +33,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Al < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Al < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -60,7 +60,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Am < Stripe::RequestParams + class Am < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -69,8 +69,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ao < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ao < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -96,8 +96,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class At < Stripe::RequestParams - class Standard < Stripe::RequestParams + class At < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -123,8 +123,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Au < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Au < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -150,8 +150,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Aw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Aw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -177,7 +177,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Az < Stripe::RequestParams + class Az < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -186,8 +186,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ba < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ba < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -213,8 +213,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -240,8 +240,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -267,8 +267,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Be < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Be < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -294,8 +294,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bf < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bf < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -321,8 +321,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -348,8 +348,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bh < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bh < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -375,7 +375,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Bj < Stripe::RequestParams + class Bj < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -384,8 +384,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Bs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Bs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -411,7 +411,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class By < Stripe::RequestParams + class By < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -420,8 +420,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ca < Stripe::RequestParams - class ProvinceStandard < Stripe::RequestParams + class Ca < ::Stripe::RequestParams + class ProvinceStandard < ::Stripe::RequestParams # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). sig { returns(String) } def province; end @@ -449,8 +449,8 @@ module Stripe } def initialize(province_standard: nil, type: nil); end end - class Cd < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cd < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -476,8 +476,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ch < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ch < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -503,7 +503,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Cl < Stripe::RequestParams + class Cl < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -512,7 +512,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cm < Stripe::RequestParams + class Cm < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -521,7 +521,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Co < Stripe::RequestParams + class Co < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -530,7 +530,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cr < Stripe::RequestParams + class Cr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -539,7 +539,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cv < Stripe::RequestParams + class Cv < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -548,8 +548,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Cy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -575,8 +575,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Cz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Cz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -602,8 +602,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class De < Stripe::RequestParams - class Standard < Stripe::RequestParams + class De < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -629,8 +629,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Dk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Dk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -656,7 +656,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ec < Stripe::RequestParams + class Ec < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -665,8 +665,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ee < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ee < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -692,7 +692,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Eg < Stripe::RequestParams + class Eg < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -701,8 +701,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Es < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Es < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -728,8 +728,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Et < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Et < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -755,8 +755,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Fi < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fi < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -782,8 +782,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Fr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Fr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -809,8 +809,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Gb < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gb < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -836,7 +836,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ge < Stripe::RequestParams + class Ge < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -845,8 +845,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Gn < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gn < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -872,8 +872,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Gr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Gr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -899,8 +899,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Hr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -926,8 +926,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Hu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Hu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -953,7 +953,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Id < Stripe::RequestParams + class Id < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -962,8 +962,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ie < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ie < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -989,7 +989,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class In < Stripe::RequestParams + class In < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -998,8 +998,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Is < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Is < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1025,8 +1025,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class It < Stripe::RequestParams - class Standard < Stripe::RequestParams + class It < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1052,8 +1052,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Jp < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Jp < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1079,7 +1079,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ke < Stripe::RequestParams + class Ke < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1088,7 +1088,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kg < Stripe::RequestParams + class Kg < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1097,7 +1097,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kh < Stripe::RequestParams + class Kh < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1106,7 +1106,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kr < Stripe::RequestParams + class Kr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1115,7 +1115,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Kz < Stripe::RequestParams + class Kz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1124,7 +1124,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class La < Stripe::RequestParams + class La < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1133,8 +1133,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Lt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1160,8 +1160,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Lu < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lu < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1187,8 +1187,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Lv < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Lv < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1214,7 +1214,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ma < Stripe::RequestParams + class Ma < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1223,7 +1223,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Md < Stripe::RequestParams + class Md < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1232,8 +1232,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Me < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Me < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1259,8 +1259,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1286,8 +1286,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1313,8 +1313,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Mt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1340,7 +1340,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Mx < Stripe::RequestParams + class Mx < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1349,7 +1349,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class My < Stripe::RequestParams + class My < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1358,7 +1358,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ng < Stripe::RequestParams + class Ng < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1367,8 +1367,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Nl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1394,8 +1394,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class No < Stripe::RequestParams - class Standard < Stripe::RequestParams + class No < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1421,7 +1421,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Np < Stripe::RequestParams + class Np < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1430,8 +1430,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Nz < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Nz < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1457,8 +1457,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Om < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Om < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1484,7 +1484,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Pe < Stripe::RequestParams + class Pe < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1493,7 +1493,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ph < Stripe::RequestParams + class Ph < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1502,8 +1502,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Pl < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pl < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1529,8 +1529,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Pt < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Pt < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1556,8 +1556,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ro < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Ro < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1583,8 +1583,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Rs < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Rs < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1610,7 +1610,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Ru < Stripe::RequestParams + class Ru < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1619,7 +1619,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Sa < Stripe::RequestParams + class Sa < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1628,8 +1628,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Se < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Se < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1655,8 +1655,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sg < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sg < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1682,8 +1682,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Si < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Si < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1709,8 +1709,8 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sk < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sk < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1736,7 +1736,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Sn < Stripe::RequestParams + class Sn < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1745,8 +1745,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Sr < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Sr < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1772,7 +1772,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Th < Stripe::RequestParams + class Th < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1781,7 +1781,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tj < Stripe::RequestParams + class Tj < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1790,7 +1790,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tr < Stripe::RequestParams + class Tr < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1799,7 +1799,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Tz < Stripe::RequestParams + class Tz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1808,7 +1808,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ua < Stripe::RequestParams + class Ua < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1817,7 +1817,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Ug < Stripe::RequestParams + class Ug < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1826,8 +1826,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Us < Stripe::RequestParams - class LocalAmusementTax < Stripe::RequestParams + class Us < ::Stripe::RequestParams + class LocalAmusementTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park). sig { returns(String) } def jurisdiction; end @@ -1836,7 +1836,7 @@ module Stripe sig { params(jurisdiction: String).void } def initialize(jurisdiction: nil); end end - class LocalLeaseTax < Stripe::RequestParams + class LocalLeaseTax < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago). sig { returns(String) } def jurisdiction; end @@ -1845,8 +1845,8 @@ module Stripe sig { params(jurisdiction: String).void } def initialize(jurisdiction: nil); end end - class StateSalesTax < Stripe::RequestParams - class Election < Stripe::RequestParams + class StateSalesTax < ::Stripe::RequestParams + class Election < ::Stripe::RequestParams # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City). sig { returns(T.nilable(String)) } def jurisdiction; end @@ -1922,8 +1922,8 @@ module Stripe type: nil ); end end - class Uy < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Uy < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1949,7 +1949,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Uz < Stripe::RequestParams + class Uz < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1958,7 +1958,7 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Vn < Stripe::RequestParams + class Vn < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -1967,8 +1967,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Za < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Za < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end @@ -1994,7 +1994,7 @@ module Stripe } def initialize(standard: nil, type: nil); end end - class Zm < Stripe::RequestParams + class Zm < ::Stripe::RequestParams # Type of registration to be created in `country`. sig { returns(String) } def type; end @@ -2003,8 +2003,8 @@ module Stripe sig { params(type: String).void } def initialize(type: nil); end end - class Zw < Stripe::RequestParams - class Standard < Stripe::RequestParams + class Zw < ::Stripe::RequestParams + class Standard < ::Stripe::RequestParams # Place of supply scheme used in an standard registration. sig { returns(T.nilable(String)) } def place_of_supply_scheme; end diff --git a/rbi/stripe/params/tax/registration_list_params.rbi b/rbi/stripe/params/tax/registration_list_params.rbi index c6fa81e25..219be8b78 100644 --- a/rbi/stripe/params/tax/registration_list_params.rbi +++ b/rbi/stripe/params/tax/registration_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class RegistrationListParams < Stripe::RequestParams + class RegistrationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax/registration_retrieve_params.rbi b/rbi/stripe/params/tax/registration_retrieve_params.rbi index ccd78178a..2fad8bd00 100644 --- a/rbi/stripe/params/tax/registration_retrieve_params.rbi +++ b/rbi/stripe/params/tax/registration_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class RegistrationRetrieveParams < Stripe::RequestParams + class RegistrationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/registration_update_params.rbi b/rbi/stripe/params/tax/registration_update_params.rbi index 2d43e3c03..d7771a1fb 100644 --- a/rbi/stripe/params/tax/registration_update_params.rbi +++ b/rbi/stripe/params/tax/registration_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class RegistrationUpdateParams < Stripe::RequestParams + class RegistrationUpdateParams < ::Stripe::RequestParams # Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch. sig { returns(T.nilable(T.any(String, Integer))) } def active_from; end diff --git a/rbi/stripe/params/tax/settings_retrieve_params.rbi b/rbi/stripe/params/tax/settings_retrieve_params.rbi index b762fe4bf..a2e2a4a19 100644 --- a/rbi/stripe/params/tax/settings_retrieve_params.rbi +++ b/rbi/stripe/params/tax/settings_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class SettingsRetrieveParams < Stripe::RequestParams + class SettingsRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax/settings_update_params.rbi b/rbi/stripe/params/tax/settings_update_params.rbi index e5754c517..5c4a1223e 100644 --- a/rbi/stripe/params/tax/settings_update_params.rbi +++ b/rbi/stripe/params/tax/settings_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Tax - class SettingsUpdateParams < Stripe::RequestParams - class Defaults < Stripe::RequestParams + class SettingsUpdateParams < ::Stripe::RequestParams + class Defaults < ::Stripe::RequestParams # Specifies the default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null. sig { returns(T.nilable(String)) } def tax_behavior; end @@ -19,8 +19,8 @@ module Stripe sig { params(tax_behavior: T.nilable(String), tax_code: T.nilable(String)).void } def initialize(tax_behavior: nil, tax_code: nil); end end - class HeadOffice < Stripe::RequestParams - class Address < Stripe::RequestParams + class HeadOffice < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/tax/transaction_create_from_calculation_params.rbi b/rbi/stripe/params/tax/transaction_create_from_calculation_params.rbi index 8b67923a9..4180b3edb 100644 --- a/rbi/stripe/params/tax/transaction_create_from_calculation_params.rbi +++ b/rbi/stripe/params/tax/transaction_create_from_calculation_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class TransactionCreateFromCalculationParams < Stripe::RequestParams + class TransactionCreateFromCalculationParams < ::Stripe::RequestParams # Tax Calculation ID to be used as input when creating the transaction. sig { returns(String) } def calculation; end diff --git a/rbi/stripe/params/tax/transaction_create_reversal_params.rbi b/rbi/stripe/params/tax/transaction_create_reversal_params.rbi index cff27b75e..43a4ef94c 100644 --- a/rbi/stripe/params/tax/transaction_create_reversal_params.rbi +++ b/rbi/stripe/params/tax/transaction_create_reversal_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Tax - class TransactionCreateReversalParams < Stripe::RequestParams - class LineItem < Stripe::RequestParams + class TransactionCreateReversalParams < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. sig { returns(Integer) } def amount; end @@ -50,7 +50,7 @@ module Stripe reference: nil ); end end - class ShippingCost < Stripe::RequestParams + class ShippingCost < ::Stripe::RequestParams # The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/tax/transaction_line_item_list_params.rbi b/rbi/stripe/params/tax/transaction_line_item_list_params.rbi index 015559677..d72578e93 100644 --- a/rbi/stripe/params/tax/transaction_line_item_list_params.rbi +++ b/rbi/stripe/params/tax/transaction_line_item_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class TransactionLineItemListParams < Stripe::RequestParams + class TransactionLineItemListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax/transaction_list_line_items_params.rbi b/rbi/stripe/params/tax/transaction_list_line_items_params.rbi index c29876c26..74e414a52 100644 --- a/rbi/stripe/params/tax/transaction_list_line_items_params.rbi +++ b/rbi/stripe/params/tax/transaction_list_line_items_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class TransactionListLineItemsParams < Stripe::RequestParams + class TransactionListLineItemsParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax/transaction_retrieve_params.rbi b/rbi/stripe/params/tax/transaction_retrieve_params.rbi index 45873506b..c497a485d 100644 --- a/rbi/stripe/params/tax/transaction_retrieve_params.rbi +++ b/rbi/stripe/params/tax/transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Tax - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax_code_list_params.rbi b/rbi/stripe/params/tax_code_list_params.rbi index 622c5620f..8625d36ef 100644 --- a/rbi/stripe/params/tax_code_list_params.rbi +++ b/rbi/stripe/params/tax_code_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxCodeListParams < Stripe::RequestParams + class TaxCodeListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/tax_code_retrieve_params.rbi b/rbi/stripe/params/tax_code_retrieve_params.rbi index 217a769ce..32fff4e64 100644 --- a/rbi/stripe/params/tax_code_retrieve_params.rbi +++ b/rbi/stripe/params/tax_code_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxCodeRetrieveParams < Stripe::RequestParams + class TaxCodeRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax_id_create_params.rbi b/rbi/stripe/params/tax_id_create_params.rbi index bee742f3a..def62f27a 100644 --- a/rbi/stripe/params/tax_id_create_params.rbi +++ b/rbi/stripe/params/tax_id_create_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class TaxIdCreateParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdCreateParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` sig { returns(T.nilable(String)) } def account; end diff --git a/rbi/stripe/params/tax_id_delete_params.rbi b/rbi/stripe/params/tax_id_delete_params.rbi index 87519dfb2..1124cae0c 100644 --- a/rbi/stripe/params/tax_id_delete_params.rbi +++ b/rbi/stripe/params/tax_id_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class TaxIdDeleteParams < Stripe::RequestParams; end + class TaxIdDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/tax_id_list_params.rbi b/rbi/stripe/params/tax_id_list_params.rbi index a430edf03..35a1255a2 100644 --- a/rbi/stripe/params/tax_id_list_params.rbi +++ b/rbi/stripe/params/tax_id_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class TaxIdListParams < Stripe::RequestParams - class Owner < Stripe::RequestParams + class TaxIdListParams < ::Stripe::RequestParams + class Owner < ::Stripe::RequestParams # Account the tax ID belongs to. Required when `type=account` sig { returns(T.nilable(String)) } def account; end diff --git a/rbi/stripe/params/tax_id_retrieve_params.rbi b/rbi/stripe/params/tax_id_retrieve_params.rbi index 60723c465..33e1d7bb2 100644 --- a/rbi/stripe/params/tax_id_retrieve_params.rbi +++ b/rbi/stripe/params/tax_id_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxIdRetrieveParams < Stripe::RequestParams + class TaxIdRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax_rate_create_params.rbi b/rbi/stripe/params/tax_rate_create_params.rbi index f019dbb41..893d78e52 100644 --- a/rbi/stripe/params/tax_rate_create_params.rbi +++ b/rbi/stripe/params/tax_rate_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxRateCreateParams < Stripe::RequestParams + class TaxRateCreateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/tax_rate_list_params.rbi b/rbi/stripe/params/tax_rate_list_params.rbi index d834b565f..d6adf14a2 100644 --- a/rbi/stripe/params/tax_rate_list_params.rbi +++ b/rbi/stripe/params/tax_rate_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class TaxRateListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TaxRateListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/tax_rate_retrieve_params.rbi b/rbi/stripe/params/tax_rate_retrieve_params.rbi index 512e283b8..d582bb1f8 100644 --- a/rbi/stripe/params/tax_rate_retrieve_params.rbi +++ b/rbi/stripe/params/tax_rate_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxRateRetrieveParams < Stripe::RequestParams + class TaxRateRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/tax_rate_update_params.rbi b/rbi/stripe/params/tax_rate_update_params.rbi index cb2aad594..cb4f93b82 100644 --- a/rbi/stripe/params/tax_rate_update_params.rbi +++ b/rbi/stripe/params/tax_rate_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TaxRateUpdateParams < Stripe::RequestParams + class TaxRateUpdateParams < ::Stripe::RequestParams # Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. sig { returns(T.nilable(T::Boolean)) } def active; end diff --git a/rbi/stripe/params/terminal/configuration_create_params.rbi b/rbi/stripe/params/terminal/configuration_create_params.rbi index bf7ec08d8..21b6d2bac 100644 --- a/rbi/stripe/params/terminal/configuration_create_params.rbi +++ b/rbi/stripe/params/terminal/configuration_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ConfigurationCreateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationCreateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -14,7 +14,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader sig { returns(T.nilable(String)) } def splashscreen; end @@ -23,7 +23,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T::Boolean) } def enabled; end @@ -32,7 +32,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. sig { returns(T.nilable(String)) } def admin_menu_passcode; end @@ -41,7 +41,7 @@ module Stripe sig { params(admin_menu_passcode: T.nilable(String)).void } def initialize(admin_menu_passcode: nil); end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -55,7 +55,7 @@ module Stripe sig { params(end_hour: Integer, start_hour: Integer).void } def initialize(end_hour: nil, start_hour: nil); end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -64,8 +64,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -90,7 +90,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Aud < Stripe::RequestParams + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -115,7 +115,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Bgn < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -140,7 +140,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Cad < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165,7 +165,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Chf < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -190,7 +190,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Czk < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -215,7 +215,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Dkk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -240,7 +240,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Eur < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -265,7 +265,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Gbp < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -290,7 +290,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Hkd < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -315,7 +315,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Huf < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -340,7 +340,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Jpy < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -365,7 +365,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Mxn < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -390,7 +390,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Myr < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -415,7 +415,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nok < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -440,7 +440,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nzd < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -465,7 +465,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Pln < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -490,7 +490,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Ron < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -515,7 +515,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sek < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -540,7 +540,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sgd < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -565,7 +565,32 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Usd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + sig { + params(_fixed_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def fixed_amounts=(_fixed_amounts); end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + sig { + params(_percentages: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def percentages=(_percentages); end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + sig { params(_smart_tip_threshold: T.nilable(Integer)).returns(T.nilable(Integer)) } + def smart_tip_threshold=(_smart_tip_threshold); end + sig { + params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void + } + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end + end + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -653,6 +678,13 @@ module Stripe params(_gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp)).returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp)) } def gbp=(_gbp); end + # Tipping configuration for GIP + sig { returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)) } + def gip; end + sig { + params(_gip: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)).returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip)) + } + def gip=(_gip); end # Tipping configuration for HKD sig { returns(T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd)) } def hkd; end @@ -738,7 +770,7 @@ module Stripe } def usd=(_usd); end sig { - params(aed: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp), hkd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Usd)).void + params(aed: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gbp), gip: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Gip), hkd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationCreateParams::Tipping::Usd)).void } def initialize( aed: nil, @@ -750,6 +782,7 @@ module Stripe dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -764,7 +797,7 @@ module Stripe usd: nil ); end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -773,8 +806,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -800,7 +833,7 @@ module Stripe } def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -837,7 +870,7 @@ module Stripe ssid: nil ); end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network sig { returns(String) } def password; end diff --git a/rbi/stripe/params/terminal/configuration_delete_params.rbi b/rbi/stripe/params/terminal/configuration_delete_params.rbi index 1efb49d0e..0bc7b24a8 100644 --- a/rbi/stripe/params/terminal/configuration_delete_params.rbi +++ b/rbi/stripe/params/terminal/configuration_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module Terminal - class ConfigurationDeleteParams < Stripe::RequestParams; end + class ConfigurationDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/terminal/configuration_list_params.rbi b/rbi/stripe/params/terminal/configuration_list_params.rbi index b958122ae..28e54adbf 100644 --- a/rbi/stripe/params/terminal/configuration_list_params.rbi +++ b/rbi/stripe/params/terminal/configuration_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ConfigurationListParams < Stripe::RequestParams + class ConfigurationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/terminal/configuration_retrieve_params.rbi b/rbi/stripe/params/terminal/configuration_retrieve_params.rbi index 10a9ac71a..179f4d78f 100644 --- a/rbi/stripe/params/terminal/configuration_retrieve_params.rbi +++ b/rbi/stripe/params/terminal/configuration_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ConfigurationRetrieveParams < Stripe::RequestParams + class ConfigurationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/configuration_update_params.rbi b/rbi/stripe/params/terminal/configuration_update_params.rbi index e5655269e..4f74bbdb6 100644 --- a/rbi/stripe/params/terminal/configuration_update_params.rbi +++ b/rbi/stripe/params/terminal/configuration_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ConfigurationUpdateParams < Stripe::RequestParams - class BbposWisepad3 < Stripe::RequestParams + class ConfigurationUpdateParams < ::Stripe::RequestParams + class BbposWisepad3 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -14,7 +14,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class BbposWiseposE < Stripe::RequestParams + class BbposWiseposE < ::Stripe::RequestParams # A File ID representing an image to display on the reader sig { returns(T.nilable(String)) } def splashscreen; end @@ -23,7 +23,7 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Offline < Stripe::RequestParams + class Offline < ::Stripe::RequestParams # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T::Boolean) } def enabled; end @@ -32,7 +32,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class ReaderSecurity < Stripe::RequestParams + class ReaderSecurity < ::Stripe::RequestParams # Passcode used to access a reader's admin menu. sig { returns(T.nilable(String)) } def admin_menu_passcode; end @@ -41,7 +41,7 @@ module Stripe sig { params(admin_menu_passcode: T.nilable(String)).void } def initialize(admin_menu_passcode: nil); end end - class RebootWindow < Stripe::RequestParams + class RebootWindow < ::Stripe::RequestParams # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -55,7 +55,7 @@ module Stripe sig { params(end_hour: Integer, start_hour: Integer).void } def initialize(end_hour: nil, start_hour: nil); end end - class StripeS700 < Stripe::RequestParams + class StripeS700 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -64,8 +64,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Tipping < Stripe::RequestParams - class Aed < Stripe::RequestParams + class Tipping < ::Stripe::RequestParams + class Aed < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -90,7 +90,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Aud < Stripe::RequestParams + class Aud < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -115,7 +115,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Bgn < Stripe::RequestParams + class Bgn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -140,7 +140,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Cad < Stripe::RequestParams + class Cad < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -165,7 +165,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Chf < Stripe::RequestParams + class Chf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -190,7 +190,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Czk < Stripe::RequestParams + class Czk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -215,7 +215,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Dkk < Stripe::RequestParams + class Dkk < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -240,7 +240,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Eur < Stripe::RequestParams + class Eur < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -265,7 +265,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Gbp < Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -290,7 +290,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Hkd < Stripe::RequestParams + class Gip < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -315,7 +315,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Huf < Stripe::RequestParams + class Hkd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -340,7 +340,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Jpy < Stripe::RequestParams + class Huf < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -365,7 +365,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Mxn < Stripe::RequestParams + class Jpy < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -390,7 +390,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Myr < Stripe::RequestParams + class Mxn < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -415,7 +415,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nok < Stripe::RequestParams + class Myr < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -440,7 +440,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Nzd < Stripe::RequestParams + class Nok < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -465,7 +465,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Pln < Stripe::RequestParams + class Nzd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -490,7 +490,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Ron < Stripe::RequestParams + class Pln < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -515,7 +515,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sek < Stripe::RequestParams + class Ron < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -540,7 +540,7 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Sgd < Stripe::RequestParams + class Sek < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -565,7 +565,32 @@ module Stripe } def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end end - class Usd < Stripe::RequestParams + class Sgd < ::Stripe::RequestParams + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + sig { + params(_fixed_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def fixed_amounts=(_fixed_amounts); end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + sig { + params(_percentages: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def percentages=(_percentages); end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + sig { params(_smart_tip_threshold: T.nilable(Integer)).returns(T.nilable(Integer)) } + def smart_tip_threshold=(_smart_tip_threshold); end + sig { + params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void + } + def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end + end + class Usd < ::Stripe::RequestParams # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -653,6 +678,13 @@ module Stripe params(_gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp)).returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp)) } def gbp=(_gbp); end + # Tipping configuration for GIP + sig { returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)) } + def gip; end + sig { + params(_gip: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)).returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip)) + } + def gip=(_gip); end # Tipping configuration for HKD sig { returns(T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd)) } def hkd; end @@ -738,7 +770,7 @@ module Stripe } def usd=(_usd); end sig { - params(aed: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp), hkd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Usd)).void + params(aed: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aed), aud: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Aud), bgn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Bgn), cad: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Cad), chf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Chf), czk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Czk), dkk: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Dkk), eur: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Eur), gbp: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gbp), gip: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Gip), hkd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Hkd), huf: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Huf), jpy: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Jpy), mxn: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Mxn), myr: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Myr), nok: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nok), nzd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Nzd), pln: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Pln), ron: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Ron), sek: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sek), sgd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Sgd), usd: T.nilable(Terminal::ConfigurationUpdateParams::Tipping::Usd)).void } def initialize( aed: nil, @@ -750,6 +782,7 @@ module Stripe dkk: nil, eur: nil, gbp: nil, + gip: nil, hkd: nil, huf: nil, jpy: nil, @@ -764,7 +797,7 @@ module Stripe usd: nil ); end end - class VerifoneP400 < Stripe::RequestParams + class VerifoneP400 < ::Stripe::RequestParams # A File ID representing an image you would like displayed on the reader. sig { returns(T.nilable(String)) } def splashscreen; end @@ -773,8 +806,8 @@ module Stripe sig { params(splashscreen: T.nilable(String)).void } def initialize(splashscreen: nil); end end - class Wifi < Stripe::RequestParams - class EnterpriseEapPeap < Stripe::RequestParams + class Wifi < ::Stripe::RequestParams + class EnterpriseEapPeap < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -800,7 +833,7 @@ module Stripe } def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end end - class EnterpriseEapTls < Stripe::RequestParams + class EnterpriseEapTls < ::Stripe::RequestParams # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -837,7 +870,7 @@ module Stripe ssid: nil ); end end - class PersonalPsk < Stripe::RequestParams + class PersonalPsk < ::Stripe::RequestParams # Password for connecting to the WiFi network sig { returns(String) } def password; end diff --git a/rbi/stripe/params/terminal/connection_token_create_params.rbi b/rbi/stripe/params/terminal/connection_token_create_params.rbi index d919693f8..e0859b3a1 100644 --- a/rbi/stripe/params/terminal/connection_token_create_params.rbi +++ b/rbi/stripe/params/terminal/connection_token_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ConnectionTokenCreateParams < Stripe::RequestParams + class ConnectionTokenCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/location_create_params.rbi b/rbi/stripe/params/terminal/location_create_params.rbi index f35b89c59..0386de82a 100644 --- a/rbi/stripe/params/terminal/location_create_params.rbi +++ b/rbi/stripe/params/terminal/location_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class LocationCreateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationCreateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -48,7 +48,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -97,7 +97,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/terminal/location_delete_params.rbi b/rbi/stripe/params/terminal/location_delete_params.rbi index 2fdde84d2..8c11f4c79 100644 --- a/rbi/stripe/params/terminal/location_delete_params.rbi +++ b/rbi/stripe/params/terminal/location_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module Terminal - class LocationDeleteParams < Stripe::RequestParams; end + class LocationDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/terminal/location_list_params.rbi b/rbi/stripe/params/terminal/location_list_params.rbi index edc85eafd..1d597d623 100644 --- a/rbi/stripe/params/terminal/location_list_params.rbi +++ b/rbi/stripe/params/terminal/location_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class LocationListParams < Stripe::RequestParams + class LocationListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/terminal/location_retrieve_params.rbi b/rbi/stripe/params/terminal/location_retrieve_params.rbi index cbf78b104..482bfda0c 100644 --- a/rbi/stripe/params/terminal/location_retrieve_params.rbi +++ b/rbi/stripe/params/terminal/location_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class LocationRetrieveParams < Stripe::RequestParams + class LocationRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/location_update_params.rbi b/rbi/stripe/params/terminal/location_update_params.rbi index 9e3e66f3f..e8013bc46 100644 --- a/rbi/stripe/params/terminal/location_update_params.rbi +++ b/rbi/stripe/params/terminal/location_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class LocationUpdateParams < Stripe::RequestParams - class Address < Stripe::RequestParams + class LocationUpdateParams < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -48,7 +48,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -97,7 +97,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/terminal/onboarding_link_create_params.rbi b/rbi/stripe/params/terminal/onboarding_link_create_params.rbi index 958786575..b6473b588 100644 --- a/rbi/stripe/params/terminal/onboarding_link_create_params.rbi +++ b/rbi/stripe/params/terminal/onboarding_link_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Terminal - class OnboardingLinkCreateParams < Stripe::RequestParams - class LinkOptions < Stripe::RequestParams - class AppleTermsAndConditions < Stripe::RequestParams + class OnboardingLinkCreateParams < ::Stripe::RequestParams + class LinkOptions < ::Stripe::RequestParams + class AppleTermsAndConditions < ::Stripe::RequestParams # Whether the link should also support users relinking their Apple account. sig { returns(T.nilable(T::Boolean)) } def allow_relinking; end diff --git a/rbi/stripe/params/terminal/reader_cancel_action_params.rbi b/rbi/stripe/params/terminal/reader_cancel_action_params.rbi index a25c24716..d49512c5e 100644 --- a/rbi/stripe/params/terminal/reader_cancel_action_params.rbi +++ b/rbi/stripe/params/terminal/reader_cancel_action_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderCancelActionParams < Stripe::RequestParams + class ReaderCancelActionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_collect_inputs_params.rbi b/rbi/stripe/params/terminal/reader_collect_inputs_params.rbi index 85a188400..2a36caa91 100644 --- a/rbi/stripe/params/terminal/reader_collect_inputs_params.rbi +++ b/rbi/stripe/params/terminal/reader_collect_inputs_params.rbi @@ -4,20 +4,20 @@ # typed: true module Stripe module Terminal - class ReaderCollectInputsParams < Stripe::RequestParams - class Input < Stripe::RequestParams - class CustomText < Stripe::RequestParams + class ReaderCollectInputsParams < ::Stripe::RequestParams + class Input < ::Stripe::RequestParams + class CustomText < ::Stripe::RequestParams # The description which will be displayed when collecting this input sig { returns(T.nilable(String)) } def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end - # The skip button text + # Custom text for the skip button. Maximum 14 characters. sig { returns(T.nilable(String)) } def skip_button; end sig { params(_skip_button: T.nilable(String)).returns(T.nilable(String)) } def skip_button=(_skip_button); end - # The submit button text + # Custom text for the submit button. Maximum 30 characters. sig { returns(T.nilable(String)) } def submit_button; end sig { params(_submit_button: T.nilable(String)).returns(T.nilable(String)) } @@ -32,14 +32,14 @@ module Stripe } def initialize(description: nil, skip_button: nil, submit_button: nil, title: nil); end end - class Selection < Stripe::RequestParams - class Choice < Stripe::RequestParams + class Selection < ::Stripe::RequestParams + class Choice < ::Stripe::RequestParams # The unique identifier for this choice sig { returns(String) } def id; end sig { params(_id: String).returns(String) } def id=(_id); end - # The style of the button which will be shown for this choice + # The style of the button which will be shown for this choice. Can be `primary` or `secondary`. sig { returns(T.nilable(String)) } def style; end sig { params(_style: T.nilable(String)).returns(T.nilable(String)) } @@ -64,18 +64,18 @@ module Stripe } def initialize(choices: nil); end end - class Toggle < Stripe::RequestParams - # The default value of the toggle + class Toggle < ::Stripe::RequestParams + # The default value of the toggle. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def default_value; end sig { params(_default_value: T.nilable(String)).returns(T.nilable(String)) } def default_value=(_default_value); end - # The description which will be displayed for the toggle + # The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. sig { returns(T.nilable(String)) } def description; end sig { params(_description: T.nilable(String)).returns(T.nilable(String)) } def description=(_description); end - # The title which will be displayed for the toggle + # The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided. sig { returns(T.nilable(String)) } def title; end sig { params(_title: T.nilable(String)).returns(T.nilable(String)) } @@ -132,7 +132,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # List of inputs to be collected using the Reader + # List of inputs to be collected from the customer using the Reader. Maximum 5 inputs. sig { returns(T::Array[Terminal::ReaderCollectInputsParams::Input]) } def inputs; end sig { diff --git a/rbi/stripe/params/terminal/reader_collect_payment_method_params.rbi b/rbi/stripe/params/terminal/reader_collect_payment_method_params.rbi index 9c2760bd8..f69f924f5 100644 --- a/rbi/stripe/params/terminal/reader_collect_payment_method_params.rbi +++ b/rbi/stripe/params/terminal/reader_collect_payment_method_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Terminal - class ReaderCollectPaymentMethodParams < Stripe::RequestParams - class CollectConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderCollectPaymentMethodParams < ::Stripe::RequestParams + class CollectConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -51,7 +51,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides. + # Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderCollectPaymentMethodParams::CollectConfig)) } def collect_config; end sig { @@ -63,7 +63,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID. + # The ID of the PaymentIntent to collect a payment method for. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } diff --git a/rbi/stripe/params/terminal/reader_collected_data_retrieve_params.rbi b/rbi/stripe/params/terminal/reader_collected_data_retrieve_params.rbi index 321c480f4..a0bcab134 100644 --- a/rbi/stripe/params/terminal/reader_collected_data_retrieve_params.rbi +++ b/rbi/stripe/params/terminal/reader_collected_data_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderCollectedDataRetrieveParams < Stripe::RequestParams + class ReaderCollectedDataRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_confirm_payment_intent_params.rbi b/rbi/stripe/params/terminal/reader_confirm_payment_intent_params.rbi index 61594d449..f09fac44d 100644 --- a/rbi/stripe/params/terminal/reader_confirm_payment_intent_params.rbi +++ b/rbi/stripe/params/terminal/reader_confirm_payment_intent_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ReaderConfirmPaymentIntentParams < Stripe::RequestParams - class ConfirmConfig < Stripe::RequestParams + class ReaderConfirmPaymentIntentParams < ::Stripe::RequestParams + class ConfirmConfig < ::Stripe::RequestParams # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. sig { returns(T.nilable(String)) } def return_url; end @@ -14,7 +14,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides. + # Configuration overrides for this confirmation, such as surcharge settings and return URL. sig { returns(T.nilable(Terminal::ReaderConfirmPaymentIntentParams::ConfirmConfig)) } def confirm_config; end sig { @@ -26,7 +26,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID. + # The ID of the PaymentIntent to confirm. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } diff --git a/rbi/stripe/params/terminal/reader_create_params.rbi b/rbi/stripe/params/terminal/reader_create_params.rbi index 2658a8d37..8cbc7a8c2 100644 --- a/rbi/stripe/params/terminal/reader_create_params.rbi +++ b/rbi/stripe/params/terminal/reader_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderCreateParams < Stripe::RequestParams + class ReaderCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_delete_params.rbi b/rbi/stripe/params/terminal/reader_delete_params.rbi index 5b2695714..ce0f84b88 100644 --- a/rbi/stripe/params/terminal/reader_delete_params.rbi +++ b/rbi/stripe/params/terminal/reader_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module Terminal - class ReaderDeleteParams < Stripe::RequestParams; end + class ReaderDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/terminal/reader_list_params.rbi b/rbi/stripe/params/terminal/reader_list_params.rbi index e52d40a90..92a02e1bb 100644 --- a/rbi/stripe/params/terminal/reader_list_params.rbi +++ b/rbi/stripe/params/terminal/reader_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderListParams < Stripe::RequestParams + class ReaderListParams < ::Stripe::RequestParams # Filters readers by device type sig { returns(T.nilable(String)) } def device_type; end diff --git a/rbi/stripe/params/terminal/reader_present_payment_method_params.rbi b/rbi/stripe/params/terminal/reader_present_payment_method_params.rbi index 3aa785dd8..072362564 100644 --- a/rbi/stripe/params/terminal/reader_present_payment_method_params.rbi +++ b/rbi/stripe/params/terminal/reader_present_payment_method_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. sig { returns(T.nilable(String)) } def cvc; end @@ -31,7 +31,7 @@ module Stripe } def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. sig { returns(T.nilable(String)) } def number; end @@ -40,8 +40,8 @@ module Stripe sig { params(number: T.nilable(String)).void } def initialize(number: nil); end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. sig { returns(T.nilable(String)) } def number; end sig { params(_number: T.nilable(String)).returns(T.nilable(String)) } diff --git a/rbi/stripe/params/terminal/reader_process_payment_intent_params.rbi b/rbi/stripe/params/terminal/reader_process_payment_intent_params.rbi index 157736121..877de8e92 100644 --- a/rbi/stripe/params/terminal/reader_process_payment_intent_params.rbi +++ b/rbi/stripe/params/terminal/reader_process_payment_intent_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Terminal - class ReaderProcessPaymentIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams - class Tipping < Stripe::RequestParams + class ReaderProcessPaymentIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams + class Tipping < ::Stripe::RequestParams # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -62,12 +62,12 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # PaymentIntent ID + # The ID of the PaymentIntent to process on the reader. sig { returns(String) } def payment_intent; end sig { params(_payment_intent: String).returns(String) } def payment_intent=(_payment_intent); end - # Configuration overrides + # Configuration overrides for this transaction, such as tipping and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderProcessPaymentIntentParams::ProcessConfig)) } def process_config; end sig { diff --git a/rbi/stripe/params/terminal/reader_process_setup_intent_params.rbi b/rbi/stripe/params/terminal/reader_process_setup_intent_params.rbi index 66a8be6de..a52d55db7 100644 --- a/rbi/stripe/params/terminal/reader_process_setup_intent_params.rbi +++ b/rbi/stripe/params/terminal/reader_process_setup_intent_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ReaderProcessSetupIntentParams < Stripe::RequestParams - class ProcessConfig < Stripe::RequestParams + class ReaderProcessSetupIntentParams < ::Stripe::RequestParams + class ProcessConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -26,14 +26,14 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # Configuration overrides + # Configuration overrides for this setup, such as MOTO and customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)) } def process_config; end sig { params(_process_config: T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)).returns(T.nilable(Terminal::ReaderProcessSetupIntentParams::ProcessConfig)) } def process_config=(_process_config); end - # SetupIntent ID + # The ID of the SetupIntent to process on the reader. sig { returns(String) } def setup_intent; end sig { params(_setup_intent: String).returns(String) } diff --git a/rbi/stripe/params/terminal/reader_refund_payment_params.rbi b/rbi/stripe/params/terminal/reader_refund_payment_params.rbi index b75fbf373..0855432d1 100644 --- a/rbi/stripe/params/terminal/reader_refund_payment_params.rbi +++ b/rbi/stripe/params/terminal/reader_refund_payment_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Terminal - class ReaderRefundPaymentParams < Stripe::RequestParams - class RefundPaymentConfig < Stripe::RequestParams + class ReaderRefundPaymentParams < ::Stripe::RequestParams + class RefundPaymentConfig < ::Stripe::RequestParams # Enables cancel button on transaction screens. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -48,7 +48,7 @@ module Stripe def refund_application_fee; end sig { params(_refund_application_fee: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } def refund_application_fee=(_refund_application_fee); end - # Configuration overrides + # Configuration overrides for this refund, such as customer cancellation settings. sig { returns(T.nilable(Terminal::ReaderRefundPaymentParams::RefundPaymentConfig)) } def refund_payment_config; end sig { diff --git a/rbi/stripe/params/terminal/reader_retrieve_params.rbi b/rbi/stripe/params/terminal/reader_retrieve_params.rbi index 2ceace4ab..e5f201e8b 100644 --- a/rbi/stripe/params/terminal/reader_retrieve_params.rbi +++ b/rbi/stripe/params/terminal/reader_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderRetrieveParams < Stripe::RequestParams + class ReaderRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_set_reader_display_params.rbi b/rbi/stripe/params/terminal/reader_set_reader_display_params.rbi index 22e527d7d..b8cb5e2e2 100644 --- a/rbi/stripe/params/terminal/reader_set_reader_display_params.rbi +++ b/rbi/stripe/params/terminal/reader_set_reader_display_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module Terminal - class ReaderSetReaderDisplayParams < Stripe::RequestParams - class Cart < Stripe::RequestParams - class LineItem < Stripe::RequestParams - # The price of the item in cents. + class ReaderSetReaderDisplayParams < ::Stripe::RequestParams + class Cart < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + # The price of the item in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end sig { params(_amount: Integer).returns(Integer) } @@ -30,19 +30,19 @@ module Stripe def currency; end sig { params(_currency: String).returns(String) } def currency=(_currency); end - # Array of line items that were purchased. + # Array of line items to display. sig { returns(T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]) } def line_items; end sig { params(_line_items: T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]).returns(T::Array[Terminal::ReaderSetReaderDisplayParams::Cart::LineItem]) } def line_items=(_line_items); end - # The amount of tax in cents. + # The amount of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(T.nilable(Integer)) } def tax; end sig { params(_tax: T.nilable(Integer)).returns(T.nilable(Integer)) } def tax=(_tax); end - # Total balance of cart due in cents. + # Total balance of cart due in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def total; end sig { params(_total: Integer).returns(Integer) } @@ -52,7 +52,7 @@ module Stripe } def initialize(currency: nil, line_items: nil, tax: nil, total: nil); end end - # Cart + # Cart details to display on the reader screen, including line items, amounts, and currency. sig { returns(T.nilable(Terminal::ReaderSetReaderDisplayParams::Cart)) } def cart; end sig { @@ -64,7 +64,7 @@ module Stripe def expand; end sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def expand=(_expand); end - # Type + # Type of information to display. Only `cart` is currently supported. sig { returns(String) } def type; end sig { params(_type: String).returns(String) } diff --git a/rbi/stripe/params/terminal/reader_succeed_input_collection_params.rbi b/rbi/stripe/params/terminal/reader_succeed_input_collection_params.rbi index 53e8b62f5..666a60fa4 100644 --- a/rbi/stripe/params/terminal/reader_succeed_input_collection_params.rbi +++ b/rbi/stripe/params/terminal/reader_succeed_input_collection_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_timeout_input_collection_params.rbi b/rbi/stripe/params/terminal/reader_timeout_input_collection_params.rbi index ce5da365f..76603a4f1 100644 --- a/rbi/stripe/params/terminal/reader_timeout_input_collection_params.rbi +++ b/rbi/stripe/params/terminal/reader_timeout_input_collection_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/terminal/reader_update_params.rbi b/rbi/stripe/params/terminal/reader_update_params.rbi index 563ca56ca..f3dfe65af 100644 --- a/rbi/stripe/params/terminal/reader_update_params.rbi +++ b/rbi/stripe/params/terminal/reader_update_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Terminal - class ReaderUpdateParams < Stripe::RequestParams + class ReaderUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/confirmation_token_create_params.rbi b/rbi/stripe/params/test_helpers/confirmation_token_create_params.rbi index 8cfb28e9c..af073a725 100644 --- a/rbi/stripe/params/test_helpers/confirmation_token_create_params.rbi +++ b/rbi/stripe/params/test_helpers/confirmation_token_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module TestHelpers - class ConfirmationTokenCreateParams < Stripe::RequestParams - class PaymentMethodData < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams + class ConfirmationTokenCreateParams < ::Stripe::RequestParams + class PaymentMethodData < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams # Customer's bank account number. sig { returns(String) } def account_number; end @@ -27,12 +27,12 @@ module Stripe } def initialize(account_number: nil, institution_number: nil, transit_number: nil); end end - class Affirm < Stripe::RequestParams; end - class AfterpayClearpay < Stripe::RequestParams; end - class Alipay < Stripe::RequestParams; end - class Alma < Stripe::RequestParams; end - class AmazonPay < Stripe::RequestParams; end - class AuBecsDebit < Stripe::RequestParams + class Affirm < ::Stripe::RequestParams; end + class AfterpayClearpay < ::Stripe::RequestParams; end + class Alipay < ::Stripe::RequestParams; end + class Alma < ::Stripe::RequestParams; end + class AmazonPay < ::Stripe::RequestParams; end + class AuBecsDebit < ::Stripe::RequestParams # The account number for the bank account. sig { returns(String) } def account_number; end @@ -46,7 +46,7 @@ module Stripe sig { params(account_number: String, bsb_number: String).void } def initialize(account_number: nil, bsb_number: nil); end end - class BacsDebit < Stripe::RequestParams + class BacsDebit < ::Stripe::RequestParams # Account number of the bank account that the funds will be debited from. sig { returns(T.nilable(String)) } def account_number; end @@ -60,10 +60,10 @@ module Stripe sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void } def initialize(account_number: nil, sort_code: nil); end end - class Bancontact < Stripe::RequestParams; end - class Billie < Stripe::RequestParams; end - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams; end + class Billie < ::Stripe::RequestParams; end + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -140,8 +140,8 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end end - class Blik < Stripe::RequestParams; end - class Boleto < Stripe::RequestParams + class Blik < ::Stripe::RequestParams; end + class Boleto < ::Stripe::RequestParams # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -150,10 +150,10 @@ module Stripe sig { params(tax_id: String).void } def initialize(tax_id: nil); end end - class Cashapp < Stripe::RequestParams; end - class Crypto < Stripe::RequestParams; end - class CustomerBalance < Stripe::RequestParams; end - class Eps < Stripe::RequestParams + class Cashapp < ::Stripe::RequestParams; end + class Crypto < ::Stripe::RequestParams; end + class CustomerBalance < ::Stripe::RequestParams; end + class Eps < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -162,7 +162,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Fpx < Stripe::RequestParams + class Fpx < ::Stripe::RequestParams # Account holder type for FPX transaction sig { returns(T.nilable(String)) } def account_holder_type; end @@ -176,10 +176,10 @@ module Stripe sig { params(account_holder_type: T.nilable(String), bank: String).void } def initialize(account_holder_type: nil, bank: nil); end end - class Giropay < Stripe::RequestParams; end - class Gopay < Stripe::RequestParams; end - class Grabpay < Stripe::RequestParams; end - class IdBankTransfer < Stripe::RequestParams + class Giropay < ::Stripe::RequestParams; end + class Gopay < ::Stripe::RequestParams; end + class Grabpay < ::Stripe::RequestParams; end + class IdBankTransfer < ::Stripe::RequestParams # Bank where the account is held. sig { returns(T.nilable(String)) } def bank; end @@ -188,7 +188,7 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class Ideal < Stripe::RequestParams + class Ideal < ::Stripe::RequestParams # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. sig { returns(T.nilable(String)) } def bank; end @@ -197,10 +197,10 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class InteracPresent < Stripe::RequestParams; end - class KakaoPay < Stripe::RequestParams; end - class Klarna < Stripe::RequestParams - class Dob < Stripe::RequestParams + class InteracPresent < ::Stripe::RequestParams; end + class KakaoPay < ::Stripe::RequestParams; end + class Klarna < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -233,13 +233,13 @@ module Stripe } def initialize(dob: nil); end end - class Konbini < Stripe::RequestParams; end - class KrCard < Stripe::RequestParams; end - class Link < Stripe::RequestParams; end - class MbWay < Stripe::RequestParams; end - class Mobilepay < Stripe::RequestParams; end - class Multibanco < Stripe::RequestParams; end - class NaverPay < Stripe::RequestParams + class Konbini < ::Stripe::RequestParams; end + class KrCard < ::Stripe::RequestParams; end + class Link < ::Stripe::RequestParams; end + class MbWay < ::Stripe::RequestParams; end + class Mobilepay < ::Stripe::RequestParams; end + class Multibanco < ::Stripe::RequestParams; end + class NaverPay < ::Stripe::RequestParams # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. sig { returns(T.nilable(String)) } def funding; end @@ -248,7 +248,7 @@ module Stripe sig { params(funding: T.nilable(String)).void } def initialize(funding: nil); end end - class NzBankAccount < Stripe::RequestParams + class NzBankAccount < ::Stripe::RequestParams # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -291,8 +291,8 @@ module Stripe suffix: nil ); end end - class Oxxo < Stripe::RequestParams; end - class P24 < Stripe::RequestParams + class Oxxo < ::Stripe::RequestParams; end + class P24 < ::Stripe::RequestParams # The customer's bank. sig { returns(T.nilable(String)) } def bank; end @@ -301,12 +301,12 @@ module Stripe sig { params(bank: T.nilable(String)).void } def initialize(bank: nil); end end - class PayByBank < Stripe::RequestParams; end - class Payco < Stripe::RequestParams; end - class Paynow < Stripe::RequestParams; end - class Paypal < Stripe::RequestParams; end - class Paypay < Stripe::RequestParams; end - class Payto < Stripe::RequestParams + class PayByBank < ::Stripe::RequestParams; end + class Payco < ::Stripe::RequestParams; end + class Paynow < ::Stripe::RequestParams; end + class Paypal < ::Stripe::RequestParams; end + class Paypay < ::Stripe::RequestParams; end + class Payto < ::Stripe::RequestParams # The account number for the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -327,10 +327,10 @@ module Stripe } def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end end - class Pix < Stripe::RequestParams; end - class Promptpay < Stripe::RequestParams; end - class Qris < Stripe::RequestParams; end - class RadarOptions < Stripe::RequestParams + class Pix < ::Stripe::RequestParams; end + class Promptpay < ::Stripe::RequestParams; end + class Qris < ::Stripe::RequestParams; end + class RadarOptions < ::Stripe::RequestParams # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -339,8 +339,8 @@ module Stripe sig { params(session: T.nilable(String)).void } def initialize(session: nil); end end - class Rechnung < Stripe::RequestParams - class Dob < Stripe::RequestParams + class Rechnung < ::Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -373,10 +373,10 @@ module Stripe } def initialize(dob: nil); end end - class RevolutPay < Stripe::RequestParams; end - class SamsungPay < Stripe::RequestParams; end - class Satispay < Stripe::RequestParams; end - class SepaDebit < Stripe::RequestParams + class RevolutPay < ::Stripe::RequestParams; end + class SamsungPay < ::Stripe::RequestParams; end + class Satispay < ::Stripe::RequestParams; end + class SepaDebit < ::Stripe::RequestParams # IBAN of the bank account. sig { returns(String) } def iban; end @@ -385,8 +385,8 @@ module Stripe sig { params(iban: String).void } def initialize(iban: nil); end end - class Shopeepay < Stripe::RequestParams; end - class Sofort < Stripe::RequestParams + class Shopeepay < ::Stripe::RequestParams; end + class Sofort < ::Stripe::RequestParams # Two-letter ISO code representing the country the bank account is located in. sig { returns(String) } def country; end @@ -395,7 +395,7 @@ module Stripe sig { params(country: String).void } def initialize(country: nil); end end - class StripeBalance < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -409,9 +409,9 @@ module Stripe sig { params(account: T.nilable(String), source_type: T.nilable(String)).void } def initialize(account: nil, source_type: nil); end end - class Swish < Stripe::RequestParams; end - class Twint < Stripe::RequestParams; end - class UsBankAccount < Stripe::RequestParams + class Swish < ::Stripe::RequestParams; end + class Twint < ::Stripe::RequestParams; end + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -450,8 +450,8 @@ module Stripe routing_number: nil ); end end - class WechatPay < Stripe::RequestParams; end - class Zip < Stripe::RequestParams; end + class WechatPay < ::Stripe::RequestParams; end + class Zip < ::Stripe::RequestParams; end # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. sig { returns(T.nilable(TestHelpers::ConfirmationTokenCreateParams::PaymentMethodData::AcssDebit)) @@ -1068,10 +1068,10 @@ module Stripe zip: nil ); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams - class Installments < Stripe::RequestParams - class Plan < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Installments < ::Stripe::RequestParams + class Plan < ::Stripe::RequestParams # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -1136,8 +1136,8 @@ module Stripe } def initialize(card: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/params/test_helpers/customer_fund_cash_balance_params.rbi b/rbi/stripe/params/test_helpers/customer_fund_cash_balance_params.rbi index fbcc5efe4..713df3fb0 100644 --- a/rbi/stripe/params/test_helpers/customer_fund_cash_balance_params.rbi +++ b/rbi/stripe/params/test_helpers/customer_fund_cash_balance_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class CustomerFundCashBalanceParams < Stripe::RequestParams + class CustomerFundCashBalanceParams < ::Stripe::RequestParams # Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_capture_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_capture_params.rbi index aa934e9fe..f48eb2cea 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_capture_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_capture_params.rbi @@ -5,10 +5,10 @@ module Stripe module TestHelpers module Issuing - class AuthorizationCaptureParams < Stripe::RequestParams - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationCaptureParams < ::Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -45,8 +45,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -55,7 +55,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -64,7 +64,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -152,8 +152,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -238,7 +238,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -275,7 +275,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -289,7 +289,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_create_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_create_params.rbi index 852ec77e8..a2d2206d7 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_create_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Issuing - class AuthorizationCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams + class AuthorizationCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams # The ATM withdrawal fee. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -20,8 +20,8 @@ module Stripe sig { params(atm_fee: T.nilable(Integer), cashback_amount: T.nilable(Integer)).void } def initialize(atm_fee: nil, cashback_amount: nil); end end - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -58,8 +58,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -68,7 +68,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -77,7 +77,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -163,7 +163,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -200,7 +200,7 @@ module Stripe unit_cost_decimal: nil ); end end - class MerchantData < Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -261,7 +261,7 @@ module Stripe url: nil ); end end - class NetworkData < Stripe::RequestParams + class NetworkData < ::Stripe::RequestParams # Identifier assigned to the acquirer by the card network. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -270,8 +270,8 @@ module Stripe sig { params(acquiring_institution_id: T.nilable(String)).void } def initialize(acquiring_institution_id: nil); end end - class RiskAssessment < Stripe::RequestParams - class CardTestingRisk < Stripe::RequestParams + class RiskAssessment < ::Stripe::RequestParams + class CardTestingRisk < ::Stripe::RequestParams # The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def invalid_account_number_decline_rate_past_hour; end @@ -304,7 +304,7 @@ module Stripe risk_level: nil ); end end - class MerchantDisputeRisk < Stripe::RequestParams + class MerchantDisputeRisk < ::Stripe::RequestParams # The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100. sig { returns(T.nilable(Integer)) } def dispute_rate; end @@ -341,8 +341,8 @@ module Stripe } def initialize(card_testing_risk: nil, merchant_dispute_risk: nil); end end - class VerificationData < Stripe::RequestParams - class AuthenticationExemption < Stripe::RequestParams + class VerificationData < ::Stripe::RequestParams + class AuthenticationExemption < ::Stripe::RequestParams # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -356,7 +356,7 @@ module Stripe sig { params(claimed_by: String, type: String).void } def initialize(claimed_by: nil, type: nil); end end - class ThreeDSecure < Stripe::RequestParams + class ThreeDSecure < ::Stripe::RequestParams # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_expire_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_expire_params.rbi index 32574c8fc..f3190ad38 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_expire_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_expire_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationExpireParams < Stripe::RequestParams + class AuthorizationExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rbi index 66736e3ee..f00767d5e 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rbi @@ -5,9 +5,9 @@ module Stripe module TestHelpers module Issuing - class AuthorizationFinalizeAmountParams < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class AuthorizationFinalizeAmountParams < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -44,8 +44,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -54,7 +54,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -63,7 +63,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -149,7 +149,7 @@ module Stripe service_type: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_increment_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_increment_params.rbi index 564f49a0f..703ff1e90 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_increment_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_increment_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationIncrementParams < Stripe::RequestParams + class AuthorizationIncrementParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_respond_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_respond_params.rbi index 47f39041e..f404ccdc4 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_respond_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_respond_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationRespondParams < Stripe::RequestParams + class AuthorizationRespondParams < ::Stripe::RequestParams # Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false). sig { returns(T::Boolean) } def confirmed; end diff --git a/rbi/stripe/params/test_helpers/issuing/authorization_reverse_params.rbi b/rbi/stripe/params/test_helpers/issuing/authorization_reverse_params.rbi index 0f0ce904e..f141ce0e7 100644 --- a/rbi/stripe/params/test_helpers/issuing/authorization_reverse_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/authorization_reverse_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class AuthorizationReverseParams < Stripe::RequestParams + class AuthorizationReverseParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/card_deliver_card_params.rbi b/rbi/stripe/params/test_helpers/issuing/card_deliver_card_params.rbi index 384b66f3c..865d76a75 100644 --- a/rbi/stripe/params/test_helpers/issuing/card_deliver_card_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/card_deliver_card_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class CardDeliverCardParams < Stripe::RequestParams + class CardDeliverCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/card_fail_card_params.rbi b/rbi/stripe/params/test_helpers/issuing/card_fail_card_params.rbi index 18559a0a4..a77e2ac18 100644 --- a/rbi/stripe/params/test_helpers/issuing/card_fail_card_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/card_fail_card_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class CardFailCardParams < Stripe::RequestParams + class CardFailCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/card_return_card_params.rbi b/rbi/stripe/params/test_helpers/issuing/card_return_card_params.rbi index 439267980..d1d898d23 100644 --- a/rbi/stripe/params/test_helpers/issuing/card_return_card_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/card_return_card_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class CardReturnCardParams < Stripe::RequestParams + class CardReturnCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/card_ship_card_params.rbi b/rbi/stripe/params/test_helpers/issuing/card_ship_card_params.rbi index 17238f86b..dfe55fc41 100644 --- a/rbi/stripe/params/test_helpers/issuing/card_ship_card_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/card_ship_card_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class CardShipCardParams < Stripe::RequestParams + class CardShipCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/card_submit_card_params.rbi b/rbi/stripe/params/test_helpers/issuing/card_submit_card_params.rbi index 26e154649..ab0a97f07 100644 --- a/rbi/stripe/params/test_helpers/issuing/card_submit_card_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/card_submit_card_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class CardSubmitCardParams < Stripe::RequestParams + class CardSubmitCardParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/personalization_design_activate_params.rbi b/rbi/stripe/params/test_helpers/issuing/personalization_design_activate_params.rbi index 56c7e9160..e6bc21450 100644 --- a/rbi/stripe/params/test_helpers/issuing/personalization_design_activate_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/personalization_design_activate_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignActivateParams < Stripe::RequestParams + class PersonalizationDesignActivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rbi b/rbi/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rbi index 9798f7f7c..042af4407 100644 --- a/rbi/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignDeactivateParams < Stripe::RequestParams + class PersonalizationDesignDeactivateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/issuing/personalization_design_reject_params.rbi b/rbi/stripe/params/test_helpers/issuing/personalization_design_reject_params.rbi index 4402fb36d..e6bf5b226 100644 --- a/rbi/stripe/params/test_helpers/issuing/personalization_design_reject_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/personalization_design_reject_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Issuing - class PersonalizationDesignRejectParams < Stripe::RequestParams - class RejectionReasons < Stripe::RequestParams + class PersonalizationDesignRejectParams < ::Stripe::RequestParams + class RejectionReasons < ::Stripe::RequestParams # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end diff --git a/rbi/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rbi b/rbi/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rbi index 8ec478fd3..49bfc06a5 100644 --- a/rbi/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Issuing - class TransactionCreateForceCaptureParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateForceCaptureParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -67,9 +67,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -106,8 +106,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -116,7 +116,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -125,7 +125,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -213,8 +213,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -299,7 +299,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -336,7 +336,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -350,7 +350,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rbi b/rbi/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rbi index 41dc84803..dccb219cc 100644 --- a/rbi/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Issuing - class TransactionCreateUnlinkedRefundParams < Stripe::RequestParams - class MerchantData < Stripe::RequestParams + class TransactionCreateUnlinkedRefundParams < ::Stripe::RequestParams + class MerchantData < ::Stripe::RequestParams # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(T.nilable(String)) } def category; end @@ -67,9 +67,9 @@ module Stripe url: nil ); end end - class PurchaseDetails < Stripe::RequestParams - class Fleet < Stripe::RequestParams - class CardholderPromptData < Stripe::RequestParams + class PurchaseDetails < ::Stripe::RequestParams + class Fleet < ::Stripe::RequestParams + class CardholderPromptData < ::Stripe::RequestParams # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -106,8 +106,8 @@ module Stripe vehicle_number: nil ); end end - class ReportedBreakdown < Stripe::RequestParams - class Fuel < Stripe::RequestParams + class ReportedBreakdown < ::Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -116,7 +116,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class NonFuel < Stripe::RequestParams + class NonFuel < ::Stripe::RequestParams # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -125,7 +125,7 @@ module Stripe sig { params(gross_amount_decimal: T.nilable(String)).void } def initialize(gross_amount_decimal: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -213,8 +213,8 @@ module Stripe service_type: nil ); end end - class Flight < Stripe::RequestParams - class Segment < Stripe::RequestParams + class Flight < ::Stripe::RequestParams + class Segment < ::Stripe::RequestParams # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -299,7 +299,7 @@ module Stripe travel_agency: nil ); end end - class Fuel < Stripe::RequestParams + class Fuel < ::Stripe::RequestParams # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -336,7 +336,7 @@ module Stripe unit_cost_decimal: nil ); end end - class Lodging < Stripe::RequestParams + class Lodging < ::Stripe::RequestParams # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -350,7 +350,7 @@ module Stripe sig { params(check_in_at: T.nilable(Integer), nights: T.nilable(Integer)).void } def initialize(check_in_at: nil, nights: nil); end end - class Receipt < Stripe::RequestParams + class Receipt < ::Stripe::RequestParams # Attribute for param field description sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/test_helpers/issuing/transaction_refund_params.rbi b/rbi/stripe/params/test_helpers/issuing/transaction_refund_params.rbi index 80104628d..4127db4cc 100644 --- a/rbi/stripe/params/test_helpers/issuing/transaction_refund_params.rbi +++ b/rbi/stripe/params/test_helpers/issuing/transaction_refund_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Issuing - class TransactionRefundParams < Stripe::RequestParams + class TransactionRefundParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/refund_expire_params.rbi b/rbi/stripe/params/test_helpers/refund_expire_params.rbi index 4d34f4a9c..af2a14602 100644 --- a/rbi/stripe/params/test_helpers/refund_expire_params.rbi +++ b/rbi/stripe/params/test_helpers/refund_expire_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class RefundExpireParams < Stripe::RequestParams + class RefundExpireParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rbi b/rbi/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rbi index 810624c33..5afb7572e 100644 --- a/rbi/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rbi +++ b/rbi/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Terminal - class ReaderPresentPaymentMethodParams < Stripe::RequestParams - class Card < Stripe::RequestParams + class ReaderPresentPaymentMethodParams < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # Card security code. sig { returns(T.nilable(String)) } def cvc; end @@ -32,7 +32,7 @@ module Stripe } def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end end - class CardPresent < Stripe::RequestParams + class CardPresent < ::Stripe::RequestParams # The card number, as a string without any separators. sig { returns(T.nilable(String)) } def number; end @@ -41,8 +41,8 @@ module Stripe sig { params(number: T.nilable(String)).void } def initialize(number: nil); end end - class InteracPresent < Stripe::RequestParams - # Card Number + class InteracPresent < ::Stripe::RequestParams + # The Interac card number. sig { returns(T.nilable(String)) } def number; end sig { params(_number: T.nilable(String)).returns(T.nilable(String)) } diff --git a/rbi/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rbi b/rbi/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rbi index 178536050..c4dff2f04 100644 --- a/rbi/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rbi +++ b/rbi/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Terminal - class ReaderSucceedInputCollectionParams < Stripe::RequestParams + class ReaderSucceedInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rbi b/rbi/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rbi index a7fc00a00..4976310f3 100644 --- a/rbi/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rbi +++ b/rbi/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Terminal - class ReaderTimeoutInputCollectionParams < Stripe::RequestParams + class ReaderTimeoutInputCollectionParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/test_clock_advance_params.rbi b/rbi/stripe/params/test_helpers/test_clock_advance_params.rbi index 8cfb25ac5..714887fab 100644 --- a/rbi/stripe/params/test_helpers/test_clock_advance_params.rbi +++ b/rbi/stripe/params/test_helpers/test_clock_advance_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class TestClockAdvanceParams < Stripe::RequestParams + class TestClockAdvanceParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/test_clock_create_params.rbi b/rbi/stripe/params/test_helpers/test_clock_create_params.rbi index 0d8d863bb..0f5d155f6 100644 --- a/rbi/stripe/params/test_helpers/test_clock_create_params.rbi +++ b/rbi/stripe/params/test_helpers/test_clock_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class TestClockCreateParams < Stripe::RequestParams + class TestClockCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/test_clock_delete_params.rbi b/rbi/stripe/params/test_helpers/test_clock_delete_params.rbi index 4e3403c55..d6f4df8fc 100644 --- a/rbi/stripe/params/test_helpers/test_clock_delete_params.rbi +++ b/rbi/stripe/params/test_helpers/test_clock_delete_params.rbi @@ -4,6 +4,6 @@ # typed: true module Stripe module TestHelpers - class TestClockDeleteParams < Stripe::RequestParams; end + class TestClockDeleteParams < ::Stripe::RequestParams; end end end \ No newline at end of file diff --git a/rbi/stripe/params/test_helpers/test_clock_list_params.rbi b/rbi/stripe/params/test_helpers/test_clock_list_params.rbi index 5424fc43c..651053a32 100644 --- a/rbi/stripe/params/test_helpers/test_clock_list_params.rbi +++ b/rbi/stripe/params/test_helpers/test_clock_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class TestClockListParams < Stripe::RequestParams + class TestClockListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/test_helpers/test_clock_retrieve_params.rbi b/rbi/stripe/params/test_helpers/test_clock_retrieve_params.rbi index da01d4279..b93edb7f3 100644 --- a/rbi/stripe/params/test_helpers/test_clock_retrieve_params.rbi +++ b/rbi/stripe/params/test_helpers/test_clock_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module TestHelpers - class TestClockRetrieveParams < Stripe::RequestParams + class TestClockRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rbi b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rbi index 3e5cba4d3..a18da2d7a 100644 --- a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rbi b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rbi index fb2332879..81e07e650 100644 --- a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rbi b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rbi index 0bd5470ea..3c8ea94a1 100644 --- a/rbi/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rbi index d9869952a..e7f2dd3dc 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_payment_post_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_payment_post_params.rbi index 6a762e13d..148de828e 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_payment_post_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_payment_post_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rbi index f9bba1871..6e8e85d89 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_payment_update_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_payment_update_params.rbi index fce73d18f..f264bd8f3 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_payment_update_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_payment_update_params.rbi @@ -5,9 +5,9 @@ module Stripe module TestHelpers module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -16,7 +16,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rbi index d21395452..d5814ab48 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rbi index 2abb6ab4f..c342fdd7c 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rbi @@ -5,7 +5,7 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rbi index fc581c7f9..ac66d9158 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rbi @@ -5,8 +5,8 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rbi b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rbi index 5d6b10a9e..7998dfb5c 100644 --- a/rbi/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rbi @@ -5,9 +5,9 @@ module Stripe module TestHelpers module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -16,7 +16,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end diff --git a/rbi/stripe/params/test_helpers/treasury/received_credit_create_params.rbi b/rbi/stripe/params/test_helpers/treasury/received_credit_create_params.rbi index b29e499ee..6ae193daf 100644 --- a/rbi/stripe/params/test_helpers/treasury/received_credit_create_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/received_credit_create_params.rbi @@ -5,9 +5,9 @@ module Stripe module TestHelpers module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -47,8 +47,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end diff --git a/rbi/stripe/params/test_helpers/treasury/received_debit_create_params.rbi b/rbi/stripe/params/test_helpers/treasury/received_debit_create_params.rbi index 669951875..2d1478c06 100644 --- a/rbi/stripe/params/test_helpers/treasury/received_debit_create_params.rbi +++ b/rbi/stripe/params/test_helpers/treasury/received_debit_create_params.rbi @@ -5,9 +5,9 @@ module Stripe module TestHelpers module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -47,8 +47,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. sig { returns(T.nilable(String)) } def addenda; end diff --git a/rbi/stripe/params/token_create_params.rbi b/rbi/stripe/params/token_create_params.rbi index 2ed80f243..a1c8b05af 100644 --- a/rbi/stripe/params/token_create_params.rbi +++ b/rbi/stripe/params/token_create_params.rbi @@ -3,10 +3,10 @@ # typed: true module Stripe - class TokenCreateParams < Stripe::RequestParams - class Account < Stripe::RequestParams - class Company < Stripe::RequestParams - class Address < Stripe::RequestParams + class TokenCreateParams < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams + class Company < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -49,7 +49,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -98,7 +98,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -147,7 +147,7 @@ module Stripe town: nil ); end end - class DirectorshipDeclaration < Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -168,7 +168,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -189,7 +189,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class RegistrationDate < Stripe::RequestParams + class RegistrationDate < ::Stripe::RequestParams # The day of registration, between 1 and 31. sig { returns(Integer) } def day; end @@ -208,8 +208,29 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Verification < Stripe::RequestParams - class Document < Stripe::RequestParams + class RepresentativeDeclaration < ::Stripe::RequestParams + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + sig { params(_date: T.nilable(Integer)).returns(T.nilable(Integer)) } + def date=(_date); end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end + class Verification < ::Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -343,6 +364,13 @@ module Stripe def registration_number; end sig { params(_registration_number: T.nilable(String)).returns(T.nilable(String)) } def registration_number=(_registration_number); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)) } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)).returns(T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. sig { returns(T.nilable(T.any(String, String))) } def structure; end @@ -373,7 +401,7 @@ module Stripe } def verification=(_verification); end sig { - params(address: T.nilable(TokenCreateParams::Account::Company::Address), address_kana: T.nilable(TokenCreateParams::Account::Company::AddressKana), address_kanji: T.nilable(TokenCreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(TokenCreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(TokenCreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, TokenCreateParams::Account::Company::RegistrationDate)), registration_number: T.nilable(String), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(TokenCreateParams::Account::Company::Verification)).void + params(address: T.nilable(TokenCreateParams::Account::Company::Address), address_kana: T.nilable(TokenCreateParams::Account::Company::AddressKana), address_kanji: T.nilable(TokenCreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(TokenCreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(TokenCreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.any(String, String)), phone: T.nilable(String), registration_date: T.nilable(T.any(String, TokenCreateParams::Account::Company::RegistrationDate)), registration_number: T.nilable(String), representative_declaration: T.nilable(TokenCreateParams::Account::Company::RepresentativeDeclaration), structure: T.nilable(T.any(String, String)), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(TokenCreateParams::Account::Company::Verification)).void } def initialize( address: nil, @@ -394,6 +422,7 @@ module Stripe phone: nil, registration_date: nil, registration_number: nil, + representative_declaration: nil, structure: nil, tax_id: nil, tax_id_registrar: nil, @@ -401,8 +430,8 @@ module Stripe verification: nil ); end end - class Individual < Stripe::RequestParams - class Address < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -445,7 +474,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -494,7 +523,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -543,7 +572,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -562,7 +591,7 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -605,7 +634,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -644,8 +673,8 @@ module Stripe title: nil ); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -659,7 +688,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -890,7 +919,7 @@ module Stripe tos_shown_and_accepted: nil ); end end - class BankAccount < Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -945,8 +974,8 @@ module Stripe routing_number: nil ); end end - class Card < Stripe::RequestParams - class Networks < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class Networks < ::Stripe::RequestParams # The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card. sig { returns(T.nilable(String)) } def preferred; end @@ -1041,7 +1070,7 @@ module Stripe number: nil ); end end - class CvcUpdate < Stripe::RequestParams + class CvcUpdate < ::Stripe::RequestParams # The CVC value, in string form. sig { returns(String) } def cvc; end @@ -1050,9 +1079,9 @@ module Stripe sig { params(cvc: String).void } def initialize(cvc: nil); end end - class Person < Stripe::RequestParams - class AdditionalTosAcceptances < Stripe::RequestParams - class Account < Stripe::RequestParams + class Person < ::Stripe::RequestParams + class AdditionalTosAcceptances < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -1085,7 +1114,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1128,7 +1157,7 @@ module Stripe state: nil ); end end - class AddressKana < Stripe::RequestParams + class AddressKana < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1177,7 +1206,7 @@ module Stripe town: nil ); end end - class AddressKanji < Stripe::RequestParams + class AddressKanji < ::Stripe::RequestParams # City or ward. sig { returns(T.nilable(String)) } def city; end @@ -1226,7 +1255,7 @@ module Stripe town: nil ); end end - class Dob < Stripe::RequestParams + class Dob < ::Stripe::RequestParams # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1245,8 +1274,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -1255,7 +1284,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -1264,7 +1293,7 @@ module Stripe sig { params(files: T.nilable(T::Array[String])).void } def initialize(files: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. sig { returns(T.nilable(T::Array[String])) } def files; end @@ -1299,7 +1328,7 @@ module Stripe } def initialize(company_authorization: nil, passport: nil, visa: nil); end end - class RegisteredAddress < Stripe::RequestParams + class RegisteredAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1342,7 +1371,7 @@ module Stripe state: nil ); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -1399,8 +1428,8 @@ module Stripe title: nil ); end end - class UsCfpbData < Stripe::RequestParams - class EthnicityDetails < Stripe::RequestParams + class UsCfpbData < ::Stripe::RequestParams + class EthnicityDetails < ::Stripe::RequestParams # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -1418,7 +1447,7 @@ module Stripe } def initialize(ethnicity: nil, ethnicity_other: nil); end end - class RaceDetails < Stripe::RequestParams + class RaceDetails < ::Stripe::RequestParams # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -1456,8 +1485,8 @@ module Stripe } def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end end - class Verification < Stripe::RequestParams - class AdditionalDocument < Stripe::RequestParams + class Verification < ::Stripe::RequestParams + class AdditionalDocument < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -1471,7 +1500,7 @@ module Stripe sig { params(back: T.nilable(String), front: T.nilable(String)).void } def initialize(back: nil, front: nil); end end - class Document < Stripe::RequestParams + class Document < ::Stripe::RequestParams # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -1696,7 +1725,7 @@ module Stripe verification: nil ); end end - class Pii < Stripe::RequestParams + class Pii < ::Stripe::RequestParams # The `id_number` for the PII, in string form. sig { returns(T.nilable(String)) } def id_number; end diff --git a/rbi/stripe/params/token_retrieve_params.rbi b/rbi/stripe/params/token_retrieve_params.rbi index f23102e15..09081a3a6 100644 --- a/rbi/stripe/params/token_retrieve_params.rbi +++ b/rbi/stripe/params/token_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TokenRetrieveParams < Stripe::RequestParams + class TokenRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/topup_cancel_params.rbi b/rbi/stripe/params/topup_cancel_params.rbi index 12f4967c6..705e73538 100644 --- a/rbi/stripe/params/topup_cancel_params.rbi +++ b/rbi/stripe/params/topup_cancel_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TopupCancelParams < Stripe::RequestParams + class TopupCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/topup_create_params.rbi b/rbi/stripe/params/topup_create_params.rbi index c1064a0ea..4592d49ee 100644 --- a/rbi/stripe/params/topup_create_params.rbi +++ b/rbi/stripe/params/topup_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TopupCreateParams < Stripe::RequestParams + class TopupCreateParams < ::Stripe::RequestParams # A positive integer representing how much to transfer. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/topup_list_params.rbi b/rbi/stripe/params/topup_list_params.rbi index 9b0789557..465497217 100644 --- a/rbi/stripe/params/topup_list_params.rbi +++ b/rbi/stripe/params/topup_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class TopupListParams < Stripe::RequestParams - class Amount < Stripe::RequestParams + class TopupListParams < ::Stripe::RequestParams + class Amount < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -30,7 +30,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class Created < Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/topup_retrieve_params.rbi b/rbi/stripe/params/topup_retrieve_params.rbi index 900f5d08c..74b258cb8 100644 --- a/rbi/stripe/params/topup_retrieve_params.rbi +++ b/rbi/stripe/params/topup_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TopupRetrieveParams < Stripe::RequestParams + class TopupRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/topup_update_params.rbi b/rbi/stripe/params/topup_update_params.rbi index b7fd683e1..439db88b3 100644 --- a/rbi/stripe/params/topup_update_params.rbi +++ b/rbi/stripe/params/topup_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TopupUpdateParams < Stripe::RequestParams + class TopupUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/transfer_create_params.rbi b/rbi/stripe/params/transfer_create_params.rbi index b2026731b..054602dc5 100644 --- a/rbi/stripe/params/transfer_create_params.rbi +++ b/rbi/stripe/params/transfer_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferCreateParams < Stripe::RequestParams + class TransferCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much to transfer. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/transfer_list_params.rbi b/rbi/stripe/params/transfer_list_params.rbi index 60883e77e..439e2de54 100644 --- a/rbi/stripe/params/transfer_list_params.rbi +++ b/rbi/stripe/params/transfer_list_params.rbi @@ -3,8 +3,8 @@ # typed: true module Stripe - class TransferListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransferListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/transfer_retrieve_params.rbi b/rbi/stripe/params/transfer_retrieve_params.rbi index 9d8661a68..70aef1515 100644 --- a/rbi/stripe/params/transfer_retrieve_params.rbi +++ b/rbi/stripe/params/transfer_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferRetrieveParams < Stripe::RequestParams + class TransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/transfer_reversal_create_params.rbi b/rbi/stripe/params/transfer_reversal_create_params.rbi index 17d997cd9..e924d2901 100644 --- a/rbi/stripe/params/transfer_reversal_create_params.rbi +++ b/rbi/stripe/params/transfer_reversal_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferReversalCreateParams < Stripe::RequestParams + class TransferReversalCreateParams < ::Stripe::RequestParams # A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. sig { returns(T.nilable(Integer)) } def amount; end diff --git a/rbi/stripe/params/transfer_reversal_list_params.rbi b/rbi/stripe/params/transfer_reversal_list_params.rbi index f72368897..6b542b19c 100644 --- a/rbi/stripe/params/transfer_reversal_list_params.rbi +++ b/rbi/stripe/params/transfer_reversal_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferReversalListParams < Stripe::RequestParams + class TransferReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/transfer_reversal_retrieve_params.rbi b/rbi/stripe/params/transfer_reversal_retrieve_params.rbi index 65dd279b7..66069f58a 100644 --- a/rbi/stripe/params/transfer_reversal_retrieve_params.rbi +++ b/rbi/stripe/params/transfer_reversal_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferReversalRetrieveParams < Stripe::RequestParams + class TransferReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/transfer_reversal_update_params.rbi b/rbi/stripe/params/transfer_reversal_update_params.rbi index 5c5721bf7..cd81f830c 100644 --- a/rbi/stripe/params/transfer_reversal_update_params.rbi +++ b/rbi/stripe/params/transfer_reversal_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferReversalUpdateParams < Stripe::RequestParams + class TransferReversalUpdateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/transfer_update_params.rbi b/rbi/stripe/params/transfer_update_params.rbi index cb30bb699..25dcb6270 100644 --- a/rbi/stripe/params/transfer_update_params.rbi +++ b/rbi/stripe/params/transfer_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class TransferUpdateParams < Stripe::RequestParams + class TransferUpdateParams < ::Stripe::RequestParams # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/params/treasury/credit_reversal_create_params.rbi b/rbi/stripe/params/treasury/credit_reversal_create_params.rbi index e4fd57a7a..9e5b4be53 100644 --- a/rbi/stripe/params/treasury/credit_reversal_create_params.rbi +++ b/rbi/stripe/params/treasury/credit_reversal_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class CreditReversalCreateParams < Stripe::RequestParams + class CreditReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/credit_reversal_list_params.rbi b/rbi/stripe/params/treasury/credit_reversal_list_params.rbi index dc31ddd1d..62fc0003c 100644 --- a/rbi/stripe/params/treasury/credit_reversal_list_params.rbi +++ b/rbi/stripe/params/treasury/credit_reversal_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class CreditReversalListParams < Stripe::RequestParams + class CreditReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/treasury/credit_reversal_retrieve_params.rbi b/rbi/stripe/params/treasury/credit_reversal_retrieve_params.rbi index 5cef10261..982e1f280 100644 --- a/rbi/stripe/params/treasury/credit_reversal_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/credit_reversal_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class CreditReversalRetrieveParams < Stripe::RequestParams + class CreditReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/debit_reversal_create_params.rbi b/rbi/stripe/params/treasury/debit_reversal_create_params.rbi index 6fd4c1fbf..3972317b1 100644 --- a/rbi/stripe/params/treasury/debit_reversal_create_params.rbi +++ b/rbi/stripe/params/treasury/debit_reversal_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class DebitReversalCreateParams < Stripe::RequestParams + class DebitReversalCreateParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/debit_reversal_list_params.rbi b/rbi/stripe/params/treasury/debit_reversal_list_params.rbi index 369e38dde..ac11fad21 100644 --- a/rbi/stripe/params/treasury/debit_reversal_list_params.rbi +++ b/rbi/stripe/params/treasury/debit_reversal_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class DebitReversalListParams < Stripe::RequestParams + class DebitReversalListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/treasury/debit_reversal_retrieve_params.rbi b/rbi/stripe/params/treasury/debit_reversal_retrieve_params.rbi index 02f368087..12737f5c2 100644 --- a/rbi/stripe/params/treasury/debit_reversal_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/debit_reversal_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class DebitReversalRetrieveParams < Stripe::RequestParams + class DebitReversalRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/financial_account_close_params.rbi b/rbi/stripe/params/treasury/financial_account_close_params.rbi index c9d28389a..a06d872db 100644 --- a/rbi/stripe/params/treasury/financial_account_close_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_close_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id sig { returns(T.nilable(String)) } def financial_account; end diff --git a/rbi/stripe/params/treasury/financial_account_create_params.rbi b/rbi/stripe/params/treasury/financial_account_create_params.rbi index 4ea4f11c9..e4147b1ec 100644 --- a/rbi/stripe/params/treasury/financial_account_create_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class FinancialAccountCreateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -15,7 +15,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -24,8 +24,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -53,8 +53,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -77,7 +77,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -86,8 +86,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -96,7 +96,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -128,8 +128,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -138,7 +138,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -244,7 +244,7 @@ module Stripe outbound_transfers: nil ); end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end diff --git a/rbi/stripe/params/treasury/financial_account_features_retrieve_params.rbi b/rbi/stripe/params/treasury/financial_account_features_retrieve_params.rbi index 8ecd5fa88..2143d0aa2 100644 --- a/rbi/stripe/params/treasury/financial_account_features_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_features_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class FinancialAccountFeaturesRetrieveParams < Stripe::RequestParams + class FinancialAccountFeaturesRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/financial_account_features_update_params.rbi b/rbi/stripe/params/treasury/financial_account_features_update_params.rbi index ff66bc6c3..2ec828348 100644 --- a/rbi/stripe/params/treasury/financial_account_features_update_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_features_update_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class FinancialAccountFeaturesUpdateParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountFeaturesUpdateParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -14,7 +14,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -23,8 +23,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -52,8 +52,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -76,7 +76,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -85,8 +85,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -95,7 +95,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -127,8 +127,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -137,7 +137,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end diff --git a/rbi/stripe/params/treasury/financial_account_list_params.rbi b/rbi/stripe/params/treasury/financial_account_list_params.rbi index 8565052ec..5a9dd443c 100644 --- a/rbi/stripe/params/treasury/financial_account_list_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class FinancialAccountListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/treasury/financial_account_retrieve_features_params.rbi b/rbi/stripe/params/treasury/financial_account_retrieve_features_params.rbi index d72d65f87..40b3b7344 100644 --- a/rbi/stripe/params/treasury/financial_account_retrieve_features_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_retrieve_features_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class FinancialAccountRetrieveFeaturesParams < Stripe::RequestParams + class FinancialAccountRetrieveFeaturesParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/financial_account_retrieve_params.rbi b/rbi/stripe/params/treasury/financial_account_retrieve_params.rbi index d472f450e..d94bbcf5b 100644 --- a/rbi/stripe/params/treasury/financial_account_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class FinancialAccountRetrieveParams < Stripe::RequestParams + class FinancialAccountRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/financial_account_update_features_params.rbi b/rbi/stripe/params/treasury/financial_account_update_features_params.rbi index 06903284e..14d73abaa 100644 --- a/rbi/stripe/params/treasury/financial_account_update_features_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_update_features_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class FinancialAccountUpdateFeaturesParams < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateFeaturesParams < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -14,7 +14,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -23,8 +23,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -52,8 +52,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -76,7 +76,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -85,8 +85,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -95,7 +95,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -127,8 +127,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -137,7 +137,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end diff --git a/rbi/stripe/params/treasury/financial_account_update_params.rbi b/rbi/stripe/params/treasury/financial_account_update_params.rbi index cd75061c0..1e15b9a15 100644 --- a/rbi/stripe/params/treasury/financial_account_update_params.rbi +++ b/rbi/stripe/params/treasury/financial_account_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class FinancialAccountUpdateParams < Stripe::RequestParams - class Features < Stripe::RequestParams - class CardIssuing < Stripe::RequestParams + class FinancialAccountUpdateParams < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + class CardIssuing < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -15,7 +15,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class DepositInsurance < Stripe::RequestParams + class DepositInsurance < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -24,8 +24,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAddresses < Stripe::RequestParams - class Aba < Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class Aba < ::Stripe::RequestParams # Requested bank partner sig { returns(T.nilable(String)) } def bank; end @@ -53,8 +53,8 @@ module Stripe } def initialize(aba: nil); end end - class InboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -77,7 +77,7 @@ module Stripe } def initialize(ach: nil); end end - class IntraStripeFlows < Stripe::RequestParams + class IntraStripeFlows < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -86,8 +86,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OutboundPayments < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -96,7 +96,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -128,8 +128,8 @@ module Stripe } def initialize(ach: nil, us_domestic_wire: nil); end end - class OutboundTransfers < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -138,7 +138,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # Whether the FinancialAccount should have the Feature. sig { returns(T::Boolean) } def requested; end @@ -244,7 +244,7 @@ module Stripe outbound_transfers: nil ); end end - class ForwardingSettings < Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The financial_account id sig { returns(T.nilable(String)) } def financial_account; end @@ -265,7 +265,7 @@ module Stripe } def initialize(financial_account: nil, payment_method: nil, type: nil); end end - class PlatformRestrictions < Stripe::RequestParams + class PlatformRestrictions < ::Stripe::RequestParams # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_cancel_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_cancel_params.rbi index 63de6718f..78a2da014 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_cancel_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferCancelParams < Stripe::RequestParams + class InboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_create_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_create_params.rbi index a6dc512e5..8d2c69d17 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_create_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_create_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferCreateParams < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams # Amount (in cents) to be transferred. sig { returns(Integer) } def amount; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_fail_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_fail_params.rbi index 3fcac96ec..4d0575e59 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_fail_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_fail_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class InboundTransferFailParams < Stripe::RequestParams - class FailureDetails < Stripe::RequestParams + class InboundTransferFailParams < ::Stripe::RequestParams + class FailureDetails < ::Stripe::RequestParams # Reason for the failure. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_list_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_list_params.rbi index 06b9cefa2..69ce1f1a8 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_list_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_retrieve_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_retrieve_params.rbi index 1194b4115..a5e35ea08 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferRetrieveParams < Stripe::RequestParams + class InboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rbi index 2d91986a5..438eebe86 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferReturnInboundTransferParams < Stripe::RequestParams + class InboundTransferReturnInboundTransferParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/inbound_transfer_succeed_params.rbi b/rbi/stripe/params/treasury/inbound_transfer_succeed_params.rbi index 538b51c24..5b71ec8f5 100644 --- a/rbi/stripe/params/treasury/inbound_transfer_succeed_params.rbi +++ b/rbi/stripe/params/treasury/inbound_transfer_succeed_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class InboundTransferSucceedParams < Stripe::RequestParams + class InboundTransferSucceedParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_payment_cancel_params.rbi b/rbi/stripe/params/treasury/outbound_payment_cancel_params.rbi index 8c0fc000f..cbeae94c8 100644 --- a/rbi/stripe/params/treasury/outbound_payment_cancel_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundPaymentCancelParams < Stripe::RequestParams + class OutboundPaymentCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_payment_create_params.rbi b/rbi/stripe/params/treasury/outbound_payment_create_params.rbi index 169e54ecc..8ed52ef78 100644 --- a/rbi/stripe/params/treasury/outbound_payment_create_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_create_params.rbi @@ -4,10 +4,10 @@ # typed: true module Stripe module Treasury - class OutboundPaymentCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams - class BillingDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams + class BillingDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -79,7 +79,7 @@ module Stripe } def initialize(address: nil, email: nil, name: nil, phone: nil); end end - class UsBankAccount < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -164,8 +164,8 @@ module Stripe us_bank_account: nil ); end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(T.nilable(String)) } def network; end @@ -188,7 +188,7 @@ module Stripe } def initialize(us_bank_account: nil); end end - class EndUserDetails < Stripe::RequestParams + class EndUserDetails < ::Stripe::RequestParams # IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`. sig { returns(T.nilable(String)) } def ip_address; end diff --git a/rbi/stripe/params/treasury/outbound_payment_fail_params.rbi b/rbi/stripe/params/treasury/outbound_payment_fail_params.rbi index 2df0786c9..73eecc641 100644 --- a/rbi/stripe/params/treasury/outbound_payment_fail_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_fail_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundPaymentFailParams < Stripe::RequestParams + class OutboundPaymentFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_payment_list_params.rbi b/rbi/stripe/params/treasury/outbound_payment_list_params.rbi index 71c64863e..9d9e55222 100644 --- a/rbi/stripe/params/treasury/outbound_payment_list_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class OutboundPaymentListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/treasury/outbound_payment_post_params.rbi b/rbi/stripe/params/treasury/outbound_payment_post_params.rbi index 957ec91da..c41ce1485 100644 --- a/rbi/stripe/params/treasury/outbound_payment_post_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_post_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundPaymentPostParams < Stripe::RequestParams + class OutboundPaymentPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_payment_retrieve_params.rbi b/rbi/stripe/params/treasury/outbound_payment_retrieve_params.rbi index c39e7cd60..9259df7f1 100644 --- a/rbi/stripe/params/treasury/outbound_payment_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundPaymentRetrieveParams < Stripe::RequestParams + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rbi b/rbi/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rbi index c0364c78f..a75169301 100644 --- a/rbi/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class OutboundPaymentReturnOutboundPaymentParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundPaymentReturnOutboundPaymentParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # The return code to be set on the OutboundPayment object. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/treasury/outbound_payment_update_params.rbi b/rbi/stripe/params/treasury/outbound_payment_update_params.rbi index a39e2b300..1c9cec4ed 100644 --- a/rbi/stripe/params/treasury/outbound_payment_update_params.rbi +++ b/rbi/stripe/params/treasury/outbound_payment_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class OutboundPaymentUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundPaymentUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -15,7 +15,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_cancel_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_cancel_params.rbi index 86aac71b0..ecc75c676 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_cancel_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_cancel_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundTransferCancelParams < Stripe::RequestParams + class OutboundTransferCancelParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_create_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_create_params.rbi index 0799b7b53..b76233a37 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_create_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_create_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class OutboundTransferCreateParams < Stripe::RequestParams - class DestinationPaymentMethodData < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DestinationPaymentMethodData < ::Stripe::RequestParams # Required if type is set to `financial_account`. The FinancialAccount ID to send funds to. sig { returns(T.nilable(String)) } def financial_account; end @@ -19,8 +19,8 @@ module Stripe sig { params(financial_account: T.nilable(String), type: String).void } def initialize(financial_account: nil, type: nil); end end - class DestinationPaymentMethodOptions < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class DestinationPaymentMethodOptions < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(T.nilable(String)) } def network; end @@ -43,8 +43,8 @@ module Stripe } def initialize(us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this OutboundTransfer. sig { returns(T.nilable(String)) } def addenda; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_fail_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_fail_params.rbi index 8b7344927..1fafd1aa3 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_fail_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_fail_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundTransferFailParams < Stripe::RequestParams + class OutboundTransferFailParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_list_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_list_params.rbi index 861570442..bd5fff92a 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_list_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_post_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_post_params.rbi index 15e16ab07..8efb444c2 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_post_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_post_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundTransferPostParams < Stripe::RequestParams + class OutboundTransferPostParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_retrieve_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_retrieve_params.rbi index 11c2f42e6..36f14af35 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class OutboundTransferRetrieveParams < Stripe::RequestParams + class OutboundTransferRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rbi index 42ae2c4a7..accd65e14 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class OutboundTransferReturnOutboundTransferParams < Stripe::RequestParams - class ReturnedDetails < Stripe::RequestParams + class OutboundTransferReturnOutboundTransferParams < ::Stripe::RequestParams + class ReturnedDetails < ::Stripe::RequestParams # Reason for the return. sig { returns(T.nilable(String)) } def code; end diff --git a/rbi/stripe/params/treasury/outbound_transfer_update_params.rbi b/rbi/stripe/params/treasury/outbound_transfer_update_params.rbi index 7d88e7d69..c880f16e1 100644 --- a/rbi/stripe/params/treasury/outbound_transfer_update_params.rbi +++ b/rbi/stripe/params/treasury/outbound_transfer_update_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class OutboundTransferUpdateParams < Stripe::RequestParams - class TrackingDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class OutboundTransferUpdateParams < ::Stripe::RequestParams + class TrackingDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH trace ID for funds sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -15,7 +15,7 @@ module Stripe sig { params(trace_id: String).void } def initialize(trace_id: nil); end end - class UsDomesticWire < Stripe::RequestParams + class UsDomesticWire < ::Stripe::RequestParams # CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end diff --git a/rbi/stripe/params/treasury/received_credit_create_params.rbi b/rbi/stripe/params/treasury/received_credit_create_params.rbi index a5a3b63c9..1dbbc3ed2 100644 --- a/rbi/stripe/params/treasury/received_credit_create_params.rbi +++ b/rbi/stripe/params/treasury/received_credit_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class ReceivedCreditCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedCreditCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -46,8 +46,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end diff --git a/rbi/stripe/params/treasury/received_credit_list_params.rbi b/rbi/stripe/params/treasury/received_credit_list_params.rbi index e02598cd9..32f64c945 100644 --- a/rbi/stripe/params/treasury/received_credit_list_params.rbi +++ b/rbi/stripe/params/treasury/received_credit_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class ReceivedCreditListParams < Stripe::RequestParams - class LinkedFlows < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams + class LinkedFlows < ::Stripe::RequestParams # The source flow type. sig { returns(String) } def source_flow_type; end diff --git a/rbi/stripe/params/treasury/received_credit_retrieve_params.rbi b/rbi/stripe/params/treasury/received_credit_retrieve_params.rbi index bebcd8754..89ffe43c4 100644 --- a/rbi/stripe/params/treasury/received_credit_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/received_credit_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class ReceivedCreditRetrieveParams < Stripe::RequestParams + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/received_debit_create_params.rbi b/rbi/stripe/params/treasury/received_debit_create_params.rbi index a476ca1ac..df1c80883 100644 --- a/rbi/stripe/params/treasury/received_debit_create_params.rbi +++ b/rbi/stripe/params/treasury/received_debit_create_params.rbi @@ -4,9 +4,9 @@ # typed: true module Stripe module Treasury - class ReceivedDebitCreateParams < Stripe::RequestParams - class InitiatingPaymentMethodDetails < Stripe::RequestParams - class UsBankAccount < Stripe::RequestParams + class ReceivedDebitCreateParams < ::Stripe::RequestParams + class InitiatingPaymentMethodDetails < ::Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams # The bank account holder's name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -46,8 +46,8 @@ module Stripe } def initialize(type: nil, us_bank_account: nil); end end - class NetworkDetails < Stripe::RequestParams - class Ach < Stripe::RequestParams + class NetworkDetails < ::Stripe::RequestParams + class Ach < ::Stripe::RequestParams # Addenda record data associated with this ReceivedDebit. sig { returns(T.nilable(String)) } def addenda; end diff --git a/rbi/stripe/params/treasury/received_debit_list_params.rbi b/rbi/stripe/params/treasury/received_debit_list_params.rbi index a2c1eb85c..5a462f851 100644 --- a/rbi/stripe/params/treasury/received_debit_list_params.rbi +++ b/rbi/stripe/params/treasury/received_debit_list_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/treasury/received_debit_retrieve_params.rbi b/rbi/stripe/params/treasury/received_debit_retrieve_params.rbi index d2d0c22b3..6e7ed96d9 100644 --- a/rbi/stripe/params/treasury/received_debit_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/received_debit_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class ReceivedDebitRetrieveParams < Stripe::RequestParams + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/transaction_entry_list_params.rbi b/rbi/stripe/params/treasury/transaction_entry_list_params.rbi index 05a6415ec..89f94e6db 100644 --- a/rbi/stripe/params/treasury/transaction_entry_list_params.rbi +++ b/rbi/stripe/params/treasury/transaction_entry_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class TransactionEntryListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -31,7 +31,7 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class EffectiveAt < Stripe::RequestParams + class EffectiveAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/treasury/transaction_entry_retrieve_params.rbi b/rbi/stripe/params/treasury/transaction_entry_retrieve_params.rbi index 64e82f48d..a2552b78b 100644 --- a/rbi/stripe/params/treasury/transaction_entry_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/transaction_entry_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class TransactionEntryRetrieveParams < Stripe::RequestParams + class TransactionEntryRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/treasury/transaction_list_params.rbi b/rbi/stripe/params/treasury/transaction_list_params.rbi index f96cf0a75..11f612b52 100644 --- a/rbi/stripe/params/treasury/transaction_list_params.rbi +++ b/rbi/stripe/params/treasury/transaction_list_params.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe module Treasury - class TransactionListParams < Stripe::RequestParams - class Created < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams + class Created < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end @@ -31,8 +31,8 @@ module Stripe } def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end end - class StatusTransitions < Stripe::RequestParams - class PostedAt < Stripe::RequestParams + class StatusTransitions < ::Stripe::RequestParams + class PostedAt < ::Stripe::RequestParams # Minimum value to filter by (exclusive) sig { returns(T.nilable(Integer)) } def gt; end diff --git a/rbi/stripe/params/treasury/transaction_retrieve_params.rbi b/rbi/stripe/params/treasury/transaction_retrieve_params.rbi index 0b09f18c7..b2b296adf 100644 --- a/rbi/stripe/params/treasury/transaction_retrieve_params.rbi +++ b/rbi/stripe/params/treasury/transaction_retrieve_params.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module Treasury - class TransactionRetrieveParams < Stripe::RequestParams + class TransactionRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/v2/billing/bill_setting_create_params.rbi b/rbi/stripe/params/v2/billing/bill_setting_create_params.rbi index a4a442950..989ec1bba 100644 --- a/rbi/stripe/params/v2/billing/bill_setting_create_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_setting_create_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module Billing - class BillSettingCreateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingCreateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -28,8 +28,8 @@ module Stripe } def initialize(tax: nil); end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. sig { returns(String) } def interval; end diff --git a/rbi/stripe/params/v2/billing/bill_setting_list_params.rbi b/rbi/stripe/params/v2/billing/bill_setting_list_params.rbi index 20cfadcce..5ea0a39c4 100644 --- a/rbi/stripe/params/v2/billing/bill_setting_list_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_setting_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class BillSettingListParams < Stripe::RequestParams + class BillSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/billing/bill_setting_retrieve_params.rbi b/rbi/stripe/params/v2/billing/bill_setting_retrieve_params.rbi index 929aaa0e1..99fc4e5bb 100644 --- a/rbi/stripe/params/v2/billing/bill_setting_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_setting_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class BillSettingRetrieveParams < Stripe::RequestParams; end + class BillSettingRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/billing/bill_setting_update_params.rbi b/rbi/stripe/params/v2/billing/bill_setting_update_params.rbi index 6eaae8dc6..58f8a7280 100644 --- a/rbi/stripe/params/v2/billing/bill_setting_update_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_setting_update_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module Billing - class BillSettingUpdateParams < Stripe::RequestParams - class Calculation < Stripe::RequestParams - class Tax < Stripe::RequestParams + class BillSettingUpdateParams < ::Stripe::RequestParams + class Calculation < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -28,8 +28,8 @@ module Stripe } def initialize(tax: nil); end end - class Invoice < Stripe::RequestParams - class TimeUntilDue < Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class TimeUntilDue < ::Stripe::RequestParams # The interval unit for the time until due. sig { returns(String) } def interval; end diff --git a/rbi/stripe/params/v2/billing/bill_settings/version_list_params.rbi b/rbi/stripe/params/v2/billing/bill_settings/version_list_params.rbi index 713ebf739..5e0c8c72f 100644 --- a/rbi/stripe/params/v2/billing/bill_settings/version_list_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_settings/version_list_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/billing/bill_settings/version_retrieve_params.rbi b/rbi/stripe/params/v2/billing/bill_settings/version_retrieve_params.rbi index fb25aed0d..6d96bda6d 100644 --- a/rbi/stripe/params/v2/billing/bill_settings/version_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/bill_settings/version_retrieve_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Billing module BillSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/billing/cadence_cancel_params.rbi b/rbi/stripe/params/v2/billing/cadence_cancel_params.rbi index bc3343100..01ffaca7b 100644 --- a/rbi/stripe/params/v2/billing/cadence_cancel_params.rbi +++ b/rbi/stripe/params/v2/billing/cadence_cancel_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class CadenceCancelParams < Stripe::RequestParams; end + class CadenceCancelParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/billing/cadence_create_params.rbi b/rbi/stripe/params/v2/billing/cadence_create_params.rbi index 7bc5eb788..d5498b3eb 100644 --- a/rbi/stripe/params/v2/billing/cadence_create_params.rbi +++ b/rbi/stripe/params/v2/billing/cadence_create_params.rbi @@ -5,10 +5,10 @@ module Stripe module V2 module Billing - class CadenceCreateParams < Stripe::RequestParams - class BillingCycle < Stripe::RequestParams - class Day < Stripe::RequestParams - class Time < Stripe::RequestParams + class CadenceCreateParams < ::Stripe::RequestParams + class BillingCycle < ::Stripe::RequestParams + class Day < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -45,8 +45,8 @@ module Stripe } def initialize(time: nil); end end - class Month < Stripe::RequestParams - class Time < Stripe::RequestParams + class Month < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -99,8 +99,8 @@ module Stripe } def initialize(day_of_month: nil, month_of_year: nil, time: nil); end end - class Week < Stripe::RequestParams - class Time < Stripe::RequestParams + class Week < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -145,8 +145,8 @@ module Stripe } def initialize(day_of_week: nil, time: nil); end end - class Year < Stripe::RequestParams - class Time < Stripe::RequestParams + class Year < ::Stripe::RequestParams + class Time < ::Stripe::RequestParams # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -249,7 +249,7 @@ module Stripe year: nil ); end end - class Payer < Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(String) } def billing_profile; end @@ -258,8 +258,8 @@ module Stripe sig { params(billing_profile: String).void } def initialize(billing_profile: nil); end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -274,7 +274,7 @@ module Stripe sig { params(id: String, version: T.nilable(String)).void } def initialize(id: nil, version: nil); end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end diff --git a/rbi/stripe/params/v2/billing/cadence_list_params.rbi b/rbi/stripe/params/v2/billing/cadence_list_params.rbi index d5fa07db7..5682db366 100644 --- a/rbi/stripe/params/v2/billing/cadence_list_params.rbi +++ b/rbi/stripe/params/v2/billing/cadence_list_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Billing - class CadenceListParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceListParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Customer object. If provided, only cadences that specifically reference the provided customer ID will be returned. sig { returns(T.nilable(String)) } def customer; end diff --git a/rbi/stripe/params/v2/billing/cadence_retrieve_params.rbi b/rbi/stripe/params/v2/billing/cadence_retrieve_params.rbi index b27afe119..b4fdb0475 100644 --- a/rbi/stripe/params/v2/billing/cadence_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/cadence_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class CadenceRetrieveParams < Stripe::RequestParams + class CadenceRetrieveParams < ::Stripe::RequestParams # Additional resource to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end diff --git a/rbi/stripe/params/v2/billing/cadence_update_params.rbi b/rbi/stripe/params/v2/billing/cadence_update_params.rbi index 8255b93e4..28da7b1b7 100644 --- a/rbi/stripe/params/v2/billing/cadence_update_params.rbi +++ b/rbi/stripe/params/v2/billing/cadence_update_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Billing - class CadenceUpdateParams < Stripe::RequestParams - class Payer < Stripe::RequestParams + class CadenceUpdateParams < ::Stripe::RequestParams + class Payer < ::Stripe::RequestParams # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(T.nilable(String)) } def billing_profile; end @@ -15,8 +15,8 @@ module Stripe sig { params(billing_profile: T.nilable(String)).void } def initialize(billing_profile: nil); end end - class Settings < Stripe::RequestParams - class Bill < Stripe::RequestParams + class Settings < ::Stripe::RequestParams + class Bill < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -33,7 +33,7 @@ module Stripe sig { params(id: String, version: T.nilable(String)).void } def initialize(id: nil, version: nil); end end - class Collection < Stripe::RequestParams + class Collection < ::Stripe::RequestParams # The ID of the referenced settings object. sig { returns(String) } def id; end diff --git a/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi index 06600c5c4..ca2463420 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module Billing - class CollectionSettingCreateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingCreateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -35,9 +35,9 @@ module Stripe } def initialize(payment_due: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -65,7 +65,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -74,8 +74,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -123,9 +123,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -172,9 +172,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end diff --git a/rbi/stripe/params/v2/billing/collection_setting_list_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_list_params.rbi index f33bbd75a..21309f0e8 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_list_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class CollectionSettingListParams < Stripe::RequestParams + class CollectionSettingListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/billing/collection_setting_retrieve_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_retrieve_params.rbi index 0a8cd0a2f..e0522f467 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class CollectionSettingRetrieveParams < Stripe::RequestParams; end + class CollectionSettingRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi index 66dd28c78..842e366a7 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module Billing - class CollectionSettingUpdateParams < Stripe::RequestParams - class EmailDelivery < Stripe::RequestParams - class PaymentDue < Stripe::RequestParams + class CollectionSettingUpdateParams < ::Stripe::RequestParams + class EmailDelivery < ::Stripe::RequestParams + class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -35,9 +35,9 @@ module Stripe } def initialize(payment_due: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class AcssDebit < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class AcssDebit < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -65,7 +65,7 @@ module Stripe } def initialize(mandate_options: nil, verification_method: nil); end end - class Bancontact < Stripe::RequestParams + class Bancontact < ::Stripe::RequestParams # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -74,8 +74,8 @@ module Stripe sig { params(preferred_language: T.nilable(String)).void } def initialize(preferred_language: nil); end end - class Card < Stripe::RequestParams - class MandateOptions < Stripe::RequestParams + class Card < ::Stripe::RequestParams + class MandateOptions < ::Stripe::RequestParams # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -123,9 +123,9 @@ module Stripe } def initialize(mandate_options: nil, network: nil, request_three_d_secure: nil); end end - class CustomerBalance < Stripe::RequestParams - class BankTransfer < Stripe::RequestParams - class EuBankTransfer < Stripe::RequestParams + class CustomerBalance < ::Stripe::RequestParams + class BankTransfer < ::Stripe::RequestParams + class EuBankTransfer < ::Stripe::RequestParams # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -172,9 +172,9 @@ module Stripe } def initialize(bank_transfer: nil, funding_type: nil); end end - class UsBankAccount < Stripe::RequestParams - class FinancialConnections < Stripe::RequestParams - class Filters < Stripe::RequestParams + class UsBankAccount < ::Stripe::RequestParams + class FinancialConnections < ::Stripe::RequestParams + class Filters < ::Stripe::RequestParams # The account subcategories to use to filter for selectable accounts. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end diff --git a/rbi/stripe/params/v2/billing/collection_settings/version_list_params.rbi b/rbi/stripe/params/v2/billing/collection_settings/version_list_params.rbi index 2b377dcd7..6c825a2bb 100644 --- a/rbi/stripe/params/v2/billing/collection_settings/version_list_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_settings/version_list_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionListParams < Stripe::RequestParams + class VersionListParams < ::Stripe::RequestParams # Optionally set the maximum number of results per page. Defaults to 20. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/billing/collection_settings/version_retrieve_params.rbi b/rbi/stripe/params/v2/billing/collection_settings/version_retrieve_params.rbi index 5b04a232c..7158b017a 100644 --- a/rbi/stripe/params/v2/billing/collection_settings/version_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_settings/version_retrieve_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Billing module CollectionSettings - class VersionRetrieveParams < Stripe::RequestParams; end + class VersionRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/billing/meter_event_adjustment_create_params.rbi b/rbi/stripe/params/v2/billing/meter_event_adjustment_create_params.rbi index 1fa67be2a..5e1c94f5d 100644 --- a/rbi/stripe/params/v2/billing/meter_event_adjustment_create_params.rbi +++ b/rbi/stripe/params/v2/billing/meter_event_adjustment_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Billing - class MeterEventAdjustmentCreateParams < Stripe::RequestParams - class Cancel < Stripe::RequestParams + class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams + class Cancel < ::Stripe::RequestParams # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(String) } def identifier; end diff --git a/rbi/stripe/params/v2/billing/meter_event_create_params.rbi b/rbi/stripe/params/v2/billing/meter_event_create_params.rbi index 0689c68a7..49a86423e 100644 --- a/rbi/stripe/params/v2/billing/meter_event_create_params.rbi +++ b/rbi/stripe/params/v2/billing/meter_event_create_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class MeterEventCreateParams < Stripe::RequestParams + class MeterEventCreateParams < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end diff --git a/rbi/stripe/params/v2/billing/meter_event_session_create_params.rbi b/rbi/stripe/params/v2/billing/meter_event_session_create_params.rbi index fe7813302..0544b21e9 100644 --- a/rbi/stripe/params/v2/billing/meter_event_session_create_params.rbi +++ b/rbi/stripe/params/v2/billing/meter_event_session_create_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class MeterEventSessionCreateParams < Stripe::RequestParams; end + class MeterEventSessionCreateParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/billing/meter_event_stream_create_params.rbi b/rbi/stripe/params/v2/billing/meter_event_stream_create_params.rbi index 5544db660..2ce4e0829 100644 --- a/rbi/stripe/params/v2/billing/meter_event_stream_create_params.rbi +++ b/rbi/stripe/params/v2/billing/meter_event_stream_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Billing - class MeterEventStreamCreateParams < Stripe::RequestParams - class Event < Stripe::RequestParams + class MeterEventStreamCreateParams < ::Stripe::RequestParams + class Event < ::Stripe::RequestParams # The name of the meter event. Corresponds with the `event_name` field on a meter. sig { returns(String) } def event_name; end diff --git a/rbi/stripe/params/v2/billing/profile_create_params.rbi b/rbi/stripe/params/v2/billing/profile_create_params.rbi index e7a1c4062..07f67f252 100644 --- a/rbi/stripe/params/v2/billing/profile_create_params.rbi +++ b/rbi/stripe/params/v2/billing/profile_create_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class ProfileCreateParams < Stripe::RequestParams + class ProfileCreateParams < ::Stripe::RequestParams # The ID of the customer object. sig { returns(String) } def customer; end diff --git a/rbi/stripe/params/v2/billing/profile_list_params.rbi b/rbi/stripe/params/v2/billing/profile_list_params.rbi index 5330c883a..431cada5f 100644 --- a/rbi/stripe/params/v2/billing/profile_list_params.rbi +++ b/rbi/stripe/params/v2/billing/profile_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class ProfileListParams < Stripe::RequestParams + class ProfileListParams < ::Stripe::RequestParams # Filter billing profiles by a customer. Mutually exclusive # with `lookup_keys` and `default_payment_method`. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/billing/profile_retrieve_params.rbi b/rbi/stripe/params/v2/billing/profile_retrieve_params.rbi index ff570a2b4..89c027896 100644 --- a/rbi/stripe/params/v2/billing/profile_retrieve_params.rbi +++ b/rbi/stripe/params/v2/billing/profile_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class ProfileRetrieveParams < Stripe::RequestParams; end + class ProfileRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/billing/profile_update_params.rbi b/rbi/stripe/params/v2/billing/profile_update_params.rbi index 40ea7a562..61fe8875b 100644 --- a/rbi/stripe/params/v2/billing/profile_update_params.rbi +++ b/rbi/stripe/params/v2/billing/profile_update_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Billing - class ProfileUpdateParams < Stripe::RequestParams + class ProfileUpdateParams < ::Stripe::RequestParams # The ID of the payment method object. sig { returns(T.nilable(String)) } def default_payment_method; end diff --git a/rbi/stripe/params/v2/core/account_close_params.rbi b/rbi/stripe/params/v2/core/account_close_params.rbi index de1f54004..b4e5838df 100644 --- a/rbi/stripe/params/v2/core/account_close_params.rbi +++ b/rbi/stripe/params/v2/core/account_close_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class AccountCloseParams < Stripe::RequestParams + class AccountCloseParams < ::Stripe::RequestParams # Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed. sig { returns(T.nilable(T::Array[String])) } def applied_configurations; end diff --git a/rbi/stripe/params/v2/core/account_create_params.rbi b/rbi/stripe/params/v2/core/account_create_params.rbi index 9e8cd2365..f6fdd6297 100644 --- a/rbi/stripe/params/v2/core/account_create_params.rbi +++ b/rbi/stripe/params/v2/core/account_create_params.rbi @@ -5,10 +5,10 @@ module Stripe module V2 module Core - class AccountCreateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountCreateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. sig { returns(T.nilable(String)) } def exempt; end @@ -29,9 +29,9 @@ module Stripe } def initialize(exempt: nil, ip_address: nil, location_source: nil); end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -45,7 +45,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -119,8 +119,8 @@ module Stripe } def initialize(invoice: nil); end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -143,8 +143,8 @@ module Stripe } def initialize(automatic_indirect_tax: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -263,8 +263,8 @@ module Stripe test_clock: nil ); end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -273,7 +273,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -299,8 +299,8 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -309,7 +309,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -318,7 +318,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -327,7 +327,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -336,7 +336,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -345,7 +345,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -354,7 +354,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -363,7 +363,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -372,7 +372,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -381,7 +381,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -390,7 +390,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -399,7 +399,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -408,7 +408,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -417,7 +417,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -426,7 +426,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -435,7 +435,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -444,7 +444,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -453,7 +453,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -462,7 +462,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -471,7 +471,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -480,7 +480,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -489,7 +489,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -498,7 +498,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -507,7 +507,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -516,7 +516,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -525,7 +525,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -534,7 +534,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -543,7 +543,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -552,7 +552,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -561,7 +561,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -570,7 +570,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -579,7 +579,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -588,7 +588,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -597,7 +597,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -606,7 +606,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -615,7 +615,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -624,7 +624,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -633,7 +633,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -642,7 +642,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -651,7 +651,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -660,7 +660,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -669,7 +669,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -678,7 +678,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -687,7 +687,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1142,8 +1142,8 @@ module Stripe zip_payments: nil ); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -1173,7 +1173,7 @@ module Stripe } def initialize(decline_on: nil); end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -1187,8 +1187,8 @@ module Stripe sig { params(descriptor: T.nilable(String), prefix: T.nilable(String)).void } def initialize(descriptor: nil, prefix: nil); end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1338,10 +1338,10 @@ module Stripe support: nil ); end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1350,7 +1350,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1382,7 +1382,7 @@ module Stripe } def initialize(local: nil, wire: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1391,8 +1391,8 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1461,10 +1461,10 @@ module Stripe } def initialize(capabilities: nil); end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1487,8 +1487,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1511,8 +1511,8 @@ module Stripe } def initialize(gbp: nil); end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1535,8 +1535,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1545,7 +1545,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1554,7 +1554,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1595,8 +1595,8 @@ module Stripe } def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil); end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1605,7 +1605,7 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T::Boolean) } def requested; end @@ -1740,8 +1740,8 @@ module Stripe } def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil); end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -1762,7 +1762,7 @@ module Stripe } def initialize(business_url: nil, doing_business_as: nil, product_description: nil); end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. sig { returns(String) } def fees_collector; end @@ -1805,9 +1805,9 @@ module Stripe } def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil); end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -1828,7 +1828,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -1849,7 +1849,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -1882,8 +1882,8 @@ module Stripe ownership_exemption_reason: nil ); end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -1902,7 +1902,7 @@ module Stripe sig { params(date: String, ip: String, user_agent: T.nilable(String)).void } def initialize(date: nil, ip: nil, user_agent: nil); end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -1990,8 +1990,8 @@ module Stripe terms_of_service: nil ); end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2040,12 +2040,12 @@ module Stripe town: nil ); end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -2054,12 +2054,12 @@ module Stripe sig { params(_fiscal_year_end: T.nilable(String)).returns(T.nilable(String)) } def fiscal_year_end=(_fiscal_year_end); end sig { - params(amount: T.nilable(Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void + params(amount: T.nilable(::Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void } def initialize(amount: nil, fiscal_year_end: nil); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2073,7 +2073,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2087,7 +2087,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2101,7 +2101,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2115,7 +2115,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2129,7 +2129,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2143,8 +2143,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2177,7 +2177,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2191,7 +2191,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2205,7 +2205,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2327,7 +2327,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -2346,19 +2346,19 @@ module Stripe sig { params(registrar: T.nilable(String), type: String, value: String).void } def initialize(registrar: nil, type: nil, value: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end - sig { params(amount: T.nilable(Stripe::V2::Amount)).void } + sig { params(amount: T.nilable(::Stripe::V2::Amount)).void } def initialize(amount: nil); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2407,7 +2407,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2479,8 +2479,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -2489,7 +2489,7 @@ module Stripe sig { params(registered_name: T.nilable(String)).void } def initialize(registered_name: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -2621,8 +2621,8 @@ module Stripe structure: nil ); end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2677,7 +2677,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -2703,7 +2703,7 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2752,7 +2752,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. sig { returns(Integer) } def day; end @@ -2771,8 +2771,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2786,7 +2786,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2800,8 +2800,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2834,8 +2834,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2868,7 +2868,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2938,7 +2938,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -2952,7 +2952,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -2989,8 +2989,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3039,7 +3039,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3111,8 +3111,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -3126,7 +3126,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end diff --git a/rbi/stripe/params/v2/core/account_link_create_params.rbi b/rbi/stripe/params/v2/core/account_link_create_params.rbi index 0298c7abf..c56fa154c 100644 --- a/rbi/stripe/params/v2/core/account_link_create_params.rbi +++ b/rbi/stripe/params/v2/core/account_link_create_params.rbi @@ -5,10 +5,10 @@ module Stripe module V2 module Core - class AccountLinkCreateParams < Stripe::RequestParams - class UseCase < Stripe::RequestParams - class AccountOnboarding < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountLinkCreateParams < ::Stripe::RequestParams + class UseCase < ::Stripe::RequestParams + class AccountOnboarding < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -56,8 +56,8 @@ module Stripe return_url: nil ); end end - class AccountUpdate < Stripe::RequestParams - class CollectionOptions < Stripe::RequestParams + class AccountUpdate < ::Stripe::RequestParams + class CollectionOptions < ::Stripe::RequestParams # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end diff --git a/rbi/stripe/params/v2/core/account_list_params.rbi b/rbi/stripe/params/v2/core/account_list_params.rbi index e10f44d5a..eed0bfa82 100644 --- a/rbi/stripe/params/v2/core/account_list_params.rbi +++ b/rbi/stripe/params/v2/core/account_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class AccountListParams < Stripe::RequestParams + class AccountListParams < ::Stripe::RequestParams # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. sig { returns(T.nilable(T::Array[String])) } def applied_configurations; end diff --git a/rbi/stripe/params/v2/core/account_retrieve_params.rbi b/rbi/stripe/params/v2/core/account_retrieve_params.rbi index 55ac2b3d3..1de23cf8e 100644 --- a/rbi/stripe/params/v2/core/account_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/account_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class AccountRetrieveParams < Stripe::RequestParams + class AccountRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end diff --git a/rbi/stripe/params/v2/core/account_update_params.rbi b/rbi/stripe/params/v2/core/account_update_params.rbi index 3d7c028db..e1850b4b0 100644 --- a/rbi/stripe/params/v2/core/account_update_params.rbi +++ b/rbi/stripe/params/v2/core/account_update_params.rbi @@ -5,10 +5,10 @@ module Stripe module V2 module Core - class AccountUpdateParams < Stripe::RequestParams - class Configuration < Stripe::RequestParams - class Customer < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class AccountUpdateParams < ::Stripe::RequestParams + class Configuration < ::Stripe::RequestParams + class Customer < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. sig { returns(T.nilable(String)) } def exempt; end @@ -39,9 +39,9 @@ module Stripe validate_location: nil ); end end - class Billing < Stripe::RequestParams - class Invoice < Stripe::RequestParams - class CustomField < Stripe::RequestParams + class Billing < ::Stripe::RequestParams + class Invoice < ::Stripe::RequestParams + class CustomField < ::Stripe::RequestParams # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -55,7 +55,7 @@ module Stripe sig { params(name: String, value: String).void } def initialize(name: nil, value: nil); end end - class Rendering < Stripe::RequestParams + class Rendering < ::Stripe::RequestParams # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -134,8 +134,8 @@ module Stripe } def initialize(default_payment_method: nil, invoice: nil); end end - class Capabilities < Stripe::RequestParams - class AutomaticIndirectTax < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AutomaticIndirectTax < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -158,8 +158,8 @@ module Stripe } def initialize(automatic_indirect_tax: nil); end end - class Shipping < Stripe::RequestParams - class Address < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -284,8 +284,8 @@ module Stripe test_clock: nil ); end end - class Merchant < Stripe::RequestParams - class BacsDebitPayments < Stripe::RequestParams + class Merchant < ::Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -294,7 +294,7 @@ module Stripe sig { params(display_name: T.nilable(String)).void } def initialize(display_name: nil); end end - class Branding < Stripe::RequestParams + class Branding < ::Stripe::RequestParams # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -320,8 +320,8 @@ module Stripe } def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end end - class Capabilities < Stripe::RequestParams - class AchDebitPayments < Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class AchDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -330,7 +330,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AcssDebitPayments < Stripe::RequestParams + class AcssDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -339,7 +339,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AffirmPayments < Stripe::RequestParams + class AffirmPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -348,7 +348,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AfterpayClearpayPayments < Stripe::RequestParams + class AfterpayClearpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -357,7 +357,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AlmaPayments < Stripe::RequestParams + class AlmaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -366,7 +366,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AmazonPayPayments < Stripe::RequestParams + class AmazonPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -375,7 +375,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class AuBecsDebitPayments < Stripe::RequestParams + class AuBecsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -384,7 +384,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BacsDebitPayments < Stripe::RequestParams + class BacsDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -393,7 +393,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BancontactPayments < Stripe::RequestParams + class BancontactPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -402,7 +402,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BlikPayments < Stripe::RequestParams + class BlikPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -411,7 +411,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class BoletoPayments < Stripe::RequestParams + class BoletoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -420,7 +420,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CardPayments < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -429,7 +429,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CartesBancairesPayments < Stripe::RequestParams + class CartesBancairesPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -438,7 +438,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class CashappPayments < Stripe::RequestParams + class CashappPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -447,7 +447,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class EpsPayments < Stripe::RequestParams + class EpsPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -456,7 +456,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FpxPayments < Stripe::RequestParams + class FpxPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -465,7 +465,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GbBankTransferPayments < Stripe::RequestParams + class GbBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -474,7 +474,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class GrabpayPayments < Stripe::RequestParams + class GrabpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -483,7 +483,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class IdealPayments < Stripe::RequestParams + class IdealPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -492,7 +492,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JcbPayments < Stripe::RequestParams + class JcbPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -501,7 +501,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class JpBankTransferPayments < Stripe::RequestParams + class JpBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -510,7 +510,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KakaoPayPayments < Stripe::RequestParams + class KakaoPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -519,7 +519,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KlarnaPayments < Stripe::RequestParams + class KlarnaPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -528,7 +528,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KonbiniPayments < Stripe::RequestParams + class KonbiniPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -537,7 +537,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class KrCardPayments < Stripe::RequestParams + class KrCardPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -546,7 +546,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class LinkPayments < Stripe::RequestParams + class LinkPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -555,7 +555,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MobilepayPayments < Stripe::RequestParams + class MobilepayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -564,7 +564,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MultibancoPayments < Stripe::RequestParams + class MultibancoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -573,7 +573,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class MxBankTransferPayments < Stripe::RequestParams + class MxBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -582,7 +582,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class NaverPayPayments < Stripe::RequestParams + class NaverPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -591,7 +591,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class OxxoPayments < Stripe::RequestParams + class OxxoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -600,7 +600,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class P24Payments < Stripe::RequestParams + class P24Payments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -609,7 +609,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PayByBankPayments < Stripe::RequestParams + class PayByBankPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -618,7 +618,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaycoPayments < Stripe::RequestParams + class PaycoPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -627,7 +627,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PaynowPayments < Stripe::RequestParams + class PaynowPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -636,7 +636,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class PromptpayPayments < Stripe::RequestParams + class PromptpayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -645,7 +645,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class RevolutPayPayments < Stripe::RequestParams + class RevolutPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -654,7 +654,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SamsungPayPayments < Stripe::RequestParams + class SamsungPayPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -663,7 +663,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaBankTransferPayments < Stripe::RequestParams + class SepaBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -672,7 +672,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SepaDebitPayments < Stripe::RequestParams + class SepaDebitPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -681,7 +681,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class SwishPayments < Stripe::RequestParams + class SwishPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -690,7 +690,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class TwintPayments < Stripe::RequestParams + class TwintPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -699,7 +699,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class UsBankTransferPayments < Stripe::RequestParams + class UsBankTransferPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -708,7 +708,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class ZipPayments < Stripe::RequestParams + class ZipPayments < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1163,8 +1163,8 @@ module Stripe zip_payments: nil ); end end - class CardPayments < Stripe::RequestParams - class DeclineOn < Stripe::RequestParams + class CardPayments < ::Stripe::RequestParams + class DeclineOn < ::Stripe::RequestParams # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -1194,7 +1194,7 @@ module Stripe } def initialize(decline_on: nil); end end - class StatementDescriptor < Stripe::RequestParams + class StatementDescriptor < ::Stripe::RequestParams # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -1208,8 +1208,8 @@ module Stripe sig { params(descriptor: T.nilable(String), prefix: T.nilable(String)).void } def initialize(descriptor: nil, prefix: nil); end end - class Support < Stripe::RequestParams - class Address < Stripe::RequestParams + class Support < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1365,10 +1365,10 @@ module Stripe support: nil ); end end - class Recipient < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams - class Local < Stripe::RequestParams + class Recipient < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams + class Local < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1377,7 +1377,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Wire < Stripe::RequestParams + class Wire < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1409,7 +1409,7 @@ module Stripe } def initialize(local: nil, wire: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1418,8 +1418,8 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class StripeBalance < Stripe::RequestParams - class StripeTransfers < Stripe::RequestParams + class StripeBalance < ::Stripe::RequestParams + class StripeTransfers < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1500,10 +1500,10 @@ module Stripe } def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil); end end - class Storer < Stripe::RequestParams - class Capabilities < Stripe::RequestParams - class FinancialAddresses < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class Storer < ::Stripe::RequestParams + class Capabilities < ::Stripe::RequestParams + class FinancialAddresses < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1526,8 +1526,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class HoldsCurrencies < Stripe::RequestParams - class Gbp < Stripe::RequestParams + class HoldsCurrencies < ::Stripe::RequestParams + class Gbp < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1550,8 +1550,8 @@ module Stripe } def initialize(gbp: nil); end end - class InboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class InboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1574,8 +1574,8 @@ module Stripe } def initialize(bank_accounts: nil); end end - class OutboundPayments < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundPayments < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1584,7 +1584,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class Cards < Stripe::RequestParams + class Cards < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1593,7 +1593,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1634,8 +1634,8 @@ module Stripe } def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil); end end - class OutboundTransfers < Stripe::RequestParams - class BankAccounts < Stripe::RequestParams + class OutboundTransfers < ::Stripe::RequestParams + class BankAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1644,7 +1644,7 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end - class FinancialAccounts < Stripe::RequestParams + class FinancialAccounts < ::Stripe::RequestParams # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. sig { returns(T.nilable(T::Boolean)) } def requested; end @@ -1784,8 +1784,8 @@ module Stripe } def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil); end end - class Defaults < Stripe::RequestParams - class Profile < Stripe::RequestParams + class Defaults < ::Stripe::RequestParams + class Profile < ::Stripe::RequestParams # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -1806,7 +1806,7 @@ module Stripe } def initialize(business_url: nil, doing_business_as: nil, product_description: nil); end end - class Responsibilities < Stripe::RequestParams + class Responsibilities < ::Stripe::RequestParams # A value indicating the party responsible for collecting fees from this account. sig { returns(String) } def fees_collector; end @@ -1849,9 +1849,9 @@ module Stripe } def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil); end end - class Identity < Stripe::RequestParams - class Attestations < Stripe::RequestParams - class DirectorshipDeclaration < Stripe::RequestParams + class Identity < ::Stripe::RequestParams + class Attestations < ::Stripe::RequestParams + class DirectorshipDeclaration < ::Stripe::RequestParams # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -1872,7 +1872,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class OwnershipDeclaration < Stripe::RequestParams + class OwnershipDeclaration < ::Stripe::RequestParams # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -1893,7 +1893,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class PersonsProvided < Stripe::RequestParams + class PersonsProvided < ::Stripe::RequestParams # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -1926,8 +1926,8 @@ module Stripe ownership_exemption_reason: nil ); end end - class TermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class TermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -1948,7 +1948,7 @@ module Stripe } def initialize(date: nil, ip: nil, user_agent: nil); end end - class Storer < Stripe::RequestParams + class Storer < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -2038,8 +2038,8 @@ module Stripe terms_of_service: nil ); end end - class BusinessDetails < Stripe::RequestParams - class Address < Stripe::RequestParams + class BusinessDetails < ::Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2088,12 +2088,12 @@ module Stripe town: nil ); end end - class AnnualRevenue < Stripe::RequestParams + class AnnualRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. @@ -2102,12 +2102,12 @@ module Stripe sig { params(_fiscal_year_end: T.nilable(String)).returns(T.nilable(String)) } def fiscal_year_end=(_fiscal_year_end); end sig { - params(amount: T.nilable(Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void + params(amount: T.nilable(::Stripe::V2::Amount), fiscal_year_end: T.nilable(String)).void } def initialize(amount: nil, fiscal_year_end: nil); end end - class Documents < Stripe::RequestParams - class BankAccountOwnershipVerification < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class BankAccountOwnershipVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2121,7 +2121,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyLicense < Stripe::RequestParams + class CompanyLicense < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2135,7 +2135,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMemorandumOfAssociation < Stripe::RequestParams + class CompanyMemorandumOfAssociation < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2149,7 +2149,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyMinisterialDecree < Stripe::RequestParams + class CompanyMinisterialDecree < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2163,7 +2163,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyRegistrationVerification < Stripe::RequestParams + class CompanyRegistrationVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2177,7 +2177,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class CompanyTaxIdVerification < Stripe::RequestParams + class CompanyTaxIdVerification < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2191,8 +2191,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2225,7 +2225,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class ProofOfAddress < Stripe::RequestParams + class ProofOfAddress < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2239,7 +2239,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfRegistration < Stripe::RequestParams + class ProofOfRegistration < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2253,7 +2253,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams + class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2375,7 +2375,7 @@ module Stripe proof_of_ultimate_beneficial_ownership: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -2394,19 +2394,19 @@ module Stripe sig { params(registrar: T.nilable(String), type: String, value: String).void } def initialize(registrar: nil, type: nil, value: nil); end end - class MonthlyEstimatedRevenue < Stripe::RequestParams + class MonthlyEstimatedRevenue < ::Stripe::RequestParams # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end sig { - params(_amount: T.nilable(Stripe::V2::Amount)).returns(T.nilable(Stripe::V2::Amount)) + params(_amount: T.nilable(::Stripe::V2::Amount)).returns(T.nilable(::Stripe::V2::Amount)) } def amount=(_amount); end - sig { params(amount: T.nilable(Stripe::V2::Amount)).void } + sig { params(amount: T.nilable(::Stripe::V2::Amount)).void } def initialize(amount: nil); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2455,7 +2455,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2527,8 +2527,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -2537,7 +2537,7 @@ module Stripe sig { params(registered_name: T.nilable(String)).void } def initialize(registered_name: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -2669,8 +2669,8 @@ module Stripe structure: nil ); end end - class Individual < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class Individual < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2725,7 +2725,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -2751,7 +2751,7 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2800,7 +2800,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. sig { returns(Integer) } def day; end @@ -2819,8 +2819,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2834,7 +2834,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2848,8 +2848,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2882,8 +2882,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2916,7 +2916,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2986,7 +2986,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -3000,7 +3000,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. sig { returns(T.nilable(T::Boolean)) } def director; end @@ -3037,8 +3037,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3087,7 +3087,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3159,8 +3159,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -3174,7 +3174,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end diff --git a/rbi/stripe/params/v2/core/accounts/person_create_params.rbi b/rbi/stripe/params/v2/core/accounts/person_create_params.rbi index 2820ed300..2b025b188 100644 --- a/rbi/stripe/params/v2/core/accounts/person_create_params.rbi +++ b/rbi/stripe/params/v2/core/accounts/person_create_params.rbi @@ -6,8 +6,8 @@ module Stripe module V2 module Core module Accounts - class PersonCreateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonCreateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62,7 +62,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -88,8 +88,8 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } def date; end @@ -122,7 +122,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -171,7 +171,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of birth. sig { returns(Integer) } def day; end @@ -190,8 +190,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -205,7 +205,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -219,8 +219,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -253,8 +253,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -287,7 +287,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -353,7 +353,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -367,7 +367,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -422,8 +422,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -472,7 +472,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -544,8 +544,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -559,7 +559,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end diff --git a/rbi/stripe/params/v2/core/accounts/person_delete_params.rbi b/rbi/stripe/params/v2/core/accounts/person_delete_params.rbi index 3b43bfd5f..60d0e39cf 100644 --- a/rbi/stripe/params/v2/core/accounts/person_delete_params.rbi +++ b/rbi/stripe/params/v2/core/accounts/person_delete_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Accounts - class PersonDeleteParams < Stripe::RequestParams; end + class PersonDeleteParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/accounts/person_list_params.rbi b/rbi/stripe/params/v2/core/accounts/person_list_params.rbi index 0686af61e..14be7a30b 100644 --- a/rbi/stripe/params/v2/core/accounts/person_list_params.rbi +++ b/rbi/stripe/params/v2/core/accounts/person_list_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Accounts - class PersonListParams < Stripe::RequestParams + class PersonListParams < ::Stripe::RequestParams # The upper limit on the number of accounts returned by the List Account request. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/core/accounts/person_retrieve_params.rbi b/rbi/stripe/params/v2/core/accounts/person_retrieve_params.rbi index f9ea4d83b..b99ced56a 100644 --- a/rbi/stripe/params/v2/core/accounts/person_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/accounts/person_retrieve_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Accounts - class PersonRetrieveParams < Stripe::RequestParams; end + class PersonRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/accounts/person_update_params.rbi b/rbi/stripe/params/v2/core/accounts/person_update_params.rbi index 5d4a6d20e..392594c9e 100644 --- a/rbi/stripe/params/v2/core/accounts/person_update_params.rbi +++ b/rbi/stripe/params/v2/core/accounts/person_update_params.rbi @@ -6,8 +6,8 @@ module Stripe module V2 module Core module Accounts - class PersonUpdateParams < Stripe::RequestParams - class AdditionalAddress < Stripe::RequestParams + class PersonUpdateParams < ::Stripe::RequestParams + class AdditionalAddress < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62,7 +62,7 @@ module Stripe town: nil ); end end - class AdditionalName < Stripe::RequestParams + class AdditionalName < ::Stripe::RequestParams # The person's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -88,8 +88,8 @@ module Stripe } def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil); end end - class AdditionalTermsOfService < Stripe::RequestParams - class Account < Stripe::RequestParams + class AdditionalTermsOfService < ::Stripe::RequestParams + class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -124,7 +124,7 @@ module Stripe } def initialize(account: nil); end end - class Address < Stripe::RequestParams + class Address < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -173,7 +173,7 @@ module Stripe town: nil ); end end - class DateOfBirth < Stripe::RequestParams + class DateOfBirth < ::Stripe::RequestParams # The day of the birth. sig { returns(Integer) } def day; end @@ -192,8 +192,8 @@ module Stripe sig { params(day: Integer, month: Integer, year: Integer).void } def initialize(day: nil, month: nil, year: nil); end end - class Documents < Stripe::RequestParams - class CompanyAuthorization < Stripe::RequestParams + class Documents < ::Stripe::RequestParams + class CompanyAuthorization < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -207,7 +207,7 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class Passport < Stripe::RequestParams + class Passport < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -221,8 +221,8 @@ module Stripe sig { params(files: T::Array[String], type: String).void } def initialize(files: nil, type: nil); end end - class PrimaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class PrimaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -255,8 +255,8 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class SecondaryVerification < Stripe::RequestParams - class FrontBack < Stripe::RequestParams + class SecondaryVerification < ::Stripe::RequestParams + class FrontBack < ::Stripe::RequestParams # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -289,7 +289,7 @@ module Stripe } def initialize(front_back: nil, type: nil); end end - class Visa < Stripe::RequestParams + class Visa < ::Stripe::RequestParams # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -355,7 +355,7 @@ module Stripe visa: nil ); end end - class IdNumber < Stripe::RequestParams + class IdNumber < ::Stripe::RequestParams # The ID number type of an individual. sig { returns(String) } def type; end @@ -369,7 +369,7 @@ module Stripe sig { params(type: String, value: String).void } def initialize(type: nil, value: nil); end end - class Relationship < Stripe::RequestParams + class Relationship < ::Stripe::RequestParams # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -424,8 +424,8 @@ module Stripe title: nil ); end end - class ScriptAddresses < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptAddresses < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -474,7 +474,7 @@ module Stripe town: nil ); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -546,8 +546,8 @@ module Stripe } def initialize(kana: nil, kanji: nil); end end - class ScriptNames < Stripe::RequestParams - class Kana < Stripe::RequestParams + class ScriptNames < ::Stripe::RequestParams + class Kana < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -561,7 +561,7 @@ module Stripe sig { params(given_name: T.nilable(String), surname: T.nilable(String)).void } def initialize(given_name: nil, surname: nil); end end - class Kanji < Stripe::RequestParams + class Kanji < ::Stripe::RequestParams # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end diff --git a/rbi/stripe/params/v2/core/event_destination_create_params.rbi b/rbi/stripe/params/v2/core/event_destination_create_params.rbi index 007ebb98c..af404fbf3 100644 --- a/rbi/stripe/params/v2/core/event_destination_create_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Core - class EventDestinationCreateParams < Stripe::RequestParams - class AmazonEventbridge < Stripe::RequestParams + class EventDestinationCreateParams < ::Stripe::RequestParams + class AmazonEventbridge < ::Stripe::RequestParams # The AWS account ID. sig { returns(String) } def aws_account_id; end @@ -20,7 +20,7 @@ module Stripe sig { params(aws_account_id: String, aws_region: String).void } def initialize(aws_account_id: nil, aws_region: nil); end end - class WebhookEndpoint < Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. sig { returns(String) } def url; end diff --git a/rbi/stripe/params/v2/core/event_destination_delete_params.rbi b/rbi/stripe/params/v2/core/event_destination_delete_params.rbi index 35e6368c1..cd9b07887 100644 --- a/rbi/stripe/params/v2/core/event_destination_delete_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_delete_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationDeleteParams < Stripe::RequestParams; end + class EventDestinationDeleteParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/event_destination_disable_params.rbi b/rbi/stripe/params/v2/core/event_destination_disable_params.rbi index 6c68fbf31..3b66cecff 100644 --- a/rbi/stripe/params/v2/core/event_destination_disable_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_disable_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationDisableParams < Stripe::RequestParams; end + class EventDestinationDisableParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/event_destination_enable_params.rbi b/rbi/stripe/params/v2/core/event_destination_enable_params.rbi index 9186c679a..eb5c804db 100644 --- a/rbi/stripe/params/v2/core/event_destination_enable_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_enable_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationEnableParams < Stripe::RequestParams; end + class EventDestinationEnableParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/event_destination_list_params.rbi b/rbi/stripe/params/v2/core/event_destination_list_params.rbi index d226492db..08607a6c8 100644 --- a/rbi/stripe/params/v2/core/event_destination_list_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationListParams < Stripe::RequestParams + class EventDestinationListParams < ::Stripe::RequestParams # Additional fields to include in the response. Currently supports `webhook_endpoint.url`. sig { returns(T.nilable(T::Array[String])) } def include; end diff --git a/rbi/stripe/params/v2/core/event_destination_ping_params.rbi b/rbi/stripe/params/v2/core/event_destination_ping_params.rbi index e2b9185cb..e2559b5f7 100644 --- a/rbi/stripe/params/v2/core/event_destination_ping_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_ping_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationPingParams < Stripe::RequestParams; end + class EventDestinationPingParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/event_destination_retrieve_params.rbi b/rbi/stripe/params/v2/core/event_destination_retrieve_params.rbi index 1087090e7..f2686cefd 100644 --- a/rbi/stripe/params/v2/core/event_destination_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventDestinationRetrieveParams < Stripe::RequestParams + class EventDestinationRetrieveParams < ::Stripe::RequestParams # Additional fields to include in the response. sig { returns(T.nilable(T::Array[String])) } def include; end diff --git a/rbi/stripe/params/v2/core/event_destination_update_params.rbi b/rbi/stripe/params/v2/core/event_destination_update_params.rbi index dac58e8bf..3b9511745 100644 --- a/rbi/stripe/params/v2/core/event_destination_update_params.rbi +++ b/rbi/stripe/params/v2/core/event_destination_update_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Core - class EventDestinationUpdateParams < Stripe::RequestParams - class WebhookEndpoint < Stripe::RequestParams + class EventDestinationUpdateParams < ::Stripe::RequestParams + class WebhookEndpoint < ::Stripe::RequestParams # The URL of the webhook endpoint. sig { returns(String) } def url; end diff --git a/rbi/stripe/params/v2/core/event_list_params.rbi b/rbi/stripe/params/v2/core/event_list_params.rbi index e83316896..ad451e407 100644 --- a/rbi/stripe/params/v2/core/event_list_params.rbi +++ b/rbi/stripe/params/v2/core/event_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventListParams < Stripe::RequestParams + class EventListParams < ::Stripe::RequestParams # The page size. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/core/event_retrieve_params.rbi b/rbi/stripe/params/v2/core/event_retrieve_params.rbi index 12b4c6c03..87384e053 100644 --- a/rbi/stripe/params/v2/core/event_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/event_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Core - class EventRetrieveParams < Stripe::RequestParams; end + class EventRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rbi index d290e2a4a..6d336ad77 100644 --- a/rbi/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rbi +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountAcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end + class GbBankAccountAcknowledgeConfirmationOfPayeeParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_archive_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_archive_params.rbi index 3c1d85b83..77a50d0ce 100644 --- a/rbi/stripe/params/v2/core/vault/gb_bank_account_archive_params.rbi +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_archive_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountArchiveParams < Stripe::RequestParams; end + class GbBankAccountArchiveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_create_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_create_params.rbi index 2d4746ee4..aba251db8 100644 --- a/rbi/stripe/params/v2/core/vault/gb_bank_account_create_params.rbi +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_create_params.rbi @@ -6,8 +6,8 @@ module Stripe module V2 module Core module Vault - class GbBankAccountCreateParams < Stripe::RequestParams - class ConfirmationOfPayee < Stripe::RequestParams + class GbBankAccountCreateParams < ::Stripe::RequestParams + class ConfirmationOfPayee < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. # Closed enum. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rbi index 66a893814..2a5f861b0 100644 --- a/rbi/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rbi +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountInitiateConfirmationOfPayeeParams < Stripe::RequestParams + class GbBankAccountInitiateConfirmationOfPayeeParams < ::Stripe::RequestParams # The business type to be checked against. Legal entity information will be used if unspecified. sig { returns(T.nilable(String)) } def business_type; end diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rbi index 6065339b6..afd7731e4 100644 --- a/rbi/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class GbBankAccountRetrieveParams < Stripe::RequestParams; end + class GbBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_archive_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_archive_params.rbi index 8e495eb0b..94394a209 100644 --- a/rbi/stripe/params/v2/core/vault/us_bank_account_archive_params.rbi +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_archive_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountArchiveParams < Stripe::RequestParams; end + class UsBankAccountArchiveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_create_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_create_params.rbi index 6495dee55..eafb8558c 100644 --- a/rbi/stripe/params/v2/core/vault/us_bank_account_create_params.rbi +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_create_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountCreateParams < Stripe::RequestParams + class UsBankAccountCreateParams < ::Stripe::RequestParams # The account number of the bank account. sig { returns(String) } def account_number; end diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rbi index 002da42f8..55d764061 100644 --- a/rbi/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rbi +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountRetrieveParams < Stripe::RequestParams; end + class UsBankAccountRetrieveParams < ::Stripe::RequestParams; end end end end diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_update_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_update_params.rbi index 56ea79be4..618ef301b 100644 --- a/rbi/stripe/params/v2/core/vault/us_bank_account_update_params.rbi +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_update_params.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Core module Vault - class UsBankAccountUpdateParams < Stripe::RequestParams + class UsBankAccountUpdateParams < ::Stripe::RequestParams # The bank account's fedwire routing number can be provided for update it was were empty previously. sig { returns(T.nilable(String)) } def fedwire_routing_number; end diff --git a/rbi/stripe/params/v2/money_management/adjustment_list_params.rbi b/rbi/stripe/params/v2/money_management/adjustment_list_params.rbi index d46623601..497bf4b79 100644 --- a/rbi/stripe/params/v2/money_management/adjustment_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/adjustment_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class AdjustmentListParams < Stripe::RequestParams + class AdjustmentListParams < ::Stripe::RequestParams # Filter for Adjustments linked to a Flow. sig { returns(T.nilable(String)) } def adjusted_flow; end diff --git a/rbi/stripe/params/v2/money_management/adjustment_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/adjustment_retrieve_params.rbi index ad4ab9d71..4bbd6786c 100644 --- a/rbi/stripe/params/v2/money_management/adjustment_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/adjustment_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class AdjustmentRetrieveParams < Stripe::RequestParams; end + class AdjustmentRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/financial_account_close_params.rbi b/rbi/stripe/params/v2/money_management/financial_account_close_params.rbi index 99f878d14..1a53346c4 100644 --- a/rbi/stripe/params/v2/money_management/financial_account_close_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_account_close_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountCloseParams < Stripe::RequestParams - class ForwardingSettings < Stripe::RequestParams + class FinancialAccountCloseParams < ::Stripe::RequestParams + class ForwardingSettings < ::Stripe::RequestParams # The address to send forwarded payments to. sig { returns(T.nilable(String)) } def payment_method; end diff --git a/rbi/stripe/params/v2/money_management/financial_account_create_params.rbi b/rbi/stripe/params/v2/money_management/financial_account_create_params.rbi index afd89ba29..5b526cc7b 100644 --- a/rbi/stripe/params/v2/money_management/financial_account_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_account_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountCreateParams < Stripe::RequestParams - class Storage < Stripe::RequestParams + class FinancialAccountCreateParams < ::Stripe::RequestParams + class Storage < ::Stripe::RequestParams # The currencies that this FinancialAccount can hold. sig { returns(T::Array[String]) } def holds_currencies; end diff --git a/rbi/stripe/params/v2/money_management/financial_account_list_params.rbi b/rbi/stripe/params/v2/money_management/financial_account_list_params.rbi index 257130f71..2ec6c98d4 100644 --- a/rbi/stripe/params/v2/money_management/financial_account_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_account_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountListParams < Stripe::RequestParams + class FinancialAccountListParams < ::Stripe::RequestParams # The page limit. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/money_management/financial_account_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/financial_account_retrieve_params.rbi index 46837b413..1105b2b06 100644 --- a/rbi/stripe/params/v2/money_management/financial_account_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_account_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAccountRetrieveParams < Stripe::RequestParams; end + class FinancialAccountRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/financial_address_create_params.rbi b/rbi/stripe/params/v2/money_management/financial_address_create_params.rbi index 29add2397..b9992544f 100644 --- a/rbi/stripe/params/v2/money_management/financial_address_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_address_create_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressCreateParams < Stripe::RequestParams + class FinancialAddressCreateParams < ::Stripe::RequestParams # The ID of the FinancialAccount the new FinancialAddress should be associated with. sig { returns(String) } def financial_account; end diff --git a/rbi/stripe/params/v2/money_management/financial_address_list_params.rbi b/rbi/stripe/params/v2/money_management/financial_address_list_params.rbi index 02d2ca495..b3ec2ad47 100644 --- a/rbi/stripe/params/v2/money_management/financial_address_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_address_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressListParams < Stripe::RequestParams + class FinancialAddressListParams < ::Stripe::RequestParams # The ID of the FinancialAccount for which FinancialAddresses are to be returned. sig { returns(T.nilable(String)) } def financial_account; end diff --git a/rbi/stripe/params/v2/money_management/financial_address_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/financial_address_retrieve_params.rbi index 3a6b213cd..5777e541b 100644 --- a/rbi/stripe/params/v2/money_management/financial_address_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/financial_address_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class FinancialAddressRetrieveParams < Stripe::RequestParams + class FinancialAddressRetrieveParams < ::Stripe::RequestParams # Open Enum. A list of fields to reveal in the FinancialAddresses returned. sig { returns(T.nilable(T::Array[String])) } def include; end diff --git a/rbi/stripe/params/v2/money_management/inbound_transfer_create_params.rbi b/rbi/stripe/params/v2/money_management/inbound_transfer_create_params.rbi index e81dca6ae..7f942afdb 100644 --- a/rbi/stripe/params/v2/money_management/inbound_transfer_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/inbound_transfer_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class InboundTransferCreateParams < Stripe::RequestParams - class From < Stripe::RequestParams + class InboundTransferCreateParams < ::Stripe::RequestParams + class From < ::Stripe::RequestParams # An optional currency field used to specify which currency is debited from the Payment Method. # Since many Payment Methods support only one currency, this field is optional. sig { returns(T.nilable(String)) } @@ -21,7 +21,7 @@ module Stripe sig { params(currency: T.nilable(String), payment_method: String).void } def initialize(currency: nil, payment_method: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # The currency in which funds will land in. sig { returns(String) } def currency; end @@ -36,9 +36,9 @@ module Stripe def initialize(currency: nil, financial_account: nil); end end # The amount, in specified currency, by which the FinancialAccount balance will increase due to the InboundTransfer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # An optional, freeform description field intended to store metadata. sig { returns(T.nilable(String)) } @@ -60,7 +60,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, description: T.nilable(String), from: V2::MoneyManagement::InboundTransferCreateParams::From, to: V2::MoneyManagement::InboundTransferCreateParams::To).void + params(amount: ::Stripe::V2::Amount, description: T.nilable(String), from: V2::MoneyManagement::InboundTransferCreateParams::From, to: V2::MoneyManagement::InboundTransferCreateParams::To).void } def initialize(amount: nil, description: nil, from: nil, to: nil); end end diff --git a/rbi/stripe/params/v2/money_management/inbound_transfer_list_params.rbi b/rbi/stripe/params/v2/money_management/inbound_transfer_list_params.rbi index b490be358..604ce0479 100644 --- a/rbi/stripe/params/v2/money_management/inbound_transfer_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/inbound_transfer_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class InboundTransferListParams < Stripe::RequestParams + class InboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rbi index 4949fb8d2..78913c85e 100644 --- a/rbi/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class InboundTransferRetrieveParams < Stripe::RequestParams; end + class InboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_cancel_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_cancel_params.rbi index 89929bdcf..c9aae334c 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_cancel_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_cancel_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentCancelParams < Stripe::RequestParams; end + class OutboundPaymentCancelParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_create_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_create_params.rbi index 65c50e3c6..845c7fd77 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -15,7 +15,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. sig { returns(String) } def currency; end @@ -29,7 +29,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class RecipientNotification < Stripe::RequestParams + class RecipientNotification < ::Stripe::RequestParams # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. sig { returns(String) } @@ -39,7 +39,7 @@ module Stripe sig { params(setting: String).void } def initialize(setting: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -67,9 +67,9 @@ module Stripe def initialize(currency: nil, payout_method: nil, recipient: nil); end end # The "presentment amount" to be sent to the recipient. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Delivery options to be used to send the OutboundPayment. sig { @@ -121,7 +121,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundPaymentCreateParams::From, metadata: T.nilable(T::Hash[String, String]), outbound_payment_quote: T.nilable(String), recipient_notification: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::RecipientNotification), to: V2::MoneyManagement::OutboundPaymentCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundPaymentCreateParams::From, metadata: T.nilable(T::Hash[String, String]), outbound_payment_quote: T.nilable(String), recipient_notification: T.nilable(V2::MoneyManagement::OutboundPaymentCreateParams::RecipientNotification), to: V2::MoneyManagement::OutboundPaymentCreateParams::To).void } def initialize( amount: nil, diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_list_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_list_params.rbi index 476916337..ad11da835 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentListParams < Stripe::RequestParams + class OutboundPaymentListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_quote_create_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_quote_create_params.rbi index 7d384fab8..3ab8eef16 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_quote_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_quote_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundPaymentQuoteCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -15,7 +15,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAccount's currency drawn from. sig { returns(String) } def currency; end @@ -29,7 +29,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -57,9 +57,9 @@ module Stripe def initialize(currency: nil, payout_method: nil, recipient: nil); end end # The "presentment amount" to be sent to the recipient. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Method to be used to send the OutboundPayment. sig { @@ -85,7 +85,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentQuoteCreateParams::DeliveryOptions), from: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::From, to: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundPaymentQuoteCreateParams::DeliveryOptions), from: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::From, to: V2::MoneyManagement::OutboundPaymentQuoteCreateParams::To).void } def initialize(amount: nil, delivery_options: nil, from: nil, to: nil); end end diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rbi index a3d0b5769..b5f7ad01b 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentQuoteRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentQuoteRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_payment_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/outbound_payment_retrieve_params.rbi index cb8f70884..30161792b 100644 --- a/rbi/stripe/params/v2/money_management/outbound_payment_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_payment_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundPaymentRetrieveParams < Stripe::RequestParams; end + class OutboundPaymentRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rbi b/rbi/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rbi index 626a3abf3..ca3b1dc5b 100644 --- a/rbi/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCancelParams < Stripe::RequestParams; end + class OutboundSetupIntentCancelParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_setup_intent_create_params.rbi b/rbi/stripe/params/v2/money_management/outbound_setup_intent_create_params.rbi index 43e554a00..334eca7de 100644 --- a/rbi/stripe/params/v2/money_management/outbound_setup_intent_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_setup_intent_create_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentCreateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentCreateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. sig { returns(String) } def account_number; end @@ -50,7 +50,7 @@ module Stripe swift_code: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. sig { returns(String) } def exp_month; end diff --git a/rbi/stripe/params/v2/money_management/outbound_setup_intent_list_params.rbi b/rbi/stripe/params/v2/money_management/outbound_setup_intent_list_params.rbi index b876f9d2a..ccbf451cd 100644 --- a/rbi/stripe/params/v2/money_management/outbound_setup_intent_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_setup_intent_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentListParams < Stripe::RequestParams + class OutboundSetupIntentListParams < ::Stripe::RequestParams # The page size. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rbi index 327f3f043..54f092f43 100644 --- a/rbi/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentRetrieveParams < Stripe::RequestParams; end + class OutboundSetupIntentRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_setup_intent_update_params.rbi b/rbi/stripe/params/v2/money_management/outbound_setup_intent_update_params.rbi index 2247ea3ae..381bfbb4a 100644 --- a/rbi/stripe/params/v2/money_management/outbound_setup_intent_update_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_setup_intent_update_params.rbi @@ -5,9 +5,9 @@ module Stripe module V2 module MoneyManagement - class OutboundSetupIntentUpdateParams < Stripe::RequestParams - class PayoutMethodData < Stripe::RequestParams - class BankAccount < Stripe::RequestParams + class OutboundSetupIntentUpdateParams < ::Stripe::RequestParams + class PayoutMethodData < ::Stripe::RequestParams + class BankAccount < ::Stripe::RequestParams # The account number or IBAN of the bank account. sig { returns(String) } def account_number; end @@ -50,7 +50,7 @@ module Stripe swift_code: nil ); end end - class Card < Stripe::RequestParams + class Card < ::Stripe::RequestParams # The expiration month of the card. sig { returns(T.nilable(String)) } def exp_month; end diff --git a/rbi/stripe/params/v2/money_management/outbound_transfer_cancel_params.rbi b/rbi/stripe/params/v2/money_management/outbound_transfer_cancel_params.rbi index 10014833b..e0e80f73e 100644 --- a/rbi/stripe/params/v2/money_management/outbound_transfer_cancel_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_transfer_cancel_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferCancelParams < Stripe::RequestParams; end + class OutboundTransferCancelParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/outbound_transfer_create_params.rbi b/rbi/stripe/params/v2/money_management/outbound_transfer_create_params.rbi index 38086f359..938b2a3a4 100644 --- a/rbi/stripe/params/v2/money_management/outbound_transfer_create_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_transfer_create_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferCreateParams < Stripe::RequestParams - class DeliveryOptions < Stripe::RequestParams + class OutboundTransferCreateParams < ::Stripe::RequestParams + class DeliveryOptions < ::Stripe::RequestParams # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -15,7 +15,7 @@ module Stripe sig { params(bank_account: T.nilable(String)).void } def initialize(bank_account: nil); end end - class From < Stripe::RequestParams + class From < ::Stripe::RequestParams # Describes the FinancialAmount's currency drawn from. sig { returns(String) } def currency; end @@ -29,7 +29,7 @@ module Stripe sig { params(currency: String, financial_account: String).void } def initialize(currency: nil, financial_account: nil); end end - class To < Stripe::RequestParams + class To < ::Stripe::RequestParams # Describes the currency to send to the recipient. # If included, this currency must match a currency supported by the destination. # Can be omitted in the following cases: @@ -50,9 +50,9 @@ module Stripe def initialize(currency: nil, payout_method: nil); end end # The "presentment amount" for the OutboundPayment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Delivery options to be used to send the OutboundTransfer. sig { @@ -90,7 +90,7 @@ module Stripe } def to=(_to); end sig { - params(amount: Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundTransferCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundTransferCreateParams::From, metadata: T.nilable(T::Hash[String, String]), to: V2::MoneyManagement::OutboundTransferCreateParams::To).void + params(amount: ::Stripe::V2::Amount, delivery_options: T.nilable(V2::MoneyManagement::OutboundTransferCreateParams::DeliveryOptions), description: T.nilable(String), from: V2::MoneyManagement::OutboundTransferCreateParams::From, metadata: T.nilable(T::Hash[String, String]), to: V2::MoneyManagement::OutboundTransferCreateParams::To).void } def initialize( amount: nil, diff --git a/rbi/stripe/params/v2/money_management/outbound_transfer_list_params.rbi b/rbi/stripe/params/v2/money_management/outbound_transfer_list_params.rbi index 580eea106..ef6f877e4 100644 --- a/rbi/stripe/params/v2/money_management/outbound_transfer_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_transfer_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferListParams < Stripe::RequestParams + class OutboundTransferListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rbi index 116a9460c..0fc2488ab 100644 --- a/rbi/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class OutboundTransferRetrieveParams < Stripe::RequestParams; end + class OutboundTransferRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/payout_method_archive_params.rbi b/rbi/stripe/params/v2/money_management/payout_method_archive_params.rbi index 8e7203f5a..77afd18cb 100644 --- a/rbi/stripe/params/v2/money_management/payout_method_archive_params.rbi +++ b/rbi/stripe/params/v2/money_management/payout_method_archive_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodArchiveParams < Stripe::RequestParams; end + class PayoutMethodArchiveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/payout_method_list_params.rbi b/rbi/stripe/params/v2/money_management/payout_method_list_params.rbi index 0cb30c6ca..81dd64148 100644 --- a/rbi/stripe/params/v2/money_management/payout_method_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/payout_method_list_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodListParams < Stripe::RequestParams - class UsageStatus < Stripe::RequestParams + class PayoutMethodListParams < ::Stripe::RequestParams + class UsageStatus < ::Stripe::RequestParams # List of payments status to filter by. sig { returns(T.nilable(T::Array[String])) } def payments; end diff --git a/rbi/stripe/params/v2/money_management/payout_method_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/payout_method_retrieve_params.rbi index db74c1a0b..579992cfa 100644 --- a/rbi/stripe/params/v2/money_management/payout_method_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/payout_method_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodRetrieveParams < Stripe::RequestParams; end + class PayoutMethodRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/payout_method_unarchive_params.rbi b/rbi/stripe/params/v2/money_management/payout_method_unarchive_params.rbi index e36aa8e68..46977d974 100644 --- a/rbi/stripe/params/v2/money_management/payout_method_unarchive_params.rbi +++ b/rbi/stripe/params/v2/money_management/payout_method_unarchive_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodUnarchiveParams < Stripe::RequestParams; end + class PayoutMethodUnarchiveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rbi index 5cc52b733..014a3421a 100644 --- a/rbi/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class PayoutMethodsBankAccountSpecRetrieveParams < Stripe::RequestParams + class PayoutMethodsBankAccountSpecRetrieveParams < ::Stripe::RequestParams # The countries to fetch the bank account spec for. sig { returns(T.nilable(T::Array[String])) } def countries; end diff --git a/rbi/stripe/params/v2/money_management/received_credit_list_params.rbi b/rbi/stripe/params/v2/money_management/received_credit_list_params.rbi index fd7c9d897..c3f8d1992 100644 --- a/rbi/stripe/params/v2/money_management/received_credit_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/received_credit_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedCreditListParams < Stripe::RequestParams + class ReceivedCreditListParams < ::Stripe::RequestParams # Filter for objects created at the specified timestamp. # Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/params/v2/money_management/received_credit_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/received_credit_retrieve_params.rbi index da034570a..07cea5346 100644 --- a/rbi/stripe/params/v2/money_management/received_credit_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/received_credit_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedCreditRetrieveParams < Stripe::RequestParams; end + class ReceivedCreditRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/received_debit_list_params.rbi b/rbi/stripe/params/v2/money_management/received_debit_list_params.rbi index f014a9137..86a90b2e6 100644 --- a/rbi/stripe/params/v2/money_management/received_debit_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/received_debit_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedDebitListParams < Stripe::RequestParams + class ReceivedDebitListParams < ::Stripe::RequestParams # The page limit. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/money_management/received_debit_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/received_debit_retrieve_params.rbi index af06861ec..b4226b2bd 100644 --- a/rbi/stripe/params/v2/money_management/received_debit_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/received_debit_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class ReceivedDebitRetrieveParams < Stripe::RequestParams; end + class ReceivedDebitRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/transaction_entry_list_params.rbi b/rbi/stripe/params/v2/money_management/transaction_entry_list_params.rbi index 895115bd7..260b0684d 100644 --- a/rbi/stripe/params/v2/money_management/transaction_entry_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/transaction_entry_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class TransactionEntryListParams < Stripe::RequestParams + class TransactionEntryListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. sig { returns(T.nilable(String)) } def created; end diff --git a/rbi/stripe/params/v2/money_management/transaction_entry_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/transaction_entry_retrieve_params.rbi index c8760deb9..0f76712d3 100644 --- a/rbi/stripe/params/v2/money_management/transaction_entry_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/transaction_entry_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class TransactionEntryRetrieveParams < Stripe::RequestParams; end + class TransactionEntryRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/money_management/transaction_list_params.rbi b/rbi/stripe/params/v2/money_management/transaction_list_params.rbi index 0f9e71e9c..e26d0893b 100644 --- a/rbi/stripe/params/v2/money_management/transaction_list_params.rbi +++ b/rbi/stripe/params/v2/money_management/transaction_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class TransactionListParams < Stripe::RequestParams + class TransactionListParams < ::Stripe::RequestParams # Filter for Transactions created at an exact time. sig { returns(T.nilable(String)) } def created; end diff --git a/rbi/stripe/params/v2/money_management/transaction_retrieve_params.rbi b/rbi/stripe/params/v2/money_management/transaction_retrieve_params.rbi index 82eaddde0..1f356a938 100644 --- a/rbi/stripe/params/v2/money_management/transaction_retrieve_params.rbi +++ b/rbi/stripe/params/v2/money_management/transaction_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module MoneyManagement - class TransactionRetrieveParams < Stripe::RequestParams; end + class TransactionRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/payments/off_session_payment_cancel_params.rbi b/rbi/stripe/params/v2/payments/off_session_payment_cancel_params.rbi index d3a4b4fe7..290a3833d 100644 --- a/rbi/stripe/params/v2/payments/off_session_payment_cancel_params.rbi +++ b/rbi/stripe/params/v2/payments/off_session_payment_cancel_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentCancelParams < Stripe::RequestParams; end + class OffSessionPaymentCancelParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/payments/off_session_payment_capture_params.rbi b/rbi/stripe/params/v2/payments/off_session_payment_capture_params.rbi index d8b81f2c3..37344bf29 100644 --- a/rbi/stripe/params/v2/payments/off_session_payment_capture_params.rbi +++ b/rbi/stripe/params/v2/payments/off_session_payment_capture_params.rbi @@ -5,8 +5,8 @@ module Stripe module V2 module Payments - class OffSessionPaymentCaptureParams < Stripe::RequestParams - class TransferData < Stripe::RequestParams + class OffSessionPaymentCaptureParams < ::Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount diff --git a/rbi/stripe/params/v2/payments/off_session_payment_create_params.rbi b/rbi/stripe/params/v2/payments/off_session_payment_create_params.rbi index 3df9d4eb1..e4aedac51 100644 --- a/rbi/stripe/params/v2/payments/off_session_payment_create_params.rbi +++ b/rbi/stripe/params/v2/payments/off_session_payment_create_params.rbi @@ -5,10 +5,10 @@ module Stripe module V2 module Payments - class OffSessionPaymentCreateParams < Stripe::RequestParams - class AmountDetails < Stripe::RequestParams - class LineItem < Stripe::RequestParams - class Tax < Stripe::RequestParams + class OffSessionPaymentCreateParams < ::Stripe::RequestParams + class AmountDetails < ::Stripe::RequestParams + class LineItem < ::Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -63,7 +63,7 @@ module Stripe unit_cost: nil ); end end - class Shipping < Stripe::RequestParams + class Shipping < ::Stripe::RequestParams # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -84,7 +84,7 @@ module Stripe } def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil); end end - class Tax < Stripe::RequestParams + class Tax < ::Stripe::RequestParams # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -130,7 +130,7 @@ module Stripe } def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil); end end - class Capture < Stripe::RequestParams + class Capture < ::Stripe::RequestParams # The method to use to capture the payment. sig { returns(String) } def capture_method; end @@ -139,8 +139,8 @@ module Stripe sig { params(capture_method: String).void } def initialize(capture_method: nil); end end - class PaymentMethodOptions < Stripe::RequestParams - class Card < Stripe::RequestParams + class PaymentMethodOptions < ::Stripe::RequestParams + class Card < ::Stripe::RequestParams # If you are making a Credential On File transaction with a previously saved card, you should pass the Network Transaction ID # from a prior initial authorization on Stripe (from a successful SetupIntent or a PaymentIntent with `setup_future_usage` set), # or one that you have obtained from another payment processor. This is a token from the network which uniquely identifies the transaction. @@ -168,7 +168,7 @@ module Stripe } def initialize(card: nil); end end - class PaymentsOrchestration < Stripe::RequestParams + class PaymentsOrchestration < ::Stripe::RequestParams # True when you want to enable payments orchestration for this off-session payment. False otherwise. sig { returns(T::Boolean) } def enabled; end @@ -177,7 +177,7 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end - class RetryDetails < Stripe::RequestParams + class RetryDetails < ::Stripe::RequestParams # The pre-configured retry policy to use for the payment. sig { returns(T.nilable(String)) } def retry_policy; end @@ -191,7 +191,7 @@ module Stripe sig { params(retry_policy: T.nilable(String), retry_strategy: String).void } def initialize(retry_policy: nil, retry_strategy: nil); end end - class TransferData < Stripe::RequestParams + class TransferData < ::Stripe::RequestParams # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount @@ -213,9 +213,9 @@ module Stripe def initialize(amount: nil, destination: nil); end end # The “presentment amount” to be collected from the customer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Provides industry-specific information about the amount. sig { returns(T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails)) } @@ -317,7 +317,7 @@ module Stripe } def transfer_data=(_transfer_data); end sig { - params(amount: Stripe::V2::Amount, amount_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails), cadence: String, capture: T.nilable(V2::Payments::OffSessionPaymentCreateParams::Capture), capture_method: T.nilable(String), customer: String, metadata: T::Hash[String, String], on_behalf_of: T.nilable(String), payment_method: String, payment_method_options: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentMethodOptions), payments_orchestration: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentsOrchestration), retry_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::RetryDetails), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), test_clock: T.nilable(String), transfer_data: T.nilable(V2::Payments::OffSessionPaymentCreateParams::TransferData)).void + params(amount: ::Stripe::V2::Amount, amount_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::AmountDetails), cadence: String, capture: T.nilable(V2::Payments::OffSessionPaymentCreateParams::Capture), capture_method: T.nilable(String), customer: String, metadata: T::Hash[String, String], on_behalf_of: T.nilable(String), payment_method: String, payment_method_options: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentMethodOptions), payments_orchestration: T.nilable(V2::Payments::OffSessionPaymentCreateParams::PaymentsOrchestration), retry_details: T.nilable(V2::Payments::OffSessionPaymentCreateParams::RetryDetails), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), test_clock: T.nilable(String), transfer_data: T.nilable(V2::Payments::OffSessionPaymentCreateParams::TransferData)).void } def initialize( amount: nil, diff --git a/rbi/stripe/params/v2/payments/off_session_payment_list_params.rbi b/rbi/stripe/params/v2/payments/off_session_payment_list_params.rbi index 2116e9870..5bb836da0 100644 --- a/rbi/stripe/params/v2/payments/off_session_payment_list_params.rbi +++ b/rbi/stripe/params/v2/payments/off_session_payment_list_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentListParams < Stripe::RequestParams + class OffSessionPaymentListParams < ::Stripe::RequestParams # The page size limit. If not provided, the default is 20. sig { returns(T.nilable(Integer)) } def limit; end diff --git a/rbi/stripe/params/v2/payments/off_session_payment_retrieve_params.rbi b/rbi/stripe/params/v2/payments/off_session_payment_retrieve_params.rbi index 27d599016..d95b526e8 100644 --- a/rbi/stripe/params/v2/payments/off_session_payment_retrieve_params.rbi +++ b/rbi/stripe/params/v2/payments/off_session_payment_retrieve_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module Payments - class OffSessionPaymentRetrieveParams < Stripe::RequestParams; end + class OffSessionPaymentRetrieveParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/v2/test_helpers/financial_address_credit_params.rbi b/rbi/stripe/params/v2/test_helpers/financial_address_credit_params.rbi index c8645cfd5..1a3bf694e 100644 --- a/rbi/stripe/params/v2/test_helpers/financial_address_credit_params.rbi +++ b/rbi/stripe/params/v2/test_helpers/financial_address_credit_params.rbi @@ -5,11 +5,11 @@ module Stripe module V2 module TestHelpers - class FinancialAddressCreditParams < Stripe::RequestParams + class FinancialAddressCreditParams < ::Stripe::RequestParams # Object containing the amount value and currency to credit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end - sig { params(_amount: Stripe::V2::Amount).returns(Stripe::V2::Amount) } + sig { params(_amount: ::Stripe::V2::Amount).returns(::Stripe::V2::Amount) } def amount=(_amount); end # Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit. sig { returns(String) } @@ -22,7 +22,7 @@ module Stripe sig { params(_statement_descriptor: T.nilable(String)).returns(T.nilable(String)) } def statement_descriptor=(_statement_descriptor); end sig { - params(amount: Stripe::V2::Amount, network: String, statement_descriptor: T.nilable(String)).void + params(amount: ::Stripe::V2::Amount, network: String, statement_descriptor: T.nilable(String)).void } def initialize(amount: nil, network: nil, statement_descriptor: nil); end end diff --git a/rbi/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rbi b/rbi/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rbi index 4c0feaba2..48c2412f4 100644 --- a/rbi/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rbi +++ b/rbi/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rbi @@ -5,7 +5,7 @@ module Stripe module V2 module TestHelpers - class FinancialAddressGenerateMicrodepositsParams < Stripe::RequestParams; end + class FinancialAddressGenerateMicrodepositsParams < ::Stripe::RequestParams; end end end end \ No newline at end of file diff --git a/rbi/stripe/params/webhook_endpoint_create_params.rbi b/rbi/stripe/params/webhook_endpoint_create_params.rbi index 34ef1acd8..798dbbcaf 100644 --- a/rbi/stripe/params/webhook_endpoint_create_params.rbi +++ b/rbi/stripe/params/webhook_endpoint_create_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class WebhookEndpointCreateParams < Stripe::RequestParams + class WebhookEndpointCreateParams < ::Stripe::RequestParams # Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version. sig { returns(T.nilable(String)) } def api_version; end diff --git a/rbi/stripe/params/webhook_endpoint_delete_params.rbi b/rbi/stripe/params/webhook_endpoint_delete_params.rbi index d8c6125f1..f1719b395 100644 --- a/rbi/stripe/params/webhook_endpoint_delete_params.rbi +++ b/rbi/stripe/params/webhook_endpoint_delete_params.rbi @@ -3,5 +3,5 @@ # typed: true module Stripe - class WebhookEndpointDeleteParams < Stripe::RequestParams; end + class WebhookEndpointDeleteParams < ::Stripe::RequestParams; end end \ No newline at end of file diff --git a/rbi/stripe/params/webhook_endpoint_list_params.rbi b/rbi/stripe/params/webhook_endpoint_list_params.rbi index 9adbf16aa..c8dfdd844 100644 --- a/rbi/stripe/params/webhook_endpoint_list_params.rbi +++ b/rbi/stripe/params/webhook_endpoint_list_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class WebhookEndpointListParams < Stripe::RequestParams + class WebhookEndpointListParams < ::Stripe::RequestParams # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. sig { returns(T.nilable(String)) } def ending_before; end diff --git a/rbi/stripe/params/webhook_endpoint_retrieve_params.rbi b/rbi/stripe/params/webhook_endpoint_retrieve_params.rbi index 425706ddf..a04b43222 100644 --- a/rbi/stripe/params/webhook_endpoint_retrieve_params.rbi +++ b/rbi/stripe/params/webhook_endpoint_retrieve_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class WebhookEndpointRetrieveParams < Stripe::RequestParams + class WebhookEndpointRetrieveParams < ::Stripe::RequestParams # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } def expand; end diff --git a/rbi/stripe/params/webhook_endpoint_update_params.rbi b/rbi/stripe/params/webhook_endpoint_update_params.rbi index 23dfc4496..699b2ae85 100644 --- a/rbi/stripe/params/webhook_endpoint_update_params.rbi +++ b/rbi/stripe/params/webhook_endpoint_update_params.rbi @@ -3,7 +3,7 @@ # typed: true module Stripe - class WebhookEndpointUpdateParams < Stripe::RequestParams + class WebhookEndpointUpdateParams < ::Stripe::RequestParams # An optional description of what the webhook is used for. sig { returns(T.nilable(String)) } def description; end diff --git a/rbi/stripe/resources/account.rbi b/rbi/stripe/resources/account.rbi index c11932237..e707c41ad 100644 --- a/rbi/stripe/resources/account.rbi +++ b/rbi/stripe/resources/account.rbi @@ -16,8 +16,8 @@ module Stripe # until you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions) # to start Connect Onboarding. Learn about the [differences between accounts](https://docs.stripe.com/connect/accounts). class Account < APIResource - class BusinessProfile < Stripe::StripeObject - class AnnualRevenue < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal). sig { returns(T.nilable(Integer)) } def amount; end @@ -34,7 +34,7 @@ module Stripe @field_remappings = {} end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -48,7 +48,7 @@ module Stripe @field_remappings = {} end end - class SupportAddress < Stripe::StripeObject + class SupportAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -121,7 +121,7 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject # The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges. sig { returns(T.nilable(String)) } def acss_debit_payments; end @@ -351,8 +351,8 @@ module Stripe @field_remappings = {} end end - class Company < Stripe::StripeObject - class Address < Stripe::StripeObject + class Company < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -378,7 +378,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -407,7 +407,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -436,7 +436,7 @@ module Stripe @field_remappings = {} end end - class DirectorshipDeclaration < Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the directorship declaration attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -453,7 +453,7 @@ module Stripe @field_remappings = {} end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The Unix timestamp marking when the beneficial owner attestation was made. sig { returns(T.nilable(Integer)) } def date; end @@ -470,7 +470,7 @@ module Stripe @field_remappings = {} end end - class RegistrationDate < Stripe::StripeObject + class RegistrationDate < ::Stripe::StripeObject # The day of registration, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -487,10 +487,27 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class RepresentativeDeclaration < ::Stripe::StripeObject + # The Unix timestamp marking when the representative declaration attestation was made. + sig { returns(T.nilable(Integer)) } + def date; end + # The IP address from which the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + # The user-agent string from the browser where the representative declaration attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file). - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. sig { returns(T.nilable(String)) } @@ -499,7 +516,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file). - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -566,6 +583,9 @@ module Stripe # Attribute for field registration_date sig { returns(T.nilable(RegistrationDate)) } def registration_date; end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(RepresentativeDeclaration)) } + def representative_declaration; end # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. sig { returns(T.nilable(String)) } def structure; end @@ -589,6 +609,7 @@ module Stripe directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, registration_date: RegistrationDate, + representative_declaration: RepresentativeDeclaration, verification: Verification, } end @@ -596,8 +617,8 @@ module Stripe @field_remappings = {} end end - class Controller < Stripe::StripeObject - class Application < Stripe::StripeObject + class Controller < ::Stripe::StripeObject + class Application < ::Stripe::StripeObject # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account. sig { returns(T::Boolean) } def loss_liable; end @@ -614,7 +635,7 @@ module Stripe @field_remappings = {} end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`). sig { returns(String) } def type; end @@ -625,7 +646,7 @@ module Stripe @field_remappings = {} end end - class Fees < Stripe::StripeObject + class Fees < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior). sig { returns(String) } def payer; end @@ -636,7 +657,7 @@ module Stripe @field_remappings = {} end end - class Losses < Stripe::StripeObject + class Losses < ::Stripe::StripeObject # A value indicating who is liable when this account can't pay back negative balances from payments. sig { returns(String) } def payments; end @@ -647,7 +668,7 @@ module Stripe @field_remappings = {} end end - class StripeDashboard < Stripe::StripeObject + class StripeDashboard < ::Stripe::StripeObject # A value indicating the Stripe dashboard this account has access to independent of the Connect application. sig { returns(String) } def type; end @@ -695,8 +716,8 @@ module Stripe @field_remappings = {} end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -710,7 +731,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -758,7 +779,7 @@ module Stripe @field_remappings = {} end end - class Groups < Stripe::StripeObject + class Groups < ::Stripe::StripeObject # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. sig { returns(T.nilable(String)) } def payments_pricing; end @@ -769,8 +790,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -784,7 +805,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -832,8 +853,8 @@ module Stripe @field_remappings = {} end end - class RiskControls < Stripe::StripeObject - class Charges < Stripe::StripeObject + class RiskControls < ::Stripe::StripeObject + class Charges < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. sig { returns(T::Boolean) } def pause_requested; end @@ -844,7 +865,7 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject # Whether a pause of the risk control has been requested. sig { returns(T::Boolean) } def pause_requested; end @@ -871,8 +892,8 @@ module Stripe @field_remappings = {} end end - class Settings < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free. sig { returns(T.nilable(String)) } def display_name; end @@ -886,7 +907,7 @@ module Stripe @field_remappings = {} end end - class BankBcaOnboarding < Stripe::StripeObject + class BankBcaOnboarding < ::Stripe::StripeObject # Bank BCA business account holder name. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -900,12 +921,12 @@ module Stripe @field_remappings = {} end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def icon; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def logo; end # A CSS hex color value representing the primary branding color for this account sig { returns(T.nilable(String)) } @@ -920,7 +941,7 @@ module Stripe @field_remappings = {} end end - class Capital < Stripe::StripeObject + class Capital < ::Stripe::StripeObject # Per-currency mapping of user-selected destination accounts used to pay out loans. sig { returns(T.nilable(T::Hash[String, String])) } def payout_destination; end @@ -934,8 +955,8 @@ module Stripe @field_remappings = {} end end - class CardIssuing < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -962,8 +983,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T::Boolean) } def avs_failure; end @@ -996,7 +1017,7 @@ module Stripe @field_remappings = {} end end - class Dashboard < Stripe::StripeObject + class Dashboard < ::Stripe::StripeObject # The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts. sig { returns(T.nilable(String)) } def display_name; end @@ -1010,9 +1031,9 @@ module Stripe @field_remappings = {} end end - class Invoices < Stripe::StripeObject + class Invoices < ::Stripe::StripeObject # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def default_account_tax_ids; end # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. sig { returns(T.nilable(String)) } @@ -1024,7 +1045,7 @@ module Stripe @field_remappings = {} end end - class Payments < Stripe::StripeObject + class Payments < ::Stripe::StripeObject # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -1047,8 +1068,8 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # The number of days charges for the account will be held before being paid out. sig { returns(Integer) } def delay_days; end @@ -1090,7 +1111,7 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # SEPA creditor identifier that identifies the company making the payment. sig { returns(T.nilable(String)) } def creditor_id; end @@ -1101,7 +1122,7 @@ module Stripe @field_remappings = {} end end - class TaxForms < Stripe::StripeObject + class TaxForms < ::Stripe::StripeObject # Whether the account opted out of receiving their tax forms by postal delivery. sig { returns(T::Boolean) } def consented_to_paperless_delivery; end @@ -1112,8 +1133,8 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject - class TosAcceptance < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -1200,7 +1221,7 @@ module Stripe @field_remappings = {} end end - class TosAcceptance < Stripe::StripeObject + class TosAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the account representative accepted their service agreement sig { returns(T.nilable(Integer)) } def date; end @@ -1254,7 +1275,7 @@ module Stripe sig { returns(T.nilable(String)) } def email; end # External accounts (bank accounts and debit cards) currently attached to this account. External accounts are only returned for requests where `controller[is_controller]` is true. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def external_accounts; end # Attribute for field future_requirements sig { returns(T.nilable(FutureRequirements)) } @@ -1270,7 +1291,7 @@ module Stripe # A platform can only access a subset of data in a person for an account where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding. # # See the [Standard onboarding](/connect/standard-accounts) or [Express onboarding](/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](/connect/handling-api-verification#person-information). - sig { returns(T.nilable(Stripe::Person)) } + sig { returns(T.nilable(::Stripe::Person)) } def individual; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -1306,7 +1327,7 @@ module Stripe # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding. # You can prefill any information on the account. sig { - params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.create(params = {}, opts = {}); end @@ -1318,7 +1339,7 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.delete(account, params = {}, opts = {}); end @@ -1330,25 +1351,25 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def delete(params = {}, opts = {}); end # Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty. sig { - params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def persons(params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountPersonsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.persons(account, params = {}, opts = {}); end @@ -1356,7 +1377,7 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def reject(params = {}, opts = {}); end @@ -1364,7 +1385,7 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.reject(account, params = {}, opts = {}); end @@ -1382,7 +1403,7 @@ module Stripe # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our # [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts. sig { - params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def self.update(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/account_link.rbi b/rbi/stripe/resources/account_link.rbi index b0faa0ef0..cfccb0ee1 100644 --- a/rbi/stripe/resources/account_link.rbi +++ b/rbi/stripe/resources/account_link.rbi @@ -22,7 +22,7 @@ module Stripe def url; end # Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. sig { - params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountLink) + params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountLink) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/account_notice.rbi b/rbi/stripe/resources/account_notice.rbi index d0eaa4af9..d1a435db0 100644 --- a/rbi/stripe/resources/account_notice.rbi +++ b/rbi/stripe/resources/account_notice.rbi @@ -7,7 +7,7 @@ module Stripe # # See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts. class AccountNotice < APIResource - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use. sig { returns(String) } def plain_text; end @@ -24,7 +24,7 @@ module Stripe @field_remappings = {} end end - class LinkedObjects < Stripe::StripeObject + class LinkedObjects < ::Stripe::StripeObject # Associated [Capability](https://stripe.com/docs/api/capabilities) sig { returns(T.nilable(String)) } def capability; end @@ -73,13 +73,13 @@ module Stripe def sent_at; end # Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def self.update(account_notice, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/account_session.rbi b/rbi/stripe/resources/account_session.rbi index f298aeb51..d19ccaa82 100644 --- a/rbi/stripe/resources/account_session.rbi +++ b/rbi/stripe/resources/account_session.rbi @@ -11,9 +11,9 @@ module Stripe # # Related guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components) class AccountSession < APIResource - class Components < Stripe::StripeObject - class AccountManagement < Stripe::StripeObject - class Features < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class AccountManagement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -40,8 +40,8 @@ module Stripe @field_remappings = {} end end - class AccountOnboarding < Stripe::StripeObject - class Features < Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -68,8 +68,8 @@ module Stripe @field_remappings = {} end end - class Balances < Stripe::StripeObject - class Features < Stripe::StripeObject + class Balances < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -105,8 +105,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancing < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancing < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -127,8 +127,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancingApplication < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingApplication < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -149,8 +149,8 @@ module Stripe @field_remappings = {} end end - class CapitalFinancingPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class CapitalFinancingPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -171,8 +171,8 @@ module Stripe @field_remappings = {} end end - class DisputesList < Stripe::StripeObject - class Features < Stripe::StripeObject + class DisputesList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -205,8 +205,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class Features < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -227,8 +227,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -261,8 +261,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccountTransactions < Stripe::StripeObject - class Features < Stripe::StripeObject + class FinancialAccountTransactions < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card spend dispute management features. sig { returns(T::Boolean) } def card_spend_dispute_management; end @@ -286,8 +286,8 @@ module Stripe @field_remappings = {} end end - class InstantPayoutsPromotion < Stripe::StripeObject - class Features < Stripe::StripeObject + class InstantPayoutsPromotion < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -317,8 +317,8 @@ module Stripe @field_remappings = {} end end - class IssuingCard < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCard < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. sig { returns(T::Boolean) } def card_management; end @@ -351,8 +351,8 @@ module Stripe @field_remappings = {} end end - class IssuingCardsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class IssuingCardsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow card management features. sig { returns(T::Boolean) } def card_management; end @@ -388,8 +388,8 @@ module Stripe @field_remappings = {} end end - class NotificationBanner < Stripe::StripeObject - class Features < Stripe::StripeObject + class NotificationBanner < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -416,8 +416,8 @@ module Stripe @field_remappings = {} end end - class PaymentDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -450,8 +450,8 @@ module Stripe @field_remappings = {} end end - class PaymentDisputes < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentDisputes < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default. sig { returns(T::Boolean) } def destination_on_behalf_of_charge_management; end @@ -481,8 +481,8 @@ module Stripe @field_remappings = {} end end - class Payments < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether to allow capturing and cancelling payment intents. This is `true` by default. sig { returns(T::Boolean) } def capture_payments; end @@ -515,8 +515,8 @@ module Stripe @field_remappings = {} end end - class PayoutDetails < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutDetails < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -537,8 +537,8 @@ module Stripe @field_remappings = {} end end - class Payouts < Stripe::StripeObject - class Features < Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`. sig { returns(T::Boolean) } def disable_stripe_user_authentication; end @@ -574,8 +574,8 @@ module Stripe @field_remappings = {} end end - class PayoutsList < Stripe::StripeObject - class Features < Stripe::StripeObject + class PayoutsList < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -596,8 +596,8 @@ module Stripe @field_remappings = {} end end - class TaxRegistrations < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxRegistrations < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -618,8 +618,8 @@ module Stripe @field_remappings = {} end end - class TaxSettings < Stripe::StripeObject - class Features < Stripe::StripeObject + class TaxSettings < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -760,7 +760,7 @@ module Stripe def object; end # Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. sig { - params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountSession) + params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountSession) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/apple_pay_domain.rbi b/rbi/stripe/resources/apple_pay_domain.rbi index 18c945d6b..28c995fc4 100644 --- a/rbi/stripe/resources/apple_pay_domain.rbi +++ b/rbi/stripe/resources/apple_pay_domain.rbi @@ -25,25 +25,25 @@ module Stripe def deleted; end # Create an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def self.create(params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def self.delete(domain, params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def delete(params = {}, opts = {}); end # List apple pay domains. sig { - params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/application_fee.rbi b/rbi/stripe/resources/application_fee.rbi index e1a5a8f91..b7165ed93 100644 --- a/rbi/stripe/resources/application_fee.rbi +++ b/rbi/stripe/resources/application_fee.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe class ApplicationFee < APIResource - class FeeSource < Stripe::StripeObject + class FeeSource < ::Stripe::StripeObject # Charge ID that created this application fee. sig { returns(T.nilable(String)) } def charge; end @@ -22,7 +22,7 @@ module Stripe end end # ID of the Stripe account this fee was taken from. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def account; end # Amount earned, in cents (or local equivalent). sig { returns(Integer) } @@ -31,13 +31,13 @@ module Stripe sig { returns(Integer) } def amount_refunded; end # ID of the Connect application that earned the fee. - sig { returns(T.any(String, Stripe::Application)) } + sig { returns(T.any(String, ::Stripe::Application)) } def application; end # Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds). - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # ID of the charge that the application fee was taken from. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -58,17 +58,17 @@ module Stripe sig { returns(String) } def object; end # ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def originating_transaction; end # Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false. sig { returns(T::Boolean) } def refunded; end # A list of refunds that have been applied to the fee. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def refunds; end # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first. sig { - params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/application_fee_refund.rbi b/rbi/stripe/resources/application_fee_refund.rbi index 6051132b8..88eb95782 100644 --- a/rbi/stripe/resources/application_fee_refund.rbi +++ b/rbi/stripe/resources/application_fee_refund.rbi @@ -13,7 +13,7 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -22,7 +22,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the application fee that was refunded. - sig { returns(T.any(String, Stripe::ApplicationFee)) } + sig { returns(T.any(String, ::Stripe::ApplicationFee)) } def fee; end # Unique identifier for the object. sig { returns(String) } diff --git a/rbi/stripe/resources/apps/secret.rbi b/rbi/stripe/resources/apps/secret.rbi index 6027187f4..3fe6ca57b 100644 --- a/rbi/stripe/resources/apps/secret.rbi +++ b/rbi/stripe/resources/apps/secret.rbi @@ -14,7 +14,7 @@ module Stripe # # Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects) class Secret < APIResource - class Scope < Stripe::StripeObject + class Scope < ::Stripe::StripeObject # The secret scope type. sig { returns(String) } def type; end @@ -57,25 +57,25 @@ module Stripe def scope; end # Create or replace a secret in the secret store. sig { - params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.create(params = {}, opts = {}); end # Deletes a secret from the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.delete_where(params = {}, opts = {}); end # Finds a secret in the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def self.find(params = {}, opts = {}); end # List all secrets stored on the given scope. sig { - params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/balance.rbi b/rbi/stripe/resources/balance.rbi index de12a6aac..124562fba 100644 --- a/rbi/stripe/resources/balance.rbi +++ b/rbi/stripe/resources/balance.rbi @@ -10,8 +10,8 @@ module Stripe # # Related guide: [Balances and settlement time](https://stripe.com/docs/payments/balances), [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances) class Balance < SingletonAPIResource - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -44,8 +44,8 @@ module Stripe @field_remappings = {} end end - class ConnectReserved < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class ConnectReserved < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -78,9 +78,9 @@ module Stripe @field_remappings = {} end end - class InstantAvailable < Stripe::StripeObject - class NetAvailable < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class InstantAvailable < ::Stripe::StripeObject + class NetAvailable < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -113,7 +113,7 @@ module Stripe @field_remappings = {} end end - class SourceTypes < Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -149,9 +149,9 @@ module Stripe @field_remappings = {} end end - class Issuing < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Issuing < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -194,8 +194,8 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -228,9 +228,9 @@ module Stripe @field_remappings = {} end end - class RefundAndDisputePrefunding < Stripe::StripeObject - class Available < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class RefundAndDisputePrefunding < ::Stripe::StripeObject + class Available < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end @@ -263,8 +263,8 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject - class SourceTypes < Stripe::StripeObject + class Pending < ::Stripe::StripeObject + class SourceTypes < ::Stripe::StripeObject # Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). sig { returns(T.nilable(Integer)) } def bank_account; end diff --git a/rbi/stripe/resources/balance_settings.rbi b/rbi/stripe/resources/balance_settings.rbi index 34d5dfc21..1d0552ce3 100644 --- a/rbi/stripe/resources/balance_settings.rbi +++ b/rbi/stripe/resources/balance_settings.rbi @@ -5,9 +5,9 @@ module Stripe # Options for customizing account balances and payout settings for a Stripe platform's connected accounts. class BalanceSettings < SingletonAPIResource - class Payments < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class Schedule < Stripe::StripeObject + class Payments < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class Schedule < ::Stripe::StripeObject # How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. sig { returns(T.nilable(String)) } def interval; end @@ -43,7 +43,7 @@ module Stripe @field_remappings = {} end end - class SettlementTiming < Stripe::StripeObject + class SettlementTiming < ::Stripe::StripeObject # The number of days charge funds are held before becoming available. sig { returns(Integer) } def delay_days; end diff --git a/rbi/stripe/resources/balance_transaction.rbi b/rbi/stripe/resources/balance_transaction.rbi index 808cc2bad..d435c6d5d 100644 --- a/rbi/stripe/resources/balance_transaction.rbi +++ b/rbi/stripe/resources/balance_transaction.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [Balance transaction types](https://stripe.com/docs/reports/balance-transaction-types) class BalanceTransaction < APIResource - class FeeDetail < Stripe::StripeObject + class FeeDetail < ::Stripe::StripeObject # Amount of the fee, in cents. sig { returns(Integer) } def amount; end @@ -72,7 +72,7 @@ module Stripe def reporting_category; end # This transaction relates to the Stripe object. sig { - returns(T.nilable(T.any(String, T.any(Stripe::ApplicationFee, Stripe::Charge, Stripe::ConnectCollectionTransfer, Stripe::CustomerCashBalanceTransaction, Stripe::Dispute, Stripe::ApplicationFeeRefund, Stripe::Issuing::Authorization, Stripe::Issuing::Dispute, Stripe::Issuing::Transaction, Stripe::Payout, Stripe::Refund, Stripe::ReserveTransaction, Stripe::TaxDeductedAtSource, Stripe::Topup, Stripe::Transfer, Stripe::Reversal)))) + returns(T.nilable(T.any(String, T.any(::Stripe::ApplicationFee, ::Stripe::Charge, ::Stripe::ConnectCollectionTransfer, ::Stripe::CustomerCashBalanceTransaction, ::Stripe::Dispute, ::Stripe::ApplicationFeeRefund, ::Stripe::Issuing::Authorization, ::Stripe::Issuing::Dispute, ::Stripe::Issuing::Transaction, ::Stripe::Payout, ::Stripe::Refund, ::Stripe::ReserveTransaction, ::Stripe::TaxDeductedAtSource, ::Stripe::Topup, ::Stripe::Transfer, ::Stripe::Reversal)))) } def source; end # The transaction's net funds status in the Stripe balance, which are either `available` or `pending`. @@ -85,7 +85,7 @@ module Stripe # # Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. sig { - params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/bank_account.rbi b/rbi/stripe/resources/bank_account.rbi index d3770bc29..f57522261 100644 --- a/rbi/stripe/resources/bank_account.rbi +++ b/rbi/stripe/resources/bank_account.rbi @@ -11,8 +11,8 @@ module Stripe # # Related guide: [Bank debits and transfers](https://docs.stripe.com/payments/bank-debits-transfers) class BankAccount < APIResource - class FutureRequirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -48,8 +48,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -86,7 +86,7 @@ module Stripe end end # The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The name of the person or business that owns the bank account. sig { returns(T.nilable(String)) } @@ -110,7 +110,7 @@ module Stripe sig { returns(String) } def currency; end # The ID of the customer that the bank account is associated with. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Whether this bank account is the default external account for its currency. sig { returns(T.nilable(T::Boolean)) } diff --git a/rbi/stripe/resources/billing/alert.rbi b/rbi/stripe/resources/billing/alert.rbi index 91f604303..2084a35d2 100644 --- a/rbi/stripe/resources/billing/alert.rbi +++ b/rbi/stripe/resources/billing/alert.rbi @@ -6,10 +6,10 @@ module Stripe module Billing # A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests. class Alert < APIResource - class UsageThreshold < Stripe::StripeObject - class Filter < Stripe::StripeObject + class UsageThreshold < ::Stripe::StripeObject + class Filter < ::Stripe::StripeObject # Limit the scope of the alert to this customer ID - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field type sig { returns(String) } @@ -28,7 +28,7 @@ module Stripe sig { returns(Integer) } def gte; end # The [Billing Meter](/api/billing/meter) ID whose usage is monitored. - sig { returns(T.any(String, Stripe::Billing::Meter)) } + sig { returns(T.any(String, ::Stripe::Billing::Meter)) } def meter; end # Defines how the alert will behave. sig { returns(String) } @@ -63,49 +63,49 @@ module Stripe def usage_threshold; end # Reactivates this alert, allowing it to trigger again. sig { - params(params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def activate(params = {}, opts = {}); end # Reactivates this alert, allowing it to trigger again. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.activate(id, params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def archive(params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.archive(id, params = {}, opts = {}); end # Creates a billing alert sig { - params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.create(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def deactivate(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def self.deactivate(id, params = {}, opts = {}); end # Lists billing active and inactive alerts sig { - params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing/alert_triggered.rbi b/rbi/stripe/resources/billing/alert_triggered.rbi index 60ff71de9..da1e08b92 100644 --- a/rbi/stripe/resources/billing/alert_triggered.rbi +++ b/rbi/stripe/resources/billing/alert_triggered.rbi @@ -6,7 +6,7 @@ module Stripe module Billing class AlertTriggered < APIResource # A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests. - sig { returns(Stripe::Billing::Alert) } + sig { returns(::Stripe::Billing::Alert) } def alert; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } diff --git a/rbi/stripe/resources/billing/analytics/meter_usage.rbi b/rbi/stripe/resources/billing/analytics/meter_usage.rbi index e34332b08..663157c7a 100644 --- a/rbi/stripe/resources/billing/analytics/meter_usage.rbi +++ b/rbi/stripe/resources/billing/analytics/meter_usage.rbi @@ -17,7 +17,7 @@ module Stripe sig { returns(Integer) } def refreshed_at; end # Attribute for field rows - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def rows; end end end diff --git a/rbi/stripe/resources/billing/credit_balance_summary.rbi b/rbi/stripe/resources/billing/credit_balance_summary.rbi index 300dfa78c..e155f3442 100644 --- a/rbi/stripe/resources/billing/credit_balance_summary.rbi +++ b/rbi/stripe/resources/billing/credit_balance_summary.rbi @@ -6,9 +6,9 @@ module Stripe module Billing # Indicates the billing credit balance for billing credits granted to a customer. class CreditBalanceSummary < SingletonAPIResource - class Balance < Stripe::StripeObject - class AvailableBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class AvailableBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -35,8 +35,8 @@ module Stripe @field_remappings = {} end end - class LedgerBalance < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class LedgerBalance < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -80,7 +80,7 @@ module Stripe sig { returns(T::Array[Balance]) } def balances; end # The customer the balance is for. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The account the balance is for. sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/resources/billing/credit_balance_transaction.rbi b/rbi/stripe/resources/billing/credit_balance_transaction.rbi index 6ae0e61f2..e4950001f 100644 --- a/rbi/stripe/resources/billing/credit_balance_transaction.rbi +++ b/rbi/stripe/resources/billing/credit_balance_transaction.rbi @@ -6,9 +6,9 @@ module Stripe module Billing # A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant. class CreditBalanceTransaction < APIResource - class Credit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Credit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -35,9 +35,9 @@ module Stripe @field_remappings = {} end end - class CreditsApplicationInvoiceVoided < Stripe::StripeObject + class CreditsApplicationInvoiceVoided < ::Stripe::StripeObject # The invoice to which the reinstated billing credits were originally applied. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The invoice line item to which the reinstated billing credits were originally applied. sig { returns(String) } @@ -68,9 +68,9 @@ module Stripe @field_remappings = {} end end - class Debit < Stripe::StripeObject - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Debit < ::Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -97,9 +97,9 @@ module Stripe @field_remappings = {} end end - class CreditsApplied < Stripe::StripeObject + class CreditsApplied < ::Stripe::StripeObject # The invoice to which the billing credits were applied. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The invoice line item to which the billing credits were applied. sig { returns(String) } @@ -134,7 +134,7 @@ module Stripe sig { returns(T.nilable(Credit)) } def credit; end # The credit grant associated with this credit balance transaction. - sig { returns(T.any(String, Stripe::Billing::CreditGrant)) } + sig { returns(T.any(String, ::Stripe::Billing::CreditGrant)) } def credit_grant; end # Debit details for this credit balance transaction. Only present if type is `debit`. sig { returns(T.nilable(Debit)) } @@ -152,14 +152,14 @@ module Stripe sig { returns(String) } def object; end # ID of the test clock this credit balance transaction belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # The type of credit balance transaction (credit or debit). sig { returns(T.nilable(String)) } def type; end # Retrieve a list of credit balance transactions. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing/credit_grant.rbi b/rbi/stripe/resources/billing/credit_grant.rbi index 72c8fab43..2405c353d 100644 --- a/rbi/stripe/resources/billing/credit_grant.rbi +++ b/rbi/stripe/resources/billing/credit_grant.rbi @@ -8,8 +8,8 @@ module Stripe # # Related guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits) class CreditGrant < APIResource - class Amount < Stripe::StripeObject - class Monetary < Stripe::StripeObject + class Amount < ::Stripe::StripeObject + class Monetary < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36,9 +36,9 @@ module Stripe @field_remappings = {} end end - class ApplicabilityConfig < Stripe::StripeObject - class Scope < Stripe::StripeObject - class Price < Stripe::StripeObject + class ApplicabilityConfig < ::Stripe::StripeObject + class Scope < ::Stripe::StripeObject + class Price < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(T.nilable(String)) } def id; end @@ -85,7 +85,7 @@ module Stripe sig { returns(Integer) } def created; end # ID of the customer receiving the billing credits. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account receiving the billing credits sig { returns(T.nilable(String)) } @@ -115,7 +115,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def priority; end # ID of the test clock this credit grant belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Time at which the object was last updated. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -125,43 +125,43 @@ module Stripe def voided_at; end # Creates a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.create(params = {}, opts = {}); end # Expires a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def expire(params = {}, opts = {}); end # Expires a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.expire(id, params = {}, opts = {}); end # Retrieve a list of credit grants. sig { - params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.update(id, params = {}, opts = {}); end # Voids a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def void_grant(params = {}, opts = {}); end # Voids a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def self.void_grant(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing/meter.rbi b/rbi/stripe/resources/billing/meter.rbi index f4cfe679d..4bbee0163 100644 --- a/rbi/stripe/resources/billing/meter.rbi +++ b/rbi/stripe/resources/billing/meter.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based) class Meter < APIResource - class CustomerMapping < Stripe::StripeObject + class CustomerMapping < ::Stripe::StripeObject # The key in the meter event payload to use for mapping the event to a customer. sig { returns(String) } def event_payload_key; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class DefaultAggregation < Stripe::StripeObject + class DefaultAggregation < ::Stripe::StripeObject # Specifies how events are aggregated. sig { returns(String) } def formula; end @@ -33,7 +33,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time the meter was deactivated, if any. Measured in seconds since Unix epoch. sig { returns(T.nilable(Integer)) } def deactivated_at; end @@ -44,7 +44,7 @@ module Stripe @field_remappings = {} end end - class ValueSettings < Stripe::StripeObject + class ValueSettings < ::Stripe::StripeObject # The key in the meter event payload to use as the value for this meter. sig { returns(String) } def event_payload_key; end @@ -96,43 +96,43 @@ module Stripe def value_settings; end # Creates a billing meter. sig { - params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.create(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def deactivate(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.deactivate(id, params = {}, opts = {}); end # Retrieve a list of billing meters. sig { - params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def reactivate(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.reactivate(id, params = {}, opts = {}); end # Updates a billing meter. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def self.update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing/meter_event.rbi b/rbi/stripe/resources/billing/meter_event.rbi index 13c7163c3..1d36c589d 100644 --- a/rbi/stripe/resources/billing/meter_event.rbi +++ b/rbi/stripe/resources/billing/meter_event.rbi @@ -29,7 +29,7 @@ module Stripe def timestamp; end # Creates a billing meter event. sig { - params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEvent) + params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEvent) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing/meter_event_adjustment.rbi b/rbi/stripe/resources/billing/meter_event_adjustment.rbi index be7145f5f..0e48a5e7a 100644 --- a/rbi/stripe/resources/billing/meter_event_adjustment.rbi +++ b/rbi/stripe/resources/billing/meter_event_adjustment.rbi @@ -6,7 +6,7 @@ module Stripe module Billing # A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer. class MeterEventAdjustment < APIResource - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. sig { returns(T.nilable(String)) } def identifier; end @@ -37,7 +37,7 @@ module Stripe def type; end # Creates a billing meter event adjustment. sig { - params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEventAdjustment) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing_portal/configuration.rbi b/rbi/stripe/resources/billing_portal/configuration.rbi index 00386769b..a9079b2ad 100644 --- a/rbi/stripe/resources/billing_portal/configuration.rbi +++ b/rbi/stripe/resources/billing_portal/configuration.rbi @@ -6,7 +6,7 @@ module Stripe module BillingPortal # A portal configuration describes the functionality and behavior of a portal session. class Configuration < APIResource - class BusinessProfile < Stripe::StripeObject + class BusinessProfile < ::Stripe::StripeObject # The messaging shown to customers in the portal. sig { returns(T.nilable(String)) } def headline; end @@ -23,8 +23,8 @@ module Stripe @field_remappings = {} end end - class Features < Stripe::StripeObject - class CustomerUpdate < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class CustomerUpdate < ::Stripe::StripeObject # The types of customer updates that are supported. When empty, customers are not updateable. sig { returns(T::Array[String]) } def allowed_updates; end @@ -38,7 +38,7 @@ module Stripe @field_remappings = {} end end - class InvoiceHistory < Stripe::StripeObject + class InvoiceHistory < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -49,7 +49,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodUpdate < Stripe::StripeObject + class PaymentMethodUpdate < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -60,8 +60,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionCancel < Stripe::StripeObject - class CancellationReason < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class CancellationReason < ::Stripe::StripeObject # Whether the feature is enabled. sig { returns(T::Boolean) } def enabled; end @@ -94,9 +94,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdate < Stripe::StripeObject - class Product < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject + class Product < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # If true, the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -129,8 +129,8 @@ module Stripe @field_remappings = {} end end - class ScheduleAtPeriodEnd < Stripe::StripeObject - class Condition < Stripe::StripeObject + class ScheduleAtPeriodEnd < ::Stripe::StripeObject + class Condition < ::Stripe::StripeObject # The type of condition. sig { returns(String) } def type; end @@ -204,7 +204,7 @@ module Stripe @field_remappings = {} end end - class LoginPage < Stripe::StripeObject + class LoginPage < ::Stripe::StripeObject # If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal. # # If `false`, the previously generated `url`, if any, will be deactivated. @@ -224,7 +224,7 @@ module Stripe sig { returns(T::Boolean) } def active; end # ID of the Connect Application that created the configuration. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field business_profile sig { returns(BusinessProfile) } @@ -264,19 +264,19 @@ module Stripe def updated; end # Creates a configuration that describes the functionality and behavior of a PortalSession sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def self.create(params = {}, opts = {}); end # Returns a list of configurations that describe the functionality of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def self.update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/billing_portal/session.rbi b/rbi/stripe/resources/billing_portal/session.rbi index f3cdfb894..2f37289a0 100644 --- a/rbi/stripe/resources/billing_portal/session.rbi +++ b/rbi/stripe/resources/billing_portal/session.rbi @@ -19,9 +19,9 @@ module Stripe # # Related guide: [Customer management](https://docs.stripe.com/customer-management) class Session < APIResource - class Flow < Stripe::StripeObject - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class Flow < ::Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # A custom message to display to the customer after the flow is completed. sig { returns(T.nilable(String)) } def custom_message; end @@ -32,7 +32,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the flow is completed. sig { returns(String) } def return_url; end @@ -59,9 +59,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionCancel < Stripe::StripeObject - class Retention < Stripe::StripeObject - class CouponOffer < Stripe::StripeObject + class SubscriptionCancel < ::Stripe::StripeObject + class Retention < ::Stripe::StripeObject + class CouponOffer < ::Stripe::StripeObject # The ID of the coupon to be offered. sig { returns(String) } def coupon; end @@ -98,7 +98,7 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdate < Stripe::StripeObject + class SubscriptionUpdate < ::Stripe::StripeObject # The ID of the subscription to be updated. sig { returns(String) } def subscription; end @@ -109,8 +109,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionUpdateConfirm < Stripe::StripeObject - class Discount < Stripe::StripeObject + class SubscriptionUpdateConfirm < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The ID of the coupon to apply to this subscription update. sig { returns(T.nilable(String)) } def coupon; end @@ -124,7 +124,7 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject + class Item < ::Stripe::StripeObject # The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. sig { returns(T.nilable(String)) } def id; end @@ -185,7 +185,7 @@ module Stripe end end # The configuration used by this session, describing the features available. - sig { returns(T.any(String, Stripe::BillingPortal::Configuration)) } + sig { returns(T.any(String, ::Stripe::BillingPortal::Configuration)) } def configuration; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -222,7 +222,7 @@ module Stripe def url; end # Creates a session of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Session) + params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Session) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/capability.rbi b/rbi/stripe/resources/capability.rbi index 4951e8e8f..334eea0a6 100644 --- a/rbi/stripe/resources/capability.rbi +++ b/rbi/stripe/resources/capability.rbi @@ -7,8 +7,8 @@ module Stripe # # Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities) class Capability < APIResource - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -70,8 +70,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -85,7 +85,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -134,7 +134,7 @@ module Stripe end end # The account for which the capability enables functionality. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def account; end # Attribute for field future_requirements sig { returns(T.nilable(FutureRequirements)) } diff --git a/rbi/stripe/resources/capital/financing_offer.rbi b/rbi/stripe/resources/capital/financing_offer.rbi index 1c0bf9579..5f36b8382 100644 --- a/rbi/stripe/resources/capital/financing_offer.rbi +++ b/rbi/stripe/resources/capital/financing_offer.rbi @@ -7,7 +7,7 @@ module Stripe # This is an object representing an offer of financing from # Stripe Capital to a Connect subaccount. class FinancingOffer < APIResource - class AcceptedTerms < Stripe::StripeObject + class AcceptedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. sig { returns(Integer) } def advance_amount; end @@ -31,7 +31,7 @@ module Stripe @field_remappings = {} end end - class OfferedTerms < Stripe::StripeObject + class OfferedTerms < ::Stripe::StripeObject # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. sig { returns(Integer) } def advance_amount; end @@ -115,21 +115,21 @@ module Stripe def type; end # Retrieves the financing offers available for Connected accounts that belong to your platform. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def mark_delivered(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def self.mark_delivered(financing_offer, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/capital/financing_summary.rbi b/rbi/stripe/resources/capital/financing_summary.rbi index 71f75f6f8..67f9e6598 100644 --- a/rbi/stripe/resources/capital/financing_summary.rbi +++ b/rbi/stripe/resources/capital/financing_summary.rbi @@ -7,8 +7,8 @@ module Stripe # A financing object describes an account's current financing state. Used by Connect # platforms to read the state of Capital offered to their connected accounts. class FinancingSummary < SingletonAPIResource - class Details < Stripe::StripeObject - class CurrentRepaymentInterval < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class CurrentRepaymentInterval < ::Stripe::StripeObject # The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited. # Given in seconds since unix epoch. sig { returns(Float) } diff --git a/rbi/stripe/resources/capital/financing_transaction.rbi b/rbi/stripe/resources/capital/financing_transaction.rbi index c2c39f4c7..f4e8440d1 100644 --- a/rbi/stripe/resources/capital/financing_transaction.rbi +++ b/rbi/stripe/resources/capital/financing_transaction.rbi @@ -6,8 +6,8 @@ module Stripe module Capital # This is an object representing the details of a transaction on a Capital financing object. class FinancingTransaction < APIResource - class Details < Stripe::StripeObject - class Transaction < Stripe::StripeObject + class Details < ::Stripe::StripeObject + class Transaction < ::Stripe::StripeObject # The linked payment ID. sig { returns(T.nilable(String)) } def charge; end @@ -88,7 +88,7 @@ module Stripe # Returns a list of financing transactions. The transactions are returned in sorted order, # with the most recent transactions appearing first. sig { - params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/card.rbi b/rbi/stripe/resources/card.rbi index e97239234..c3d552f34 100644 --- a/rbi/stripe/resources/card.rbi +++ b/rbi/stripe/resources/card.rbi @@ -9,7 +9,7 @@ module Stripe # # Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) class Card < APIResource - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. sig { returns(T.nilable(String)) } def preferred; end @@ -21,7 +21,7 @@ module Stripe end end # Attribute for field account - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # City/District/Suburb/Town/Village. sig { returns(T.nilable(String)) } @@ -66,7 +66,7 @@ module Stripe sig { returns(T.nilable(String)) } def currency; end # The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge). sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/resources/cash_balance.rbi b/rbi/stripe/resources/cash_balance.rbi index c53c79623..f2ec6eb5e 100644 --- a/rbi/stripe/resources/cash_balance.rbi +++ b/rbi/stripe/resources/cash_balance.rbi @@ -5,7 +5,7 @@ module Stripe # A customer's `Cash balance` represents real funds. Customers can add funds to their cash balance by sending a bank transfer. These funds can be used for payment and can eventually be paid out to your bank account. class CashBalance < APIResource - class Settings < Stripe::StripeObject + class Settings < ::Stripe::StripeObject # The configuration for how funds that land in the customer cash balance are reconciled. sig { returns(String) } def reconciliation_mode; end diff --git a/rbi/stripe/resources/charge.rbi b/rbi/stripe/resources/charge.rbi index dabb62932..c64dc4ad3 100644 --- a/rbi/stripe/resources/charge.rbi +++ b/rbi/stripe/resources/charge.rbi @@ -7,8 +7,8 @@ module Stripe # PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/docs/connect/account-debits) may also create Charges. # Some legacy payment flows create Charges directly, which is not recommended for new integrations. class Charge < APIResource - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -56,7 +56,7 @@ module Stripe @field_remappings = {} end end - class FraudDetails < Stripe::StripeObject + class FraudDetails < ::Stripe::StripeObject # Assessments from Stripe. If set, the value is `fraudulent`. sig { returns(T.nilable(String)) } def stripe_report; end @@ -70,8 +70,8 @@ module Stripe @field_remappings = {} end end - class Level3 < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class Level3 < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # Attribute for field discount_amount sig { returns(T.nilable(Integer)) } def discount_amount; end @@ -122,8 +122,8 @@ module Stripe @field_remappings = {} end end - class Outcome < Stripe::StripeObject - class Rule < Stripe::StripeObject + class Outcome < ::Stripe::StripeObject + class Rule < ::Stripe::StripeObject # The action taken on the payment. sig { returns(String) } def action; end @@ -177,8 +177,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -198,7 +198,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -224,7 +224,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -250,7 +250,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -267,7 +267,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -281,7 +281,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -298,8 +298,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -323,9 +323,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -380,7 +380,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -400,7 +400,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -420,7 +420,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -431,10 +431,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -454,7 +454,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -465,7 +465,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -476,7 +476,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -487,8 +487,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -505,7 +505,7 @@ module Stripe @field_remappings = {} end end - class DecrementalAuthorization < Stripe::StripeObject + class DecrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the decremental authorization feature is supported. sig { returns(String) } def status; end @@ -516,7 +516,7 @@ module Stripe @field_remappings = {} end end - class ExtendedAuthorization < Stripe::StripeObject + class ExtendedAuthorization < ::Stripe::StripeObject # Indicates whether or not the capture window is extended beyond the standard authorization. sig { returns(String) } def status; end @@ -527,7 +527,7 @@ module Stripe @field_remappings = {} end end - class IncrementalAuthorization < Stripe::StripeObject + class IncrementalAuthorization < ::Stripe::StripeObject # Indicates whether or not the incremental authorization feature is supported. sig { returns(String) } def status; end @@ -538,8 +538,8 @@ module Stripe @field_remappings = {} end end - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -567,7 +567,7 @@ module Stripe @field_remappings = {} end end - class Multicapture < Stripe::StripeObject + class Multicapture < ::Stripe::StripeObject # Indicates whether or not multiple captures are supported. sig { returns(String) } def status; end @@ -578,7 +578,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -589,7 +589,7 @@ module Stripe @field_remappings = {} end end - class Overcapture < Stripe::StripeObject + class Overcapture < ::Stripe::StripeObject # The maximum amount that can be captured. sig { returns(Integer) } def maximum_amount_capturable; end @@ -603,7 +603,7 @@ module Stripe @field_remappings = {} end end - class PartialAuthorization < Stripe::StripeObject + class PartialAuthorization < ::Stripe::StripeObject # Indicates whether the transaction requested for partial authorization feature and the authorization outcome. sig { returns(String) } def status; end @@ -614,7 +614,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. sig { returns(T.nilable(String)) } @@ -651,8 +651,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -660,7 +660,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -668,7 +668,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -676,7 +676,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -684,8 +684,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -711,7 +711,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -759,7 +759,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -767,8 +767,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -794,7 +794,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -997,8 +997,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -1012,7 +1012,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -1047,7 +1047,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -1142,7 +1142,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1159,7 +1159,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -1179,7 +1179,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1187,7 +1187,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -1203,7 +1203,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1220,7 +1220,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1242,7 +1242,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1250,7 +1250,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -1261,7 +1261,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -1284,7 +1284,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -1292,10 +1292,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -1311,8 +1311,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -1410,7 +1410,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1424,9 +1424,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -1465,8 +1465,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -1487,7 +1487,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -1507,7 +1507,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -1519,7 +1519,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1527,8 +1527,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -1561,7 +1561,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -1575,7 +1575,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1589,7 +1589,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1615,7 +1615,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -1626,7 +1626,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -1645,7 +1645,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1653,7 +1653,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1667,7 +1667,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -1684,8 +1684,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -1699,7 +1699,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1725,7 +1725,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1800,7 +1800,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1808,7 +1808,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -1828,7 +1828,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -1842,7 +1842,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -1853,7 +1853,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1861,7 +1861,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -1869,9 +1872,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -1926,7 +1929,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1940,7 +1943,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -1951,7 +1954,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -1968,7 +1971,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1994,7 +1997,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2002,7 +2005,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -2016,10 +2019,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -2039,7 +2042,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2047,7 +2050,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -2061,7 +2064,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -2078,7 +2081,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2086,7 +2089,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -2103,7 +2106,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer's bank. sig { returns(T.nilable(String)) } @@ -2118,7 +2121,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2126,7 +2129,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -2146,7 +2149,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2423,7 +2426,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -2437,7 +2440,7 @@ module Stripe @field_remappings = {} end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -2448,8 +2451,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2497,12 +2500,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. sig { returns(T.nilable(Integer)) } def amount; end # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -2521,10 +2524,10 @@ module Stripe sig { returns(Integer) } def amount_refunded; end # ID of the Connect application that created the charge. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details. - sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ApplicationFee))) } def application_fee; end # The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details. sig { returns(T.nilable(Integer)) } @@ -2533,7 +2536,7 @@ module Stripe sig { returns(T.nilable(String)) } def authorization_code; end # ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Attribute for field billing_details sig { returns(BillingDetails) } @@ -2551,7 +2554,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer this charge is for if one exists. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } @@ -2560,7 +2563,7 @@ module Stripe sig { returns(T::Boolean) } def disputed; end # ID of the balance transaction that describes the reversal of the balance on your account due to payment failure. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes). sig { returns(T.nilable(String)) } @@ -2587,7 +2590,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details. sig { returns(T.nilable(Outcome)) } @@ -2596,7 +2599,7 @@ module Stripe sig { returns(T::Boolean) } def paid; end # ID of the PaymentIntent associated with this charge, if one exists. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # ID of the payment method used in this charge. sig { returns(T.nilable(String)) } @@ -2623,21 +2626,21 @@ module Stripe sig { returns(T::Boolean) } def refunded; end # A list of refunds that have been applied to the charge. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def refunds; end # ID of the review associated with this charge if one exists. - sig { returns(T.nilable(T.any(String, Stripe::Review))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Review))) } def review; end # Shipping information for the charge. sig { returns(T.nilable(Shipping)) } def shipping; end # This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead. sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details. - sig { returns(T.nilable(T.any(String, Stripe::Transfer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Transfer))) } def source_transfer; end # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). # @@ -2651,7 +2654,7 @@ module Stripe sig { returns(String) } def status; end # ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter). - sig { returns(T.nilable(T.any(String, Stripe::Transfer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Transfer))) } def transfer; end # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. sig { returns(T.nilable(TransferData)) } @@ -2665,7 +2668,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def capture(params = {}, opts = {}); end @@ -2675,7 +2678,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.capture(charge, params = {}, opts = {}); end @@ -2683,29 +2686,29 @@ module Stripe # to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge # object used to request payment. sig { - params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.create(params = {}, opts = {}); end # Returns a list of charges you've previously created. The charges are returned in sorted order, with the most recent charges appearing first. sig { - params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def self.update(charge, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/checkout/session.rbi b/rbi/stripe/resources/checkout/session.rbi index c3a13751c..ef83a6c6a 100644 --- a/rbi/stripe/resources/checkout/session.rbi +++ b/rbi/stripe/resources/checkout/session.rbi @@ -19,7 +19,7 @@ module Stripe # # Related guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart) class Session < APIResource - class AdaptivePricing < Stripe::StripeObject + class AdaptivePricing < ::Stripe::StripeObject # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). sig { returns(T::Boolean) } def enabled; end @@ -30,8 +30,8 @@ module Stripe @field_remappings = {} end end - class AfterExpiration < Stripe::StripeObject - class Recovery < Stripe::StripeObject + class AfterExpiration < ::Stripe::StripeObject + class Recovery < ::Stripe::StripeObject # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` sig { returns(T::Boolean) } def allow_promotion_codes; end @@ -63,10 +63,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -97,8 +97,8 @@ module Stripe @field_remappings = {} end end - class BrandingSettings < Stripe::StripeObject - class Icon < Stripe::StripeObject + class BrandingSettings < ::Stripe::StripeObject + class Icon < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -115,7 +115,7 @@ module Stripe @field_remappings = {} end end - class Logo < Stripe::StripeObject + class Logo < ::Stripe::StripeObject # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. sig { returns(T.nilable(String)) } def file; end @@ -160,9 +160,9 @@ module Stripe @field_remappings = {} end end - class CollectedInformation < Stripe::StripeObject - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CollectedInformation < ::Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -201,7 +201,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -240,7 +240,7 @@ module Stripe @field_remappings = {} end end - class Consent < Stripe::StripeObject + class Consent < ::Stripe::StripeObject # If `opt_in`, the customer consents to receiving promotional communications # from the merchant about this Checkout Session. sig { returns(T.nilable(String)) } @@ -255,8 +255,8 @@ module Stripe @field_remappings = {} end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -287,7 +287,7 @@ module Stripe @field_remappings = {} end end - class CurrencyConversion < Stripe::StripeObject + class CurrencyConversion < ::Stripe::StripeObject # Total of all items in source currency before discounts or taxes are applied. sig { returns(Integer) } def amount_subtotal; end @@ -307,9 +307,9 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -339,7 +339,7 @@ module Stripe @field_remappings = {} end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(T.nilable(String)) } def custom; end @@ -353,7 +353,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -373,7 +373,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -421,8 +421,8 @@ module Stripe @field_remappings = {} end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -433,7 +433,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -444,7 +444,7 @@ module Stripe @field_remappings = {} end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -455,7 +455,7 @@ module Stripe @field_remappings = {} end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -490,8 +490,8 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -517,7 +517,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -563,12 +563,12 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # Coupon attached to the Checkout Session. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # Promotion code attached to the Checkout Session. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {} @@ -577,9 +577,9 @@ module Stripe @field_remappings = {} end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -593,9 +593,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -607,7 +607,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -622,7 +622,7 @@ module Stripe end end # The account tax IDs associated with the invoice. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Custom fields displayed on the invoice. sig { returns(T.nilable(T::Array[CustomField])) } @@ -666,8 +666,8 @@ module Stripe @field_remappings = {} end end - class NameCollection < Stripe::StripeObject - class Business < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject # Indicates whether business name collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -681,7 +681,7 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Indicates whether individual name collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -708,8 +708,8 @@ module Stripe @field_remappings = {} end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -742,7 +742,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -756,9 +756,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -809,7 +809,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -829,7 +829,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -849,7 +849,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -866,7 +866,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -877,7 +877,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -897,7 +897,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -917,8 +917,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -951,7 +951,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -968,7 +968,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -979,7 +979,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(Integer) } def expires_after_days; end @@ -999,8 +999,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Indicates if installments are enabled sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -1011,7 +1011,7 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session. sig { returns(T.nilable(T::Array[String])) } def brands_blocked; end @@ -1071,7 +1071,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1091,9 +1091,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -1144,7 +1144,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1161,7 +1161,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1178,7 +1178,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1195,7 +1195,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1212,7 +1212,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1229,7 +1229,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1249,7 +1249,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1269,7 +1269,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. sig { returns(T.nilable(Integer)) } def expires_after_days; end @@ -1289,7 +1289,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1309,7 +1309,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1329,7 +1329,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1349,7 +1349,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1366,7 +1366,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1386,7 +1386,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -1406,7 +1406,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1423,7 +1423,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1434,7 +1434,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1451,7 +1451,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1480,8 +1480,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -1529,8 +1529,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -1587,7 +1587,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1607,7 +1607,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1618,7 +1618,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1629,8 +1629,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1663,7 +1663,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1680,7 +1680,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. sig { returns(T.nilable(String)) } def reference; end @@ -1691,9 +1691,26 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + # Indicates that you intend to make future payments with this PaymentIntent's payment method. + # + # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + # + # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + # + # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + sig { returns(T.nilable(String)) } + def setup_future_usage; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -1707,7 +1724,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -1885,6 +1902,9 @@ module Stripe # Attribute for field swish sig { returns(T.nilable(Swish)) } def swish; end + # Attribute for field twint + sig { returns(T.nilable(Twint)) } + def twint; end # Attribute for field us_bank_account sig { returns(T.nilable(UsBankAccount)) } def us_bank_account; end @@ -1930,6 +1950,7 @@ module Stripe sepa_debit: SepaDebit, sofort: Sofort, swish: Swish, + twint: Twint, us_bank_account: UsBankAccount, } end @@ -1937,8 +1958,8 @@ module Stripe @field_remappings = {} end end - class Permissions < Stripe::StripeObject - class Update < Stripe::StripeObject + class Permissions < ::Stripe::StripeObject + class Update < ::Stripe::StripeObject # Determines which entity is allowed to update the line items. # # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. @@ -1984,7 +2005,7 @@ module Stripe @field_remappings = {} end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # Indicates whether phone number collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -1995,7 +2016,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -2009,7 +2030,7 @@ module Stripe @field_remappings = {} end end - class SavedPaymentMethodOptions < Stripe::StripeObject + class SavedPaymentMethodOptions < ::Stripe::StripeObject # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. sig { returns(T.nilable(T::Array[String])) } def allow_redisplay_filters; end @@ -2026,7 +2047,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. sig { returns(T::Array[String]) } @@ -2038,15 +2059,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -2071,7 +2092,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this order. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -2083,12 +2104,12 @@ module Stripe @field_remappings = {} end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def shipping_amount; end # The shipping rate. - sig { returns(T.any(String, Stripe::ShippingRate)) } + sig { returns(T.any(String, ::Stripe::ShippingRate)) } def shipping_rate; end def self.inner_class_types @inner_class_types = {} @@ -2097,7 +2118,7 @@ module Stripe @field_remappings = {} end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session sig { returns(T::Boolean) } def enabled; end @@ -2111,9 +2132,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -2121,7 +2142,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -2130,14 +2151,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -2184,8 +2205,8 @@ module Stripe @field_remappings = {} end end - class WalletOptions < Stripe::StripeObject - class Link < Stripe::StripeObject + class WalletOptions < ::Stripe::StripeObject + class Link < ::Stripe::StripeObject # Describes whether Checkout should display Link. Defaults to `auto`. sig { returns(T.nilable(String)) } def display; end @@ -2271,7 +2292,7 @@ module Stripe # will create a new customer object based on information provided # during the payment flow unless an existing customer was provided when # the Session was created. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account for this Session. sig { returns(T.nilable(String)) } @@ -2302,13 +2323,13 @@ module Stripe sig { returns(String) } def id; end # ID of the invoice created by the Checkout Session, if it exists. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Details on the state of invoice creation for the Checkout Session. sig { returns(T.nilable(InvoiceCreation)) } def invoice_creation; end # The line items purchased by the customer. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -2335,10 +2356,10 @@ module Stripe sig { returns(T.nilable(String)) } def origin_context; end # The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The ID of the Payment Link that created this Session. - sig { returns(T.nilable(T.any(String, Stripe::PaymentLink))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentLink))) } def payment_link; end # Configure whether a Checkout Session should collect a payment method. Defaults to `always`. sig { returns(T.nilable(String)) } @@ -2381,7 +2402,7 @@ module Stripe sig { returns(T.nilable(SavedPaymentMethodOptions)) } def saved_payment_method_options; end # The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. - sig { returns(T.nilable(T.any(String, Stripe::SetupIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupIntent))) } def setup_intent; end # When set, provides configuration for Checkout to collect a shipping address from a customer. sig { returns(T.nilable(ShippingAddressCollection)) } @@ -2401,7 +2422,7 @@ module Stripe sig { returns(T.nilable(String)) } def submit_type; end # The ID of the [Subscription](https://stripe.com/docs/api/subscriptions) for Checkout Sessions in `subscription` mode. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # The URL the customer will be directed to after the payment or # subscription creation is successful. @@ -2425,7 +2446,7 @@ module Stripe def wallet_options; end # Creates a Checkout Session object. sig { - params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.create(params = {}, opts = {}); end @@ -2433,7 +2454,7 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def expire(params = {}, opts = {}); end @@ -2441,25 +2462,25 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.expire(session, params = {}, opts = {}); end # Returns a list of Checkout Sessions. sig { - params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(session: String, params: T.any(::Stripe::Checkout::SessionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(session, params = {}, opts = {}); end @@ -2467,7 +2488,7 @@ module Stripe # # Related guide: [Dynamically update Checkout](https://docs.stripe.com/payments/checkout/dynamic-updates) sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def self.update(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/climate/order.rbi b/rbi/stripe/resources/climate/order.rbi index e4c557e68..905a2bb09 100644 --- a/rbi/stripe/resources/climate/order.rbi +++ b/rbi/stripe/resources/climate/order.rbi @@ -7,7 +7,7 @@ module Stripe # Orders represent your intent to purchase a particular Climate product. When you create an order, the # payment is deducted from your merchant balance. class Order < APIResource - class Beneficiary < Stripe::StripeObject + class Beneficiary < ::Stripe::StripeObject # Publicly displayable name for the end beneficiary of carbon removal. sig { returns(String) } def public_name; end @@ -18,8 +18,8 @@ module Stripe @field_remappings = {} end end - class DeliveryDetail < Stripe::StripeObject - class Location < Stripe::StripeObject + class DeliveryDetail < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. sig { returns(T.nilable(String)) } def city; end @@ -55,7 +55,7 @@ module Stripe sig { returns(T.nilable(String)) } def registry_url; end # A supplier of carbon removal. - sig { returns(Stripe::Climate::Supplier) } + sig { returns(::Stripe::Climate::Supplier) } def supplier; end def self.inner_class_types @inner_class_types = {location: Location} @@ -122,7 +122,7 @@ module Stripe sig { returns(String) } def object; end # Unique ID for the Climate `Product` this order is purchasing. - sig { returns(T.any(String, Stripe::Climate::Product)) } + sig { returns(T.any(String, ::Stripe::Climate::Product)) } def product; end # Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch. sig { returns(T.nilable(Integer)) } @@ -135,7 +135,7 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def cancel(params = {}, opts = {}); end @@ -144,27 +144,27 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.cancel(order, params = {}, opts = {}); end # Creates a Climate order object for a given Climate product. The order will be processed immediately # after creation and payment will be deducted your Stripe balance. sig { - params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.create(params = {}, opts = {}); end # Lists all Climate order objects. The orders are returned sorted by creation date, with the # most recently created orders appearing first. sig { - params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified order by setting the values of the parameters passed. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def self.update(order, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/climate/product.rbi b/rbi/stripe/resources/climate/product.rbi index 351577744..e21863420 100644 --- a/rbi/stripe/resources/climate/product.rbi +++ b/rbi/stripe/resources/climate/product.rbi @@ -7,7 +7,7 @@ module Stripe # A Climate product represents a type of carbon removal unit available for reservation. # You can retrieve it to see the current price and availability. class Product < APIResource - class CurrentPricesPerMetricTon < Stripe::StripeObject + class CurrentPricesPerMetricTon < ::Stripe::StripeObject # Fees for one metric ton of carbon removal in the currency's smallest unit. sig { returns(Integer) } def amount_fees; end @@ -51,11 +51,11 @@ module Stripe sig { returns(String) } def object; end # The carbon removal suppliers that fulfill orders for this Climate product. - sig { returns(T::Array[Stripe::Climate::Supplier]) } + sig { returns(T::Array[::Stripe::Climate::Supplier]) } def suppliers; end # Lists all available Climate product objects. sig { - params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/climate/supplier.rbi b/rbi/stripe/resources/climate/supplier.rbi index eada09a27..b7341ebd5 100644 --- a/rbi/stripe/resources/climate/supplier.rbi +++ b/rbi/stripe/resources/climate/supplier.rbi @@ -6,7 +6,7 @@ module Stripe module Climate # A supplier of carbon removal. class Supplier < APIResource - class Location < Stripe::StripeObject + class Location < ::Stripe::StripeObject # The city where the supplier is located. sig { returns(T.nilable(String)) } def city; end @@ -52,7 +52,7 @@ module Stripe def removal_pathway; end # Lists all available Climate supplier objects. sig { - params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/confirmation_token.rbi b/rbi/stripe/resources/confirmation_token.rbi index 1aafb6baa..e77f2a7ca 100644 --- a/rbi/stripe/resources/confirmation_token.rbi +++ b/rbi/stripe/resources/confirmation_token.rbi @@ -11,9 +11,9 @@ module Stripe # - [Finalize payments on the server](https://stripe.com/docs/payments/finalize-payments-on-the-server) # - [Build two-step confirmation](https://stripe.com/docs/payments/build-a-two-step-confirmation). class ConfirmationToken < APIResource - class MandateData < Stripe::StripeObject - class CustomerAcceptance < Stripe::StripeObject - class Online < Stripe::StripeObject + class MandateData < ::Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Online < ::Stripe::StripeObject # The IP address from which the Mandate was accepted by the customer. sig { returns(T.nilable(String)) } def ip_address; end @@ -50,10 +50,10 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class Plan < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -104,8 +104,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodPreview < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodPreview < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -131,7 +131,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -139,7 +139,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -147,7 +147,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -155,7 +155,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -163,7 +163,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -171,7 +171,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -188,7 +188,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -205,7 +205,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -213,7 +213,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -221,8 +221,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -270,7 +270,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -278,7 +278,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) sig { returns(String) } def tax_id; end @@ -289,8 +289,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -307,10 +307,10 @@ module Stripe @field_remappings = {} end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -324,7 +324,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -359,7 +359,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -474,7 +474,7 @@ module Stripe sig { returns(T.nilable(PaymentMethodDetails)) } def payment_method_details; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {payment_method_details: PaymentMethodDetails} @@ -483,7 +483,7 @@ module Stripe @field_remappings = {} end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -497,7 +497,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. sig { returns(T::Boolean) } def supported; end @@ -508,8 +508,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -517,7 +517,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -525,7 +525,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -533,7 +533,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -541,8 +541,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -568,7 +568,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -616,7 +616,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -624,8 +624,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -651,7 +651,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -807,8 +807,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -822,7 +822,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -836,7 +836,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -907,7 +907,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -921,7 +921,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -929,7 +929,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -937,7 +937,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -948,7 +948,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -962,7 +962,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -970,7 +970,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -978,7 +978,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -986,7 +986,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -1006,7 +1006,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -1020,8 +1020,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -1086,7 +1086,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1094,8 +1094,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -1122,7 +1122,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1130,7 +1130,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -1144,7 +1144,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. sig { returns(T.nilable(String)) } def email; end @@ -1158,7 +1158,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1166,7 +1166,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1174,7 +1174,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1182,7 +1182,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1196,7 +1196,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1222,7 +1222,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1230,7 +1230,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. sig { returns(T.nilable(String)) } def bank; end @@ -1241,7 +1241,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1249,7 +1249,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1257,7 +1257,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1265,7 +1265,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. sig { returns(T.nilable(String)) } def country; end @@ -1290,7 +1290,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1298,7 +1298,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -1315,7 +1315,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1323,7 +1323,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1331,7 +1331,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1339,8 +1339,8 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1367,7 +1367,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1375,7 +1375,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1383,7 +1383,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1391,13 +1391,13 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {} @@ -1431,7 +1431,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1439,7 +1439,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. sig { returns(T.nilable(String)) } def country; end @@ -1450,7 +1450,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1464,7 +1464,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1472,7 +1472,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1480,8 +1480,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. sig { returns(T.nilable(String)) } def preferred; end @@ -1495,8 +1495,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. sig { returns(T.nilable(String)) } def network_code; end @@ -1557,7 +1557,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1565,7 +1565,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1628,7 +1628,7 @@ module Stripe sig { returns(T.nilable(Crypto)) } def crypto; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -1833,8 +1833,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/resources/connect_collection_transfer.rbi b/rbi/stripe/resources/connect_collection_transfer.rbi index 60aa72171..5a9639f22 100644 --- a/rbi/stripe/resources/connect_collection_transfer.rbi +++ b/rbi/stripe/resources/connect_collection_transfer.rbi @@ -11,7 +11,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the account that funds are being collected for. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end # Unique identifier for the object. sig { returns(String) } diff --git a/rbi/stripe/resources/country_spec.rbi b/rbi/stripe/resources/country_spec.rbi index 190d07c3e..b127b146f 100644 --- a/rbi/stripe/resources/country_spec.rbi +++ b/rbi/stripe/resources/country_spec.rbi @@ -10,8 +10,8 @@ module Stripe # You can also view the information from this API call as [an online # guide](https://docs.stripe.com/docs/connect/required-verification-information). class CountrySpec < APIResource - class VerificationFields < Stripe::StripeObject - class Company < Stripe::StripeObject + class VerificationFields < ::Stripe::StripeObject + class Company < ::Stripe::StripeObject # Additional fields which are only required for some users. sig { returns(T::Array[String]) } def additional; end @@ -25,7 +25,7 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject + class Individual < ::Stripe::StripeObject # Additional fields which are only required for some users. sig { returns(T::Array[String]) } def additional; end @@ -78,7 +78,7 @@ module Stripe def verification_fields; end # Lists all Country Spec objects available in the API. sig { - params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/coupon.rbi b/rbi/stripe/resources/coupon.rbi index 73686d3d4..0b088b83e 100644 --- a/rbi/stripe/resources/coupon.rbi +++ b/rbi/stripe/resources/coupon.rbi @@ -7,7 +7,7 @@ module Stripe # might want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices), # [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents). class Coupon < APIResource - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A list of product IDs this coupon applies to sig { returns(T::Array[String]) } def products; end @@ -18,7 +18,7 @@ module Stripe @field_remappings = {} end end - class CurrencyOptions < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. sig { returns(Integer) } def amount_off; end @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class Script < Stripe::StripeObject + class Script < ::Stripe::StripeObject # The configuration values of the script. The keys and values are specific to the script implementation. sig { returns(T::Hash[String, T.untyped]) } def configuration; end @@ -110,31 +110,31 @@ module Stripe # # A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it. sig { - params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.create(params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.delete(coupon, params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def delete(params = {}, opts = {}); end # Returns a list of your coupons. sig { - params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. sig { - params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def self.update(coupon, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/credit_note.rbi b/rbi/stripe/resources/credit_note.rbi index f69fe09b9..d4fb21927 100644 --- a/rbi/stripe/resources/credit_note.rbi +++ b/rbi/stripe/resources/credit_note.rbi @@ -7,12 +7,12 @@ module Stripe # # Related guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes) class CreditNote < APIResource - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -21,15 +21,15 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -41,29 +41,49 @@ module Stripe @field_remappings = {} end end - class Refund < Stripe::StripeObject + class Refund < ::Stripe::StripeObject + class PaymentRecordRefund < ::Stripe::StripeObject + # ID of the payment record. + sig { returns(String) } + def payment_record; end + # ID of the refund group. + sig { returns(String) } + def refund_group; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end # Amount of the refund that applies to this credit note, in cents (or local equivalent). sig { returns(Integer) } def amount_refunded; end + # The PaymentRecord refund details associated with this credit note refund. + sig { returns(T.nilable(PaymentRecordRefund)) } + def payment_record_refund; end # ID of the refund. - sig { returns(T.any(String, Stripe::Refund)) } + sig { returns(T.any(String, ::Stripe::Refund)) } def refund; end + # Type of the refund, one of `refund` or `payment_record_refund`. + sig { returns(T.nilable(String)) } + def type; end def self.inner_class_types - @inner_class_types = {} + @inner_class_types = {payment_record_refund: PaymentRecordRefund} end def self.field_remappings @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -88,7 +108,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -100,8 +120,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -150,13 +170,13 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account. sig { returns(T.nilable(String)) } def customer_account; end # Customer balance transaction related to this credit note. - sig { returns(T.nilable(T.any(String, Stripe::CustomerBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::CustomerBalanceTransaction))) } def customer_balance_transaction; end # The integer amount in cents (or local equivalent) representing the total amount of discount that was credited. sig { returns(Integer) } @@ -171,10 +191,10 @@ module Stripe sig { returns(String) } def id; end # ID of the invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # Line items that make up the credit note - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -253,43 +273,43 @@ module Stripe # You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount, # post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation. sig { - params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.create(params = {}, opts = {}); end # Returns a list of credit notes. sig { - params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::CreditNoteListPreviewLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListPreviewLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_preview_line_items(params = {}, opts = {}); end # Get a preview of a credit note without creating it. sig { - params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.preview(params = {}, opts = {}); end # Updates an existing credit note. sig { - params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.update(id, params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def void_credit_note(params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def self.void_credit_note(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/credit_note_line_item.rbi b/rbi/stripe/resources/credit_note_line_item.rbi index b9cfca384..d8e302c66 100644 --- a/rbi/stripe/resources/credit_note_line_item.rbi +++ b/rbi/stripe/resources/credit_note_line_item.rbi @@ -5,12 +5,12 @@ module Stripe # The credit note line item object class CreditNoteLineItem < StripeObject - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -19,15 +19,15 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -39,7 +39,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -53,8 +53,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -124,7 +124,7 @@ module Stripe sig { returns(T.nilable(TaxCalculationReference)) } def tax_calculation_reference; end # The tax rates which apply to the line item. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def tax_rates; end # The tax information of the line item. sig { returns(T.nilable(T::Array[Tax])) } diff --git a/rbi/stripe/resources/customer.rbi b/rbi/stripe/resources/customer.rbi index a43f96e07..2f7b4d05c 100644 --- a/rbi/stripe/resources/customer.rbi +++ b/rbi/stripe/resources/customer.rbi @@ -6,7 +6,7 @@ module Stripe # This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information, # and track payments that belong to the same customer. class Customer < APIResource - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -32,8 +32,8 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -47,7 +47,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -65,7 +65,7 @@ module Stripe sig { returns(T.nilable(T::Array[CustomField])) } def custom_fields; end # ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Default footer to be displayed on invoices for this customer. sig { returns(T.nilable(String)) } @@ -80,8 +80,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -129,8 +129,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. sig { returns(String) } def country; end @@ -173,7 +173,7 @@ module Stripe sig { returns(T.nilable(String)) } def business_name; end # The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is "cash_balance". The `settings[reconciliation_mode]` field describes if these funds apply to these payment intents manually or automatically. - sig { returns(T.nilable(Stripe::CashBalance)) } + sig { returns(T.nilable(::Stripe::CashBalance)) } def cash_balance; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -188,7 +188,7 @@ module Stripe # # If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`. @@ -202,7 +202,7 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # Describes the current discount active on the customer, if there is one. - sig { returns(T.nilable(Stripe::Discount)) } + sig { returns(T.nilable(::Stripe::Discount)) } def discount; end # The customer's email address. sig { returns(T.nilable(String)) } @@ -247,10 +247,10 @@ module Stripe sig { returns(T.nilable(Shipping)) } def shipping; end # The customer's payment sources, if any. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def sources; end # The customer's current subscriptions, if any. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def subscriptions; end # Attribute for field tax sig { returns(T.nilable(Tax)) } @@ -259,17 +259,17 @@ module Stripe sig { returns(T.nilable(String)) } def tax_exempt; end # The customer's tax IDs. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def tax_ids; end # ID of the test clock that this customer belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end # Creates a new customer object. sig { - params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.create(params = {}, opts = {}); end @@ -277,7 +277,7 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def create_funding_instructions(params = {}, opts = {}); end @@ -285,49 +285,49 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(customer: String, params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(customer: String, params: T.any(::Stripe::CustomerCreateFundingInstructionsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def self.create_funding_instructions(customer, params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.delete(customer, params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def delete(params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def self.delete_discount(customer, params = {}, opts = {}); end # Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. sig { - params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Returns a list of PaymentMethods for a given Customer sig { - params(params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_payment_methods(params = {}, opts = {}); end # Returns a list of PaymentMethods for a given Customer sig { - params(customer: String, params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerListPaymentMethodsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_payment_methods(customer, params = {}, opts = {}); end @@ -339,23 +339,23 @@ module Stripe # Retrieves a PaymentMethod object for a given Customer. sig { - params(payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve_payment_method(payment_method, params = {}, opts = {}); end # Retrieves a PaymentMethod object for a given Customer. sig { - params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerRetrievePaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.retrieve_payment_method(customer, payment_method, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -363,7 +363,7 @@ module Stripe # # This request accepts mostly the same arguments as the customer creation call. sig { - params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def self.update(customer, params = {}, opts = {}); end diff --git a/rbi/stripe/resources/customer_balance_transaction.rbi b/rbi/stripe/resources/customer_balance_transaction.rbi index 84e45e955..b615a9562 100644 --- a/rbi/stripe/resources/customer_balance_transaction.rbi +++ b/rbi/stripe/resources/customer_balance_transaction.rbi @@ -14,19 +14,19 @@ module Stripe sig { returns(Integer) } def amount; end # The ID of the checkout session (if any) that created the transaction. - sig { returns(T.nilable(T.any(String, Stripe::Checkout::Session))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Checkout::Session))) } def checkout_session; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } def created; end # The ID of the credit note (if any) related to the transaction. - sig { returns(T.nilable(T.any(String, Stripe::CreditNote))) } + sig { returns(T.nilable(T.any(String, ::Stripe::CreditNote))) } def credit_note; end # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end # The ID of the customer the transaction belongs to. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -41,7 +41,7 @@ module Stripe sig { returns(String) } def id; end # The ID of the invoice (if any) related to the transaction. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } diff --git a/rbi/stripe/resources/customer_cash_balance_transaction.rbi b/rbi/stripe/resources/customer_cash_balance_transaction.rbi index 65883b28e..71c3c9aa9 100644 --- a/rbi/stripe/resources/customer_cash_balance_transaction.rbi +++ b/rbi/stripe/resources/customer_cash_balance_transaction.rbi @@ -8,12 +8,12 @@ module Stripe # represent when funds are moved into or out of this balance. This includes funding by the customer, allocation # to payments, and refunds to the customer. class CustomerCashBalanceTransaction < APIResource - class AdjustedForOverdraft < Stripe::StripeObject + class AdjustedForOverdraft < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds taken out of your Stripe balance. - sig { returns(T.any(String, Stripe::BalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::BalanceTransaction)) } def balance_transaction; end # The [Cash Balance Transaction](https://stripe.com/docs/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds. - sig { returns(T.any(String, Stripe::CustomerCashBalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::CustomerCashBalanceTransaction)) } def linked_transaction; end def self.inner_class_types @inner_class_types = {} @@ -22,9 +22,9 @@ module Stripe @field_remappings = {} end end - class AppliedToPayment < Stripe::StripeObject + class AppliedToPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were applied to. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {} @@ -33,9 +33,9 @@ module Stripe @field_remappings = {} end end - class Funded < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class Funded < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The BIC of the bank of the sender of the funding. sig { returns(T.nilable(String)) } def bic; end @@ -52,7 +52,7 @@ module Stripe @field_remappings = {} end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The last 4 digits of the account number of the sender of the funding. sig { returns(T.nilable(String)) } def account_number_last4; end @@ -69,7 +69,7 @@ module Stripe @field_remappings = {} end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The name of the bank of the sender of the funding. sig { returns(T.nilable(String)) } def sender_bank; end @@ -86,7 +86,7 @@ module Stripe @field_remappings = {} end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The banking network used for this funding. sig { returns(T.nilable(String)) } def network; end @@ -140,9 +140,9 @@ module Stripe @field_remappings = {} end end - class RefundedFromPayment < Stripe::StripeObject + class RefundedFromPayment < ::Stripe::StripeObject # The [Refund](https://stripe.com/docs/api/refunds/object) that moved these funds into the customer's cash balance. - sig { returns(T.any(String, Stripe::Refund)) } + sig { returns(T.any(String, ::Stripe::Refund)) } def refund; end def self.inner_class_types @inner_class_types = {} @@ -151,9 +151,9 @@ module Stripe @field_remappings = {} end end - class TransferredToBalance < Stripe::StripeObject + class TransferredToBalance < ::Stripe::StripeObject # The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance. - sig { returns(T.any(String, Stripe::BalanceTransaction)) } + sig { returns(T.any(String, ::Stripe::BalanceTransaction)) } def balance_transaction; end def self.inner_class_types @inner_class_types = {} @@ -162,9 +162,9 @@ module Stripe @field_remappings = {} end end - class UnappliedFromPayment < Stripe::StripeObject + class UnappliedFromPayment < ::Stripe::StripeObject # The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were unapplied from. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {} @@ -186,7 +186,7 @@ module Stripe sig { returns(String) } def currency; end # The customer whose available cash balance changed as a result of this transaction. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } diff --git a/rbi/stripe/resources/customer_session.rbi b/rbi/stripe/resources/customer_session.rbi index b5d404bce..4a9fafa37 100644 --- a/rbi/stripe/resources/customer_session.rbi +++ b/rbi/stripe/resources/customer_session.rbi @@ -10,8 +10,8 @@ module Stripe # [Customer Session with the Pricing Table](https://docs.stripe.com/payments/checkout/pricing-table#customer-session), # [Customer Session with the Buy Button](https://docs.stripe.com/payment-links/buy-button#pass-an-existing-customer). class CustomerSession < APIResource - class Components < Stripe::StripeObject - class BuyButton < Stripe::StripeObject + class Components < ::Stripe::StripeObject + class BuyButton < ::Stripe::StripeObject # Whether the buy button is enabled. sig { returns(T::Boolean) } def enabled; end @@ -22,8 +22,8 @@ module Stripe @field_remappings = {} end end - class PaymentElement < Stripe::StripeObject - class Features < Stripe::StripeObject + class PaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. # # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. @@ -70,7 +70,7 @@ module Stripe @field_remappings = {} end end - class PricingTable < Stripe::StripeObject + class PricingTable < ::Stripe::StripeObject # Whether the pricing table is enabled. sig { returns(T::Boolean) } def enabled; end @@ -113,7 +113,7 @@ module Stripe sig { returns(Integer) } def created; end # The Customer the Customer Session was created for. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The Account that the Customer Session was created for. sig { returns(T.nilable(String)) } @@ -129,7 +129,7 @@ module Stripe def object; end # Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources. sig { - params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerSession) + params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerSession) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/discount.rbi b/rbi/stripe/resources/discount.rbi index 092b8c092..719bc3749 100644 --- a/rbi/stripe/resources/discount.rbi +++ b/rbi/stripe/resources/discount.rbi @@ -8,9 +8,9 @@ module Stripe # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) class Discount < StripeObject - class Source < Stripe::StripeObject + class Source < ::Stripe::StripeObject # The coupon that was redeemed to create this discount. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # The source type of the discount. sig { returns(String) } @@ -26,7 +26,7 @@ module Stripe sig { returns(T.nilable(String)) } def checkout_session; end # The ID of the customer associated with this discount. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account associated with this discount. sig { returns(T.nilable(String)) } @@ -47,7 +47,7 @@ module Stripe sig { returns(String) } def object; end # The promotion code applied to create this discount. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end # Attribute for field source sig { returns(Source) } diff --git a/rbi/stripe/resources/dispute.rbi b/rbi/stripe/resources/dispute.rbi index 6cd8f032b..91e7c0561 100644 --- a/rbi/stripe/resources/dispute.rbi +++ b/rbi/stripe/resources/dispute.rbi @@ -9,11 +9,11 @@ module Stripe # # Related guide: [Disputes and fraud](https://stripe.com/docs/disputes) class Dispute < APIResource - class Evidence < Stripe::StripeObject - class EnhancedEvidence < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject - class DisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class EnhancedEvidence < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject + class DisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -70,8 +70,8 @@ module Stripe @field_remappings = {} end end - class PriorUndisputedTransaction < Stripe::StripeObject - class ShippingAddress < Stripe::StripeObject + class PriorUndisputedTransaction < ::Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -144,7 +144,7 @@ module Stripe @field_remappings = {} end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute. sig { returns(T::Boolean) } def fee_acknowledged; end @@ -178,7 +178,7 @@ module Stripe sig { returns(T.nilable(String)) } def billing_address; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def cancellation_policy; end # An explanation of how and when the customer was shown your refund policy prior to purchase. sig { returns(T.nilable(String)) } @@ -187,7 +187,7 @@ module Stripe sig { returns(T.nilable(String)) } def cancellation_rebuttal; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def customer_communication; end # The email address of the customer. sig { returns(T.nilable(String)) } @@ -199,10 +199,10 @@ module Stripe sig { returns(T.nilable(String)) } def customer_purchase_ip; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def customer_signature; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def duplicate_charge_documentation; end # An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. sig { returns(T.nilable(String)) } @@ -217,10 +217,10 @@ module Stripe sig { returns(T.nilable(String)) } def product_description; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def receipt; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def refund_policy; end # Documentation demonstrating that the customer was shown your refund policy prior to purchase. sig { returns(T.nilable(String)) } @@ -232,7 +232,7 @@ module Stripe sig { returns(T.nilable(String)) } def service_date; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def service_documentation; end # The address to which a physical product was shipped. You should try to include as complete address information as possible. sig { returns(T.nilable(String)) } @@ -244,13 +244,13 @@ module Stripe sig { returns(T.nilable(String)) } def shipping_date; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def shipping_documentation; end # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. sig { returns(T.nilable(String)) } def shipping_tracking_number; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def uncategorized_file; end # Any additional evidence or statements. sig { returns(T.nilable(String)) } @@ -262,9 +262,9 @@ module Stripe @field_remappings = {} end end - class EvidenceDetails < Stripe::StripeObject - class EnhancedEligibility < Stripe::StripeObject - class VisaCompellingEvidence3 < Stripe::StripeObject + class EvidenceDetails < ::Stripe::StripeObject + class EnhancedEligibility < ::Stripe::StripeObject + class VisaCompellingEvidence3 < ::Stripe::StripeObject # List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission. sig { returns(T::Array[String]) } def required_actions; end @@ -278,7 +278,7 @@ module Stripe @field_remappings = {} end end - class VisaCompliance < Stripe::StripeObject + class VisaCompliance < ::Stripe::StripeObject # Visa compliance eligibility status. sig { returns(String) } def status; end @@ -330,8 +330,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AmazonPay < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # The AmazonPay dispute type, chargeback or claim sig { returns(T.nilable(String)) } def dispute_type; end @@ -342,7 +342,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(String) } def brand; end @@ -359,7 +359,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Chargeback loss reason mapped by Stripe from Klarna's chargeback loss reason sig { returns(T.nilable(String)) } def chargeback_loss_reason_code; end @@ -373,7 +373,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The ID of the dispute in PayPal. sig { returns(T.nilable(String)) } def case_id; end @@ -409,7 +409,7 @@ module Stripe @field_remappings = {} end end - class SmartDisputes < Stripe::StripeObject + class SmartDisputes < ::Stripe::StripeObject # Evidence that could be provided to improve the SmartDisputes packet sig { returns(T.nilable(T::Array[T::Array[String]])) } def recommended_evidence; end @@ -427,10 +427,10 @@ module Stripe sig { returns(Integer) } def amount; end # List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute. - sig { returns(T::Array[Stripe::BalanceTransaction]) } + sig { returns(T::Array[::Stripe::BalanceTransaction]) } def balance_transactions; end # ID of the charge that's disputed. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -469,7 +469,7 @@ module Stripe sig { returns(String) } def object; end # ID of the PaymentIntent that's disputed. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Attribute for field payment_method_details sig { returns(T.nilable(PaymentMethodDetails)) } @@ -487,7 +487,7 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def close(params = {}, opts = {}); end @@ -495,13 +495,13 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def self.close(dispute, params = {}, opts = {}); end # Returns a list of your disputes. sig { - params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -509,7 +509,7 @@ module Stripe # # Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://docs.stripe.com/docs/disputes/categories). sig { - params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def self.update(dispute, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/entitlements/active_entitlement.rbi b/rbi/stripe/resources/entitlements/active_entitlement.rbi index 29e73ca2a..ae3acb7f4 100644 --- a/rbi/stripe/resources/entitlements/active_entitlement.rbi +++ b/rbi/stripe/resources/entitlements/active_entitlement.rbi @@ -7,7 +7,7 @@ module Stripe # An active entitlement describes access to a feature for a customer. class ActiveEntitlement < APIResource # The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to. - sig { returns(T.any(String, Stripe::Entitlements::Feature)) } + sig { returns(T.any(String, ::Stripe::Entitlements::Feature)) } def feature; end # Unique identifier for the object. sig { returns(String) } @@ -23,7 +23,7 @@ module Stripe def object; end # Retrieve a list of active entitlements for a customer sig { - params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi b/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi index f43325a46..50549afdf 100644 --- a/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +++ b/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi @@ -10,7 +10,7 @@ module Stripe sig { returns(String) } def customer; end # The list of entitlements this customer has. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def entitlements; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } diff --git a/rbi/stripe/resources/entitlements/feature.rbi b/rbi/stripe/resources/entitlements/feature.rbi index ff30b347f..bfa39ca9b 100644 --- a/rbi/stripe/resources/entitlements/feature.rbi +++ b/rbi/stripe/resources/entitlements/feature.rbi @@ -30,19 +30,19 @@ module Stripe def object; end # Creates a feature sig { - params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def self.create(params = {}, opts = {}); end # Retrieve a list of features sig { - params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update a feature's metadata or permanently deactivate it. sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def self.update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/ephemeral_key.rbi b/rbi/stripe/resources/ephemeral_key.rbi index d95e7b667..596b0cf16 100644 --- a/rbi/stripe/resources/ephemeral_key.rbi +++ b/rbi/stripe/resources/ephemeral_key.rbi @@ -24,13 +24,13 @@ module Stripe def secret; end # Invalidates a short-lived API key for a given resource. sig { - params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def self.delete(key, params = {}, opts = {}); end # Invalidates a short-lived API key for a given resource. sig { - params(params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def delete(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/event.rbi b/rbi/stripe/resources/event.rbi index f60f5de2b..a616a1df8 100644 --- a/rbi/stripe/resources/event.rbi +++ b/rbi/stripe/resources/event.rbi @@ -22,7 +22,7 @@ module Stripe # You can access events through the [Retrieve Event API](https://docs.stripe.com/api/events#retrieve_event) # for 30 days. class Event < APIResource - class Data < Stripe::StripeObject + class Data < ::Stripe::StripeObject # Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. sig { returns(T::Hash[String, T.untyped]) } def object; end @@ -36,9 +36,9 @@ module Stripe @field_remappings = {} end end - class Reason < Stripe::StripeObject - class AutomationAction < Stripe::StripeObject - class StripeSendWebhookCustomEvent < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class AutomationAction < ::Stripe::StripeObject + class StripeSendWebhookCustomEvent < ::Stripe::StripeObject # Set of key-value pairs attached to the action when creating an Automation. sig { returns(T.nilable(T::Hash[String, String])) } def custom_data; end @@ -66,7 +66,7 @@ module Stripe @field_remappings = {} end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. sig { returns(T.nilable(String)) } def id; end @@ -96,7 +96,7 @@ module Stripe @field_remappings = {} end end - class Request < Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. sig { returns(T.nilable(String)) } def id; end @@ -148,7 +148,7 @@ module Stripe def type; end # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). sig { - params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/exchange_rate.rbi b/rbi/stripe/resources/exchange_rate.rbi index c1884cfed..9eda43dff 100644 --- a/rbi/stripe/resources/exchange_rate.rbi +++ b/rbi/stripe/resources/exchange_rate.rbi @@ -45,7 +45,7 @@ module Stripe # # 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. sig { - params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/file.rbi b/rbi/stripe/resources/file.rbi index 269e5c1a9..610e64d6a 100644 --- a/rbi/stripe/resources/file.rbi +++ b/rbi/stripe/resources/file.rbi @@ -24,7 +24,7 @@ module Stripe sig { returns(String) } def id; end # A list of [file links](https://stripe.com/docs/api#file_links) that point at this file. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def links; end # String representing the object's type. Objects of the same type share the same value. sig { returns(String) } @@ -48,13 +48,13 @@ module Stripe # # All of Stripe's officially supported Client libraries support sending multipart/form-data. sig { - params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def self.create(params = {}, opts = {}); end # Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top. sig { - params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/file_link.rbi b/rbi/stripe/resources/file_link.rbi index 02699742a..b10551cf2 100644 --- a/rbi/stripe/resources/file_link.rbi +++ b/rbi/stripe/resources/file_link.rbi @@ -17,7 +17,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def expires_at; end # The file object this link points to. - sig { returns(T.any(String, Stripe::File)) } + sig { returns(T.any(String, ::Stripe::File)) } def file; end # Unique identifier for the object. sig { returns(String) } @@ -36,19 +36,19 @@ module Stripe def url; end # Creates a new file link object. sig { - params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def self.create(params = {}, opts = {}); end # Returns a list of file links. sig { - params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing file link object. Expired links can no longer be updated. sig { - params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def self.update(link, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/financial_connections/account.rbi b/rbi/stripe/resources/financial_connections/account.rbi index 1d3533233..c0d90b3ab 100644 --- a/rbi/stripe/resources/financial_connections/account.rbi +++ b/rbi/stripe/resources/financial_connections/account.rbi @@ -6,12 +6,12 @@ module Stripe module FinancialConnections # A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access. class Account < APIResource - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -26,8 +26,8 @@ module Stripe @field_remappings = {} end end - class Balance < Stripe::StripeObject - class Cash < Stripe::StripeObject + class Balance < ::Stripe::StripeObject + class Cash < ::Stripe::StripeObject # The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -42,7 +42,7 @@ module Stripe @field_remappings = {} end end - class Credit < Stripe::StripeObject + class Credit < ::Stripe::StripeObject # The credit that has been used by the account holder. # # Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. @@ -83,7 +83,7 @@ module Stripe @field_remappings = {} end end - class BalanceRefresh < Stripe::StripeObject + class BalanceRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -100,7 +100,7 @@ module Stripe @field_remappings = {} end end - class InferredBalancesRefresh < Stripe::StripeObject + class InferredBalancesRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -117,7 +117,7 @@ module Stripe @field_remappings = {} end end - class OwnershipRefresh < Stripe::StripeObject + class OwnershipRefresh < ::Stripe::StripeObject # The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. sig { returns(Integer) } def last_attempted_at; end @@ -134,7 +134,7 @@ module Stripe @field_remappings = {} end end - class TransactionRefresh < Stripe::StripeObject + class TransactionRefresh < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -179,7 +179,7 @@ module Stripe sig { returns(T.nilable(InferredBalancesRefresh)) } def inferred_balances_refresh; end # The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers). - sig { returns(T.nilable(T.any(String, Stripe::FinancialConnections::Institution))) } + sig { returns(T.nilable(T.any(String, ::Stripe::FinancialConnections::Institution))) } def institution; end # The name of the institution that holds this account. sig { returns(String) } @@ -194,7 +194,7 @@ module Stripe sig { returns(String) } def object; end # The most recent information about the account's owners. - sig { returns(T.nilable(T.any(String, Stripe::FinancialConnections::AccountOwnership))) } + sig { returns(T.nilable(T.any(String, ::Stripe::FinancialConnections::AccountOwnership))) } def ownership; end # The state of the most recent attempt to refresh the account owners. sig { returns(T.nilable(OwnershipRefresh)) } @@ -232,67 +232,67 @@ module Stripe def transaction_refresh; end # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def disconnect(params = {}, opts = {}); end # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.disconnect(account, params = {}, opts = {}); end # Returns a list of Financial Connections Account objects. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Lists all owners for a given Account sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_owners(params = {}, opts = {}); end # Lists all owners for a given Account sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountListOwnersParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_owners(account, params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def refresh_account(params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshAccountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.refresh_account(account, params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.subscribe(account, params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def unsubscribe(params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def self.unsubscribe(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/financial_connections/account_ownership.rbi b/rbi/stripe/resources/financial_connections/account_ownership.rbi index 3e0321ccb..f72300c1d 100644 --- a/rbi/stripe/resources/financial_connections/account_ownership.rbi +++ b/rbi/stripe/resources/financial_connections/account_ownership.rbi @@ -16,7 +16,7 @@ module Stripe sig { returns(String) } def object; end # A paginated list of owners for this account. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def owners; end end end diff --git a/rbi/stripe/resources/financial_connections/institution.rbi b/rbi/stripe/resources/financial_connections/institution.rbi index ffae99e72..5b438f41c 100644 --- a/rbi/stripe/resources/financial_connections/institution.rbi +++ b/rbi/stripe/resources/financial_connections/institution.rbi @@ -6,8 +6,8 @@ module Stripe module FinancialConnections # An institution represents a financial institution to which an end user can connect using the Financial Connections authentication flow. class Institution < APIResource - class Features < Stripe::StripeObject - class Balances < Stripe::StripeObject + class Features < ::Stripe::StripeObject + class Balances < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -18,7 +18,7 @@ module Stripe @field_remappings = {} end end - class Ownership < Stripe::StripeObject + class Ownership < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethod < Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -40,7 +40,7 @@ module Stripe @field_remappings = {} end end - class Transactions < Stripe::StripeObject + class Transactions < ::Stripe::StripeObject # Whether the given feature is supported by this institution. sig { returns(T::Boolean) } def supported; end @@ -104,7 +104,7 @@ module Stripe def url; end # Returns a list of Financial Connections Institution objects. sig { - params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/financial_connections/session.rbi b/rbi/stripe/resources/financial_connections/session.rbi index ce59ba1fc..c95188075 100644 --- a/rbi/stripe/resources/financial_connections/session.rbi +++ b/rbi/stripe/resources/financial_connections/session.rbi @@ -6,12 +6,12 @@ module Stripe module FinancialConnections # A Financial Connections Session is the secure way to programmatically launch the client-side Stripe.js modal that lets your users link their accounts. class Session < APIResource - class AccountHolder < Stripe::StripeObject + class AccountHolder < ::Stripe::StripeObject # The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -26,7 +26,7 @@ module Stripe @field_remappings = {} end end - class Filters < Stripe::StripeObject + class Filters < ::Stripe::StripeObject # Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -43,7 +43,7 @@ module Stripe @field_remappings = {} end end - class Limits < Stripe::StripeObject + class Limits < ::Stripe::StripeObject # The number of accounts that can be linked in this Session. sig { returns(Integer) } def accounts; end @@ -54,7 +54,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -62,8 +62,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Cancelled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Cancelled < ::Stripe::StripeObject # The reason for the Session being cancelled. sig { returns(String) } def reason; end @@ -88,7 +88,7 @@ module Stripe sig { returns(T.nilable(AccountHolder)) } def account_holder; end # The accounts that were collected as part of this Session. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def accounts; end # A value that will be passed to the client to launch the authentication flow. sig { returns(String) } @@ -128,7 +128,7 @@ module Stripe def status_details; end # To launch the Financial Connections authorization flow, create a Session. The session's client_secret can be used to launch the flow using Stripe.js. sig { - params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/financial_connections/transaction.rbi b/rbi/stripe/resources/financial_connections/transaction.rbi index 3cf0f057e..b2926588a 100644 --- a/rbi/stripe/resources/financial_connections/transaction.rbi +++ b/rbi/stripe/resources/financial_connections/transaction.rbi @@ -6,7 +6,7 @@ module Stripe module FinancialConnections # A Transaction represents a real transaction that affects a Financial Connections Account balance. class Transaction < APIResource - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Time at which this transaction posted. Measured in seconds since the Unix epoch. sig { returns(T.nilable(Integer)) } def posted_at; end @@ -58,7 +58,7 @@ module Stripe def updated; end # Returns a list of Financial Connections Transaction objects. sig { - params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/forwarding/request.rbi b/rbi/stripe/resources/forwarding/request.rbi index 53d68ac71..c4b43b924 100644 --- a/rbi/stripe/resources/forwarding/request.rbi +++ b/rbi/stripe/resources/forwarding/request.rbi @@ -21,7 +21,7 @@ module Stripe # # Related guide: [Forward card details to third-party API endpoints](https://docs.stripe.com/payments/forwarding). class Request < APIResource - class RequestContext < Stripe::StripeObject + class RequestContext < ::Stripe::StripeObject # The time it took in milliseconds for the destination endpoint to respond. sig { returns(Integer) } def destination_duration; end @@ -35,8 +35,8 @@ module Stripe @field_remappings = {} end end - class RequestDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class RequestDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. sig { returns(String) } def name; end @@ -66,8 +66,8 @@ module Stripe @field_remappings = {} end end - class ResponseDetails < Stripe::StripeObject - class Header < Stripe::StripeObject + class ResponseDetails < ::Stripe::StripeObject + class Header < ::Stripe::StripeObject # The header name. sig { returns(String) } def name; end @@ -132,13 +132,13 @@ module Stripe def url; end # Creates a ForwardingRequest object. sig { - params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def self.create(params = {}, opts = {}); end # Lists all ForwardingRequest objects. sig { - params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/funding_instructions.rbi b/rbi/stripe/resources/funding_instructions.rbi index 53a650fb6..aeb7ffb8d 100644 --- a/rbi/stripe/resources/funding_instructions.rbi +++ b/rbi/stripe/resources/funding_instructions.rbi @@ -9,10 +9,10 @@ module Stripe # `financial_addresses` field. # Related guide: [Customer balance funding instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) class FundingInstructions < APIResource - class BankTransfer < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -38,7 +38,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -95,8 +95,8 @@ module Stripe @field_remappings = {} end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -122,7 +122,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -176,8 +176,8 @@ module Stripe @field_remappings = {} end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -203,7 +203,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -254,8 +254,8 @@ module Stripe @field_remappings = {} end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -281,7 +281,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -335,8 +335,8 @@ module Stripe @field_remappings = {} end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -362,7 +362,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -419,8 +419,8 @@ module Stripe @field_remappings = {} end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -446,7 +446,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end diff --git a/rbi/stripe/resources/fx_quote.rbi b/rbi/stripe/resources/fx_quote.rbi index ebf2703f8..4ccb30a9c 100644 --- a/rbi/stripe/resources/fx_quote.rbi +++ b/rbi/stripe/resources/fx_quote.rbi @@ -10,8 +10,8 @@ module Stripe # # [View the docs](https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api) class FxQuote < APIResource - class Rates < Stripe::StripeObject - class RateDetails < Stripe::StripeObject + class Rates < ::Stripe::StripeObject + class RateDetails < ::Stripe::StripeObject # The rate for the currency pair. sig { returns(Float) } def base_rate; end @@ -47,8 +47,8 @@ module Stripe @field_remappings = {} end end - class Usage < Stripe::StripeObject - class Payment < Stripe::StripeObject + class Usage < ::Stripe::StripeObject + class Payment < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field. @@ -66,7 +66,7 @@ module Stripe @field_remappings = {} end end - class Transfer < Stripe::StripeObject + class Transfer < ::Stripe::StripeObject # The Stripe account ID that the funds will be transferred to. # # This field should match the account ID that would be used in the Transfer’s destination field. @@ -130,13 +130,13 @@ module Stripe def usage; end # Creates an FX Quote object sig { - params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def self.create(params = {}, opts = {}); end # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first. sig { - params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/identity/verification_report.rbi b/rbi/stripe/resources/identity/verification_report.rbi index e92129740..37eb73f7e 100644 --- a/rbi/stripe/resources/identity/verification_report.rbi +++ b/rbi/stripe/resources/identity/verification_report.rbi @@ -16,8 +16,8 @@ module Stripe # # Related guide: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results). class VerificationReport < APIResource - class Document < Stripe::StripeObject - class Address < Stripe::StripeObject + class Document < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -43,7 +43,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -60,7 +60,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -74,7 +74,7 @@ module Stripe @field_remappings = {} end end - class ExpirationDate < Stripe::StripeObject + class ExpirationDate < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -91,7 +91,7 @@ module Stripe @field_remappings = {} end end - class IssuedDate < Stripe::StripeObject + class IssuedDate < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -166,8 +166,8 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject - class Error < Stripe::StripeObject + class Email < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -197,8 +197,8 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject - class Dob < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -215,7 +215,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -257,8 +257,8 @@ module Stripe @field_remappings = {} end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -278,7 +278,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -299,8 +299,8 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject - class Error < Stripe::StripeObject + class Phone < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -330,8 +330,8 @@ module Stripe @field_remappings = {} end end - class Selfie < Stripe::StripeObject - class Error < Stripe::StripeObject + class Selfie < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification failure. sig { returns(T.nilable(String)) } def code; end @@ -408,7 +408,7 @@ module Stripe def verification_session; end # List all verification reports. sig { - params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/identity/verification_session.rbi b/rbi/stripe/resources/identity/verification_session.rbi index 9876d7329..1dbe9453b 100644 --- a/rbi/stripe/resources/identity/verification_session.rbi +++ b/rbi/stripe/resources/identity/verification_session.rbi @@ -16,7 +16,7 @@ module Stripe # # Related guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions) class VerificationSession < APIResource - class LastError < Stripe::StripeObject + class LastError < ::Stripe::StripeObject # A short machine-readable string giving the reason for the verification or user-session failure. sig { returns(T.nilable(String)) } def code; end @@ -30,8 +30,8 @@ module Stripe @field_remappings = {} end end - class Options < Stripe::StripeObject - class Document < Stripe::StripeObject + class Options < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. sig { returns(T.nilable(T::Array[String])) } def allowed_types; end @@ -51,7 +51,7 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # Request one time password verification of `provided_details.email`. sig { returns(T.nilable(T::Boolean)) } def require_verification; end @@ -62,7 +62,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -70,7 +70,7 @@ module Stripe @field_remappings = {} end end - class Matching < Stripe::StripeObject + class Matching < ::Stripe::StripeObject # Strictness of the DOB matching policy to apply. sig { returns(T.nilable(String)) } def dob; end @@ -84,7 +84,7 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # Request one time password verification of `provided_details.phone`. sig { returns(T.nilable(T::Boolean)) } def require_verification; end @@ -123,7 +123,7 @@ module Stripe @field_remappings = {} end end - class ProvidedDetails < Stripe::StripeObject + class ProvidedDetails < ::Stripe::StripeObject # Email of user being verified sig { returns(T.nilable(String)) } def email; end @@ -137,7 +137,7 @@ module Stripe @field_remappings = {} end end - class Redaction < Stripe::StripeObject + class Redaction < ::Stripe::StripeObject # Indicates whether this object and its related objects have been redacted or not. sig { returns(String) } def status; end @@ -148,7 +148,7 @@ module Stripe @field_remappings = {} end end - class RelatedPerson < Stripe::StripeObject + class RelatedPerson < ::Stripe::StripeObject # Token referencing the associated Account of the related Person resource. sig { returns(String) } def account; end @@ -162,8 +162,8 @@ module Stripe @field_remappings = {} end end - class VerifiedOutputs < Stripe::StripeObject - class Address < Stripe::StripeObject + class VerifiedOutputs < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -189,7 +189,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # Numerical day between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -262,7 +262,7 @@ module Stripe sig { returns(T.nilable(LastError)) } def last_error; end # ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://stripe.com/docs/identity/verification-sessions#results) - sig { returns(T.nilable(T.any(String, Stripe::Identity::VerificationReport))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationReport))) } def last_verification_report; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -310,7 +310,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def cancel(params = {}, opts = {}); end @@ -318,7 +318,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.cancel(session, params = {}, opts = {}); end @@ -330,13 +330,13 @@ module Stripe # # Related guide: [Verify your users' identity documents](https://docs.stripe.com/docs/identity/verify-identity-documents) sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.create(params = {}, opts = {}); end # Returns a list of VerificationSessions sig { - params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -360,7 +360,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def redact(params = {}, opts = {}); end @@ -384,7 +384,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.redact(session, params = {}, opts = {}); end @@ -393,7 +393,7 @@ module Stripe # When the session status is requires_input, you can use this method to update the # verification check and options. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def self.update(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice.rbi b/rbi/stripe/resources/invoice.rbi index 5077aaa82..68d8dfb59 100644 --- a/rbi/stripe/resources/invoice.rbi +++ b/rbi/stripe/resources/invoice.rbi @@ -36,7 +36,7 @@ module Stripe # # Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) class Invoice < APIResource - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -68,10 +68,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -105,7 +105,7 @@ module Stripe @field_remappings = {} end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. sig { returns(String) } def client_secret; end @@ -119,7 +119,7 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -133,7 +133,7 @@ module Stripe @field_remappings = {} end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -159,8 +159,8 @@ module Stripe @field_remappings = {} end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -208,7 +208,7 @@ module Stripe @field_remappings = {} end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -222,12 +222,12 @@ module Stripe @field_remappings = {} end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice sig { returns(String) } def action; end # The invoice that was cloned. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end def self.inner_class_types @inner_class_types = {} @@ -236,9 +236,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -250,7 +250,7 @@ module Stripe @field_remappings = {} end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -289,14 +289,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -325,11 +325,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -342,8 +342,8 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice sig { returns(String) } def billing_cadence; end @@ -354,7 +354,7 @@ module Stripe @field_remappings = {} end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice sig { returns(String) } def quote; end @@ -365,8 +365,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(T.nilable(String)) } def behavior; end @@ -388,7 +388,7 @@ module Stripe sig { returns(T.nilable(PauseCollection)) } def pause_collection; end # The subscription that generated this invoice - sig { returns(T.any(String, Stripe::Subscription)) } + sig { returns(T.any(String, ::Stripe::Subscription)) } def subscription; end # Only set for upcoming invoices that preview prorations. The time used to calculate prorations. sig { returns(T.nilable(Integer)) } @@ -423,10 +423,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -450,7 +450,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -461,8 +461,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -486,9 +486,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -525,7 +525,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -533,7 +533,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -541,7 +541,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -552,7 +552,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -560,8 +560,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -591,9 +591,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -700,8 +700,8 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. sig { returns(T.nilable(String)) } def page_size; end @@ -731,15 +731,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -764,7 +764,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -776,8 +776,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -825,7 +825,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. sig { returns(T.nilable(Integer)) } def finalized_at; end @@ -845,8 +845,8 @@ module Stripe @field_remappings = {} end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. sig { returns(T::Array[String]) } def line_item_ids; end @@ -873,12 +873,12 @@ module Stripe @field_remappings = {} end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -887,12 +887,12 @@ module Stripe @field_remappings = {} end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -901,18 +901,18 @@ module Stripe @field_remappings = {} end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -924,8 +924,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -968,7 +968,7 @@ module Stripe sig { returns(T.nilable(String)) } def account_name; end # The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`. sig { returns(Integer) } @@ -989,7 +989,7 @@ module Stripe sig { returns(T.nilable(T::Array[AmountsDue])) } def amounts_due; end # ID of the Connect Application that created the invoice. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained. sig { returns(Integer) } @@ -1033,7 +1033,7 @@ module Stripe sig { returns(T.nilable(T::Array[CustomField])) } def custom_fields; end # The ID of the customer who will be billed. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The ID of the account who will be billed. sig { returns(T.nilable(String)) } @@ -1060,24 +1060,24 @@ module Stripe sig { returns(T.nilable(T::Array[CustomerTaxId])) } def customer_tax_ids; end # The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def default_margins; end # ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates applied to this invoice, if any. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def default_tax_rates; end # An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -1110,10 +1110,10 @@ module Stripe sig { returns(T.nilable(LastFinalizationError)) } def last_finalization_error; end # The ID of the most recent non-draft revision of this invoice - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_revision; end # The individual line items that make up the invoice. `lines` is sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -1131,7 +1131,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The parent that generated this invoice sig { returns(T.nilable(Parent)) } @@ -1140,7 +1140,7 @@ module Stripe sig { returns(PaymentSettings) } def payment_settings; end # Payments for this invoice - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def payments; end # End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price. sig { returns(Integer) } @@ -1185,7 +1185,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def subtotal_excluding_tax; end # ID of the test clock this invoice belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field threshold_reason sig { returns(T.nilable(ThresholdReason)) } @@ -1216,13 +1216,13 @@ module Stripe def deleted; end # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def add_lines(params = {}, opts = {}); end # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.add_lines(invoice, params = {}, opts = {}); end @@ -1237,7 +1237,7 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def attach_payment(params = {}, opts = {}); end @@ -1252,13 +1252,13 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.attach_payment(invoice, params = {}, opts = {}); end # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers. sig { - params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.create(params = {}, opts = {}); end @@ -1272,83 +1272,83 @@ module Stripe # # Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions) sig { - params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.create_preview(params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.delete(invoice, params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def delete(params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def finalize_invoice(params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.finalize_invoice(invoice, params = {}, opts = {}); end # You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first. sig { - params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def mark_uncollectible(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.mark_uncollectible(invoice, params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def pay(params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.pay(invoice, params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def remove_lines(params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.remove_lines(invoice, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -1356,7 +1356,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def send_invoice(params = {}, opts = {}); end @@ -1364,7 +1364,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.send_invoice(invoice, params = {}, opts = {}); end @@ -1375,19 +1375,19 @@ module Stripe # sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass # auto_advance=false. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.update(invoice, params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update_lines(params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.update_lines(invoice, params = {}, opts = {}); end @@ -1395,7 +1395,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def void_invoice(params = {}, opts = {}); end @@ -1403,7 +1403,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def self.void_invoice(invoice, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice_item.rbi b/rbi/stripe/resources/invoice_item.rbi index 92cd29a75..7df2fcd07 100644 --- a/rbi/stripe/resources/invoice_item.rbi +++ b/rbi/stripe/resources/invoice_item.rbi @@ -12,8 +12,8 @@ module Stripe # # Related guides: [Integrate with the Invoicing API](https://stripe.com/docs/invoicing/integration), [Subscription Invoices](https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items). class InvoiceItem < APIResource - class Parent < Stripe::StripeObject - class SubscriptionDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject # The subscription that generated this invoice item sig { returns(String) } def subscription; end @@ -40,7 +40,7 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -54,8 +54,8 @@ module Stripe @field_remappings = {} end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. sig { returns(String) } def price; end @@ -85,13 +85,13 @@ module Stripe @field_remappings = {} end end - class ProrationDetails < Stripe::StripeObject - class DiscountAmount < Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -117,7 +117,7 @@ module Stripe sig { returns(String) } def currency; end # The ID of the customer who will be billed when this invoice item is billed. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # The ID of the account who will be billed when this invoice item is billed. sig { returns(T.nilable(String)) } @@ -132,19 +132,19 @@ module Stripe sig { returns(T::Boolean) } def discountable; end # The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Discount)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Discount)])) } def discounts; end # Unique identifier for the object. sig { returns(String) } def id; end # The ID of the invoice this invoice item belongs to. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # The margins which apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def margins; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -174,41 +174,41 @@ module Stripe sig { returns(Integer) } def quantity; end # The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # ID of the test clock this invoice item belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end # Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified. sig { - params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.create(params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.delete(invoiceitem, params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def delete(params = {}, opts = {}); end # Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first. sig { - params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def self.update(invoiceitem, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice_line_item.rbi b/rbi/stripe/resources/invoice_line_item.rbi index 508addc79..32d926aa9 100644 --- a/rbi/stripe/resources/invoice_line_item.rbi +++ b/rbi/stripe/resources/invoice_line_item.rbi @@ -7,12 +7,12 @@ module Stripe # # Each line item is backed by either an [invoice item](https://stripe.com/docs/api/invoiceitems) or a [subscription item](https://stripe.com/docs/api/subscription_items). class InvoiceLineItem < APIResource - class DiscountAmount < Stripe::StripeObject + class DiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -21,12 +21,12 @@ module Stripe @field_remappings = {} end end - class MarginAmount < Stripe::StripeObject + class MarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -35,10 +35,10 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class InvoiceItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class InvoiceItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items sig { returns(String) } def invoice; end @@ -81,9 +81,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionItemDetails < Stripe::StripeObject - class ProrationDetails < Stripe::StripeObject - class CreditedItems < Stripe::StripeObject + class SubscriptionItemDetails < ::Stripe::StripeObject + class ProrationDetails < ::Stripe::StripeObject + class CreditedItems < ::Stripe::StripeObject # Invoice containing the credited invoice line items sig { returns(String) } def invoice; end @@ -148,7 +148,7 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject + class Period < ::Stripe::StripeObject # The end of the period, which must be greater than or equal to the start. This value is inclusive. sig { returns(Integer) } def end; end @@ -162,18 +162,18 @@ module Stripe @field_remappings = {} end end - class PretaxCreditAmount < Stripe::StripeObject + class PretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -185,8 +185,8 @@ module Stripe @field_remappings = {} end end - class Pricing < Stripe::StripeObject - class PriceDetails < Stripe::StripeObject + class Pricing < ::Stripe::StripeObject + class PriceDetails < ::Stripe::StripeObject # The ID of the price this item is associated with. sig { returns(String) } def price; end @@ -216,7 +216,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -230,8 +230,8 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class Tax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -283,7 +283,7 @@ module Stripe sig { returns(T::Boolean) } def discountable; end # The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -298,7 +298,7 @@ module Stripe sig { returns(T.nilable(T::Array[MarginAmount])) } def margin_amounts; end # The margins applied to the line item. When set, the `default_margins` on the invoice do not apply to the line item. Use `expand[]=margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def margins; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation. sig { returns(T::Hash[String, String]) } @@ -322,7 +322,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def quantity; end # Attribute for field subscription - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # The tax calculation identifiers of the line item. sig { returns(T.nilable(TaxCalculationReference)) } @@ -335,7 +335,7 @@ module Stripe # item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. # Updating an invoice's line item is only possible before the invoice is finalized. sig { - params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceLineItem) + params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceLineItem) } def self.update(invoice, line_item_id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice_payment.rbi b/rbi/stripe/resources/invoice_payment.rbi index 99b03c10f..dd764652c 100644 --- a/rbi/stripe/resources/invoice_payment.rbi +++ b/rbi/stripe/resources/invoice_payment.rbi @@ -12,15 +12,15 @@ module Stripe # This resource and its endpoints allows you to easily track if a payment is associated with a specific invoice and # monitor the allocation details of the payments. class InvoicePayment < APIResource - class Payment < Stripe::StripeObject + class Payment < ::Stripe::StripeObject # ID of the successful charge for this payment when `type` is `charge`.Note: charge is only surfaced if the charge object is not associated with a payment intent. If the charge object does have a payment intent, the Invoice Payment surfaces the payment intent instead. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # ID of the PaymentIntent associated with this payment when `type` is `payment_intent`. Note: This property is only populated for invoices finalized on or after March 15th, 2019. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # ID of the PaymentRecord associated with this payment when `type` is `payment_record`. - sig { returns(T.nilable(T.any(String, Stripe::PaymentRecord))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentRecord))) } def payment_record; end # Type of payment object associated with this invoice payment. sig { returns(String) } @@ -32,7 +32,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the payment was canceled. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -62,7 +62,7 @@ module Stripe sig { returns(String) } def id; end # The invoice that was paid. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # Stripe automatically creates a default InvoicePayment when the invoice is finalized, and keeps it synchronized with the invoice’s `amount_remaining`. The PaymentIntent associated with the default payment can’t be edited or canceled directly. sig { returns(T::Boolean) } @@ -84,7 +84,7 @@ module Stripe def status_transitions; end # When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments. sig { - params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice_rendering_template.rbi b/rbi/stripe/resources/invoice_rendering_template.rbi index aa2b307f1..5324efd63 100644 --- a/rbi/stripe/resources/invoice_rendering_template.rbi +++ b/rbi/stripe/resources/invoice_rendering_template.rbi @@ -32,31 +32,31 @@ module Stripe def version; end # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def archive(params = {}, opts = {}); end # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def self.archive(template, params = {}, opts = {}); end # List all templates, ordered by creation date, with the most recently created template appearing first. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def unarchive(params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def self.unarchive(template, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/authorization.rbi b/rbi/stripe/resources/issuing/authorization.rbi index cac35f784..5396b167e 100644 --- a/rbi/stripe/resources/issuing/authorization.rbi +++ b/rbi/stripe/resources/issuing/authorization.rbi @@ -10,7 +10,7 @@ module Stripe # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) class Authorization < APIResource - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -24,8 +24,8 @@ module Stripe @field_remappings = {} end end - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. sig { returns(T.nilable(String)) } def alphanumeric_id; end @@ -51,8 +51,8 @@ module Stripe @field_remappings = {} end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -63,7 +63,7 @@ module Stripe @field_remappings = {} end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -74,7 +74,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -126,7 +126,7 @@ module Stripe @field_remappings = {} end end - class FraudChallenge < Stripe::StripeObject + class FraudChallenge < ::Stripe::StripeObject # The method by which the fraud challenge was delivered to the cardholder. sig { returns(String) } def channel; end @@ -143,7 +143,7 @@ module Stripe @field_remappings = {} end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -166,7 +166,7 @@ module Stripe @field_remappings = {} end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(String) } def category; end @@ -207,7 +207,7 @@ module Stripe @field_remappings = {} end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. sig { returns(T.nilable(String)) } def acquiring_institution_id; end @@ -224,8 +224,8 @@ module Stripe @field_remappings = {} end end - class PendingRequest < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class PendingRequest < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -267,8 +267,8 @@ module Stripe @field_remappings = {} end end - class RequestHistory < Stripe::StripeObject - class AmountDetails < Stripe::StripeObject + class RequestHistory < ::Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -325,7 +325,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The array of [ReceivedCredits](https://stripe.com/docs/api/treasury/received_credits) associated with this authorization sig { returns(T::Array[String]) } def received_credits; end @@ -342,8 +342,8 @@ module Stripe @field_remappings = {} end end - class VerificationData < Stripe::StripeObject - class AuthenticationExemption < Stripe::StripeObject + class VerificationData < ::Stripe::StripeObject + class AuthenticationExemption < ::Stripe::StripeObject # The entity that requested the exemption, either the acquiring merchant or the Issuing user. sig { returns(String) } def claimed_by; end @@ -357,7 +357,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # The outcome of the 3D Secure authentication request. sig { returns(String) } def result; end @@ -412,13 +412,13 @@ module Stripe sig { returns(String) } def authorization_method; end # List of balance transactions associated with this authorization. - sig { returns(T::Array[Stripe::BalanceTransaction]) } + sig { returns(T::Array[::Stripe::BalanceTransaction]) } def balance_transactions; end # You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders. - sig { returns(Stripe::Issuing::Card) } + sig { returns(::Stripe::Issuing::Card) } def card; end # The cardholder to whom this authorization belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Cardholder))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Cardholder))) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -469,10 +469,10 @@ module Stripe sig { returns(String) } def status; end # [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Token))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Token))) } def token; end # List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization. - sig { returns(T::Array[Stripe::Issuing::Transaction]) } + sig { returns(T::Array[::Stripe::Issuing::Transaction]) } def transactions; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts). sig { returns(T.nilable(Treasury)) } @@ -489,40 +489,40 @@ module Stripe # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def approve(params = {}, opts = {}); end # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.approve(authorization, params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def decline(params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.decline(authorization, params = {}, opts = {}); end # Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def self.update(authorization, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/card.rbi b/rbi/stripe/resources/issuing/card.rbi index 01b1ed7fa..16f08cf91 100644 --- a/rbi/stripe/resources/issuing/card.rbi +++ b/rbi/stripe/resources/issuing/card.rbi @@ -6,8 +6,8 @@ module Stripe module Issuing # You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders. class Card < APIResource - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -33,8 +33,8 @@ module Stripe @field_remappings = {} end end - class AddressValidation < Stripe::StripeObject - class NormalizedAddress < Stripe::StripeObject + class AddressValidation < ::Stripe::StripeObject + class NormalizedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -76,7 +76,7 @@ module Stripe @field_remappings = {} end end - class Customs < Stripe::StripeObject + class Customs < ::Stripe::StripeObject # A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU. sig { returns(T.nilable(String)) } def eori_number; end @@ -137,8 +137,8 @@ module Stripe @field_remappings = {} end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -180,8 +180,8 @@ module Stripe @field_remappings = {} end end - class Wallets < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallets < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Apple Pay Eligibility sig { returns(T::Boolean) } def eligible; end @@ -195,7 +195,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject # Google Pay Eligibility sig { returns(T::Boolean) } def eligible; end @@ -234,7 +234,7 @@ module Stripe # An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. # # Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder) - sig { returns(Stripe::Issuing::Cardholder) } + sig { returns(::Stripe::Issuing::Cardholder) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -273,13 +273,13 @@ module Stripe sig { returns(String) } def object; end # The personalization design object belonging to this card. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::PersonalizationDesign))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::PersonalizationDesign))) } def personalization_design; end # The latest card that replaces this card, if any. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Card))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Card))) } def replaced_by; end # The card this card replaces, if any. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Card))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Card))) } def replacement_for; end # The reason why the previous card needed to be replaced. sig { returns(T.nilable(String)) } @@ -304,19 +304,19 @@ module Stripe def wallets; end # Creates an Issuing Card object. sig { - params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def self.update(card, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/cardholder.rbi b/rbi/stripe/resources/issuing/cardholder.rbi index 1cd8b3104..d4be5b6f0 100644 --- a/rbi/stripe/resources/issuing/cardholder.rbi +++ b/rbi/stripe/resources/issuing/cardholder.rbi @@ -8,8 +8,8 @@ module Stripe # # Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder) class Cardholder < APIResource - class Billing < Stripe::StripeObject - class Address < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -45,7 +45,7 @@ module Stripe @field_remappings = {} end end - class Company < Stripe::StripeObject + class Company < ::Stripe::StripeObject # Whether the company's business ID number was provided. sig { returns(T::Boolean) } def tax_id_provided; end @@ -56,9 +56,9 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject - class CardIssuing < Stripe::StripeObject - class UserTermsAcceptance < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class UserTermsAcceptance < ::Stripe::StripeObject # The Unix timestamp marking when the cardholder accepted the Authorized User Terms. sig { returns(T.nilable(Integer)) } def date; end @@ -85,7 +85,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -102,13 +102,13 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class Document < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -149,7 +149,7 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject # If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. sig { returns(T.nilable(String)) } def disabled_reason; end @@ -163,8 +163,8 @@ module Stripe @field_remappings = {} end end - class SpendingControls < Stripe::StripeObject - class SpendingLimit < Stripe::StripeObject + class SpendingControls < ::Stripe::StripeObject + class SpendingLimit < ::Stripe::StripeObject # Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -257,19 +257,19 @@ module Stripe def type; end # Creates a new Issuing Cardholder object that can be issued cards. sig { - params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def self.update(cardholder, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/credit_underwriting_record.rbi b/rbi/stripe/resources/issuing/credit_underwriting_record.rbi index 9ecc34ad7..4403656a5 100644 --- a/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +++ b/rbi/stripe/resources/issuing/credit_underwriting_record.rbi @@ -8,7 +8,7 @@ module Stripe # # [Follow the guide](https://stripe.com/docs/issuing/credit/report-credit-decisions-and-manage-aans) to learn about your requirements as a platform. class CreditUnderwritingRecord < APIResource - class Application < Stripe::StripeObject + class Application < ::Stripe::StripeObject # The channel through which the applicant has submitted their application. sig { returns(String) } def application_method; end @@ -25,7 +25,7 @@ module Stripe @field_remappings = {} end end - class CreditUser < Stripe::StripeObject + class CreditUser < ::Stripe::StripeObject # Email of the applicant or accountholder. sig { returns(String) } def email; end @@ -39,8 +39,8 @@ module Stripe @field_remappings = {} end end - class Decision < Stripe::StripeObject - class ApplicationRejected < Stripe::StripeObject + class Decision < ::Stripe::StripeObject + class ApplicationRejected < ::Stripe::StripeObject # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -54,7 +54,7 @@ module Stripe @field_remappings = {} end end - class CreditLimitApproved < Stripe::StripeObject + class CreditLimitApproved < ::Stripe::StripeObject # Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). sig { returns(Integer) } def amount; end @@ -68,7 +68,7 @@ module Stripe @field_remappings = {} end end - class CreditLimitDecreased < Stripe::StripeObject + class CreditLimitDecreased < ::Stripe::StripeObject # Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy). sig { returns(Integer) } def amount; end @@ -88,7 +88,7 @@ module Stripe @field_remappings = {} end end - class CreditLineClosed < Stripe::StripeObject + class CreditLineClosed < ::Stripe::StripeObject # Details about the `reasons.other` when present. sig { returns(T.nilable(String)) } def reason_other_explanation; end @@ -129,7 +129,7 @@ module Stripe @field_remappings = {} end end - class UnderwritingException < Stripe::StripeObject + class UnderwritingException < ::Stripe::StripeObject # Written explanation for the exception. sig { returns(String) } def explanation; end @@ -184,43 +184,43 @@ module Stripe def underwriting_exception; end # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def correct(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.correct(credit_underwriting_record, params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object with information about a credit application submission. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.create_from_application(params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.create_from_proactive_review(params = {}, opts = {}); end # Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def report_decision(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def self.report_decision(credit_underwriting_record, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/dispute.rbi b/rbi/stripe/resources/issuing/dispute.rbi index 004076c85..28a8bd05c 100644 --- a/rbi/stripe/resources/issuing/dispute.rbi +++ b/rbi/stripe/resources/issuing/dispute.rbi @@ -8,10 +8,10 @@ module Stripe # # Related guide: [Issuing disputes](https://stripe.com/docs/issuing/purchases/disputes) class Dispute < APIResource - class Evidence < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class Evidence < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when order was canceled. sig { returns(T.nilable(Integer)) } @@ -47,18 +47,18 @@ module Stripe @field_remappings = {} end end - class Duplicate < Stripe::StripeObject + class Duplicate < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def card_statement; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def cash_receipt; end # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def check_image; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -73,9 +73,9 @@ module Stripe @field_remappings = {} end end - class Fraudulent < Stripe::StripeObject + class Fraudulent < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -87,9 +87,9 @@ module Stripe @field_remappings = {} end end - class MerchandiseNotAsDescribed < Stripe::StripeObject + class MerchandiseNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -113,9 +113,9 @@ module Stripe @field_remappings = {} end end - class NoValidAuthorization < Stripe::StripeObject + class NoValidAuthorization < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -127,9 +127,9 @@ module Stripe @field_remappings = {} end end - class NotReceived < Stripe::StripeObject + class NotReceived < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when the cardholder expected to receive the product. sig { returns(T.nilable(Integer)) } @@ -150,9 +150,9 @@ module Stripe @field_remappings = {} end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Explanation of why the cardholder is disputing this transaction. sig { returns(T.nilable(String)) } @@ -170,9 +170,9 @@ module Stripe @field_remappings = {} end end - class ServiceNotAsDescribed < Stripe::StripeObject + class ServiceNotAsDescribed < ::Stripe::StripeObject # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def additional_documentation; end # Date when order was canceled. sig { returns(T.nilable(Integer)) } @@ -236,7 +236,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [DebitReversal](https://stripe.com/docs/api/treasury/debit_reversals) representing this Issuing dispute sig { returns(T.nilable(String)) } def debit_reversal; end @@ -254,7 +254,7 @@ module Stripe sig { returns(Integer) } def amount; end # List of balance transactions associated with the dispute. - sig { returns(T.nilable(T::Array[Stripe::BalanceTransaction])) } + sig { returns(T.nilable(T::Array[::Stripe::BalanceTransaction])) } def balance_transactions; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -284,38 +284,38 @@ module Stripe sig { returns(String) } def status; end # The transaction being disputed. - sig { returns(T.any(String, Stripe::Issuing::Transaction)) } + sig { returns(T.any(String, ::Stripe::Issuing::Transaction)) } def transaction; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts sig { returns(T.nilable(Treasury)) } def treasury; end # Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements. sig { - params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.create(params = {}, opts = {}); end # Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def submit(params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.submit(dispute, params = {}, opts = {}); end # Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def self.update(dispute, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi b/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi index 98dca7cb9..379a45d97 100644 --- a/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +++ b/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi @@ -6,7 +6,7 @@ module Stripe module Issuing # Represents a record from the card network of a money movement or change in state for an Issuing dispute. These records are included in the settlement reports that we receive from networks and expose to users as Settlement objects. class DisputeSettlementDetail < APIResource - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. sig { returns(T.nilable(String)) } def processing_date; end @@ -55,7 +55,7 @@ module Stripe def settlement; end # Returns a list of Issuing DisputeSettlementDetail objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/fraud_liability_debit.rbi b/rbi/stripe/resources/issuing/fraud_liability_debit.rbi index 674776a7a..579835ec9 100644 --- a/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +++ b/rbi/stripe/resources/issuing/fraud_liability_debit.rbi @@ -10,7 +10,7 @@ module Stripe sig { returns(Integer) } def amount; end # ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -32,7 +32,7 @@ module Stripe def object; end # Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/personalization_design.rbi b/rbi/stripe/resources/issuing/personalization_design.rbi index dc70af2ad..a66895e98 100644 --- a/rbi/stripe/resources/issuing/personalization_design.rbi +++ b/rbi/stripe/resources/issuing/personalization_design.rbi @@ -6,7 +6,7 @@ module Stripe module Issuing # A Personalization Design is a logical grouping of a Physical Bundle, card logo, and carrier text that represents a product line. class PersonalizationDesign < APIResource - class CarrierText < Stripe::StripeObject + class CarrierText < ::Stripe::StripeObject # The footer body text of the carrier letter. sig { returns(T.nilable(String)) } def footer_body; end @@ -26,7 +26,7 @@ module Stripe @field_remappings = {} end end - class Preferences < Stripe::StripeObject + class Preferences < ::Stripe::StripeObject # Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. sig { returns(T::Boolean) } def is_default; end @@ -40,7 +40,7 @@ module Stripe @field_remappings = {} end end - class RejectionReasons < Stripe::StripeObject + class RejectionReasons < ::Stripe::StripeObject # The reason(s) the card logo was rejected. sig { returns(T.nilable(T::Array[String])) } def card_logo; end @@ -55,7 +55,7 @@ module Stripe end end # The file for the card logo to use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def card_logo; end # Hash containing carrier text, for use with physical bundles that support carrier text. sig { returns(T.nilable(CarrierText)) } @@ -82,7 +82,7 @@ module Stripe sig { returns(String) } def object; end # The physical bundle object belonging to this personalization design. - sig { returns(T.any(String, Stripe::Issuing::PhysicalBundle)) } + sig { returns(T.any(String, ::Stripe::Issuing::PhysicalBundle)) } def physical_bundle; end # Attribute for field preferences sig { returns(Preferences) } @@ -95,19 +95,19 @@ module Stripe def status; end # Creates a personalization design object. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def self.create(params = {}, opts = {}); end # Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a card personalization object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def self.update(personalization_design, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/physical_bundle.rbi b/rbi/stripe/resources/issuing/physical_bundle.rbi index 4a239e945..d6ed04dbe 100644 --- a/rbi/stripe/resources/issuing/physical_bundle.rbi +++ b/rbi/stripe/resources/issuing/physical_bundle.rbi @@ -6,7 +6,7 @@ module Stripe module Issuing # A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card. class PhysicalBundle < APIResource - class Features < Stripe::StripeObject + class Features < ::Stripe::StripeObject # The policy for how to use card logo images in a card design with this physical bundle. sig { returns(String) } def card_logo; end @@ -46,7 +46,7 @@ module Stripe def type; end # Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/token.rbi b/rbi/stripe/resources/issuing/token.rbi index ea47a0c8b..a9a48d41b 100644 --- a/rbi/stripe/resources/issuing/token.rbi +++ b/rbi/stripe/resources/issuing/token.rbi @@ -6,8 +6,8 @@ module Stripe module Issuing # An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe. class Token < APIResource - class NetworkData < Stripe::StripeObject - class Device < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject + class Device < ::Stripe::StripeObject # An obfuscated ID derived from the device ID. sig { returns(T.nilable(String)) } def device_fingerprint; end @@ -33,7 +33,7 @@ module Stripe @field_remappings = {} end end - class Mastercard < Stripe::StripeObject + class Mastercard < ::Stripe::StripeObject # A unique reference ID from MasterCard to represent the card account number. sig { returns(T.nilable(String)) } def card_reference_id; end @@ -53,7 +53,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # A unique reference ID from Visa to represent the card account number. sig { returns(String) } def card_reference_id; end @@ -73,8 +73,8 @@ module Stripe @field_remappings = {} end end - class WalletProvider < Stripe::StripeObject - class CardholderAddress < Stripe::StripeObject + class WalletProvider < ::Stripe::StripeObject + class CardholderAddress < ::Stripe::StripeObject # The street address of the cardholder tokenizing the card. sig { returns(String) } def line1; end @@ -153,7 +153,7 @@ module Stripe end end # Card associated with this token. - sig { returns(T.any(String, Stripe::Issuing::Card)) } + sig { returns(T.any(String, ::Stripe::Issuing::Card)) } def card; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -190,13 +190,13 @@ module Stripe def wallet_provider; end # Lists all Issuing Token objects for a given card. sig { - params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Attempts to update the specified Issuing Token object to the status specified. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def self.update(token, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/issuing/transaction.rbi b/rbi/stripe/resources/issuing/transaction.rbi index 5cecf0163..614103ea6 100644 --- a/rbi/stripe/resources/issuing/transaction.rbi +++ b/rbi/stripe/resources/issuing/transaction.rbi @@ -10,7 +10,7 @@ module Stripe # # Related guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions) class Transaction < APIResource - class AmountDetails < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject # The fee charged by the ATM for the cash withdrawal. sig { returns(T.nilable(Integer)) } def atm_fee; end @@ -24,7 +24,7 @@ module Stripe @field_remappings = {} end end - class MerchantData < Stripe::StripeObject + class MerchantData < ::Stripe::StripeObject # A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. sig { returns(String) } def category; end @@ -65,7 +65,7 @@ module Stripe @field_remappings = {} end end - class NetworkData < Stripe::StripeObject + class NetworkData < ::Stripe::StripeObject # A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. sig { returns(T.nilable(String)) } def authorization_code; end @@ -82,9 +82,9 @@ module Stripe @field_remappings = {} end end - class PurchaseDetails < Stripe::StripeObject - class Fleet < Stripe::StripeObject - class CardholderPromptData < Stripe::StripeObject + class PurchaseDetails < ::Stripe::StripeObject + class Fleet < ::Stripe::StripeObject + class CardholderPromptData < ::Stripe::StripeObject # Driver ID. sig { returns(T.nilable(String)) } def driver_id; end @@ -107,8 +107,8 @@ module Stripe @field_remappings = {} end end - class ReportedBreakdown < Stripe::StripeObject - class Fuel < Stripe::StripeObject + class ReportedBreakdown < ::Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -119,7 +119,7 @@ module Stripe @field_remappings = {} end end - class NonFuel < Stripe::StripeObject + class NonFuel < ::Stripe::StripeObject # Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. sig { returns(T.nilable(String)) } def gross_amount_decimal; end @@ -130,7 +130,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. sig { returns(T.nilable(String)) } def local_amount_decimal; end @@ -182,8 +182,8 @@ module Stripe @field_remappings = {} end end - class Flight < Stripe::StripeObject - class Segment < Stripe::StripeObject + class Flight < ::Stripe::StripeObject + class Segment < ::Stripe::StripeObject # The three-letter IATA airport code of the flight's destination. sig { returns(T.nilable(String)) } def arrival_airport_code; end @@ -231,7 +231,7 @@ module Stripe @field_remappings = {} end end - class Fuel < Stripe::StripeObject + class Fuel < ::Stripe::StripeObject # [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. sig { returns(T.nilable(String)) } def industry_product_code; end @@ -254,7 +254,7 @@ module Stripe @field_remappings = {} end end - class Lodging < Stripe::StripeObject + class Lodging < ::Stripe::StripeObject # The time of checking into the lodging. sig { returns(T.nilable(Integer)) } def check_in_at; end @@ -268,7 +268,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The description of the item. The maximum length of this field is 26 characters. sig { returns(T.nilable(String)) } def description; end @@ -319,7 +319,7 @@ module Stripe @field_remappings = {} end end - class Treasury < Stripe::StripeObject + class Treasury < ::Stripe::StripeObject # The Treasury [ReceivedCredit](https://stripe.com/docs/api/treasury/received_credits) representing this Issuing transaction if it is a refund sig { returns(T.nilable(String)) } def received_credit; end @@ -340,16 +340,16 @@ module Stripe sig { returns(T.nilable(AmountDetails)) } def amount_details; end # The `Authorization` object that led to this transaction. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Authorization))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Authorization))) } def authorization; end # ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this transaction. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # The card used to make this transaction. - sig { returns(T.any(String, Stripe::Issuing::Card)) } + sig { returns(T.any(String, ::Stripe::Issuing::Card)) } def card; end # The cardholder to whom this transaction belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Cardholder))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Cardholder))) } def cardholder; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -358,7 +358,7 @@ module Stripe sig { returns(String) } def currency; end # If you've disputed the transaction, the ID of the dispute. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Dispute))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Dispute))) } def dispute; end # Unique identifier for the object. sig { returns(String) } @@ -388,10 +388,10 @@ module Stripe sig { returns(T.nilable(PurchaseDetails)) } def purchase_details; end # The ID of the [settlement](https://stripe.com/docs/api/issuing/settlements) to which this transaction belongs. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Settlement))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Settlement))) } def settlement; end # [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null. - sig { returns(T.nilable(T.any(String, Stripe::Issuing::Token))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Issuing::Token))) } def token; end # [Treasury](https://stripe.com/docs/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts sig { returns(T.nilable(Treasury)) } @@ -404,13 +404,13 @@ module Stripe def wallet; end # Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def self.update(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/line_item.rbi b/rbi/stripe/resources/line_item.rbi index 342b6bbaa..d1a650e01 100644 --- a/rbi/stripe/resources/line_item.rbi +++ b/rbi/stripe/resources/line_item.rbi @@ -5,7 +5,7 @@ module Stripe # A line item. class LineItem < APIResource - class AdjustableQuantity < Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Attribute for field enabled sig { returns(T::Boolean) } def enabled; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -30,7 +30,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -39,7 +39,7 @@ module Stripe @field_remappings = {} end end - class Display < Stripe::StripeObject + class Display < ::Stripe::StripeObject # Attribute for field description sig { returns(T.nilable(String)) } def description; end @@ -56,7 +56,7 @@ module Stripe @field_remappings = {} end end - class TaxCalculationReference < Stripe::StripeObject + class TaxCalculationReference < ::Stripe::StripeObject # The calculation identifier for tax calculation response. sig { returns(T.nilable(String)) } def calculation_id; end @@ -70,14 +70,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -129,12 +129,12 @@ module Stripe sig { returns(String) } def object; end # The price used to generate the line item. - sig { returns(T.nilable(Stripe::Price)) } + sig { returns(T.nilable(::Stripe::Price)) } def price; end # The ID of the product for this line item. # # This will always be the same as `price.product`. - sig { returns(T.nilable(T.any(String, Stripe::Product))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Product))) } def product; end # The quantity of products being purchased. sig { returns(T.nilable(Integer)) } diff --git a/rbi/stripe/resources/mandate.rbi b/rbi/stripe/resources/mandate.rbi index fb85387d0..f12dab563 100644 --- a/rbi/stripe/resources/mandate.rbi +++ b/rbi/stripe/resources/mandate.rbi @@ -5,8 +5,8 @@ module Stripe # A Mandate is a record of the permission that your customer gives you to debit their payment method. class Mandate < APIResource - class CustomerAcceptance < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CustomerAcceptance < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -14,7 +14,7 @@ module Stripe @field_remappings = {} end end - class Online < Stripe::StripeObject + class Online < ::Stripe::StripeObject # The customer accepts the mandate from this IP address. sig { returns(T.nilable(String)) } def ip_address; end @@ -47,7 +47,7 @@ module Stripe @field_remappings = {} end end - class MultiUse < Stripe::StripeObject + class MultiUse < ::Stripe::StripeObject # The amount of the payment on a multi use mandate. sig { returns(T.nilable(Integer)) } def amount; end @@ -61,8 +61,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # List of Stripe products where this mandate can be selected automatically. sig { returns(T.nilable(T::Array[String])) } def default_for; end @@ -82,7 +82,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -90,7 +90,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. sig { returns(String) } def url; end @@ -101,7 +101,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`. sig { returns(String) } def network_status; end @@ -121,7 +121,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -129,7 +129,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -137,7 +137,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -145,7 +145,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -153,7 +153,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -161,7 +161,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -169,7 +169,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -177,7 +177,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -185,7 +185,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -206,7 +206,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -235,7 +235,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -261,7 +261,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -269,7 +269,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # The unique reference of the mandate. sig { returns(String) } def reference; end @@ -283,7 +283,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -377,7 +377,7 @@ module Stripe @field_remappings = {} end end - class SingleUse < Stripe::StripeObject + class SingleUse < ::Stripe::StripeObject # The amount of the payment on a single use mandate. sig { returns(Integer) } def amount; end @@ -410,7 +410,7 @@ module Stripe sig { returns(T.nilable(String)) } def on_behalf_of; end # ID of the payment method associated with this mandate. - sig { returns(T.any(String, Stripe::PaymentMethod)) } + sig { returns(T.any(String, ::Stripe::PaymentMethod)) } def payment_method; end # Attribute for field payment_method_details sig { returns(PaymentMethodDetails) } @@ -426,7 +426,7 @@ module Stripe def type; end # Retrieves a list of Mandates for a given PaymentMethod. sig { - params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/margin.rbi b/rbi/stripe/resources/margin.rbi index bcd5555c0..0a5351ec1 100644 --- a/rbi/stripe/resources/margin.rbi +++ b/rbi/stripe/resources/margin.rbi @@ -35,19 +35,19 @@ module Stripe def updated; end # Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item. sig { - params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def self.create(params = {}, opts = {}); end # Retrieve a list of your margins. sig { - params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update the specified margin object. Certain fields of the margin object are not editable. sig { - params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def self.update(margin, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/order.rbi b/rbi/stripe/resources/order.rbi index 57b57a5c4..6cd040d0c 100644 --- a/rbi/stripe/resources/order.rbi +++ b/rbi/stripe/resources/order.rbi @@ -9,7 +9,7 @@ module Stripe # # Related guide: [Orders overview](https://stripe.com/docs/orders) class Order < APIResource - class AutomaticTax < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject # Whether Stripe automatically computes tax on this Order. sig { returns(T::Boolean) } def enabled; end @@ -23,8 +23,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -69,9 +69,9 @@ module Stripe @field_remappings = {} end end - class Payment < Stripe::StripeObject - class Settings < Stripe::StripeObject - class AutomaticPaymentMethods < Stripe::StripeObject + class Payment < ::Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Whether this Order has been opted into managing payment method types via the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). sig { returns(T::Boolean) } def enabled; end @@ -82,9 +82,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -129,7 +129,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -152,7 +152,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -169,7 +169,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -189,7 +189,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(String) } def capture_method; end @@ -209,9 +209,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -262,7 +262,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -279,7 +279,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -302,7 +302,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -325,7 +325,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -345,7 +345,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -362,9 +362,9 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -443,8 +443,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -477,7 +477,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -497,7 +497,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -588,12 +588,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. sig { returns(T.nilable(Integer)) } def amount; end # ID of the Connected account receiving the transfer. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -638,7 +638,7 @@ module Stripe end end # ID of the payment intent associated with this order. Null when the order is `open`. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Settings describing how the order should configure generated PaymentIntents. sig { returns(T.nilable(Settings)) } @@ -653,15 +653,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -686,7 +686,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this order. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -698,8 +698,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -741,8 +741,8 @@ module Stripe @field_remappings = {} end end - class TaxDetails < Stripe::StripeObject - class TaxId < Stripe::StripeObject + class TaxDetails < ::Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -769,9 +769,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -779,7 +779,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -788,14 +788,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -849,7 +849,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # ID of the Connect application that created the Order, if any. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field automatic_tax sig { returns(T.nilable(AutomaticTax)) } @@ -871,13 +871,13 @@ module Stripe sig { returns(String) } def currency; end # The customer which this orders belongs to. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the order. Use `expand[]=discounts` to expand each discount. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Discount)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Discount)])) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -886,7 +886,7 @@ module Stripe sig { returns(T.nilable(String)) } def ip_address; end # A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost. There is a maximum of 100 line items. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -917,67 +917,67 @@ module Stripe def total_details; end # Cancels the order as well as the payment intent if one is attached. sig { - params(params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def cancel(params = {}, opts = {}); end # Cancels the order as well as the payment intent if one is attached. sig { - params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.cancel(id, params = {}, opts = {}); end # Creates a new open order object. sig { - params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.create(params = {}, opts = {}); end # Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first. sig { - params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(id: String, params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::OrderListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(id, params = {}, opts = {}); end # Reopens a submitted order. sig { - params(params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def reopen(params = {}, opts = {}); end # Reopens a submitted order. sig { - params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.reopen(id, params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def submit(params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.submit(id, params = {}, opts = {}); end # Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def self.update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_attempt_record.rbi b/rbi/stripe/resources/payment_attempt_record.rbi index 914cdf3ba..d76118427 100644 --- a/rbi/stripe/resources/payment_attempt_record.rbi +++ b/rbi/stripe/resources/payment_attempt_record.rbi @@ -8,7 +8,7 @@ module Stripe # method. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record # can have guaranteed funds. class PaymentAttemptRecord < APIResource - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36,7 +36,7 @@ module Stripe @field_remappings = {} end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -50,7 +50,7 @@ module Stripe @field_remappings = {} end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -64,7 +64,7 @@ module Stripe @field_remappings = {} end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -78,7 +78,7 @@ module Stripe @field_remappings = {} end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -92,7 +92,7 @@ module Stripe @field_remappings = {} end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -106,7 +106,7 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. sig { returns(T.nilable(String)) } def customer; end @@ -126,8 +126,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -147,7 +147,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -173,7 +173,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -199,7 +199,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -216,7 +216,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -230,7 +230,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -247,8 +247,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -272,9 +272,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -329,7 +329,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -349,7 +349,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -369,7 +369,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -380,10 +380,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -403,7 +403,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -414,8 +414,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -460,7 +460,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -471,7 +471,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -482,8 +482,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -500,7 +500,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -511,7 +511,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow sig { returns(T.nilable(String)) } def authentication_flow; end @@ -531,8 +531,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. sig { returns(String) } def type; end @@ -543,7 +543,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -629,8 +629,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -644,7 +644,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -679,7 +679,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -774,7 +774,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -791,7 +791,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -811,7 +811,7 @@ module Stripe @field_remappings = {} end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(String) } def display_name; end @@ -825,7 +825,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -833,7 +833,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -849,7 +849,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -866,7 +866,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -888,7 +888,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -896,7 +896,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -907,7 +907,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -930,7 +930,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -938,10 +938,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -957,8 +957,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -1056,7 +1056,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1070,9 +1070,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -1111,8 +1111,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -1133,7 +1133,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -1153,7 +1153,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -1165,7 +1165,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1173,8 +1173,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -1207,7 +1207,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -1221,7 +1221,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1235,7 +1235,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1261,7 +1261,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -1272,7 +1272,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -1291,7 +1291,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1299,7 +1299,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1313,7 +1313,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -1330,8 +1330,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -1345,7 +1345,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1371,7 +1371,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1446,7 +1446,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1454,7 +1454,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -1474,7 +1474,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -1488,7 +1488,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -1499,7 +1499,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1507,7 +1507,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -1515,9 +1518,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -1572,7 +1575,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1586,7 +1589,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -1597,7 +1600,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -1614,7 +1617,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1640,7 +1643,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1648,7 +1651,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1662,10 +1665,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -1685,7 +1688,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1693,7 +1696,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1707,7 +1710,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -1724,7 +1727,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1732,7 +1735,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1749,7 +1752,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer’s bank. sig { returns(T.nilable(String)) } @@ -1764,7 +1767,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1772,7 +1775,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -1792,7 +1795,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2082,8 +2085,8 @@ module Stripe @field_remappings = {} end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(T.nilable(String)) } def payment_reference; end @@ -2109,8 +2112,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2217,7 +2220,7 @@ module Stripe def shipping_details; end # List all the Payment Attempt Records attached to the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_intent.rbi b/rbi/stripe/resources/payment_intent.rbi index 06f7eb23f..81f30cd59 100644 --- a/rbi/stripe/resources/payment_intent.rbi +++ b/rbi/stripe/resources/payment_intent.rbi @@ -15,8 +15,8 @@ module Stripe # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) class PaymentIntent < APIResource - class AmountDetails < Stripe::StripeObject - class Shipping < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -33,7 +33,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -44,7 +44,7 @@ module Stripe @field_remappings = {} end end - class Tip < Stripe::StripeObject + class Tip < ::Stripe::StripeObject # Portion of the amount that corresponds to a tip. sig { returns(T.nilable(Integer)) } def amount; end @@ -59,7 +59,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def discount_amount; end # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Attribute for field shipping sig { returns(T.nilable(Shipping)) } @@ -77,7 +77,7 @@ module Stripe @field_remappings = {} end end - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this PaymentIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. @@ -93,9 +93,9 @@ module Stripe @field_remappings = {} end end - class Hooks < Stripe::StripeObject - class Inputs < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Hooks < ::Stripe::StripeObject + class Inputs < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id sig { returns(String) } def calculation; end @@ -126,7 +126,7 @@ module Stripe @field_remappings = {} end end - class LastPaymentError < Stripe::StripeObject + class LastPaymentError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -165,14 +165,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -201,11 +201,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -218,8 +218,8 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class AlipayHandleRedirect < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class AlipayHandleRedirect < ::Stripe::StripeObject # The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App. sig { returns(T.nilable(String)) } def native_data; end @@ -239,7 +239,7 @@ module Stripe @field_remappings = {} end end - class BoletoDisplayDetails < Stripe::StripeObject + class BoletoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the boleto expires. sig { returns(T.nilable(Integer)) } def expires_at; end @@ -259,7 +259,7 @@ module Stripe @field_remappings = {} end end - class CardAwaitNotification < Stripe::StripeObject + class CardAwaitNotification < ::Stripe::StripeObject # The time that payment will be attempted. If customer approval is required, they need to provide approval before this time. sig { returns(T.nilable(Integer)) } def charge_attempt_at; end @@ -273,8 +273,8 @@ module Stripe @field_remappings = {} end end - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. sig { returns(Integer) } def expires_at; end @@ -307,10 +307,10 @@ module Stripe @field_remappings = {} end end - class DisplayBankTransferInstructions < Stripe::StripeObject - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class DisplayBankTransferInstructions < ::Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -336,7 +336,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -393,8 +393,8 @@ module Stripe @field_remappings = {} end end - class Iban < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Iban < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -420,7 +420,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -474,8 +474,8 @@ module Stripe @field_remappings = {} end end - class SortCode < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class SortCode < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -501,7 +501,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -552,8 +552,8 @@ module Stripe @field_remappings = {} end end - class Spei < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Spei < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -579,7 +579,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -633,8 +633,8 @@ module Stripe @field_remappings = {} end end - class Swift < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Swift < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -660,7 +660,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -717,8 +717,8 @@ module Stripe @field_remappings = {} end end - class Zengin < Stripe::StripeObject - class AccountHolderAddress < Stripe::StripeObject + class Zengin < ::Stripe::StripeObject + class AccountHolderAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -744,7 +744,7 @@ module Stripe @field_remappings = {} end end - class BankAddress < Stripe::StripeObject + class BankAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -870,9 +870,9 @@ module Stripe @field_remappings = {} end end - class KonbiniDisplayDetails < Stripe::StripeObject - class Stores < Stripe::StripeObject - class Familymart < Stripe::StripeObject + class KonbiniDisplayDetails < ::Stripe::StripeObject + class Stores < ::Stripe::StripeObject + class Familymart < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -886,7 +886,7 @@ module Stripe @field_remappings = {} end end - class Lawson < Stripe::StripeObject + class Lawson < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -900,7 +900,7 @@ module Stripe @field_remappings = {} end end - class Ministop < Stripe::StripeObject + class Ministop < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -914,7 +914,7 @@ module Stripe @field_remappings = {} end end - class Seicomart < Stripe::StripeObject + class Seicomart < ::Stripe::StripeObject # The confirmation number. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -968,7 +968,7 @@ module Stripe @field_remappings = {} end end - class MultibancoDisplayDetails < Stripe::StripeObject + class MultibancoDisplayDetails < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -988,7 +988,7 @@ module Stripe @field_remappings = {} end end - class OxxoDisplayDetails < Stripe::StripeObject + class OxxoDisplayDetails < ::Stripe::StripeObject # The timestamp after which the OXXO voucher expires. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -1005,7 +1005,7 @@ module Stripe @field_remappings = {} end end - class PaynowDisplayQrCode < Stripe::StripeObject + class PaynowDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -1025,7 +1025,7 @@ module Stripe @field_remappings = {} end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(T.nilable(String)) } def data; end @@ -1048,7 +1048,7 @@ module Stripe @field_remappings = {} end end - class PromptpayDisplayQrCode < Stripe::StripeObject + class PromptpayDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -1068,7 +1068,7 @@ module Stripe @field_remappings = {} end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -1082,8 +1082,8 @@ module Stripe @field_remappings = {} end end - class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(String) } def data; end @@ -1116,7 +1116,7 @@ module Stripe @field_remappings = {} end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. sig { returns(Integer) } def arrival_date; end @@ -1133,7 +1133,7 @@ module Stripe @field_remappings = {} end end - class WechatPayDisplayQrCode < Stripe::StripeObject + class WechatPayDisplayQrCode < ::Stripe::StripeObject # The data being used to generate QR code sig { returns(String) } def data; end @@ -1156,7 +1156,7 @@ module Stripe @field_remappings = {} end end - class WechatPayRedirectToAndroidApp < Stripe::StripeObject + class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject # app_id is the APP ID registered on WeChat open platform sig { returns(String) } def app_id; end @@ -1185,7 +1185,7 @@ module Stripe @field_remappings = {} end end - class WechatPayRedirectToIosApp < Stripe::StripeObject + class WechatPayRedirectToIosApp < ::Stripe::StripeObject # An universal link that redirect to WeChat Pay app sig { returns(String) } def native_url; end @@ -1278,9 +1278,9 @@ module Stripe @field_remappings = {} end end - class PaymentDetails < Stripe::StripeObject - class CarRental < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class PaymentDetails < ::Stripe::StripeObject + class CarRental < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -1291,8 +1291,8 @@ module Stripe @field_remappings = {} end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1322,7 +1322,7 @@ module Stripe @field_remappings = {} end end - class Distance < Stripe::StripeObject + class Distance < ::Stripe::StripeObject # Distance traveled. sig { returns(T.nilable(Integer)) } def amount; end @@ -1336,7 +1336,7 @@ module Stripe @field_remappings = {} end end - class Driver < Stripe::StripeObject + class Driver < ::Stripe::StripeObject # Driver's identification number. sig { returns(T.nilable(String)) } def driver_identification_number; end @@ -1353,7 +1353,7 @@ module Stripe @field_remappings = {} end end - class PickupAddress < Stripe::StripeObject + class PickupAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1379,7 +1379,7 @@ module Stripe @field_remappings = {} end end - class ReturnAddress < Stripe::StripeObject + class ReturnAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1491,8 +1491,8 @@ module Stripe @field_remappings = {} end end - class EventDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class EventDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1518,7 +1518,7 @@ module Stripe @field_remappings = {} end end - class Affiliate < Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -1529,8 +1529,8 @@ module Stripe @field_remappings = {} end end - class Delivery < Stripe::StripeObject - class Recipient < Stripe::StripeObject + class Delivery < ::Stripe::StripeObject + class Recipient < ::Stripe::StripeObject # The email of the recipient the ticket is delivered to. sig { returns(T.nilable(String)) } def email; end @@ -1594,8 +1594,8 @@ module Stripe @field_remappings = {} end end - class Subscription < Stripe::StripeObject - class Affiliate < Stripe::StripeObject + class Subscription < ::Stripe::StripeObject + class Affiliate < ::Stripe::StripeObject # The name of the affiliate that originated the purchase. sig { returns(T.nilable(String)) } def name; end @@ -1606,7 +1606,7 @@ module Stripe @field_remappings = {} end end - class BillingInterval < Stripe::StripeObject + class BillingInterval < ::Stripe::StripeObject # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. sig { returns(T.nilable(Integer)) } def count; end @@ -1671,7 +1671,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -1685,9 +1685,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -1732,7 +1732,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1755,7 +1755,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1779,7 +1779,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1796,7 +1796,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1807,7 +1807,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1827,7 +1827,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1847,8 +1847,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -1881,7 +1881,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -1901,7 +1901,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -1912,7 +1912,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -1929,7 +1929,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. sig { returns(Integer) } def expires_after_days; end @@ -1949,9 +1949,9 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject - class AvailablePlan < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject + class AvailablePlan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -1969,7 +1969,7 @@ module Stripe @field_remappings = {} end end - class Plan < Stripe::StripeObject + class Plan < ::Stripe::StripeObject # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. sig { returns(T.nilable(Integer)) } def count; end @@ -2003,7 +2003,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -2038,8 +2038,8 @@ module Stripe @field_remappings = {} end end - class StatementDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class StatementDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2145,8 +2145,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Routing < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Routing < ::Stripe::StripeObject # Requested routing priority sig { returns(T.nilable(String)) } def requested_priority; end @@ -2173,7 +2173,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2193,7 +2193,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2210,9 +2210,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -2263,7 +2263,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2280,7 +2280,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2297,7 +2297,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2314,7 +2314,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2331,7 +2331,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2348,7 +2348,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now. sig { returns(T.nilable(Integer)) } def expires_after; end @@ -2371,7 +2371,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2388,7 +2388,7 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2396,7 +2396,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2416,7 +2416,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2439,7 +2439,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. sig { returns(T.nilable(String)) } def confirmation_number; end @@ -2468,7 +2468,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2488,7 +2488,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2511,7 +2511,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2528,7 +2528,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2548,7 +2548,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2565,7 +2565,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2585,7 +2585,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2605,7 +2605,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. sig { returns(Integer) } def expires_after_days; end @@ -2625,7 +2625,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2642,7 +2642,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2650,7 +2650,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2661,7 +2661,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2678,9 +2678,9 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # The tax for a single unit of the line item in minor units. Cannot be a negative number. sig { returns(Integer) } def amount; end @@ -2759,7 +2759,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2767,8 +2767,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -2813,8 +2813,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -2874,7 +2874,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2891,7 +2891,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -2908,7 +2908,7 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2916,7 +2916,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2936,7 +2936,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2947,7 +2947,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # Controls when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -2958,8 +2958,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -2992,7 +2992,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3009,7 +3009,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Preferred language of the SOFORT authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -3029,7 +3029,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3046,7 +3046,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # A reference for this payment to be displayed in the Swish app. sig { returns(T.nilable(String)) } def reference; end @@ -3066,7 +3066,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3083,9 +3083,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -3099,7 +3099,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -3132,7 +3132,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -3177,7 +3177,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # The app ID registered with WeChat Pay. Only required when client is ios or android. sig { returns(T.nilable(String)) } def app_id; end @@ -3200,7 +3200,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject # Indicates that you intend to make future payments with this PaymentIntent's payment method. # # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. @@ -3461,7 +3461,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -3475,9 +3475,9 @@ module Stripe @field_remappings = {} end end - class Processing < Stripe::StripeObject - class Card < Stripe::StripeObject - class CustomerNotification < Stripe::StripeObject + class Processing < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject + class CustomerNotification < ::Stripe::StripeObject # Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank. sig { returns(T.nilable(T::Boolean)) } def approval_requested; end @@ -3514,8 +3514,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3563,14 +3563,14 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. # The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer # representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). sig { returns(T.nilable(Integer)) } def amount; end # The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -3592,7 +3592,7 @@ module Stripe sig { returns(Integer) } def amount_received; end # ID of the Connect application that created the PaymentIntent. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). sig { returns(T.nilable(Integer)) } @@ -3630,7 +3630,7 @@ module Stripe # Payment methods attached to other Customers cannot be used with this PaymentIntent. # # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the Account this PaymentIntent belongs to, if one exists. # @@ -3658,7 +3658,7 @@ module Stripe sig { returns(T.nilable(LastPaymentError)) } def last_payment_error; end # ID of the latest [Charge object](https://stripe.com/docs/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def latest_charge; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -3673,13 +3673,13 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # Attribute for field payment_details sig { returns(T.nilable(PaymentDetails)) } def payment_details; end # ID of the payment method used in this PaymentIntent. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def payment_method; end # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent. sig { returns(T.nilable(PaymentMethodConfigurationDetails)) } @@ -3700,7 +3700,7 @@ module Stripe sig { returns(T.nilable(String)) } def receipt_email; end # ID of the review associated with this PaymentIntent, if any. - sig { returns(T.nilable(T.any(String, Stripe::Review))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Review))) } def review; end # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`. sig { returns(T.nilable(String)) } @@ -3719,7 +3719,7 @@ module Stripe def shipping; end # This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def source; end # Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). @@ -3741,13 +3741,13 @@ module Stripe def transfer_group; end # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def apply_customer_balance(params = {}, opts = {}); end # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.apply_customer_balance(intent, params = {}, opts = {}); end @@ -3757,7 +3757,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def cancel(params = {}, opts = {}); end @@ -3767,7 +3767,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.cancel(intent, params = {}, opts = {}); end @@ -3777,7 +3777,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def capture(params = {}, opts = {}); end @@ -3787,7 +3787,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.capture(intent, params = {}, opts = {}); end @@ -3822,7 +3822,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def confirm(params = {}, opts = {}); end @@ -3857,7 +3857,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.confirm(intent, params = {}, opts = {}); end @@ -3872,7 +3872,7 @@ module Stripe # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply # confirm=true. sig { - params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.create(params = {}, opts = {}); end @@ -3893,7 +3893,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def decrement_authorization(params = {}, opts = {}); end @@ -3914,7 +3914,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.decrement_authorization(intent, params = {}, opts = {}); end @@ -3943,7 +3943,7 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def increment_authorization(params = {}, opts = {}); end @@ -3972,35 +3972,35 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.increment_authorization(intent, params = {}, opts = {}); end # Returns a list of PaymentIntents. sig { - params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Trigger an external action on a PaymentIntent. sig { - params(params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def trigger_action(params = {}, opts = {}); end # Trigger an external action on a PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.trigger_action(intent, params = {}, opts = {}); end @@ -4012,19 +4012,19 @@ module Stripe # update and confirm at the same time, we recommend updating properties through # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.update(intent, params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def verify_microdeposits(params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def self.verify_microdeposits(intent, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi index 955107182..1233250b5 100644 --- a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi +++ b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi @@ -4,8 +4,8 @@ # typed: true module Stripe class PaymentIntentAmountDetailsLineItem < APIResource - class PaymentMethodOptions < Stripe::StripeObject - class Card < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field commodity_code sig { returns(T.nilable(String)) } def commodity_code; end @@ -16,7 +16,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field commodity_code sig { returns(T.nilable(String)) } def commodity_code; end @@ -27,7 +27,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field image_url sig { returns(T.nilable(String)) } def image_url; end @@ -41,7 +41,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Type of the line item. sig { returns(T.nilable(String)) } def category; end @@ -77,7 +77,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(Integer) } def total_tax_amount; end diff --git a/rbi/stripe/resources/payment_link.rbi b/rbi/stripe/resources/payment_link.rbi index ddf831055..d73208118 100644 --- a/rbi/stripe/resources/payment_link.rbi +++ b/rbi/stripe/resources/payment_link.rbi @@ -9,8 +9,8 @@ module Stripe # # Related guide: [Payment Links API](https://stripe.com/docs/payment-links) class PaymentLink < APIResource - class AfterCompletion < Stripe::StripeObject - class HostedConfirmation < Stripe::StripeObject + class AfterCompletion < ::Stripe::StripeObject + class HostedConfirmation < ::Stripe::StripeObject # The custom message that is displayed to the customer after the purchase is complete. sig { returns(T.nilable(String)) } def custom_message; end @@ -21,7 +21,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The URL the customer will be redirected to after the purchase is complete. sig { returns(String) } def url; end @@ -48,10 +48,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -76,8 +76,8 @@ module Stripe @field_remappings = {} end end - class ConsentCollection < Stripe::StripeObject - class PaymentMethodReuseAgreement < Stripe::StripeObject + class ConsentCollection < ::Stripe::StripeObject + class PaymentMethodReuseAgreement < ::Stripe::StripeObject # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. # # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. @@ -106,9 +106,9 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject - class Dropdown < Stripe::StripeObject - class Option < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject + class Dropdown < ::Stripe::StripeObject + class Option < ::Stripe::StripeObject # The label for the option, displayed to the customer. Up to 100 characters. sig { returns(String) } def label; end @@ -135,7 +135,7 @@ module Stripe @field_remappings = {} end end - class Label < Stripe::StripeObject + class Label < ::Stripe::StripeObject # Custom text for the label, displayed to the customer. Up to 50 characters. sig { returns(T.nilable(String)) } def custom; end @@ -149,7 +149,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -166,7 +166,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The value that will pre-fill the field on the payment page. sig { returns(T.nilable(String)) } def default_value; end @@ -211,8 +211,8 @@ module Stripe @field_remappings = {} end end - class CustomText < Stripe::StripeObject - class AfterSubmit < Stripe::StripeObject + class CustomText < ::Stripe::StripeObject + class AfterSubmit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -223,7 +223,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -234,7 +234,7 @@ module Stripe @field_remappings = {} end end - class Submit < Stripe::StripeObject + class Submit < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -245,7 +245,7 @@ module Stripe @field_remappings = {} end end - class TermsOfServiceAcceptance < Stripe::StripeObject + class TermsOfServiceAcceptance < ::Stripe::StripeObject # Text may be up to 1200 characters in length. sig { returns(String) } def message; end @@ -280,9 +280,9 @@ module Stripe @field_remappings = {} end end - class InvoiceCreation < Stripe::StripeObject - class InvoiceData < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class InvoiceCreation < ::Stripe::StripeObject + class InvoiceData < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -296,9 +296,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -310,7 +310,7 @@ module Stripe @field_remappings = {} end end - class RenderingOptions < Stripe::StripeObject + class RenderingOptions < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -325,7 +325,7 @@ module Stripe end end # The account tax IDs associated with the invoice. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # A list of up to 4 custom fields to be displayed on the invoice. sig { returns(T.nilable(T::Array[CustomField])) } @@ -369,8 +369,50 @@ module Stripe @field_remappings = {} end end - class OptionalItem < Stripe::StripeObject - class AdjustableQuantity < Stripe::StripeObject + class NameCollection < ::Stripe::StripeObject + class Business < ::Stripe::StripeObject + # Indicates whether business name collection is enabled for the payment link. + sig { returns(T::Boolean) } + def enabled; end + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + sig { returns(T::Boolean) } + def optional; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Individual < ::Stripe::StripeObject + # Indicates whether individual name collection is enabled for the payment link. + sig { returns(T::Boolean) } + def enabled; end + # Whether the customer is required to complete the field before checking out. Defaults to `false`. + sig { returns(T::Boolean) } + def optional; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Attribute for field business + sig { returns(T.nilable(Business)) } + def business; end + # Attribute for field individual + sig { returns(T.nilable(Individual)) } + def individual; end + def self.inner_class_types + @inner_class_types = {business: Business, individual: Individual} + end + def self.field_remappings + @field_remappings = {} + end + end + class OptionalItem < ::Stripe::StripeObject + class AdjustableQuantity < ::Stripe::StripeObject # Set to true if the quantity can be adjusted to any non-negative integer. sig { returns(T::Boolean) } def enabled; end @@ -403,7 +445,7 @@ module Stripe @field_remappings = {} end end - class PaymentIntentData < Stripe::StripeObject + class PaymentIntentData < ::Stripe::StripeObject # Indicates when the funds will be captured from the customer's account. sig { returns(T.nilable(String)) } def capture_method; end @@ -432,7 +474,7 @@ module Stripe @field_remappings = {} end end - class PhoneNumberCollection < Stripe::StripeObject + class PhoneNumberCollection < ::Stripe::StripeObject # If `true`, a phone number will be collected during checkout. sig { returns(T::Boolean) } def enabled; end @@ -443,8 +485,8 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject - class CompletedSessions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CompletedSessions < ::Stripe::StripeObject # The current number of checkout sessions that have been completed on the payment link which count towards the `completed_sessions` restriction to be met. sig { returns(Integer) } def count; end @@ -468,7 +510,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddressCollection < Stripe::StripeObject + class ShippingAddressCollection < ::Stripe::StripeObject # An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. sig { returns(T::Array[String]) } def allowed_countries; end @@ -479,12 +521,12 @@ module Stripe @field_remappings = {} end end - class ShippingOption < Stripe::StripeObject + class ShippingOption < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def shipping_amount; end # The ID of the Shipping Rate to use for this shipping option. - sig { returns(T.any(String, Stripe::ShippingRate)) } + sig { returns(T.any(String, ::Stripe::ShippingRate)) } def shipping_rate; end def self.inner_class_types @inner_class_types = {} @@ -493,11 +535,11 @@ module Stripe @field_remappings = {} end end - class SubscriptionData < Stripe::StripeObject - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -519,8 +561,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -563,7 +605,7 @@ module Stripe @field_remappings = {} end end - class TaxIdCollection < Stripe::StripeObject + class TaxIdCollection < ::Stripe::StripeObject # Indicates whether tax ID collection is enabled for the session. sig { returns(T::Boolean) } def enabled; end @@ -577,12 +619,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Integer)) } def amount; end # The connected account receiving the transfer. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -601,7 +643,7 @@ module Stripe sig { returns(T::Boolean) } def allow_promotion_codes; end # The ID of the Connect application that created the Payment Link. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. sig { returns(T.nilable(Integer)) } @@ -640,7 +682,7 @@ module Stripe sig { returns(T.nilable(InvoiceCreation)) } def invoice_creation; end # The line items representing what is being sold. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -648,11 +690,14 @@ module Stripe # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T::Hash[String, String]) } def metadata; end + # Attribute for field name_collection + sig { returns(T.nilable(NameCollection)) } + def name_collection; end # String representing the object's type. Objects of the same type share the same value. sig { returns(String) } def object; end # The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The optional items presented to the customer at checkout. sig { returns(T.nilable(T::Array[OptionalItem])) } @@ -695,31 +740,31 @@ module Stripe def url; end # Creates a payment link. sig { - params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def self.create(params = {}, opts = {}); end # Returns a list of your payment links. sig { - params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(payment_link, params = {}, opts = {}); end # Updates a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def self.update(payment_link, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_method.rbi b/rbi/stripe/resources/payment_method.rbi index a0493d4e6..e9d29b311 100644 --- a/rbi/stripe/resources/payment_method.rbi +++ b/rbi/stripe/resources/payment_method.rbi @@ -9,7 +9,7 @@ module Stripe # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). class PaymentMethod < APIResource - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Account number of the bank account. sig { returns(T.nilable(String)) } def account_number; end @@ -35,7 +35,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -43,7 +43,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -51,7 +51,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -59,7 +59,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -67,7 +67,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -75,7 +75,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Six-digit number identifying bank and branch associated with this bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -92,7 +92,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -109,7 +109,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -117,7 +117,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -125,8 +125,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -174,7 +174,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -182,7 +182,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # Uniquely identifies the customer tax id (CNPJ or CPF) sig { returns(String) } def tax_id; end @@ -193,8 +193,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -211,10 +211,10 @@ module Stripe @field_remappings = {} end end - class GeneratedFrom < Stripe::StripeObject - class PaymentMethodDetails < Stripe::StripeObject - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -228,7 +228,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -263,7 +263,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -378,7 +378,7 @@ module Stripe sig { returns(T.nilable(PaymentMethodDetails)) } def payment_method_details; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {payment_method_details: PaymentMethodDetails} @@ -387,7 +387,7 @@ module Stripe @field_remappings = {} end end - class Networks < Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -401,7 +401,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecureUsage < Stripe::StripeObject + class ThreeDSecureUsage < ::Stripe::StripeObject # Whether 3D Secure is supported on this card. sig { returns(T::Boolean) } def supported; end @@ -412,8 +412,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class AmexExpressCheckout < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class AmexExpressCheckout < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -421,7 +421,7 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -429,7 +429,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -437,7 +437,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -445,8 +445,8 @@ module Stripe @field_remappings = {} end end - class Masterpass < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class Masterpass < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -472,7 +472,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -520,7 +520,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -528,8 +528,8 @@ module Stripe @field_remappings = {} end end - class VisaCheckout < Stripe::StripeObject - class BillingAddress < Stripe::StripeObject + class VisaCheckout < ::Stripe::StripeObject + class BillingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -555,7 +555,7 @@ module Stripe @field_remappings = {} end end - class ShippingAddress < Stripe::StripeObject + class ShippingAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -711,8 +711,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -726,7 +726,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -740,7 +740,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -811,7 +811,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -825,7 +825,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -833,7 +833,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -841,7 +841,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -852,7 +852,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -866,7 +866,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -874,7 +874,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -882,7 +882,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -890,7 +890,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -910,7 +910,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -924,8 +924,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Networks < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). sig { returns(T::Array[String]) } def available; end @@ -990,7 +990,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -998,8 +998,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -1026,7 +1026,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1034,7 +1034,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -1048,7 +1048,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Account owner's email address. sig { returns(T.nilable(String)) } def email; end @@ -1062,7 +1062,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1070,7 +1070,7 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1078,7 +1078,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1086,7 +1086,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1100,7 +1100,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1126,7 +1126,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1134,7 +1134,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank, if provided. sig { returns(T.nilable(String)) } def bank; end @@ -1145,7 +1145,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1153,7 +1153,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1161,7 +1161,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1169,7 +1169,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. sig { returns(T.nilable(String)) } def country; end @@ -1194,7 +1194,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1202,7 +1202,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -1219,7 +1219,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1227,7 +1227,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1235,7 +1235,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1243,7 +1243,7 @@ module Stripe @field_remappings = {} end end - class RadarOptions < Stripe::StripeObject + class RadarOptions < ::Stripe::StripeObject # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. sig { returns(T.nilable(String)) } def session; end @@ -1254,8 +1254,8 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject - class Dob < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -1282,7 +1282,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1290,7 +1290,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1298,7 +1298,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1306,13 +1306,13 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class GeneratedFrom < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class GeneratedFrom < ::Stripe::StripeObject # The ID of the Charge that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The ID of the SetupAttempt that generated this PaymentMethod, if any. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def setup_attempt; end def self.inner_class_types @inner_class_types = {} @@ -1346,7 +1346,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1354,7 +1354,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Two-letter ISO code representing the country the bank account is located in. sig { returns(T.nilable(String)) } def country; end @@ -1365,7 +1365,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1379,7 +1379,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1387,7 +1387,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1395,8 +1395,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class Networks < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class Networks < ::Stripe::StripeObject # The preferred network. sig { returns(T.nilable(String)) } def preferred; end @@ -1410,8 +1410,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Blocked < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Blocked < ::Stripe::StripeObject # The ACH network code that resulted in this block. sig { returns(T.nilable(String)) } def network_code; end @@ -1472,7 +1472,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1480,7 +1480,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1546,7 +1546,7 @@ module Stripe sig { returns(T.nilable(Crypto)) } def crypto; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # Attribute for field customer_account sig { returns(T.nilable(String)) } @@ -1594,7 +1594,7 @@ module Stripe sig { returns(T.nilable(KrCard)) } def kr_card; end # The Mandate object of the most recently created Mandate associated with this payment method - sig { returns(T.nilable(Stripe::Mandate)) } + sig { returns(T.nilable(::Stripe::Mandate)) } def latest_active_mandate; end # Attribute for field link sig { returns(T.nilable(Link)) } @@ -1715,7 +1715,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def attach(params = {}, opts = {}); end @@ -1733,7 +1733,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.attach(payment_method, params = {}, opts = {}); end @@ -1741,31 +1741,31 @@ module Stripe # # Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment. sig { - params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.create(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def detach(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.detach(payment_method, params = {}, opts = {}); end # Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer_list) API instead. sig { - params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def self.update(payment_method, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_method_configuration.rbi b/rbi/stripe/resources/payment_method_configuration.rbi index 0a655f301..fecd14b83 100644 --- a/rbi/stripe/resources/payment_method_configuration.rbi +++ b/rbi/stripe/resources/payment_method_configuration.rbi @@ -18,8 +18,8 @@ module Stripe # - [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs) # - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations) class PaymentMethodConfiguration < APIResource - class AcssDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -49,8 +49,8 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -80,8 +80,8 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -111,8 +111,8 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -142,8 +142,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -173,8 +173,8 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -204,8 +204,8 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -235,8 +235,8 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -266,8 +266,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -297,8 +297,8 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -328,8 +328,8 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Billie < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -359,8 +359,8 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Blik < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -390,8 +390,8 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -421,8 +421,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -452,8 +452,8 @@ module Stripe @field_remappings = {} end end - class CartesBancaires < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CartesBancaires < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -483,8 +483,8 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -514,8 +514,8 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -545,8 +545,8 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -576,8 +576,8 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Eps < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -607,8 +607,8 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -638,8 +638,8 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -669,8 +669,8 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -700,8 +700,8 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -731,8 +731,8 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -762,8 +762,8 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -793,8 +793,8 @@ module Stripe @field_remappings = {} end end - class Jcb < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -824,8 +824,8 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Jcb < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -855,8 +855,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -886,8 +886,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -917,8 +917,8 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -948,8 +948,8 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -979,8 +979,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1010,8 +1010,8 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1041,8 +1041,8 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1072,8 +1072,8 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1103,8 +1103,8 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1134,8 +1134,8 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1165,8 +1165,8 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1196,8 +1196,8 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class P24 < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1227,8 +1227,8 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1258,8 +1258,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payco < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1289,8 +1289,8 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1320,8 +1320,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1351,8 +1351,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1382,8 +1382,8 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1413,8 +1413,8 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1444,8 +1444,8 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1475,8 +1475,8 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Qris < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1506,8 +1506,8 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1537,8 +1537,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1568,8 +1568,8 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1599,8 +1599,8 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1630,8 +1630,8 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1661,8 +1661,8 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1692,8 +1692,8 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Swish < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1723,8 +1723,8 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class Twint < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1754,8 +1754,70 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject - class DisplayPreference < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + sig { returns(T.nilable(T::Boolean)) } + def overridable; end + # The account's display preference. + sig { returns(String) } + def preference; end + # The effective display preference value. + sig { returns(String) } + def value; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + sig { returns(T::Boolean) } + def available; end + # Attribute for field display_preference + sig { returns(DisplayPreference) } + def display_preference; end + def self.inner_class_types + @inner_class_types = {display_preference: DisplayPreference} + end + def self.field_remappings + @field_remappings = {} + end + end + class WechatPay < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject + # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + sig { returns(T.nilable(T::Boolean)) } + def overridable; end + # The account's display preference. + sig { returns(String) } + def preference; end + # The effective display preference value. + sig { returns(String) } + def value; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + sig { returns(T::Boolean) } + def available; end + # Attribute for field display_preference + sig { returns(DisplayPreference) } + def display_preference; end + def self.inner_class_types + @inner_class_types = {display_preference: DisplayPreference} + end + def self.field_remappings + @field_remappings = {} + end + end + class Zip < ::Stripe::StripeObject + class DisplayPreference < ::Stripe::StripeObject # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. sig { returns(T.nilable(T::Boolean)) } def overridable; end @@ -1839,6 +1901,9 @@ module Stripe # Attribute for field cashapp sig { returns(T.nilable(Cashapp)) } def cashapp; end + # Attribute for field crypto + sig { returns(T.nilable(Crypto)) } + def crypto; end # Attribute for field customer_balance sig { returns(T.nilable(CustomerBalance)) } def customer_balance; end @@ -1893,6 +1958,9 @@ module Stripe # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end + # Attribute for field mb_way + sig { returns(T.nilable(MbWay)) } + def mb_way; end # Attribute for field mobilepay sig { returns(T.nilable(Mobilepay)) } def mobilepay; end @@ -1982,19 +2050,19 @@ module Stripe def zip; end # Creates a payment method configuration sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def self.create(params = {}, opts = {}); end # List payment method configurations sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Update payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def self.update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_method_domain.rbi b/rbi/stripe/resources/payment_method_domain.rbi index 2a32e25a5..0a27cbcfd 100644 --- a/rbi/stripe/resources/payment_method_domain.rbi +++ b/rbi/stripe/resources/payment_method_domain.rbi @@ -8,8 +8,8 @@ module Stripe # # Related guide: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration). class PaymentMethodDomain < APIResource - class AmazonPay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -33,8 +33,8 @@ module Stripe @field_remappings = {} end end - class ApplePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -58,8 +58,8 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -83,8 +83,8 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -108,8 +108,8 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Link < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -133,8 +133,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class StatusDetails < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject # The error message associated with the status of the payment method on the domain. sig { returns(String) } def error_message; end @@ -196,19 +196,19 @@ module Stripe def paypal; end # Creates a payment method domain. sig { - params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.create(params = {}, opts = {}); end # Lists the details of existing payment method domains. sig { - params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.update(payment_method_domain, params = {}, opts = {}); end @@ -219,7 +219,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def validate(params = {}, opts = {}); end @@ -230,7 +230,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def self.validate(payment_method_domain, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/payment_record.rbi b/rbi/stripe/resources/payment_record.rbi index 25a48cda9..d85d5f01a 100644 --- a/rbi/stripe/resources/payment_record.rbi +++ b/rbi/stripe/resources/payment_record.rbi @@ -8,7 +8,7 @@ module Stripe # in order to mark an Invoice as paid and a Subscription as active. Payment Records consist of one or # more Payment Attempt Records, which represent individual attempts made on a payment network. class PaymentRecord < APIResource - class Amount < Stripe::StripeObject + class Amount < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class AmountAuthorized < Stripe::StripeObject + class AmountAuthorized < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -36,7 +36,7 @@ module Stripe @field_remappings = {} end end - class AmountCanceled < Stripe::StripeObject + class AmountCanceled < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -50,7 +50,7 @@ module Stripe @field_remappings = {} end end - class AmountFailed < Stripe::StripeObject + class AmountFailed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -64,7 +64,7 @@ module Stripe @field_remappings = {} end end - class AmountGuaranteed < Stripe::StripeObject + class AmountGuaranteed < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -78,7 +78,7 @@ module Stripe @field_remappings = {} end end - class AmountRefunded < Stripe::StripeObject + class AmountRefunded < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -92,7 +92,7 @@ module Stripe @field_remappings = {} end end - class AmountRequested < Stripe::StripeObject + class AmountRequested < ::Stripe::StripeObject # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). sig { returns(String) } def currency; end @@ -106,7 +106,7 @@ module Stripe @field_remappings = {} end end - class CustomerDetails < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject # ID of the Stripe Customer associated with this payment. sig { returns(T.nilable(String)) } def customer; end @@ -126,8 +126,8 @@ module Stripe @field_remappings = {} end end - class PaymentMethodDetails < Stripe::StripeObject - class AchCreditTransfer < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Account number to transfer funds to. sig { returns(T.nilable(String)) } def account_number; end @@ -147,7 +147,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Type of entity that holds the account. This can be either `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -173,7 +173,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -199,7 +199,7 @@ module Stripe @field_remappings = {} end end - class Affirm < Stripe::StripeObject + class Affirm < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -216,7 +216,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject # The Afterpay order ID associated with this payment intent. sig { returns(T.nilable(String)) } def order_id; end @@ -230,7 +230,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -247,8 +247,8 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Alma < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # The number of installments. sig { returns(Integer) } def count; end @@ -272,9 +272,9 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -329,7 +329,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -349,7 +349,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -369,7 +369,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -380,10 +380,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -403,7 +403,7 @@ module Stripe @field_remappings = {} end end - class Billie < Stripe::StripeObject + class Billie < ::Stripe::StripeObject # The Billie transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -414,8 +414,8 @@ module Stripe @field_remappings = {} end end - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -460,7 +460,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # A unique and immutable identifier assigned by BLIK to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -471,7 +471,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers) sig { returns(String) } def tax_id; end @@ -482,8 +482,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -500,7 +500,7 @@ module Stripe @field_remappings = {} end end - class NetworkToken < Stripe::StripeObject + class NetworkToken < ::Stripe::StripeObject # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction. sig { returns(T::Boolean) } def used; end @@ -511,7 +511,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field authentication_flow sig { returns(T.nilable(String)) } def authentication_flow; end @@ -531,8 +531,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`. sig { returns(String) } def type; end @@ -543,7 +543,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -629,8 +629,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -644,7 +644,7 @@ module Stripe @field_remappings = {} end end - class Receipt < Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -679,7 +679,7 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. sig { returns(String) } def type; end @@ -774,7 +774,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject # A unique and immutable identifier assigned by Cash App to every buyer. sig { returns(T.nilable(String)) } def buyer_id; end @@ -791,7 +791,7 @@ module Stripe @field_remappings = {} end end - class Crypto < Stripe::StripeObject + class Crypto < ::Stripe::StripeObject # The wallet address of the customer. sig { returns(T.nilable(String)) } def buyer_address; end @@ -811,7 +811,7 @@ module Stripe @field_remappings = {} end end - class Custom < Stripe::StripeObject + class Custom < ::Stripe::StripeObject # Display name for the custom (user-defined) payment method type used to make this payment. sig { returns(String) } def display_name; end @@ -825,7 +825,7 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -833,7 +833,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. sig { returns(T.nilable(String)) } def bank; end @@ -849,7 +849,7 @@ module Stripe @field_remappings = {} end end - class Fpx < Stripe::StripeObject + class Fpx < ::Stripe::StripeObject # Account holder type, if provided. Can be one of `individual` or `company`. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -866,7 +866,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -888,7 +888,7 @@ module Stripe @field_remappings = {} end end - class Gopay < Stripe::StripeObject + class Gopay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -896,7 +896,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject # Unique transaction id generated by GrabPay sig { returns(T.nilable(String)) } def transaction_id; end @@ -907,7 +907,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Account number of the bank account to transfer funds to. sig { returns(String) } def account_number; end @@ -930,7 +930,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -938,10 +938,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -957,8 +957,8 @@ module Stripe @field_remappings = {} end end - class InteracPresent < Stripe::StripeObject - class Receipt < Stripe::StripeObject + class InteracPresent < ::Stripe::StripeObject + class Receipt < ::Stripe::StripeObject # The type of account being debited or credited sig { returns(T.nilable(String)) } def account_type; end @@ -1056,7 +1056,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1070,9 +1070,9 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject - class PayerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject + class PayerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # The payer address country sig { returns(T.nilable(String)) } def country; end @@ -1111,8 +1111,8 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject - class Store < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject + class Store < ::Stripe::StripeObject # The name of the convenience store chain where the payment was completed. sig { returns(T.nilable(String)) } def chain; end @@ -1133,7 +1133,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject # The local credit or debit card brand. sig { returns(T.nilable(String)) } def brand; end @@ -1153,7 +1153,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # Two-letter ISO code representing the funding source country beneath the Link payment. # You could use this attribute to get a sense of international fees. sig { returns(T.nilable(String)) } @@ -1165,7 +1165,7 @@ module Stripe @field_remappings = {} end end - class MbWay < Stripe::StripeObject + class MbWay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1173,8 +1173,8 @@ module Stripe @field_remappings = {} end end - class Mobilepay < Stripe::StripeObject - class Card < Stripe::StripeObject + class Mobilepay < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Brand of the card used in the transaction sig { returns(T.nilable(String)) } def brand; end @@ -1207,7 +1207,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Entity number associated with this Multibanco payment. sig { returns(T.nilable(String)) } def entity; end @@ -1221,7 +1221,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1235,7 +1235,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -1261,7 +1261,7 @@ module Stripe @field_remappings = {} end end - class Oxxo < Stripe::StripeObject + class Oxxo < ::Stripe::StripeObject # OXXO reference number sig { returns(T.nilable(String)) } def number; end @@ -1272,7 +1272,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`. sig { returns(T.nilable(String)) } def bank; end @@ -1291,7 +1291,7 @@ module Stripe @field_remappings = {} end end - class PayByBank < Stripe::StripeObject + class PayByBank < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1299,7 +1299,7 @@ module Stripe @field_remappings = {} end end - class Payco < Stripe::StripeObject + class Payco < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1313,7 +1313,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to. sig { returns(T.nilable(String)) } def location; end @@ -1330,8 +1330,8 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject - class SellerProtection < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject + class SellerProtection < ::Stripe::StripeObject # An array of conditions that are covered for the transaction, if applicable. sig { returns(T.nilable(T::Array[String])) } def dispute_categories; end @@ -1345,7 +1345,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1371,7 +1371,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1446,7 +1446,7 @@ module Stripe @field_remappings = {} end end - class Paypay < Stripe::StripeObject + class Paypay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1454,7 +1454,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject # Bank-State-Branch number of the bank account. sig { returns(T.nilable(String)) } def bsb_number; end @@ -1474,7 +1474,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Unique transaction id generated by BCB sig { returns(T.nilable(String)) } def bank_transaction_id; end @@ -1488,7 +1488,7 @@ module Stripe @field_remappings = {} end end - class Promptpay < Stripe::StripeObject + class Promptpay < ::Stripe::StripeObject # Bill reference generated by PromptPay sig { returns(T.nilable(String)) } def reference; end @@ -1499,7 +1499,7 @@ module Stripe @field_remappings = {} end end - class Qris < Stripe::StripeObject + class Qris < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1507,7 +1507,10 @@ module Stripe @field_remappings = {} end end - class Rechnung < Stripe::StripeObject + class Rechnung < ::Stripe::StripeObject + # Payment portal URL. + sig { returns(T.nilable(String)) } + def payment_portal_url; end def self.inner_class_types @inner_class_types = {} end @@ -1515,9 +1518,9 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject - class Funding < Stripe::StripeObject - class Card < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject + class Funding < ::Stripe::StripeObject + class Card < ::Stripe::StripeObject # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. sig { returns(T.nilable(String)) } def brand; end @@ -1572,7 +1575,7 @@ module Stripe @field_remappings = {} end end - class SamsungPay < Stripe::StripeObject + class SamsungPay < ::Stripe::StripeObject # A unique identifier for the buyer as determined by the local payment processor. sig { returns(T.nilable(String)) } def buyer_id; end @@ -1586,7 +1589,7 @@ module Stripe @field_remappings = {} end end - class Satispay < Stripe::StripeObject + class Satispay < ::Stripe::StripeObject # The Satispay transaction ID associated with this payment. sig { returns(T.nilable(String)) } def transaction_id; end @@ -1597,7 +1600,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Name of the bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_name; end @@ -1614,7 +1617,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1640,7 +1643,7 @@ module Stripe @field_remappings = {} end end - class Shopeepay < Stripe::StripeObject + class Shopeepay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1648,7 +1651,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -1662,10 +1665,10 @@ module Stripe sig { returns(T.nilable(String)) } def country; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -1685,7 +1688,7 @@ module Stripe @field_remappings = {} end end - class StripeAccount < Stripe::StripeObject + class StripeAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1693,7 +1696,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject # The connected account ID whose Stripe balance to use as the source of payment sig { returns(T.nilable(String)) } def account; end @@ -1707,7 +1710,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer sig { returns(T.nilable(String)) } def fingerprint; end @@ -1724,7 +1727,7 @@ module Stripe @field_remappings = {} end end - class Twint < Stripe::StripeObject + class Twint < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1732,7 +1735,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Attribute for field account_holder_type sig { returns(T.nilable(String)) } def account_holder_type; end @@ -1749,7 +1752,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Reference number to locate ACH payments with customer’s bank. sig { returns(T.nilable(String)) } @@ -1764,7 +1767,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -1772,7 +1775,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same. sig { returns(T.nilable(String)) } def fingerprint; end @@ -1792,7 +1795,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -2082,8 +2085,8 @@ module Stripe @field_remappings = {} end end - class ProcessorDetails < Stripe::StripeObject - class Custom < Stripe::StripeObject + class ProcessorDetails < ::Stripe::StripeObject + class Custom < ::Stripe::StripeObject # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID. sig { returns(T.nilable(String)) } def payment_reference; end @@ -2109,8 +2112,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2216,76 +2219,90 @@ module Stripe # initialized and later report updates through the other report_* methods, or report Payment # Records in a terminal state directly, through this method. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_canceled(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_canceled(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_failed(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_failed(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_guaranteed(params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_guaranteed(id, params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_informational(params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def self.report_payment_attempt_informational(id, params = {}, opts = {}); end + + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def report_refund(params = {}, opts = {}); end + + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(id: String, params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def self.report_refund(id, params = {}, opts = {}); end end end \ No newline at end of file diff --git a/rbi/stripe/resources/payout.rbi b/rbi/stripe/resources/payout.rbi index c0324e961..5b8cde9f3 100644 --- a/rbi/stripe/resources/payout.rbi +++ b/rbi/stripe/resources/payout.rbi @@ -12,7 +12,7 @@ module Stripe # # Related guide: [Receiving payouts](https://stripe.com/docs/payouts) class Payout < APIResource - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. When `payout.status` is `pending` or `in_transit`, this will be `pending`. When the payout transitions to `paid`, `failed`, or `canceled`, this status will become `supported` or `unsupported` shortly after in most cases. In some cases, this may appear as `pending` for up to 10 days after `arrival_date` until transitioning to `supported` or `unsupported`. sig { returns(String) } def status; end @@ -30,7 +30,7 @@ module Stripe sig { returns(Integer) } def amount; end # The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. - sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ApplicationFee))) } def application_fee; end # The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. sig { returns(T.nilable(Integer)) } @@ -42,7 +42,7 @@ module Stripe sig { returns(T::Boolean) } def automatic; end # ID of the balance transaction that describes the impact of this payout on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -54,10 +54,10 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # ID of the bank account or card the payout is sent to. - sig { returns(T.nilable(T.any(String, T.any(Stripe::BankAccount, Stripe::Card)))) } + sig { returns(T.nilable(T.any(String, T.any(::Stripe::BankAccount, ::Stripe::Card)))) } def destination; end # If the payout fails or cancels, this is the ID of the balance transaction that reverses the initial balance transaction and returns the funds from the failed payout back in your balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://stripe.com/docs/api#payout_failures). sig { returns(T.nilable(String)) } @@ -81,7 +81,7 @@ module Stripe sig { returns(String) } def object; end # If the payout reverses another, this is the ID of the original payout. - sig { returns(T.nilable(T.any(String, Stripe::Payout))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Payout))) } def original_payout; end # ID of the v2 FinancialAccount the funds are sent to. sig { returns(T.nilable(String)) } @@ -90,7 +90,7 @@ module Stripe sig { returns(String) } def reconciliation_status; end # If the payout reverses, this is the ID of the payout that reverses this payout. - sig { returns(T.nilable(T.any(String, Stripe::Payout))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Payout))) } def reversed_by; end # The source balance this payout came from, which can be one of the following: `card`, `fpx`, or `bank_account`. sig { returns(String) } @@ -109,13 +109,13 @@ module Stripe def type; end # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def cancel(params = {}, opts = {}); end # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.cancel(payout, params = {}, opts = {}); end @@ -125,35 +125,35 @@ module Stripe # # If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://docs.stripe.com/api#balance_object) details available and pending amounts by source type. sig { - params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.create(params = {}, opts = {}); end # Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first. sig { - params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def reverse(params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.reverse(payout, params = {}, opts = {}); end # Updates the specified payout by setting the values of the parameters you pass. We don't change parameters that you don't provide. This request only accepts the metadata as arguments. sig { - params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def self.update(payout, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/person.rbi b/rbi/stripe/resources/person.rbi index 38c92f91c..c8e713676 100644 --- a/rbi/stripe/resources/person.rbi +++ b/rbi/stripe/resources/person.rbi @@ -9,8 +9,8 @@ module Stripe # # See the [Standard onboarding](https://docs.stripe.com/connect/standard-accounts) or [Express onboarding](https://docs.stripe.com/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](https://docs.stripe.com/connect/handling-api-verification#person-information). class Person < APIResource - class AdditionalTosAcceptances < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTosAcceptances < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The Unix timestamp marking when the legal guardian accepted the service agreement. sig { returns(T.nilable(Integer)) } def date; end @@ -37,7 +37,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -63,7 +63,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -92,7 +92,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -121,7 +121,7 @@ module Stripe @field_remappings = {} end end - class Dob < Stripe::StripeObject + class Dob < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(T.nilable(Integer)) } def day; end @@ -138,8 +138,8 @@ module Stripe @field_remappings = {} end end - class FutureRequirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class FutureRequirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -153,7 +153,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -195,7 +195,7 @@ module Stripe @field_remappings = {} end end - class RegisteredAddress < Stripe::StripeObject + class RegisteredAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -221,7 +221,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the person is the authorizer of the account's representative. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -253,8 +253,8 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Alternative < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Alternative < ::Stripe::StripeObject # Fields that can be provided to satisfy all fields in `original_fields_due`. sig { returns(T::Array[String]) } def alternative_fields_due; end @@ -268,7 +268,7 @@ module Stripe @field_remappings = {} end end - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # The code for the type of error. sig { returns(String) } def code; end @@ -310,8 +310,8 @@ module Stripe @field_remappings = {} end end - class UsCfpbData < Stripe::StripeObject - class EthnicityDetails < Stripe::StripeObject + class UsCfpbData < ::Stripe::StripeObject + class EthnicityDetails < ::Stripe::StripeObject # The persons ethnicity sig { returns(T.nilable(T::Array[String])) } def ethnicity; end @@ -325,7 +325,7 @@ module Stripe @field_remappings = {} end end - class RaceDetails < Stripe::StripeObject + class RaceDetails < ::Stripe::StripeObject # The persons race. sig { returns(T.nilable(T::Array[String])) } def race; end @@ -355,10 +355,10 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject - class AdditionalDocument < Stripe::StripeObject + class Verification < ::Stripe::StripeObject + class AdditionalDocument < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". sig { returns(T.nilable(String)) } @@ -367,7 +367,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} @@ -376,9 +376,9 @@ module Stripe @field_remappings = {} end end - class Document < Stripe::StripeObject + class Document < ::Stripe::StripeObject # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def back; end # A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". sig { returns(T.nilable(String)) } @@ -387,7 +387,7 @@ module Stripe sig { returns(T.nilable(String)) } def details_code; end # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def front; end def self.inner_class_types @inner_class_types = {} diff --git a/rbi/stripe/resources/plan.rbi b/rbi/stripe/resources/plan.rbi index 769efa530..5a32033be 100644 --- a/rbi/stripe/resources/plan.rbi +++ b/rbi/stripe/resources/plan.rbi @@ -12,7 +12,7 @@ module Stripe # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview). class Plan < APIResource - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -35,7 +35,7 @@ module Stripe @field_remappings = {} end end - class TransformUsage < Stripe::StripeObject + class TransformUsage < ::Stripe::StripeObject # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -92,7 +92,7 @@ module Stripe sig { returns(String) } def object; end # The product whose pricing this plan determines. - sig { returns(T.nilable(T.any(String, Stripe::Product))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Product))) } def product; end # Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. sig { returns(T.nilable(T::Array[Tier])) } @@ -114,31 +114,31 @@ module Stripe def deleted; end # You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. sig { - params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.create(params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.delete(plan, params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def delete(params = {}, opts = {}); end # Returns a list of your plans. sig { - params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle. sig { - params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def self.update(plan, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/price.rbi b/rbi/stripe/resources/price.rbi index e54971f72..f67e7faf6 100644 --- a/rbi/stripe/resources/price.rbi +++ b/rbi/stripe/resources/price.rbi @@ -10,8 +10,8 @@ module Stripe # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview). class Price < APIResource - class CurrencyOptions < Stripe::StripeObject - class CustomUnitAmount < Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. sig { returns(T.nilable(Integer)) } def maximum; end @@ -28,7 +28,7 @@ module Stripe @field_remappings = {} end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -73,7 +73,7 @@ module Stripe @field_remappings = {} end end - class CustomUnitAmount < Stripe::StripeObject + class CustomUnitAmount < ::Stripe::StripeObject # The maximum unit amount the customer can specify for this item. sig { returns(T.nilable(Integer)) } def maximum; end @@ -90,7 +90,7 @@ module Stripe @field_remappings = {} end end - class MigrateTo < Stripe::StripeObject + class MigrateTo < ::Stripe::StripeObject # The behavior controlling at what point in the subscription lifecycle to migrate the price sig { returns(String) } def behavior; end @@ -107,7 +107,7 @@ module Stripe @field_remappings = {} end end - class Recurring < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject # The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -130,7 +130,7 @@ module Stripe @field_remappings = {} end end - class Tier < Stripe::StripeObject + class Tier < ::Stripe::StripeObject # Price for the entire tier. sig { returns(T.nilable(Integer)) } def flat_amount; end @@ -153,7 +153,7 @@ module Stripe @field_remappings = {} end end - class TransformQuantity < Stripe::StripeObject + class TransformQuantity < ::Stripe::StripeObject # Divide usage by this number. sig { returns(Integer) } def divide_by; end @@ -207,7 +207,7 @@ module Stripe sig { returns(String) } def object; end # The ID of the product this price is associated with. - sig { returns(T.any(String, Stripe::Product)) } + sig { returns(T.any(String, ::Stripe::Product)) } def product; end # The recurring components of a price such as `interval` and `usage_type`. sig { returns(T.nilable(Recurring)) } @@ -238,29 +238,29 @@ module Stripe def deleted; end # Creates a new [Price for an existing Product](https://docs.stripe.com/api/prices). The Price can be recurring or one-time. sig { - params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def self.create(params = {}, opts = {}); end # Returns a list of your active prices, excluding [inline prices](https://docs.stripe.com/docs/products-prices/pricing-models#inline-pricing). For the list of inactive prices, set active to false. sig { - params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged. sig { - params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def self.update(price, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/privacy/redaction_job.rbi b/rbi/stripe/resources/privacy/redaction_job.rbi index 2d619a73c..9d69efce7 100644 --- a/rbi/stripe/resources/privacy/redaction_job.rbi +++ b/rbi/stripe/resources/privacy/redaction_job.rbi @@ -9,7 +9,7 @@ module Stripe # objects, making them permanently inaccessible in the Stripe Dashboard # and API. class RedactionJob < APIResource - class Objects < Stripe::StripeObject + class Objects < ::Stripe::StripeObject # Charge object identifiers usually starting with `ch_` sig { returns(T.nilable(T::Array[String])) } def charges; end @@ -69,7 +69,7 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def cancel(params = {}, opts = {}); end @@ -77,19 +77,19 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.cancel(job, params = {}, opts = {}); end # Creates a redaction job. When a job is created, it will start to validate. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.create(params = {}, opts = {}); end # Returns a list of redaction jobs. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -99,7 +99,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def run(params = {}, opts = {}); end @@ -109,7 +109,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.run(job, params = {}, opts = {}); end @@ -117,7 +117,7 @@ module Stripe # # If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.update(job, params = {}, opts = {}); end @@ -127,7 +127,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def validate(params = {}, opts = {}); end @@ -137,7 +137,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def self.validate(job, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/privacy/redaction_job_validation_error.rbi b/rbi/stripe/resources/privacy/redaction_job_validation_error.rbi index 8c74f336b..5ba32275c 100644 --- a/rbi/stripe/resources/privacy/redaction_job_validation_error.rbi +++ b/rbi/stripe/resources/privacy/redaction_job_validation_error.rbi @@ -8,7 +8,7 @@ module Stripe # errors that affect the ability to redact a specific object in a # redaction job. class RedactionJobValidationError < APIResource - class ErroringObject < Stripe::StripeObject + class ErroringObject < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end diff --git a/rbi/stripe/resources/product.rbi b/rbi/stripe/resources/product.rbi index 9015966c5..f01878567 100644 --- a/rbi/stripe/resources/product.rbi +++ b/rbi/stripe/resources/product.rbi @@ -12,7 +12,7 @@ module Stripe # [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront), # and more about [Products and Prices](https://stripe.com/docs/products-prices/overview) class Product < APIResource - class MarketingFeature < Stripe::StripeObject + class MarketingFeature < ::Stripe::StripeObject # The marketing feature name. Up to 80 characters long. sig { returns(T.nilable(String)) } def name; end @@ -23,7 +23,7 @@ module Stripe @field_remappings = {} end end - class PackageDimensions < Stripe::StripeObject + class PackageDimensions < ::Stripe::StripeObject # Height, in inches. sig { returns(Float) } def height; end @@ -50,7 +50,7 @@ module Stripe sig { returns(Integer) } def created; end # The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product. - sig { returns(T.nilable(T.any(String, Stripe::Price))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Price))) } def default_price; end # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. sig { returns(T.nilable(String)) } @@ -86,7 +86,7 @@ module Stripe sig { returns(T.nilable(String)) } def statement_descriptor; end # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. - sig { returns(T.nilable(T.any(String, Stripe::TaxCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TaxCode))) } def tax_code; end # The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans. sig { returns(String) } @@ -105,41 +105,41 @@ module Stripe def deleted; end # Creates a new product object. sig { - params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.create(params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.delete(id, params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def delete(params = {}, opts = {}); end # Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first. sig { - params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end # Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def self.update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/product_feature.rbi b/rbi/stripe/resources/product_feature.rbi index 9c445c9bd..e73fe3ec7 100644 --- a/rbi/stripe/resources/product_feature.rbi +++ b/rbi/stripe/resources/product_feature.rbi @@ -8,7 +8,7 @@ module Stripe class ProductFeature < APIResource # A feature represents a monetizable ability or functionality in your system. # Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer. - sig { returns(Stripe::Entitlements::Feature) } + sig { returns(::Stripe::Entitlements::Feature) } def entitlement_feature; end # Unique identifier for the object. sig { returns(String) } diff --git a/rbi/stripe/resources/promotion_code.rbi b/rbi/stripe/resources/promotion_code.rbi index f6fb886ff..570e5cc5f 100644 --- a/rbi/stripe/resources/promotion_code.rbi +++ b/rbi/stripe/resources/promotion_code.rbi @@ -9,9 +9,9 @@ module Stripe # If you enable promotion codes in your [customer portal configuration](https://stripe.com/docs/customer-management/configure-portal), then customers can redeem a code themselves when updating a subscription in the portal. # Customers can also view the currently active promotion codes and coupons on each of their subscriptions in the portal. class PromotionCode < APIResource - class Promotion < Stripe::StripeObject + class Promotion < ::Stripe::StripeObject # If promotion `type` is `coupon`, the coupon for this promotion. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # The type of promotion. sig { returns(String) } @@ -23,8 +23,8 @@ module Stripe @field_remappings = {} end end - class Restrictions < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class Restrictions < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). sig { returns(Integer) } def minimum_amount; end @@ -64,7 +64,7 @@ module Stripe sig { returns(Integer) } def created; end # The customer that this promotion code can be used by. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account that this promotion code can be used by. sig { returns(T.nilable(String)) } @@ -98,19 +98,19 @@ module Stripe def times_redeemed; end # A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer, redemption limit, and expiration date. sig { - params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def self.create(params = {}, opts = {}); end # Returns a list of your promotion codes. sig { - params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def self.update(promotion_code, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/quote.rbi b/rbi/stripe/resources/quote.rbi index d4f748d5f..fbc44aa17 100644 --- a/rbi/stripe/resources/quote.rbi +++ b/rbi/stripe/resources/quote.rbi @@ -6,10 +6,10 @@ module Stripe # A Quote is a way to model prices that you'd like to provide to a customer. # Once accepted, it will automatically create an invoice, subscription or subscription schedule. class Quote < APIResource - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -40,9 +40,9 @@ module Stripe @field_remappings = {} end end - class Computed < Stripe::StripeObject - class LastReestimationDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class Computed < ::Stripe::StripeObject + class LastReestimationDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field. sig { returns(T.nilable(String)) } def failure_code; end @@ -72,10 +72,10 @@ module Stripe @field_remappings = {} end end - class Recurring < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Recurring < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -83,7 +83,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -92,14 +92,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -168,10 +168,10 @@ module Stripe @field_remappings = {} end end - class Upfront < Stripe::StripeObject - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class Upfront < ::Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -179,7 +179,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -188,14 +188,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -249,7 +249,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Attribute for field total_details sig { returns(TotalDetails) } @@ -284,12 +284,12 @@ module Stripe @field_remappings = {} end end - class FromQuote < Stripe::StripeObject + class FromQuote < ::Stripe::StripeObject # Whether this quote is a revision of a different quote. sig { returns(T::Boolean) } def is_revision; end # The quote that was cloned. - sig { returns(T.any(String, Stripe::Quote)) } + sig { returns(T.any(String, ::Stripe::Quote)) } def quote; end def self.inner_class_types @inner_class_types = {} @@ -298,10 +298,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -326,8 +326,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Canceled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Canceled < ::Stripe::StripeObject # The reason this quote was marked as canceled. sig { returns(T.nilable(String)) } def reason; end @@ -341,9 +341,9 @@ module Stripe @field_remappings = {} end end - class Stale < Stripe::StripeObject - class LastReason < Stripe::StripeObject - class LinesInvalid < Stripe::StripeObject + class Stale < ::Stripe::StripeObject + class LastReason < ::Stripe::StripeObject + class LinesInvalid < ::Stripe::StripeObject # The timestamp at which the lines were marked as invalid. sig { returns(Integer) } def invalid_at; end @@ -357,9 +357,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionChanged < Stripe::StripeObject + class SubscriptionChanged < ::Stripe::StripeObject # The subscription's state before the quote was marked as stale. - sig { returns(T.nilable(Stripe::Subscription)) } + sig { returns(T.nilable(::Stripe::Subscription)) } def previous_subscription; end def self.inner_class_types @inner_class_types = {} @@ -368,9 +368,9 @@ module Stripe @field_remappings = {} end end - class SubscriptionScheduleChanged < Stripe::StripeObject + class SubscriptionScheduleChanged < ::Stripe::StripeObject # The subscription schedule's state before the quote was marked as stale. - sig { returns(T.nilable(Stripe::SubscriptionSchedule)) } + sig { returns(T.nilable(::Stripe::SubscriptionSchedule)) } def previous_subscription_schedule; end def self.inner_class_types @inner_class_types = {} @@ -452,7 +452,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the quote was accepted. Measured in seconds since Unix epoch. sig { returns(T.nilable(Integer)) } def accepted_at; end @@ -469,10 +469,10 @@ module Stripe @field_remappings = {} end end - class SubscriptionData < Stripe::StripeObject - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class SubscriptionData < ::Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -502,8 +502,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -517,7 +517,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -563,8 +563,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -588,7 +588,7 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # Attribute for field iterations sig { returns(Integer) } def iterations; end @@ -621,7 +621,7 @@ module Stripe sig { returns(T.nilable(String)) } def end_behavior; end # The id of the subscription that will be updated when the quote is accepted. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def from_subscription; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. sig { returns(T.nilable(T::Hash[String, String])) } @@ -646,8 +646,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDataOverride < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionDataOverride < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -664,9 +664,9 @@ module Stripe @field_remappings = {} end end - class BillOnAcceptance < Stripe::StripeObject - class BillFrom < Stripe::StripeObject - class LineStartsAt < Stripe::StripeObject + class BillOnAcceptance < ::Stripe::StripeObject + class BillFrom < ::Stripe::StripeObject + class LineStartsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -696,8 +696,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -711,7 +711,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -785,8 +785,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class SubscriptionSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -816,9 +816,9 @@ module Stripe @field_remappings = {} end end - class TotalDetails < Stripe::StripeObject - class Breakdown < Stripe::StripeObject - class Discount < Stripe::StripeObject + class TotalDetails < ::Stripe::StripeObject + class Breakdown < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject # The amount discounted. sig { returns(Integer) } def amount; end @@ -826,7 +826,7 @@ module Stripe # It contains information about when the discount began, when it will end, and what it is applied to. # # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) - sig { returns(Stripe::Discount) } + sig { returns(::Stripe::Discount) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -835,14 +835,14 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -889,7 +889,7 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Integer)) } def amount; end @@ -897,7 +897,7 @@ module Stripe sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -916,7 +916,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # ID of the Connect Application that created the quote. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote. sig { returns(T.nilable(Integer)) } @@ -940,19 +940,19 @@ module Stripe sig { returns(T.nilable(String)) } def currency; end # The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed. sig { returns(T.nilable(String)) } def customer_account; end # The tax rates applied to this quote. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxRate)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxRate)])) } def default_tax_rates; end # A description that will be displayed on the quote PDF. sig { returns(T.nilable(String)) } def description; end # The discounts applied to this quote. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -970,13 +970,13 @@ module Stripe sig { returns(String) } def id; end # The invoice that was created from this quote. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def invoice; end # Attribute for field invoice_settings sig { returns(InvoiceSettings) } def invoice_settings; end # A list of items the customer is being quoted for. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { returns(T.nilable(T::Array[String])) } @@ -994,7 +994,7 @@ module Stripe sig { returns(String) } def object; end # The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The status of the quote. sig { returns(String) } @@ -1006,7 +1006,7 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The subscription that was created or updated from this quote. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # Attribute for field subscription_data sig { returns(SubscriptionData) } @@ -1015,13 +1015,13 @@ module Stripe sig { returns(T.nilable(T::Array[SubscriptionDataOverride])) } def subscription_data_overrides; end # The subscription schedule that was created or updated from this quote. - sig { returns(T.nilable(T.any(String, Stripe::SubscriptionSchedule))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SubscriptionSchedule))) } def subscription_schedule; end # The subscription schedules that were created or updated from this quote. sig { returns(T.nilable(T::Array[SubscriptionSchedule])) } def subscription_schedules; end # ID of the test clock this quote belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field total_details sig { returns(TotalDetails) } @@ -1031,121 +1031,121 @@ module Stripe def transfer_data; end # Accepts the specified quote. sig { - params(params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def accept(params = {}, opts = {}); end # Accepts the specified quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.accept(quote, params = {}, opts = {}); end # Cancels the quote. sig { - params(params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def cancel(params = {}, opts = {}); end # Cancels the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.cancel(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote). sig { - params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.create(params = {}, opts = {}); end # Finalizes the quote. sig { - params(params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def finalize_quote(params = {}, opts = {}); end # Finalizes the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.finalize_quote(quote, params = {}, opts = {}); end # Returns a list of your quotes. sig { - params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_computed_upfront_line_items(params = {}, opts = {}); end # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListComputedUpfrontLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_computed_upfront_line_items(quote, params = {}, opts = {}); end # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(quote, params = {}, opts = {}); end # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_lines(params = {}, opts = {}); end # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(quote: String, params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteListLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_lines(quote, params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_preview_invoice_lines(preview_invoice, params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_draft(params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.mark_draft(quote, params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_stale(params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.mark_stale(quote, params = {}, opts = {}); end @@ -1163,19 +1163,19 @@ module Stripe # Recompute the upcoming invoice estimate for the quote. sig { - params(params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def reestimate(params = {}, opts = {}); end # Recompute the upcoming invoice estimate for the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.reestimate(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. sig { - params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def self.update(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/quote_line.rbi b/rbi/stripe/resources/quote_line.rbi index 5431bcee2..07d2140a1 100644 --- a/rbi/stripe/resources/quote_line.rbi +++ b/rbi/stripe/resources/quote_line.rbi @@ -5,9 +5,9 @@ module Stripe # A quote line defines a set of changes, in the order provided, that will be applied upon quote acceptance. class QuoteLine < APIResource - class Action < Stripe::StripeObject - class AddDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class AddDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end type. sig { returns(String) } def type; end @@ -19,10 +19,10 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } @@ -31,7 +31,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def index; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -40,9 +40,9 @@ module Stripe @field_remappings = {} end end - class AddItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class AddItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -57,16 +57,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -75,7 +75,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -96,13 +96,13 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -114,8 +114,8 @@ module Stripe @field_remappings = {} end end - class RemoveDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class RemoveDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -130,16 +130,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -148,9 +148,9 @@ module Stripe @field_remappings = {} end end - class RemoveItem < Stripe::StripeObject + class RemoveItem < ::Stripe::StripeObject # ID of a price to remove. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end def self.inner_class_types @inner_class_types = {} @@ -159,8 +159,8 @@ module Stripe @field_remappings = {} end end - class SetDiscount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetDiscount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -175,16 +175,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -193,9 +193,9 @@ module Stripe @field_remappings = {} end end - class SetItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class SetItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -210,16 +210,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -228,7 +228,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -249,13 +249,13 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -311,7 +311,7 @@ module Stripe @field_remappings = {} end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -328,7 +328,7 @@ module Stripe @field_remappings = {} end end - class CancelSubscriptionSchedule < Stripe::StripeObject + class CancelSubscriptionSchedule < ::Stripe::StripeObject # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`. sig { returns(String) } def cancel_at; end @@ -345,8 +345,8 @@ module Stripe @field_remappings = {} end end - class EndsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class EndsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. sig { returns(String) } def discount; end @@ -357,7 +357,7 @@ module Stripe @field_remappings = {} end end - class Duration < Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -393,8 +393,8 @@ module Stripe @field_remappings = {} end end - class SetPauseCollection < Stripe::StripeObject - class Set < Stripe::StripeObject + class SetPauseCollection < ::Stripe::StripeObject + class Set < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -418,8 +418,8 @@ module Stripe @field_remappings = {} end end - class StartsAt < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class StartsAt < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The ID of a specific discount. sig { returns(String) } def discount; end @@ -430,7 +430,7 @@ module Stripe @field_remappings = {} end end - class LineEndsAt < Stripe::StripeObject + class LineEndsAt < ::Stripe::StripeObject # Unique identifier for the object. sig { returns(String) } def id; end @@ -463,8 +463,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end diff --git a/rbi/stripe/resources/quote_preview_invoice.rbi b/rbi/stripe/resources/quote_preview_invoice.rbi index ec23484a9..b7934bc50 100644 --- a/rbi/stripe/resources/quote_preview_invoice.rbi +++ b/rbi/stripe/resources/quote_preview_invoice.rbi @@ -36,7 +36,7 @@ module Stripe # # Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) class QuotePreviewInvoice < APIResource - class AmountsDue < Stripe::StripeObject + class AmountsDue < ::Stripe::StripeObject # Incremental amount due for this payment in cents (or local equivalent). sig { returns(Integer) } def amount; end @@ -68,7 +68,7 @@ module Stripe @field_remappings = {} end end - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -85,10 +85,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -122,7 +122,7 @@ module Stripe @field_remappings = {} end end - class ConfirmationSecret < Stripe::StripeObject + class ConfirmationSecret < ::Stripe::StripeObject # The client_secret of the payment that Stripe creates for the invoice after finalization. sig { returns(String) } def client_secret; end @@ -136,7 +136,7 @@ module Stripe @field_remappings = {} end end - class CustomField < Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. sig { returns(String) } def name; end @@ -150,7 +150,7 @@ module Stripe @field_remappings = {} end end - class CustomerAddress < Stripe::StripeObject + class CustomerAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -176,8 +176,8 @@ module Stripe @field_remappings = {} end end - class CustomerShipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerShipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -225,7 +225,7 @@ module Stripe @field_remappings = {} end end - class CustomerTaxId < Stripe::StripeObject + class CustomerTaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -239,12 +239,12 @@ module Stripe @field_remappings = {} end end - class FromInvoice < Stripe::StripeObject + class FromInvoice < ::Stripe::StripeObject # The relation between this invoice and the cloned invoice sig { returns(String) } def action; end # The invoice that was cloned. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end def self.inner_class_types @inner_class_types = {} @@ -253,9 +253,9 @@ module Stripe @field_remappings = {} end end - class Issuer < Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -267,7 +267,7 @@ module Stripe @field_remappings = {} end end - class LastFinalizationError < Stripe::StripeObject + class LastFinalizationError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -306,14 +306,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -342,11 +342,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -359,8 +359,8 @@ module Stripe @field_remappings = {} end end - class Parent < Stripe::StripeObject - class BillingCadenceDetails < Stripe::StripeObject + class Parent < ::Stripe::StripeObject + class BillingCadenceDetails < ::Stripe::StripeObject # The billing cadence that generated this invoice sig { returns(String) } def billing_cadence; end @@ -371,7 +371,7 @@ module Stripe @field_remappings = {} end end - class QuoteDetails < Stripe::StripeObject + class QuoteDetails < ::Stripe::StripeObject # The quote that generated this invoice sig { returns(String) } def quote; end @@ -382,8 +382,8 @@ module Stripe @field_remappings = {} end end - class SubscriptionDetails < Stripe::StripeObject - class PauseCollection < Stripe::StripeObject + class SubscriptionDetails < ::Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(T.nilable(String)) } def behavior; end @@ -405,7 +405,7 @@ module Stripe sig { returns(T.nilable(PauseCollection)) } def pause_collection; end # The subscription that generated this invoice - sig { returns(T.any(String, Stripe::Subscription)) } + sig { returns(T.any(String, ::Stripe::Subscription)) } def subscription; end # Only set for upcoming invoices that preview prorations. The time used to calculate prorations. sig { returns(T.nilable(Integer)) } @@ -440,10 +440,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -467,7 +467,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -478,8 +478,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Installments < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Installments < ::Stripe::StripeObject # Whether Installments are enabled for this Invoice. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -503,9 +503,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -542,7 +542,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -550,7 +550,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -558,7 +558,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject # Determines if the amount includes the IOF tax. sig { returns(T.nilable(String)) } def amount_includes_iof; end @@ -569,7 +569,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -577,8 +577,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -608,9 +608,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -717,8 +717,8 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject - class Pdf < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject + class Pdf < ::Stripe::StripeObject # Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. sig { returns(T.nilable(String)) } def page_size; end @@ -748,15 +748,15 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class Tax < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Amount of tax applied for this rate. sig { returns(Integer) } def amount; end # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. # # Related guide: [Tax rates](/billing/taxes/tax-rates) - sig { returns(Stripe::TaxRate) } + sig { returns(::Stripe::TaxRate) } def rate; end # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. sig { returns(T.nilable(String)) } @@ -781,7 +781,7 @@ module Stripe sig { returns(Integer) } def amount_total; end # The ID of the ShippingRate for this invoice. - sig { returns(T.nilable(T.any(String, Stripe::ShippingRate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::ShippingRate))) } def shipping_rate; end # The taxes applied to the shipping rate. sig { returns(T.nilable(T::Array[Tax])) } @@ -793,8 +793,8 @@ module Stripe @field_remappings = {} end end - class ShippingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShippingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -842,7 +842,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time that the invoice draft was finalized. sig { returns(T.nilable(Integer)) } def finalized_at; end @@ -862,8 +862,8 @@ module Stripe @field_remappings = {} end end - class ThresholdReason < Stripe::StripeObject - class ItemReason < Stripe::StripeObject + class ThresholdReason < ::Stripe::StripeObject + class ItemReason < ::Stripe::StripeObject # The IDs of the line items that triggered the threshold invoice. sig { returns(T::Array[String]) } def line_item_ids; end @@ -890,12 +890,12 @@ module Stripe @field_remappings = {} end end - class TotalDiscountAmount < Stripe::StripeObject + class TotalDiscountAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the discount. sig { returns(Integer) } def amount; end # The discount that was applied to get this discount amount. - sig { returns(T.any(String, Stripe::Discount)) } + sig { returns(T.any(String, ::Stripe::Discount)) } def discount; end def self.inner_class_types @inner_class_types = {} @@ -904,12 +904,12 @@ module Stripe @field_remappings = {} end end - class TotalMarginAmount < Stripe::StripeObject + class TotalMarginAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the reduction in line item amount. sig { returns(Integer) } def amount; end # The margin that was applied to get this margin amount. - sig { returns(T.any(String, Stripe::Margin)) } + sig { returns(T.any(String, ::Stripe::Margin)) } def margin; end def self.inner_class_types @inner_class_types = {} @@ -918,18 +918,18 @@ module Stripe @field_remappings = {} end end - class TotalPretaxCreditAmount < Stripe::StripeObject + class TotalPretaxCreditAmount < ::Stripe::StripeObject # The amount, in cents (or local equivalent), of the pretax credit amount. sig { returns(Integer) } def amount; end # The credit balance transaction that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Billing::CreditBalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Billing::CreditBalanceTransaction))) } def credit_balance_transaction; end # The discount that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # The margin that was applied to get this pretax credit amount. - sig { returns(T.nilable(T.any(String, Stripe::Margin))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Margin))) } def margin; end # Type of the pretax credit amount referenced. sig { returns(String) } @@ -941,8 +941,8 @@ module Stripe @field_remappings = {} end end - class TotalTax < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject + class TotalTax < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # Attribute for field tax_rate sig { returns(String) } def tax_rate; end @@ -985,7 +985,7 @@ module Stripe sig { returns(T.nilable(String)) } def account_name; end # The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`. sig { returns(Integer) } @@ -1006,7 +1006,7 @@ module Stripe sig { returns(T.nilable(T::Array[AmountsDue])) } def amounts_due; end # ID of the Connect Application that created the invoice. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field applies_to sig { returns(AppliesTo) } @@ -1074,24 +1074,24 @@ module Stripe sig { returns(T.nilable(T::Array[CustomerTaxId])) } def customer_tax_ids; end # The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::Margin)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::Margin)])) } def default_margins; end # ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates applied to this invoice, if any. - sig { returns(T::Array[Stripe::TaxRate]) } + sig { returns(T::Array[::Stripe::TaxRate]) } def default_tax_rates; end # An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -1118,10 +1118,10 @@ module Stripe sig { returns(T.nilable(LastFinalizationError)) } def last_finalization_error; end # The ID of the most recent non-draft revision of this invoice - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_revision; end # The individual line items that make up the invoice. `lines` is sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def lines; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -1139,7 +1139,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The parent that generated this invoice sig { returns(T.nilable(Parent)) } @@ -1148,7 +1148,7 @@ module Stripe sig { returns(PaymentSettings) } def payment_settings; end # Payments for this invoice - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def payments; end # End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price. sig { returns(Integer) } @@ -1187,7 +1187,7 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # Attribute for field subscription - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated sig { returns(Integer) } @@ -1196,7 +1196,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def subtotal_excluding_tax; end # ID of the test clock this invoice belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Attribute for field threshold_reason sig { returns(T.nilable(ThresholdReason)) } diff --git a/rbi/stripe/resources/quote_preview_subscription_schedule.rbi b/rbi/stripe/resources/quote_preview_subscription_schedule.rbi index 53354970a..b6f1f52ed 100644 --- a/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +++ b/rbi/stripe/resources/quote_preview_subscription_schedule.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe class QuotePreviewSubscriptionSchedule < APIResource - class AppliesTo < Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. sig { returns(T.nilable(String)) } def new_reference; end @@ -21,8 +21,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -49,7 +49,7 @@ module Stripe @field_remappings = {} end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. sig { returns(Integer) } def end_date; end @@ -63,11 +63,11 @@ module Stripe @field_remappings = {} end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -95,7 +95,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -109,10 +109,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -125,7 +125,7 @@ module Stripe end end # The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -140,12 +140,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -170,7 +170,7 @@ module Stripe sig { returns(T.nilable(String)) } def collection_method; end # ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -179,7 +179,7 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -196,8 +196,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -227,10 +227,10 @@ module Stripe @field_remappings = {} end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -245,16 +245,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -263,8 +263,8 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -278,7 +278,7 @@ module Stripe @field_remappings = {} end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -315,13 +315,13 @@ module Stripe sig { returns(Period) } def period; end # ID of the price used to generate the invoice item. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # The quantity of the invoice item. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end def self.inner_class_types @inner_class_types = {discounts: Discount, period: Period} @@ -330,10 +330,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -361,7 +361,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -375,8 +375,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -391,16 +391,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -409,10 +409,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -425,7 +425,7 @@ module Stripe end end # The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -440,8 +440,8 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -452,8 +452,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -468,16 +468,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -486,7 +486,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -510,16 +510,16 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the plan to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Plan)) } + sig { returns(T.any(String, ::Stripe::Plan)) } def plan; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -535,7 +535,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -546,12 +546,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -560,8 +560,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -604,10 +604,10 @@ module Stripe sig { returns(String) } def currency; end # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # The default tax rates to apply to the subscription during this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -628,7 +628,7 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -668,9 +668,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -689,7 +689,7 @@ module Stripe end end # ID of the Connect Application that created the schedule. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Attribute for field applies_to sig { returns(AppliesTo) } @@ -713,7 +713,7 @@ module Stripe sig { returns(T.nilable(CurrentPhase)) } def current_phase; end # ID of the customer who owns the subscription schedule. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription schedule. sig { returns(T.nilable(String)) } @@ -755,10 +755,10 @@ module Stripe sig { returns(String) } def status; end # ID of the subscription managed by the subscription schedule. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # ID of the test clock this subscription schedule belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end end end \ No newline at end of file diff --git a/rbi/stripe/resources/radar/early_fraud_warning.rbi b/rbi/stripe/resources/radar/early_fraud_warning.rbi index 17b56bc4a..ac8706107 100644 --- a/rbi/stripe/resources/radar/early_fraud_warning.rbi +++ b/rbi/stripe/resources/radar/early_fraud_warning.rbi @@ -13,7 +13,7 @@ module Stripe sig { returns(T::Boolean) } def actionable; end # ID of the charge this early fraud warning is for, optionally expanded. - sig { returns(T.any(String, Stripe::Charge)) } + sig { returns(T.any(String, ::Stripe::Charge)) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -31,11 +31,11 @@ module Stripe sig { returns(String) } def object; end # ID of the Payment Intent this early fraud warning is for, optionally expanded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Returns a list of early fraud warnings. sig { - params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/radar/value_list.rbi b/rbi/stripe/resources/radar/value_list.rbi index 23c8d8a97..cd4cdd5c4 100644 --- a/rbi/stripe/resources/radar/value_list.rbi +++ b/rbi/stripe/resources/radar/value_list.rbi @@ -24,7 +24,7 @@ module Stripe sig { returns(String) } def item_type; end # List of items contained within this value list. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def list_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -43,31 +43,31 @@ module Stripe def deleted; end # Creates a new ValueList object, which can then be referenced in rules. sig { - params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.create(params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.delete(value_list, params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def delete(params = {}, opts = {}); end # Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def self.update(value_list, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/radar/value_list_item.rbi b/rbi/stripe/resources/radar/value_list_item.rbi index b72c0ec1a..3d7aa094d 100644 --- a/rbi/stripe/resources/radar/value_list_item.rbi +++ b/rbi/stripe/resources/radar/value_list_item.rbi @@ -34,25 +34,25 @@ module Stripe def deleted; end # Creates a new ValueListItem object, which is added to the specified parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def self.create(params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def self.delete(item, params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def delete(params = {}, opts = {}); end # Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/refund.rbi b/rbi/stripe/resources/refund.rbi index 902649921..38ab068f8 100644 --- a/rbi/stripe/resources/refund.rbi +++ b/rbi/stripe/resources/refund.rbi @@ -9,8 +9,8 @@ module Stripe # # Related guide: [Refunds](https://stripe.com/docs/refunds) class Refund < APIResource - class DestinationDetails < Stripe::StripeObject - class Affirm < Stripe::StripeObject + class DestinationDetails < ::Stripe::StripeObject + class Affirm < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -18,7 +18,7 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpay < Stripe::StripeObject + class AfterpayClearpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -26,7 +26,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -34,7 +34,7 @@ module Stripe @field_remappings = {} end end - class Alma < Stripe::StripeObject + class Alma < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -42,7 +42,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -50,7 +50,7 @@ module Stripe @field_remappings = {} end end - class AuBankTransfer < Stripe::StripeObject + class AuBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -58,7 +58,7 @@ module Stripe @field_remappings = {} end end - class Blik < Stripe::StripeObject + class Blik < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -75,7 +75,7 @@ module Stripe @field_remappings = {} end end - class BrBankTransfer < Stripe::StripeObject + class BrBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -89,7 +89,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Value of the reference number assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -109,7 +109,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -117,7 +117,7 @@ module Stripe @field_remappings = {} end end - class CustomerCashBalance < Stripe::StripeObject + class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -125,7 +125,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -133,7 +133,7 @@ module Stripe @field_remappings = {} end end - class EuBankTransfer < Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -147,7 +147,7 @@ module Stripe @field_remappings = {} end end - class GbBankTransfer < Stripe::StripeObject + class GbBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -161,7 +161,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -169,7 +169,7 @@ module Stripe @field_remappings = {} end end - class Grabpay < Stripe::StripeObject + class Grabpay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -177,7 +177,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -191,7 +191,7 @@ module Stripe @field_remappings = {} end end - class JpBankTransfer < Stripe::StripeObject + class JpBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -205,7 +205,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -213,7 +213,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -227,7 +227,7 @@ module Stripe @field_remappings = {} end end - class MxBankTransfer < Stripe::StripeObject + class MxBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -241,7 +241,7 @@ module Stripe @field_remappings = {} end end - class NzBankTransfer < Stripe::StripeObject + class NzBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -249,7 +249,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -263,7 +263,7 @@ module Stripe @field_remappings = {} end end - class Paynow < Stripe::StripeObject + class Paynow < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -271,7 +271,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -282,7 +282,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -290,7 +290,7 @@ module Stripe @field_remappings = {} end end - class Revolut < Stripe::StripeObject + class Revolut < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -298,7 +298,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -306,7 +306,7 @@ module Stripe @field_remappings = {} end end - class Swish < Stripe::StripeObject + class Swish < ::Stripe::StripeObject # For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed. sig { returns(T.nilable(String)) } def network_decline_code; end @@ -323,7 +323,7 @@ module Stripe @field_remappings = {} end end - class ThBankTransfer < Stripe::StripeObject + class ThBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -337,7 +337,7 @@ module Stripe @field_remappings = {} end end - class UsBankTransfer < Stripe::StripeObject + class UsBankTransfer < ::Stripe::StripeObject # The reference assigned to the refund. sig { returns(T.nilable(String)) } def reference; end @@ -351,7 +351,7 @@ module Stripe @field_remappings = {} end end - class WechatPay < Stripe::StripeObject + class WechatPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -359,7 +359,7 @@ module Stripe @field_remappings = {} end end - class Zip < Stripe::StripeObject + class Zip < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -510,9 +510,9 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class DisplayDetails < Stripe::StripeObject - class EmailSent < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class DisplayDetails < ::Stripe::StripeObject + class EmailSent < ::Stripe::StripeObject # The timestamp when the email was sent. sig { returns(Integer) } def email_sent_at; end @@ -552,7 +552,7 @@ module Stripe @field_remappings = {} end end - class PresentmentDetails < Stripe::StripeObject + class PresentmentDetails < ::Stripe::StripeObject # Amount intended to be collected by this payment, denominated in `presentment_currency`. sig { returns(Integer) } def presentment_amount; end @@ -570,10 +570,10 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # ID of the charge that's refunded. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -588,7 +588,7 @@ module Stripe sig { returns(T.nilable(DestinationDetails)) } def destination_details; end # After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def failure_balance_transaction; end # Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`. sig { returns(T.nilable(String)) } @@ -609,7 +609,7 @@ module Stripe sig { returns(String) } def object; end # ID of the PaymentIntent that's refunded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`. sig { returns(T.nilable(String)) } @@ -624,19 +624,19 @@ module Stripe sig { returns(T.nilable(String)) } def receipt_number; end # The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account. - sig { returns(T.nilable(T.any(String, Stripe::Reversal))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Reversal))) } def source_transfer_reversal; end # Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://stripe.com/docs/refunds#failed-refunds). sig { returns(T.nilable(String)) } def status; end # This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter. - sig { returns(T.nilable(T.any(String, Stripe::Reversal))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Reversal))) } def transfer_reversal; end # Cancels a refund with a status of requires_action. # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def cancel(params = {}, opts = {}); end @@ -644,7 +644,7 @@ module Stripe # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.cancel(refund, params = {}, opts = {}); end @@ -660,13 +660,13 @@ module Stripe # This method will raise an error when called on an already-refunded charge, # or when trying to refund more money than is left on a charge. sig { - params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.create(params = {}, opts = {}); end # Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object. sig { - params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -674,7 +674,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def self.update(refund, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/reporting/report_run.rbi b/rbi/stripe/resources/reporting/report_run.rbi index c7b59f2e8..f4ca0f57e 100644 --- a/rbi/stripe/resources/reporting/report_run.rbi +++ b/rbi/stripe/resources/reporting/report_run.rbi @@ -13,7 +13,7 @@ module Stripe # Note that certain report types can only be run based on your live-mode data (not test-mode # data), and will error when queried without a [live-mode API key](https://stripe.com/docs/keys#test-live-modes). class ReportRun < APIResource - class Parameters < Stripe::StripeObject + class Parameters < ::Stripe::StripeObject # The set of output columns requested for inclusion in the report run. sig { returns(T.nilable(T::Array[String])) } def columns; end @@ -69,7 +69,7 @@ module Stripe def report_type; end # The file object representing the result of the report run (populated when # `status=succeeded`). - sig { returns(T.nilable(Stripe::File)) } + sig { returns(T.nilable(::Stripe::File)) } def result; end # Status of this report run. This will be `pending` when the run is initially created. # When the run finishes, this will be set to `succeeded` and the `result` field will be populated. @@ -82,13 +82,13 @@ module Stripe def succeeded_at; end # Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def self.create(params = {}, opts = {}); end # Returns a list of Report Runs, with the most recent appearing first. sig { - params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/reporting/report_type.rbi b/rbi/stripe/resources/reporting/report_type.rbi index fe463a441..ba437e977 100644 --- a/rbi/stripe/resources/reporting/report_type.rbi +++ b/rbi/stripe/resources/reporting/report_type.rbi @@ -42,7 +42,7 @@ module Stripe def version; end # Returns a full list of Report Types. sig { - params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/reversal.rbi b/rbi/stripe/resources/reversal.rbi index 36a99129b..84f160172 100644 --- a/rbi/stripe/resources/reversal.rbi +++ b/rbi/stripe/resources/reversal.rbi @@ -21,7 +21,7 @@ module Stripe sig { returns(Integer) } def amount; end # Balance transaction that describes the impact on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -30,7 +30,7 @@ module Stripe sig { returns(String) } def currency; end # Linked payment refund for the transfer reversal. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def destination_payment_refund; end # Unique identifier for the object. sig { returns(String) } @@ -42,10 +42,10 @@ module Stripe sig { returns(String) } def object; end # ID of the refund responsible for the transfer reversal. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def source_refund; end # ID of the transfer that was reversed. - sig { returns(T.any(String, Stripe::Transfer)) } + sig { returns(T.any(String, ::Stripe::Transfer)) } def transfer; end end end \ No newline at end of file diff --git a/rbi/stripe/resources/review.rbi b/rbi/stripe/resources/review.rbi index beb83dbee..6ab797913 100644 --- a/rbi/stripe/resources/review.rbi +++ b/rbi/stripe/resources/review.rbi @@ -8,7 +8,7 @@ module Stripe # Learn more about [Radar](https://docs.stripe.com/radar) and reviewing payments # [here](https://stripe.com/docs/radar/reviews). class Review < APIResource - class IpAddressLocation < Stripe::StripeObject + class IpAddressLocation < ::Stripe::StripeObject # The city where the payment originated. sig { returns(T.nilable(String)) } def city; end @@ -31,7 +31,7 @@ module Stripe @field_remappings = {} end end - class Session < Stripe::StripeObject + class Session < ::Stripe::StripeObject # The browser used in this browser session (e.g., `Chrome`). sig { returns(T.nilable(String)) } def browser; end @@ -55,7 +55,7 @@ module Stripe sig { returns(T.nilable(String)) } def billing_zip; end # The charge associated with this review. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`. sig { returns(T.nilable(String)) } @@ -85,7 +85,7 @@ module Stripe sig { returns(String) } def opened_reason; end # The PaymentIntent ID associated with this review, if one exists. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`. sig { returns(String) } @@ -95,19 +95,19 @@ module Stripe def session; end # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def approve(params = {}, opts = {}); end # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def self.approve(review, params = {}, opts = {}); end # Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/setup_attempt.rbi b/rbi/stripe/resources/setup_attempt.rbi index 031ec034b..5f7362ced 100644 --- a/rbi/stripe/resources/setup_attempt.rbi +++ b/rbi/stripe/resources/setup_attempt.rbi @@ -8,8 +8,8 @@ module Stripe # SetupAttempts to inspect details of a specific attempt at setting up a # payment method using a SetupIntent. class SetupAttempt < APIResource - class PaymentMethodDetails < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject + class PaymentMethodDetails < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -17,7 +17,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -25,7 +25,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -33,7 +33,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -41,7 +41,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -52,10 +52,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -75,7 +75,7 @@ module Stripe @field_remappings = {} end end - class Boleto < Stripe::StripeObject + class Boleto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -83,8 +83,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class Checks < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class Checks < ::Stripe::StripeObject # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. sig { returns(T.nilable(String)) } def address_line1_check; end @@ -101,7 +101,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # For authenticated transactions: how the customer was authenticated by # the issuing bank. sig { returns(T.nilable(String)) } @@ -131,8 +131,8 @@ module Stripe @field_remappings = {} end end - class Wallet < Stripe::StripeObject - class ApplePay < Stripe::StripeObject + class Wallet < ::Stripe::StripeObject + class ApplePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -140,7 +140,7 @@ module Stripe @field_remappings = {} end end - class GooglePay < Stripe::StripeObject + class GooglePay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -215,8 +215,8 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject - class Offline < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Time at which the payment was collected while offline sig { returns(T.nilable(Integer)) } def stored_at; end @@ -231,7 +231,7 @@ module Stripe end end # The ID of the Card PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_card; end # Details about payments collected offline. sig { returns(T.nilable(Offline)) } @@ -243,7 +243,7 @@ module Stripe @field_remappings = {} end end - class Cashapp < Stripe::StripeObject + class Cashapp < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -251,7 +251,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject # Bank where the account is located. sig { returns(T.nilable(String)) } def bank; end @@ -271,7 +271,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. sig { returns(T.nilable(String)) } def bank; end @@ -279,10 +279,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -298,7 +298,7 @@ module Stripe @field_remappings = {} end end - class KakaoPay < Stripe::StripeObject + class KakaoPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -306,7 +306,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -314,7 +314,7 @@ module Stripe @field_remappings = {} end end - class KrCard < Stripe::StripeObject + class KrCard < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -322,7 +322,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -330,7 +330,7 @@ module Stripe @field_remappings = {} end end - class NaverPay < Stripe::StripeObject + class NaverPay < ::Stripe::StripeObject # Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. sig { returns(T.nilable(String)) } def buyer_id; end @@ -341,7 +341,7 @@ module Stripe @field_remappings = {} end end - class NzBankAccount < Stripe::StripeObject + class NzBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -349,7 +349,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -357,7 +357,7 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject + class Payto < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -365,7 +365,7 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject + class Pix < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -373,7 +373,7 @@ module Stripe @field_remappings = {} end end - class RevolutPay < Stripe::StripeObject + class RevolutPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -381,7 +381,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -389,7 +389,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Bank code of bank associated with the bank account. sig { returns(T.nilable(String)) } def bank_code; end @@ -400,10 +400,10 @@ module Stripe sig { returns(T.nilable(String)) } def bic; end # The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def generated_sepa_debit; end # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def generated_sepa_debit_mandate; end # Last four characters of the IBAN. sig { returns(T.nilable(String)) } @@ -423,7 +423,7 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -431,7 +431,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -550,7 +550,7 @@ module Stripe @field_remappings = {} end end - class SetupError < Stripe::StripeObject + class SetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -589,14 +589,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -625,11 +625,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -643,7 +643,7 @@ module Stripe end end # The value of [application](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. # @@ -654,7 +654,7 @@ module Stripe sig { returns(Integer) } def created; end # The value of [customer](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The value of [customer_account](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer_account) on the SetupIntent at the time of this confirmation. sig { returns(T.nilable(String)) } @@ -674,10 +674,10 @@ module Stripe sig { returns(String) } def object; end # The value of [on_behalf_of](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # ID of the payment method used with this SetupAttempt. - sig { returns(T.any(String, Stripe::PaymentMethod)) } + sig { returns(T.any(String, ::Stripe::PaymentMethod)) } def payment_method; end # Attribute for field payment_method_details sig { returns(PaymentMethodDetails) } @@ -686,7 +686,7 @@ module Stripe sig { returns(T.nilable(SetupError)) } def setup_error; end # ID of the SetupIntent that this attempt belongs to. - sig { returns(T.any(String, Stripe::SetupIntent)) } + sig { returns(T.any(String, ::Stripe::SetupIntent)) } def setup_intent; end # Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`. sig { returns(String) } @@ -696,7 +696,7 @@ module Stripe def usage; end # Returns a list of SetupAttempts that associate with a provided SetupIntent. sig { - params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/setup_intent.rbi b/rbi/stripe/resources/setup_intent.rbi index 0f24da5e6..c887c5935 100644 --- a/rbi/stripe/resources/setup_intent.rbi +++ b/rbi/stripe/resources/setup_intent.rbi @@ -25,7 +25,7 @@ module Stripe # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) class SetupIntent < APIResource - class AutomaticPaymentMethods < Stripe::StripeObject + class AutomaticPaymentMethods < ::Stripe::StripeObject # Controls whether this SetupIntent will accept redirect-based payment methods. # # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup. @@ -41,7 +41,7 @@ module Stripe @field_remappings = {} end end - class LastSetupError < Stripe::StripeObject + class LastSetupError < ::Stripe::StripeObject # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one. sig { returns(T.nilable(String)) } def advice_code; end @@ -80,14 +80,14 @@ module Stripe # authentication flows and ultimately creates at most one successful charge. # # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) - sig { returns(T.nilable(Stripe::PaymentIntent)) } + sig { returns(T.nilable(::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. sig { returns(T.nilable(String)) } @@ -116,11 +116,11 @@ module Stripe # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. # # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - sig { returns(T.nilable(Stripe::SetupIntent)) } + sig { returns(T.nilable(::Stripe::SetupIntent)) } def setup_intent; end # Attribute for field source sig { - returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))) + returns(T.nilable(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source))) } def source; end # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` @@ -133,9 +133,9 @@ module Stripe @field_remappings = {} end end - class NextAction < Stripe::StripeObject - class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject - class QrCode < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject + class QrCode < ::Stripe::StripeObject # The date (unix timestamp) when the QR code expires. sig { returns(Integer) } def expires_at; end @@ -168,7 +168,7 @@ module Stripe @field_remappings = {} end end - class PixDisplayQrCode < Stripe::StripeObject + class PixDisplayQrCode < ::Stripe::StripeObject # The raw data string used to generate QR code, it should be used together with QR code library. sig { returns(T.nilable(String)) } def data; end @@ -191,7 +191,7 @@ module Stripe @field_remappings = {} end end - class RedirectToUrl < Stripe::StripeObject + class RedirectToUrl < ::Stripe::StripeObject # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -205,7 +205,7 @@ module Stripe @field_remappings = {} end end - class VerifyWithMicrodeposits < Stripe::StripeObject + class VerifyWithMicrodeposits < ::Stripe::StripeObject # The timestamp when the microdeposits are expected to land. sig { returns(Integer) } def arrival_date; end @@ -252,7 +252,7 @@ module Stripe @field_remappings = {} end end - class PaymentMethodConfigurationDetails < Stripe::StripeObject + class PaymentMethodConfigurationDetails < ::Stripe::StripeObject # ID of the payment method configuration used. sig { returns(String) } def id; end @@ -266,9 +266,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # A URL for custom mandate text sig { returns(T.nilable(String)) } def custom_mandate_url; end @@ -307,7 +307,7 @@ module Stripe @field_remappings = {} end end - class AmazonPay < Stripe::StripeObject + class AmazonPay < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -315,8 +315,8 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -337,8 +337,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(Integer) } def amount; end @@ -392,7 +392,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -400,7 +400,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # The currency of the setup intent. Three letter ISO currency code. sig { returns(T.nilable(String)) } def currency; end @@ -414,7 +414,7 @@ module Stripe @field_remappings = {} end end - class Link < Stripe::StripeObject + class Link < ::Stripe::StripeObject # [Deprecated] This is a legacy parameter that no longer has any function. sig { returns(T.nilable(String)) } def persistent_token; end @@ -425,7 +425,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. sig { returns(T.nilable(String)) } def billing_agreement_id; end @@ -442,8 +442,8 @@ module Stripe @field_remappings = {} end end - class Payto < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Payto < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount that will be collected. It is required when `amount_type` is `fixed`. sig { returns(T.nilable(Integer)) } def amount; end @@ -482,8 +482,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -525,8 +525,8 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. sig { returns(T.nilable(String)) } def reference_prefix; end @@ -547,9 +547,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -563,7 +563,7 @@ module Stripe @field_remappings = {} end end - class ManualEntry < Stripe::StripeObject + class ManualEntry < ::Stripe::StripeObject # Settings for configuring manual entry of account details. sig { returns(T.nilable(String)) } def mode; end @@ -596,7 +596,7 @@ module Stripe @field_remappings = {} end end - class MandateOptions < Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Mandate collection method sig { returns(T.nilable(String)) } def collection_method; end @@ -683,7 +683,7 @@ module Stripe end end # ID of the Connect application that created the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. # @@ -707,7 +707,7 @@ module Stripe # ID of the Customer this SetupIntent belongs to, if one exists. # # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the Account this SetupIntent belongs to, if one exists. # @@ -717,6 +717,9 @@ module Stripe # An arbitrary string attached to the object. Often useful for displaying to users. sig { returns(T.nilable(String)) } def description; end + # Payment method types that are excluded from this SetupIntent. + sig { returns(T.nilable(T::Array[String])) } + def excluded_payment_method_types; end # Indicates the directions of money movement for which this payment method is intended to be used. # # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes. @@ -729,13 +732,13 @@ module Stripe sig { returns(T.nilable(LastSetupError)) } def last_setup_error; end # The most recent SetupAttempt for this SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupAttempt))) } def latest_attempt; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # ID of the multi use Mandate generated by the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } @@ -747,10 +750,10 @@ module Stripe sig { returns(String) } def object; end # The account (if any) for which the setup is intended. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def payment_method; end # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent. sig { returns(T.nilable(PaymentMethodConfigurationDetails)) } @@ -762,7 +765,7 @@ module Stripe sig { returns(T::Array[String]) } def payment_method_types; end # ID of the single_use Mandate generated by the SetupIntent. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def single_use_mandate; end # [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`. sig { returns(String) } @@ -776,7 +779,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def cancel(params = {}, opts = {}); end @@ -784,7 +787,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.cancel(intent, params = {}, opts = {}); end @@ -803,7 +806,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def confirm(params = {}, opts = {}); end @@ -822,7 +825,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.confirm(intent, params = {}, opts = {}); end @@ -831,31 +834,31 @@ module Stripe # After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm) # it to collect any required permissions to charge the payment method later. sig { - params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.create(params = {}, opts = {}); end # Returns a list of SetupIntents. sig { - params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.update(intent, params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def verify_microdeposits(params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def self.verify_microdeposits(intent, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/shipping_rate.rbi b/rbi/stripe/resources/shipping_rate.rbi index c081e7fd4..dfe7ddc06 100644 --- a/rbi/stripe/resources/shipping_rate.rbi +++ b/rbi/stripe/resources/shipping_rate.rbi @@ -6,8 +6,8 @@ module Stripe # Shipping rates describe the price of shipping presented to your customers and # applied to a purchase. For more information, see [Charge for shipping](https://stripe.com/docs/payments/during-payment/charge-shipping). class ShippingRate < APIResource - class DeliveryEstimate < Stripe::StripeObject - class Maximum < Stripe::StripeObject + class DeliveryEstimate < ::Stripe::StripeObject + class Maximum < ::Stripe::StripeObject # A unit of time. sig { returns(String) } def unit; end @@ -21,7 +21,7 @@ module Stripe @field_remappings = {} end end - class Minimum < Stripe::StripeObject + class Minimum < ::Stripe::StripeObject # A unit of time. sig { returns(String) } def unit; end @@ -48,8 +48,8 @@ module Stripe @field_remappings = {} end end - class FixedAmount < Stripe::StripeObject - class CurrencyOptions < Stripe::StripeObject + class FixedAmount < ::Stripe::StripeObject + class CurrencyOptions < ::Stripe::StripeObject # A non-negative integer in cents representing how much to charge. sig { returns(Integer) } def amount; end @@ -110,26 +110,26 @@ module Stripe sig { returns(T.nilable(String)) } def tax_behavior; end # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`. - sig { returns(T.nilable(T.any(String, Stripe::TaxCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TaxCode))) } def tax_code; end # The type of calculation to use on the shipping rate. sig { returns(String) } def type; end # Creates a new shipping rate object. sig { - params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def self.create(params = {}, opts = {}); end # Returns a list of your shipping rates. sig { - params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing shipping rate object. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def self.update(shipping_rate_token, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/sigma/scheduled_query_run.rbi b/rbi/stripe/resources/sigma/scheduled_query_run.rbi index 3debf549b..d3009213e 100644 --- a/rbi/stripe/resources/sigma/scheduled_query_run.rbi +++ b/rbi/stripe/resources/sigma/scheduled_query_run.rbi @@ -9,7 +9,7 @@ module Stripe # runs. The webhook contains a `ScheduledQueryRun` object, which you can use to # retrieve the query results. class ScheduledQueryRun < APIResource - class Error < Stripe::StripeObject + class Error < ::Stripe::StripeObject # Information about the run failure. sig { returns(String) } def message; end @@ -30,7 +30,7 @@ module Stripe sig { returns(T.nilable(Error)) } def error; end # The file object representing the results of the query. - sig { returns(T.nilable(Stripe::File)) } + sig { returns(T.nilable(::Stripe::File)) } def file; end # Unique identifier for the object. sig { returns(String) } @@ -55,7 +55,7 @@ module Stripe def title; end # Returns a list of scheduled query runs. sig { - params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/source.rbi b/rbi/stripe/resources/source.rbi index 7b3b96eb6..323e3ddf0 100644 --- a/rbi/stripe/resources/source.rbi +++ b/rbi/stripe/resources/source.rbi @@ -14,7 +14,7 @@ module Stripe # # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). class Source < APIResource - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Attribute for field account_number sig { returns(T.nilable(String)) } def account_number; end @@ -46,7 +46,7 @@ module Stripe @field_remappings = {} end end - class AchDebit < Stripe::StripeObject + class AchDebit < ::Stripe::StripeObject # Attribute for field bank_name sig { returns(T.nilable(String)) } def bank_name; end @@ -72,7 +72,7 @@ module Stripe @field_remappings = {} end end - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # Attribute for field bank_address_city sig { returns(T.nilable(String)) } def bank_address_city; end @@ -110,7 +110,7 @@ module Stripe @field_remappings = {} end end - class Alipay < Stripe::StripeObject + class Alipay < ::Stripe::StripeObject # Attribute for field data_string sig { returns(T.nilable(String)) } def data_string; end @@ -127,7 +127,7 @@ module Stripe @field_remappings = {} end end - class AuBecsDebit < Stripe::StripeObject + class AuBecsDebit < ::Stripe::StripeObject # Attribute for field bsb_number sig { returns(T.nilable(String)) } def bsb_number; end @@ -144,7 +144,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -170,7 +170,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -232,7 +232,7 @@ module Stripe @field_remappings = {} end end - class CardPresent < Stripe::StripeObject + class CardPresent < ::Stripe::StripeObject # Attribute for field application_cryptogram sig { returns(T.nilable(String)) } def application_cryptogram; end @@ -321,7 +321,7 @@ module Stripe @field_remappings = {} end end - class CodeVerification < Stripe::StripeObject + class CodeVerification < ::Stripe::StripeObject # The number of attempts remaining to authenticate the source object with a verification code. sig { returns(Integer) } def attempts_remaining; end @@ -335,7 +335,7 @@ module Stripe @field_remappings = {} end end - class Eps < Stripe::StripeObject + class Eps < ::Stripe::StripeObject # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end @@ -349,7 +349,7 @@ module Stripe @field_remappings = {} end end - class Giropay < Stripe::StripeObject + class Giropay < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -369,7 +369,7 @@ module Stripe @field_remappings = {} end end - class Ideal < Stripe::StripeObject + class Ideal < ::Stripe::StripeObject # Attribute for field bank sig { returns(T.nilable(String)) } def bank; end @@ -389,7 +389,7 @@ module Stripe @field_remappings = {} end end - class Klarna < Stripe::StripeObject + class Klarna < ::Stripe::StripeObject # Attribute for field background_image_url sig { returns(T.nilable(String)) } def background_image_url; end @@ -475,7 +475,7 @@ module Stripe @field_remappings = {} end end - class Multibanco < Stripe::StripeObject + class Multibanco < ::Stripe::StripeObject # Attribute for field entity sig { returns(T.nilable(String)) } def entity; end @@ -513,8 +513,8 @@ module Stripe @field_remappings = {} end end - class Owner < Stripe::StripeObject - class Address < Stripe::StripeObject + class Owner < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -540,7 +540,7 @@ module Stripe @field_remappings = {} end end - class VerifiedAddress < Stripe::StripeObject + class VerifiedAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -597,7 +597,7 @@ module Stripe @field_remappings = {} end end - class P24 < Stripe::StripeObject + class P24 < ::Stripe::StripeObject # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end @@ -608,7 +608,7 @@ module Stripe @field_remappings = {} end end - class Paypal < Stripe::StripeObject + class Paypal < ::Stripe::StripeObject # Attribute for field billing_agreement sig { returns(T.nilable(String)) } def billing_agreement; end @@ -643,7 +643,7 @@ module Stripe @field_remappings = {} end end - class Receiver < Stripe::StripeObject + class Receiver < ::Stripe::StripeObject # The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. sig { returns(T.nilable(String)) } def address; end @@ -669,7 +669,7 @@ module Stripe @field_remappings = {} end end - class Redirect < Stripe::StripeObject + class Redirect < ::Stripe::StripeObject # The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`. sig { returns(T.nilable(String)) } def failure_reason; end @@ -689,7 +689,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Attribute for field bank_name sig { returns(T.nilable(String)) } def bank_name; end @@ -730,7 +730,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -759,7 +759,7 @@ module Stripe @field_remappings = {} end end - class Sofort < Stripe::StripeObject + class Sofort < ::Stripe::StripeObject # Attribute for field bank_code sig { returns(T.nilable(String)) } def bank_code; end @@ -788,8 +788,8 @@ module Stripe @field_remappings = {} end end - class SourceOrder < Stripe::StripeObject - class Item < Stripe::StripeObject + class SourceOrder < ::Stripe::StripeObject + class Item < ::Stripe::StripeObject # The amount (price) for this order item. sig { returns(T.nilable(Integer)) } def amount; end @@ -815,8 +815,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -886,7 +886,7 @@ module Stripe @field_remappings = {} end end - class ThreeDSecure < Stripe::StripeObject + class ThreeDSecure < ::Stripe::StripeObject # Attribute for field address_line1_check sig { returns(T.nilable(String)) } def address_line1_check; end @@ -957,7 +957,7 @@ module Stripe @field_remappings = {} end end - class Wechat < Stripe::StripeObject + class Wechat < ::Stripe::StripeObject # Attribute for field prepay_id sig { returns(T.nilable(String)) } def prepay_id; end @@ -1096,7 +1096,7 @@ module Stripe def wechat; end # Creates a new source object. sig { - params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.create(params = {}, opts = {}); end @@ -1104,19 +1104,19 @@ module Stripe # # This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://docs.stripe.com/docs/sources) for more detail. sig { - params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.update(source, params = {}, opts = {}); end # Verify a given source. sig { - params(params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def verify(params = {}, opts = {}); end # Verify a given source. sig { - params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def self.verify(source, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/source_mandate_notification.rbi b/rbi/stripe/resources/source_mandate_notification.rbi index 41fd56e53..fae37a02f 100644 --- a/rbi/stripe/resources/source_mandate_notification.rbi +++ b/rbi/stripe/resources/source_mandate_notification.rbi @@ -7,7 +7,7 @@ module Stripe # a source mandate must be sent to the payer. They will trigger a webhook or # deliver an email to the customer. class SourceMandateNotification < APIResource - class AcssDebit < Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject # The statement descriptor associate with the debit. sig { returns(T.nilable(String)) } def statement_descriptor; end @@ -18,7 +18,7 @@ module Stripe @field_remappings = {} end end - class BacsDebit < Stripe::StripeObject + class BacsDebit < ::Stripe::StripeObject # Last 4 digits of the account number associated with the debit. sig { returns(T.nilable(String)) } def last4; end @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject # SEPA creditor ID. sig { returns(T.nilable(String)) } def creditor_identifier; end @@ -83,7 +83,7 @@ module Stripe # This newer API provides access to our latest features and payment method types. # # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). - sig { returns(Stripe::Source) } + sig { returns(::Stripe::Source) } def source; end # The status of the mandate notification. Valid statuses are `pending` or `submitted`. sig { returns(String) } diff --git a/rbi/stripe/resources/source_transaction.rbi b/rbi/stripe/resources/source_transaction.rbi index 47dde315d..457d77faf 100644 --- a/rbi/stripe/resources/source_transaction.rbi +++ b/rbi/stripe/resources/source_transaction.rbi @@ -8,7 +8,7 @@ module Stripe # multiple transactions. As such, sources can have multiple associated # transactions. class SourceTransaction < StripeObject - class AchCreditTransfer < Stripe::StripeObject + class AchCreditTransfer < ::Stripe::StripeObject # Customer data associated with the transfer. sig { returns(T.nilable(String)) } def customer_data; end @@ -28,7 +28,7 @@ module Stripe @field_remappings = {} end end - class ChfCreditTransfer < Stripe::StripeObject + class ChfCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. sig { returns(T.nilable(String)) } def reference; end @@ -51,7 +51,7 @@ module Stripe @field_remappings = {} end end - class GbpCreditTransfer < Stripe::StripeObject + class GbpCreditTransfer < ::Stripe::StripeObject # Bank account fingerprint associated with the Stripe owned bank account receiving the transfer. sig { returns(T.nilable(String)) } def fingerprint; end @@ -80,7 +80,7 @@ module Stripe @field_remappings = {} end end - class PaperCheck < Stripe::StripeObject + class PaperCheck < ::Stripe::StripeObject # Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch. sig { returns(T.nilable(String)) } def available_at; end @@ -94,7 +94,7 @@ module Stripe @field_remappings = {} end end - class SepaCreditTransfer < Stripe::StripeObject + class SepaCreditTransfer < ::Stripe::StripeObject # Reference associated with the transfer. sig { returns(T.nilable(String)) } def reference; end diff --git a/rbi/stripe/resources/subscription.rbi b/rbi/stripe/resources/subscription.rbi index 5ffbee5b7..a409a381b 100644 --- a/rbi/stripe/resources/subscription.rbi +++ b/rbi/stripe/resources/subscription.rbi @@ -7,10 +7,10 @@ module Stripe # # Related guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating) class Subscription < APIResource - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -38,7 +38,7 @@ module Stripe @field_remappings = {} end end - class BillingCycleAnchorConfig < Stripe::StripeObject + class BillingCycleAnchorConfig < ::Stripe::StripeObject # The day of the month of the billing_cycle_anchor. sig { returns(Integer) } def day_of_month; end @@ -61,8 +61,8 @@ module Stripe @field_remappings = {} end end - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -89,10 +89,10 @@ module Stripe @field_remappings = {} end end - class BillingSchedule < Stripe::StripeObject - class AppliesTo < Stripe::StripeObject + class BillingSchedule < ::Stripe::StripeObject + class AppliesTo < ::Stripe::StripeObject # The billing schedule will apply to the subscription item with the given price ID. - sig { returns(T.nilable(T.any(String, Stripe::Price))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Price))) } def price; end # Controls which subscription items the billing schedule applies to. sig { returns(String) } @@ -104,8 +104,8 @@ module Stripe @field_remappings = {} end end - class BillUntil < Stripe::StripeObject - class Duration < Stripe::StripeObject + class BillUntil < ::Stripe::StripeObject + class Duration < ::Stripe::StripeObject # Specifies billing duration. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -154,7 +154,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -168,7 +168,7 @@ module Stripe @field_remappings = {} end end - class CancellationDetails < Stripe::StripeObject + class CancellationDetails < ::Stripe::StripeObject # Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. sig { returns(T.nilable(String)) } def comment; end @@ -185,10 +185,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -201,7 +201,7 @@ module Stripe end end # The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Attribute for field issuer sig { returns(Issuer) } @@ -213,8 +213,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -244,7 +244,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -258,10 +258,10 @@ module Stripe @field_remappings = {} end end - class PaymentSettings < Stripe::StripeObject - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentSettings < ::Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -285,7 +285,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(String) } def preferred_language; end @@ -296,8 +296,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -330,9 +330,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. sig { returns(String) } def country; end @@ -369,7 +369,7 @@ module Stripe @field_remappings = {} end end - class IdBankTransfer < Stripe::StripeObject + class IdBankTransfer < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -377,7 +377,7 @@ module Stripe @field_remappings = {} end end - class Konbini < Stripe::StripeObject + class Konbini < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -385,8 +385,8 @@ module Stripe @field_remappings = {} end end - class Pix < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Pix < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -416,7 +416,7 @@ module Stripe @field_remappings = {} end end - class SepaDebit < Stripe::StripeObject + class SepaDebit < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -424,8 +424,8 @@ module Stripe @field_remappings = {} end end - class Upi < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Upi < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -455,9 +455,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. sig { returns(T.nilable(T::Array[String])) } def account_subcategories; end @@ -564,7 +564,7 @@ module Stripe @field_remappings = {} end end - class PendingInvoiceItemInterval < Stripe::StripeObject + class PendingInvoiceItemInterval < ::Stripe::StripeObject # Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. sig { returns(String) } def interval; end @@ -578,7 +578,7 @@ module Stripe @field_remappings = {} end end - class PendingUpdate < Stripe::StripeObject + class PendingUpdate < ::Stripe::StripeObject # If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format. sig { returns(T.nilable(Integer)) } def billing_cycle_anchor; end @@ -589,7 +589,7 @@ module Stripe sig { returns(T.nilable(Integer)) } def prebilling_iterations; end # List of subscription items, each with an attached plan, that will be set if the update is applied. - sig { returns(T.nilable(T::Array[Stripe::SubscriptionItem])) } + sig { returns(T.nilable(T::Array[::Stripe::SubscriptionItem])) } def subscription_items; end # Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied. sig { returns(T.nilable(Integer)) } @@ -604,9 +604,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -624,12 +624,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -638,8 +638,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Indicates how the subscription should change when the trial ends if the user did not provide a payment method. sig { returns(String) } def missing_payment_method; end @@ -661,7 +661,7 @@ module Stripe end end # ID of the Connect Application that created the subscription. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. sig { returns(T.nilable(Float)) } @@ -709,7 +709,7 @@ module Stripe sig { returns(String) } def currency; end # ID of the customer who owns the subscription. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription. sig { returns(T.nilable(String)) } @@ -718,21 +718,21 @@ module Stripe sig { returns(T.nilable(Integer)) } def days_until_due; end # ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). sig { - returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))) + returns(T.nilable(T.any(String, T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)))) } def default_source; end # The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } def description; end # The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # If the subscription has ended, the date the subscription ended. sig { returns(T.nilable(Integer)) } @@ -744,13 +744,13 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # List of subscription items, each with an attached price. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def items; end # Details of the most recent price migration that failed for the subscription. sig { returns(T.nilable(LastPriceMigrationError)) } def last_price_migration_error; end # The most recent invoice this subscription has generated. - sig { returns(T.nilable(T.any(String, Stripe::Invoice))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Invoice))) } def latest_invoice; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -765,7 +765,7 @@ module Stripe sig { returns(String) } def object; end # The account (if any) the charge was made on behalf of for charges associated with this subscription. See the [Connect documentation](https://stripe.com/docs/connect/subscriptions#on-behalf-of) for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -777,7 +777,7 @@ module Stripe sig { returns(T.nilable(PendingInvoiceItemInterval)) } def pending_invoice_item_interval; end # You can use this [SetupIntent](https://stripe.com/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-2). - sig { returns(T.nilable(T.any(String, Stripe::SetupIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SetupIntent))) } def pending_setup_intent; end # If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid. sig { returns(T.nilable(PendingUpdate)) } @@ -786,7 +786,7 @@ module Stripe sig { returns(T.nilable(Prebilling)) } def prebilling; end # The schedule attached to the subscription - sig { returns(T.nilable(T.any(String, Stripe::SubscriptionSchedule))) } + sig { returns(T.nilable(T.any(String, ::Stripe::SubscriptionSchedule))) } def schedule; end # Date when the subscription was first created. The date might differ from the `created` date due to backdating. sig { returns(Integer) } @@ -805,7 +805,7 @@ module Stripe sig { returns(String) } def status; end # ID of the test clock this subscription belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -821,13 +821,13 @@ module Stripe def trial_start; end # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def attach_cadence(params = {}, opts = {}); end # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.attach_cadence(subscription, params = {}, opts = {}); end @@ -837,7 +837,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def cancel(params = {}, opts = {}); end @@ -847,7 +847,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.cancel(subscription_exposed_id, params = {}, opts = {}); end @@ -859,59 +859,59 @@ module Stripe # To start subscriptions where the first invoice always begins in a draft status, use [subscription schedules](https://docs.stripe.com/docs/billing/subscriptions/subscription-schedules#managing) instead. # Schedules provide the flexibility to model more complex billing configurations that change over time. sig { - params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.create(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def self.delete_discount(subscription_exposed_id, params = {}, opts = {}); end # By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. sig { - params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def migrate(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.migrate(subscription, params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def resume(params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.resume(subscription, params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def self.search(params = {}, opts = {}); end sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(::Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -937,7 +937,7 @@ module Stripe # # Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing](https://docs.stripe.com/docs/rate-limits) instead. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def self.update(subscription_exposed_id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/subscription_item.rbi b/rbi/stripe/resources/subscription_item.rbi index 71a8418e3..e5d686b37 100644 --- a/rbi/stripe/resources/subscription_item.rbi +++ b/rbi/stripe/resources/subscription_item.rbi @@ -6,7 +6,7 @@ module Stripe # Subscription items allow you to create customer subscriptions with more than # one plan, making it easy to represent complex billing relationships. class SubscriptionItem < APIResource - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -17,7 +17,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -47,7 +47,7 @@ module Stripe sig { returns(Integer) } def current_period_start; end # The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount. - sig { returns(T::Array[T.any(String, Stripe::Discount)]) } + sig { returns(T::Array[T.any(String, ::Stripe::Discount)]) } def discounts; end # Unique identifier for the object. sig { returns(String) } @@ -66,7 +66,7 @@ module Stripe # For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview). - sig { returns(Stripe::Plan) } + sig { returns(::Stripe::Plan) } def plan; end # Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. # [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. @@ -74,7 +74,7 @@ module Stripe # For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview). - sig { returns(Stripe::Price) } + sig { returns(::Stripe::Price) } def price; end # The [quantity](https://stripe.com/docs/subscriptions/quantities) of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } @@ -83,7 +83,7 @@ module Stripe sig { returns(String) } def subscription; end # The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -93,31 +93,31 @@ module Stripe def deleted; end # Adds a new item to an existing subscription. No existing items will be changed or replaced. sig { - params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.create(params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.delete(item, params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def delete(params = {}, opts = {}); end # Returns a list of your subscription items for a given subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the plan or quantity of an item on a current subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def self.update(item, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/subscription_schedule.rbi b/rbi/stripe/resources/subscription_schedule.rbi index b0bd38676..1ae7141f6 100644 --- a/rbi/stripe/resources/subscription_schedule.rbi +++ b/rbi/stripe/resources/subscription_schedule.rbi @@ -7,8 +7,8 @@ module Stripe # # Related guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules) class SubscriptionSchedule < APIResource - class BillingMode < Stripe::StripeObject - class Flexible < Stripe::StripeObject + class BillingMode < ::Stripe::StripeObject + class Flexible < ::Stripe::StripeObject # Controls how invoices and invoice items display proration amounts and discount amounts. sig { returns(T.nilable(String)) } def proration_discounts; end @@ -35,7 +35,7 @@ module Stripe @field_remappings = {} end end - class CurrentPhase < Stripe::StripeObject + class CurrentPhase < ::Stripe::StripeObject # The end of this phase of the subscription schedule. sig { returns(Integer) } def end_date; end @@ -49,11 +49,11 @@ module Stripe @field_remappings = {} end end - class DefaultSettings < Stripe::StripeObject - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class DefaultSettings < ::Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -81,7 +81,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -95,10 +95,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -111,7 +111,7 @@ module Stripe end end # The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -126,12 +126,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -156,7 +156,7 @@ module Stripe sig { returns(T.nilable(String)) } def collection_method; end # ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -165,7 +165,7 @@ module Stripe sig { returns(InvoiceSettings) } def invoice_settings; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. sig { returns(T.nilable(TransferData)) } @@ -182,8 +182,8 @@ module Stripe @field_remappings = {} end end - class LastPriceMigrationError < Stripe::StripeObject - class FailedTransition < Stripe::StripeObject + class LastPriceMigrationError < ::Stripe::StripeObject + class FailedTransition < ::Stripe::StripeObject # The original price to be migrated. sig { returns(String) } def source_price; end @@ -213,10 +213,10 @@ module Stripe @field_remappings = {} end end - class Phase < Stripe::StripeObject - class AddInvoiceItem < Stripe::StripeObject - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Phase < ::Stripe::StripeObject + class AddInvoiceItem < ::Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -231,16 +231,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -249,8 +249,8 @@ module Stripe @field_remappings = {} end end - class Period < Stripe::StripeObject - class End < Stripe::StripeObject + class Period < ::Stripe::StripeObject + class End < ::Stripe::StripeObject # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -264,7 +264,7 @@ module Stripe @field_remappings = {} end end - class Start < Stripe::StripeObject + class Start < ::Stripe::StripeObject # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -301,13 +301,13 @@ module Stripe sig { returns(Period) } def period; end # ID of the price used to generate the invoice item. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # The quantity of the invoice item. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end def self.inner_class_types @inner_class_types = {discounts: Discount, period: Period} @@ -316,10 +316,10 @@ module Stripe @field_remappings = {} end end - class AutomaticTax < Stripe::StripeObject - class Liability < Stripe::StripeObject + class AutomaticTax < ::Stripe::StripeObject + class Liability < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -347,7 +347,7 @@ module Stripe @field_remappings = {} end end - class BillingThresholds < Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Monetary threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def amount_gte; end @@ -361,8 +361,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -377,16 +377,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -395,10 +395,10 @@ module Stripe @field_remappings = {} end end - class InvoiceSettings < Stripe::StripeObject - class Issuer < Stripe::StripeObject + class InvoiceSettings < ::Stripe::StripeObject + class Issuer < ::Stripe::StripeObject # The connected account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # Type of the account referenced. sig { returns(String) } @@ -411,7 +411,7 @@ module Stripe end end # The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) } + sig { returns(T.nilable(T::Array[T.any(String, ::Stripe::TaxId)])) } def account_tax_ids; end # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. sig { returns(T.nilable(Integer)) } @@ -426,8 +426,8 @@ module Stripe @field_remappings = {} end end - class Item < Stripe::StripeObject - class BillingThresholds < Stripe::StripeObject + class Item < ::Stripe::StripeObject + class BillingThresholds < ::Stripe::StripeObject # Usage threshold that triggers the subscription to create an invoice sig { returns(T.nilable(Integer)) } def usage_gte; end @@ -438,8 +438,8 @@ module Stripe @field_remappings = {} end end - class Discount < Stripe::StripeObject - class DiscountEnd < Stripe::StripeObject + class Discount < ::Stripe::StripeObject + class DiscountEnd < ::Stripe::StripeObject # The discount end timestamp. sig { returns(T.nilable(Integer)) } def timestamp; end @@ -454,16 +454,16 @@ module Stripe end end # ID of the coupon to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::Coupon))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Coupon))) } def coupon; end # ID of an existing discount on the object (or one of its ancestors) to reuse. - sig { returns(T.nilable(T.any(String, Stripe::Discount))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Discount))) } def discount; end # Details to determine how long the discount should be applied for. sig { returns(T.nilable(DiscountEnd)) } def discount_end; end # ID of the promotion code to create a new discount for. - sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PromotionCode))) } def promotion_code; end def self.inner_class_types @inner_class_types = {discount_end: DiscountEnd} @@ -472,7 +472,7 @@ module Stripe @field_remappings = {} end end - class Trial < Stripe::StripeObject + class Trial < ::Stripe::StripeObject # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. sig { returns(T.nilable(T::Array[String])) } def converts_to; end @@ -496,16 +496,16 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # ID of the plan to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Plan)) } + sig { returns(T.any(String, ::Stripe::Plan)) } def plan; end # ID of the price to which the customer should be subscribed. - sig { returns(T.any(String, Stripe::Price)) } + sig { returns(T.any(String, ::Stripe::Price)) } def price; end # Quantity of the plan to which the customer should be subscribed. sig { returns(T.nilable(Integer)) } def quantity; end # The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def tax_rates; end # Options that configure the trial on the subscription item. sig { returns(T.nilable(Trial)) } @@ -521,7 +521,7 @@ module Stripe @field_remappings = {} end end - class PauseCollection < Stripe::StripeObject + class PauseCollection < ::Stripe::StripeObject # The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. sig { returns(String) } def behavior; end @@ -532,12 +532,12 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. sig { returns(T.nilable(Float)) } def amount_percent; end # The account where funds from the payment will be transferred to upon payment success. - sig { returns(T.any(String, Stripe::Account)) } + sig { returns(T.any(String, ::Stripe::Account)) } def destination; end def self.inner_class_types @inner_class_types = {} @@ -546,8 +546,8 @@ module Stripe @field_remappings = {} end end - class TrialSettings < Stripe::StripeObject - class EndBehavior < Stripe::StripeObject + class TrialSettings < ::Stripe::StripeObject + class EndBehavior < ::Stripe::StripeObject # Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. sig { returns(T.nilable(String)) } def prorate_up_front; end @@ -590,10 +590,10 @@ module Stripe sig { returns(String) } def currency; end # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentMethod))) } def default_payment_method; end # The default tax rates to apply to the subscription during this phase of the subscription schedule. - sig { returns(T.nilable(T::Array[Stripe::TaxRate])) } + sig { returns(T.nilable(T::Array[::Stripe::TaxRate])) } def default_tax_rates; end # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. sig { returns(T.nilable(String)) } @@ -614,7 +614,7 @@ module Stripe sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def on_behalf_of; end # If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). sig { returns(T.nilable(PauseCollection)) } @@ -654,9 +654,9 @@ module Stripe @field_remappings = {} end end - class Prebilling < Stripe::StripeObject + class Prebilling < ::Stripe::StripeObject # ID of the prebilling invoice. - sig { returns(T.any(String, Stripe::Invoice)) } + sig { returns(T.any(String, ::Stripe::Invoice)) } def invoice; end # The end of the last period for which the invoice pre-bills. sig { returns(Integer) } @@ -675,7 +675,7 @@ module Stripe end end # ID of the Connect Application that created the schedule. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. sig { returns(T.nilable(String)) } @@ -696,7 +696,7 @@ module Stripe sig { returns(T.nilable(CurrentPhase)) } def current_phase; end # ID of the customer who owns the subscription schedule. - sig { returns(T.any(String, Stripe::Customer)) } + sig { returns(T.any(String, ::Stripe::Customer)) } def customer; end # ID of the account who owns the subscription schedule. sig { returns(T.nilable(String)) } @@ -738,62 +738,62 @@ module Stripe sig { returns(String) } def status; end # ID of the subscription managed by the subscription schedule. - sig { returns(T.nilable(T.any(String, Stripe::Subscription))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Subscription))) } def subscription; end # ID of the test clock this subscription schedule belongs to. - sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) } + sig { returns(T.nilable(T.any(String, ::Stripe::TestHelpers::TestClock))) } def test_clock; end # Amends an existing subscription schedule. sig { - params(params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def amend(params = {}, opts = {}); end # Amends an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.amend(schedule, params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def cancel(params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.cancel(schedule, params = {}, opts = {}); end # Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.create(params = {}, opts = {}); end # Retrieves the list of your subscription schedules. sig { - params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def release(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.release(schedule, params = {}, opts = {}); end # Updates an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def self.update(schedule, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax/association.rbi b/rbi/stripe/resources/tax/association.rbi index a3491b4cd..9337792db 100644 --- a/rbi/stripe/resources/tax/association.rbi +++ b/rbi/stripe/resources/tax/association.rbi @@ -6,8 +6,8 @@ module Stripe module Tax # A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input class Association < APIResource - class TaxTransactionAttempt < Stripe::StripeObject - class Committed < Stripe::StripeObject + class TaxTransactionAttempt < ::Stripe::StripeObject + class Committed < ::Stripe::StripeObject # The [Tax Transaction](https://stripe.com/docs/api/tax/transaction/object) sig { returns(String) } def transaction; end @@ -18,7 +18,7 @@ module Stripe @field_remappings = {} end end - class Errored < Stripe::StripeObject + class Errored < ::Stripe::StripeObject # Details on why we couldn't commit the tax transaction. sig { returns(String) } def reason; end @@ -65,7 +65,7 @@ module Stripe def tax_transaction_attempts; end # Finds a tax association object by PaymentIntent id. sig { - params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Association) + params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Association) } def self.find(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax/calculation.rbi b/rbi/stripe/resources/tax/calculation.rbi index edd1bd6c6..13546b4e2 100644 --- a/rbi/stripe/resources/tax/calculation.rbi +++ b/rbi/stripe/resources/tax/calculation.rbi @@ -8,8 +8,8 @@ module Stripe # # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom) class Calculation < APIResource - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35,7 +35,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -71,8 +71,8 @@ module Stripe @field_remappings = {} end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -108,9 +108,9 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -130,7 +130,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end @@ -197,9 +197,9 @@ module Stripe @field_remappings = {} end end - class TaxBreakdown < Stripe::StripeObject - class TaxRateDetails < Stripe::StripeObject - class FlatAmount < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -279,7 +279,7 @@ module Stripe sig { returns(T.nilable(String)) } def id; end # The list of items the customer is purchasing. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -307,19 +307,19 @@ module Stripe def tax_date; end # Calculates tax based on the input and returns a Tax Calculation object. sig { - params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def self.create(params = {}, opts = {}); end # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(calculation, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax/calculation_line_item.rbi b/rbi/stripe/resources/tax/calculation_line_item.rbi index 3aba743a2..00b51c11c 100644 --- a/rbi/stripe/resources/tax/calculation_line_item.rbi +++ b/rbi/stripe/resources/tax/calculation_line_item.rbi @@ -5,8 +5,8 @@ module Stripe module Tax class CalculationLineItem < APIResource - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -26,7 +26,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end diff --git a/rbi/stripe/resources/tax/form.rbi b/rbi/stripe/resources/tax/form.rbi index 3439ea5d7..efbcf4f74 100644 --- a/rbi/stripe/resources/tax/form.rbi +++ b/rbi/stripe/resources/tax/form.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [US tax reporting for Connect platforms](https://stripe.com/docs/connect/tax-reporting) class Form < APIResource - class AuSerr < Stripe::StripeObject + class AuSerr < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - class CaMrdp < Stripe::StripeObject + class CaMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -36,7 +36,7 @@ module Stripe @field_remappings = {} end end - class EuDac7 < Stripe::StripeObject + class EuDac7 < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -50,8 +50,8 @@ module Stripe @field_remappings = {} end end - class FilingStatus < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class FilingStatus < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -84,7 +84,7 @@ module Stripe @field_remappings = {} end end - class GbMrdp < Stripe::StripeObject + class GbMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -98,7 +98,7 @@ module Stripe @field_remappings = {} end end - class NzMrdp < Stripe::StripeObject + class NzMrdp < ::Stripe::StripeObject # End date of the period represented by the information reported on the tax form. sig { returns(String) } def reporting_period_end_date; end @@ -112,9 +112,9 @@ module Stripe @field_remappings = {} end end - class Payee < Stripe::StripeObject + class Payee < ::Stripe::StripeObject # The ID of the payee's Stripe account. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The external reference to this payee. sig { returns(T.nilable(String)) } @@ -129,7 +129,7 @@ module Stripe @field_remappings = {} end end - class Us1099K < Stripe::StripeObject + class Us1099K < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -140,7 +140,7 @@ module Stripe @field_remappings = {} end end - class Us1099Misc < Stripe::StripeObject + class Us1099Misc < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -151,7 +151,7 @@ module Stripe @field_remappings = {} end end - class Us1099Nec < Stripe::StripeObject + class Us1099Nec < ::Stripe::StripeObject # Year represented by the information reported on the tax form. sig { returns(Integer) } def reporting_year; end @@ -169,7 +169,7 @@ module Stripe sig { returns(T.nilable(CaMrdp)) } def ca_mrdp; end # The form that corrects this form, if any. - sig { returns(T.nilable(T.any(String, Stripe::Tax::Form))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Tax::Form))) } def corrected_by; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -212,7 +212,7 @@ module Stripe def us_1099_nec; end # Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first. sig { - params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end diff --git a/rbi/stripe/resources/tax/registration.rbi b/rbi/stripe/resources/tax/registration.rbi index ebaf17d61..f2cb14a27 100644 --- a/rbi/stripe/resources/tax/registration.rbi +++ b/rbi/stripe/resources/tax/registration.rbi @@ -10,9 +10,9 @@ module Stripe # # Related guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api) class Registration < APIResource - class CountryOptions < Stripe::StripeObject - class Ae < Stripe::StripeObject - class Standard < Stripe::StripeObject + class CountryOptions < ::Stripe::StripeObject + class Ae < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -36,7 +36,7 @@ module Stripe @field_remappings = {} end end - class Al < Stripe::StripeObject + class Al < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -47,7 +47,7 @@ module Stripe @field_remappings = {} end end - class Am < Stripe::StripeObject + class Am < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -58,7 +58,7 @@ module Stripe @field_remappings = {} end end - class Ao < Stripe::StripeObject + class Ao < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -69,8 +69,8 @@ module Stripe @field_remappings = {} end end - class At < Stripe::StripeObject - class Standard < Stripe::StripeObject + class At < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -94,8 +94,8 @@ module Stripe @field_remappings = {} end end - class Au < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Au < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -119,7 +119,7 @@ module Stripe @field_remappings = {} end end - class Aw < Stripe::StripeObject + class Aw < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -130,7 +130,7 @@ module Stripe @field_remappings = {} end end - class Az < Stripe::StripeObject + class Az < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -141,7 +141,7 @@ module Stripe @field_remappings = {} end end - class Ba < Stripe::StripeObject + class Ba < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -152,7 +152,7 @@ module Stripe @field_remappings = {} end end - class Bb < Stripe::StripeObject + class Bb < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -163,7 +163,7 @@ module Stripe @field_remappings = {} end end - class Bd < Stripe::StripeObject + class Bd < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -174,8 +174,8 @@ module Stripe @field_remappings = {} end end - class Be < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Be < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -199,7 +199,7 @@ module Stripe @field_remappings = {} end end - class Bf < Stripe::StripeObject + class Bf < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -210,8 +210,8 @@ module Stripe @field_remappings = {} end end - class Bg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Bg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -235,7 +235,7 @@ module Stripe @field_remappings = {} end end - class Bh < Stripe::StripeObject + class Bh < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -246,7 +246,7 @@ module Stripe @field_remappings = {} end end - class Bj < Stripe::StripeObject + class Bj < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -257,7 +257,7 @@ module Stripe @field_remappings = {} end end - class Bs < Stripe::StripeObject + class Bs < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -268,7 +268,7 @@ module Stripe @field_remappings = {} end end - class By < Stripe::StripeObject + class By < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -279,8 +279,8 @@ module Stripe @field_remappings = {} end end - class Ca < Stripe::StripeObject - class ProvinceStandard < Stripe::StripeObject + class Ca < ::Stripe::StripeObject + class ProvinceStandard < ::Stripe::StripeObject # Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). sig { returns(String) } def province; end @@ -304,7 +304,7 @@ module Stripe @field_remappings = {} end end - class Cd < Stripe::StripeObject + class Cd < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -315,8 +315,8 @@ module Stripe @field_remappings = {} end end - class Ch < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ch < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -340,7 +340,7 @@ module Stripe @field_remappings = {} end end - class Cl < Stripe::StripeObject + class Cl < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -351,7 +351,7 @@ module Stripe @field_remappings = {} end end - class Cm < Stripe::StripeObject + class Cm < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -362,7 +362,7 @@ module Stripe @field_remappings = {} end end - class Co < Stripe::StripeObject + class Co < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -373,7 +373,7 @@ module Stripe @field_remappings = {} end end - class Cr < Stripe::StripeObject + class Cr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -384,7 +384,7 @@ module Stripe @field_remappings = {} end end - class Cv < Stripe::StripeObject + class Cv < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -395,8 +395,8 @@ module Stripe @field_remappings = {} end end - class Cy < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cy < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -420,8 +420,8 @@ module Stripe @field_remappings = {} end end - class Cz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Cz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -445,8 +445,8 @@ module Stripe @field_remappings = {} end end - class De < Stripe::StripeObject - class Standard < Stripe::StripeObject + class De < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -470,8 +470,8 @@ module Stripe @field_remappings = {} end end - class Dk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Dk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -495,7 +495,7 @@ module Stripe @field_remappings = {} end end - class Ec < Stripe::StripeObject + class Ec < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -506,8 +506,8 @@ module Stripe @field_remappings = {} end end - class Ee < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ee < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -531,7 +531,7 @@ module Stripe @field_remappings = {} end end - class Eg < Stripe::StripeObject + class Eg < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -542,8 +542,8 @@ module Stripe @field_remappings = {} end end - class Es < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Es < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -567,7 +567,7 @@ module Stripe @field_remappings = {} end end - class Et < Stripe::StripeObject + class Et < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -578,8 +578,8 @@ module Stripe @field_remappings = {} end end - class Fi < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fi < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -603,8 +603,8 @@ module Stripe @field_remappings = {} end end - class Fr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Fr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -628,8 +628,8 @@ module Stripe @field_remappings = {} end end - class Gb < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gb < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -653,7 +653,7 @@ module Stripe @field_remappings = {} end end - class Ge < Stripe::StripeObject + class Ge < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -664,7 +664,7 @@ module Stripe @field_remappings = {} end end - class Gn < Stripe::StripeObject + class Gn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -675,8 +675,8 @@ module Stripe @field_remappings = {} end end - class Gr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Gr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -700,8 +700,8 @@ module Stripe @field_remappings = {} end end - class Hr < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hr < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -725,8 +725,8 @@ module Stripe @field_remappings = {} end end - class Hu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Hu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -750,7 +750,7 @@ module Stripe @field_remappings = {} end end - class Id < Stripe::StripeObject + class Id < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -761,8 +761,8 @@ module Stripe @field_remappings = {} end end - class Ie < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ie < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -786,7 +786,7 @@ module Stripe @field_remappings = {} end end - class In < Stripe::StripeObject + class In < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -797,7 +797,7 @@ module Stripe @field_remappings = {} end end - class Is < Stripe::StripeObject + class Is < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -808,8 +808,8 @@ module Stripe @field_remappings = {} end end - class It < Stripe::StripeObject - class Standard < Stripe::StripeObject + class It < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -833,8 +833,8 @@ module Stripe @field_remappings = {} end end - class Jp < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Jp < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -858,7 +858,7 @@ module Stripe @field_remappings = {} end end - class Ke < Stripe::StripeObject + class Ke < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -869,7 +869,7 @@ module Stripe @field_remappings = {} end end - class Kg < Stripe::StripeObject + class Kg < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -880,7 +880,7 @@ module Stripe @field_remappings = {} end end - class Kh < Stripe::StripeObject + class Kh < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -891,7 +891,7 @@ module Stripe @field_remappings = {} end end - class Kr < Stripe::StripeObject + class Kr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -902,7 +902,7 @@ module Stripe @field_remappings = {} end end - class Kz < Stripe::StripeObject + class Kz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -913,7 +913,7 @@ module Stripe @field_remappings = {} end end - class La < Stripe::StripeObject + class La < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -924,8 +924,8 @@ module Stripe @field_remappings = {} end end - class Lt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -949,8 +949,8 @@ module Stripe @field_remappings = {} end end - class Lu < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lu < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -974,8 +974,8 @@ module Stripe @field_remappings = {} end end - class Lv < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Lv < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -999,7 +999,7 @@ module Stripe @field_remappings = {} end end - class Ma < Stripe::StripeObject + class Ma < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1010,7 +1010,7 @@ module Stripe @field_remappings = {} end end - class Md < Stripe::StripeObject + class Md < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1021,7 +1021,7 @@ module Stripe @field_remappings = {} end end - class Me < Stripe::StripeObject + class Me < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1032,7 +1032,7 @@ module Stripe @field_remappings = {} end end - class Mk < Stripe::StripeObject + class Mk < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1043,7 +1043,7 @@ module Stripe @field_remappings = {} end end - class Mr < Stripe::StripeObject + class Mr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1054,8 +1054,8 @@ module Stripe @field_remappings = {} end end - class Mt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Mt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1079,7 +1079,7 @@ module Stripe @field_remappings = {} end end - class Mx < Stripe::StripeObject + class Mx < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1090,7 +1090,7 @@ module Stripe @field_remappings = {} end end - class My < Stripe::StripeObject + class My < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1101,7 +1101,7 @@ module Stripe @field_remappings = {} end end - class Ng < Stripe::StripeObject + class Ng < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1112,8 +1112,8 @@ module Stripe @field_remappings = {} end end - class Nl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1137,8 +1137,8 @@ module Stripe @field_remappings = {} end end - class No < Stripe::StripeObject - class Standard < Stripe::StripeObject + class No < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1162,7 +1162,7 @@ module Stripe @field_remappings = {} end end - class Np < Stripe::StripeObject + class Np < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1173,8 +1173,8 @@ module Stripe @field_remappings = {} end end - class Nz < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Nz < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1198,7 +1198,7 @@ module Stripe @field_remappings = {} end end - class Om < Stripe::StripeObject + class Om < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1209,7 +1209,7 @@ module Stripe @field_remappings = {} end end - class Pe < Stripe::StripeObject + class Pe < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1220,7 +1220,7 @@ module Stripe @field_remappings = {} end end - class Ph < Stripe::StripeObject + class Ph < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1231,8 +1231,8 @@ module Stripe @field_remappings = {} end end - class Pl < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pl < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1256,8 +1256,8 @@ module Stripe @field_remappings = {} end end - class Pt < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Pt < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1281,8 +1281,8 @@ module Stripe @field_remappings = {} end end - class Ro < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Ro < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1306,7 +1306,7 @@ module Stripe @field_remappings = {} end end - class Rs < Stripe::StripeObject + class Rs < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1317,7 +1317,7 @@ module Stripe @field_remappings = {} end end - class Ru < Stripe::StripeObject + class Ru < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1328,7 +1328,7 @@ module Stripe @field_remappings = {} end end - class Sa < Stripe::StripeObject + class Sa < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1339,8 +1339,8 @@ module Stripe @field_remappings = {} end end - class Se < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Se < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1364,8 +1364,8 @@ module Stripe @field_remappings = {} end end - class Sg < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sg < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an Default standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1389,8 +1389,8 @@ module Stripe @field_remappings = {} end end - class Si < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Si < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1414,8 +1414,8 @@ module Stripe @field_remappings = {} end end - class Sk < Stripe::StripeObject - class Standard < Stripe::StripeObject + class Sk < ::Stripe::StripeObject + class Standard < ::Stripe::StripeObject # Place of supply scheme used in an EU standard registration. sig { returns(String) } def place_of_supply_scheme; end @@ -1439,7 +1439,7 @@ module Stripe @field_remappings = {} end end - class Sn < Stripe::StripeObject + class Sn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1450,7 +1450,7 @@ module Stripe @field_remappings = {} end end - class Sr < Stripe::StripeObject + class Sr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1461,7 +1461,7 @@ module Stripe @field_remappings = {} end end - class Th < Stripe::StripeObject + class Th < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1472,7 +1472,7 @@ module Stripe @field_remappings = {} end end - class Tj < Stripe::StripeObject + class Tj < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1483,7 +1483,7 @@ module Stripe @field_remappings = {} end end - class Tr < Stripe::StripeObject + class Tr < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1494,7 +1494,7 @@ module Stripe @field_remappings = {} end end - class Tz < Stripe::StripeObject + class Tz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1505,7 +1505,7 @@ module Stripe @field_remappings = {} end end - class Ua < Stripe::StripeObject + class Ua < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1516,7 +1516,7 @@ module Stripe @field_remappings = {} end end - class Ug < Stripe::StripeObject + class Ug < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1527,8 +1527,8 @@ module Stripe @field_remappings = {} end end - class Us < Stripe::StripeObject - class LocalAmusementTax < Stripe::StripeObject + class Us < ::Stripe::StripeObject + class LocalAmusementTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(String) } def jurisdiction; end @@ -1539,7 +1539,7 @@ module Stripe @field_remappings = {} end end - class LocalLeaseTax < Stripe::StripeObject + class LocalLeaseTax < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(String) } def jurisdiction; end @@ -1550,8 +1550,8 @@ module Stripe @field_remappings = {} end end - class StateSalesTax < Stripe::StripeObject - class Election < Stripe::StripeObject + class StateSalesTax < ::Stripe::StripeObject + class Election < ::Stripe::StripeObject # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. sig { returns(T.nilable(String)) } def jurisdiction; end @@ -1601,7 +1601,7 @@ module Stripe @field_remappings = {} end end - class Uy < Stripe::StripeObject + class Uy < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1612,7 +1612,7 @@ module Stripe @field_remappings = {} end end - class Uz < Stripe::StripeObject + class Uz < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1623,7 +1623,7 @@ module Stripe @field_remappings = {} end end - class Vn < Stripe::StripeObject + class Vn < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1634,7 +1634,7 @@ module Stripe @field_remappings = {} end end - class Za < Stripe::StripeObject + class Za < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1645,7 +1645,7 @@ module Stripe @field_remappings = {} end end - class Zm < Stripe::StripeObject + class Zm < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -1656,7 +1656,7 @@ module Stripe @field_remappings = {} end end - class Zw < Stripe::StripeObject + class Zw < ::Stripe::StripeObject # Type of registration in `country`. sig { returns(String) } def type; end @@ -2100,13 +2100,13 @@ module Stripe def status; end # Creates a new Tax Registration object. sig { - params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def self.create(params = {}, opts = {}); end # Returns a list of Tax Registration objects. sig { - params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -2114,7 +2114,7 @@ module Stripe # # A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def self.update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax/settings.rbi b/rbi/stripe/resources/tax/settings.rbi index 6c2494976..6f98fedcf 100644 --- a/rbi/stripe/resources/tax/settings.rbi +++ b/rbi/stripe/resources/tax/settings.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [Using the Settings API](https://stripe.com/docs/tax/settings-api) class Settings < SingletonAPIResource - class Defaults < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject # The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). sig { returns(String) } def provider; end @@ -25,8 +25,8 @@ module Stripe @field_remappings = {} end end - class HeadOffice < Stripe::StripeObject - class Address < Stripe::StripeObject + class HeadOffice < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -62,8 +62,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Active < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Active < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} end @@ -71,7 +71,7 @@ module Stripe @field_remappings = {} end end - class Pending < Stripe::StripeObject + class Pending < ::Stripe::StripeObject # The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call. sig { returns(T.nilable(T::Array[String])) } def missing_fields; end diff --git a/rbi/stripe/resources/tax/transaction.rbi b/rbi/stripe/resources/tax/transaction.rbi index 09c0e8fbe..f5d218fa8 100644 --- a/rbi/stripe/resources/tax/transaction.rbi +++ b/rbi/stripe/resources/tax/transaction.rbi @@ -8,8 +8,8 @@ module Stripe # # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction) class Transaction < APIResource - class CustomerDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class CustomerDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -35,7 +35,7 @@ module Stripe @field_remappings = {} end end - class TaxId < Stripe::StripeObject + class TaxId < ::Stripe::StripeObject # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` sig { returns(String) } def type; end @@ -71,7 +71,7 @@ module Stripe @field_remappings = {} end end - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the reversed `Transaction` object. sig { returns(T.nilable(String)) } def original_transaction; end @@ -82,8 +82,8 @@ module Stripe @field_remappings = {} end end - class ShipFromDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class ShipFromDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -119,9 +119,9 @@ module Stripe @field_remappings = {} end end - class ShippingCost < Stripe::StripeObject - class TaxBreakdown < Stripe::StripeObject - class Jurisdiction < Stripe::StripeObject + class ShippingCost < ::Stripe::StripeObject + class TaxBreakdown < ::Stripe::StripeObject + class Jurisdiction < ::Stripe::StripeObject # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). sig { returns(String) } def country; end @@ -141,7 +141,7 @@ module Stripe @field_remappings = {} end end - class TaxRateDetails < Stripe::StripeObject + class TaxRateDetails < ::Stripe::StripeObject # A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". sig { returns(String) } def display_name; end @@ -224,7 +224,7 @@ module Stripe sig { returns(String) } def id; end # The tax collected or refunded, by line item. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def line_items; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } @@ -258,25 +258,25 @@ module Stripe def type; end # Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def self.create_from_calculation(params = {}, opts = {}); end # Partially or fully reverses a previously created Transaction. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def self.create_reversal(params = {}, opts = {}); end # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_line_items(params = {}, opts = {}); end # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionListLineItemsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list_line_items(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax/transaction_line_item.rbi b/rbi/stripe/resources/tax/transaction_line_item.rbi index fc55881a1..6cdf7c2de 100644 --- a/rbi/stripe/resources/tax/transaction_line_item.rbi +++ b/rbi/stripe/resources/tax/transaction_line_item.rbi @@ -5,7 +5,7 @@ module Stripe module Tax class TransactionLineItem < APIResource - class Reversal < Stripe::StripeObject + class Reversal < ::Stripe::StripeObject # The `id` of the line item to reverse in the original transaction. sig { returns(String) } def original_line_item; end diff --git a/rbi/stripe/resources/tax_code.rbi b/rbi/stripe/resources/tax_code.rbi index 22cdf7233..423f453f3 100644 --- a/rbi/stripe/resources/tax_code.rbi +++ b/rbi/stripe/resources/tax_code.rbi @@ -19,7 +19,7 @@ module Stripe def object; end # A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations. sig { - params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax_id.rbi b/rbi/stripe/resources/tax_id.rbi index b83226e7c..7aab6cf55 100644 --- a/rbi/stripe/resources/tax_id.rbi +++ b/rbi/stripe/resources/tax_id.rbi @@ -8,15 +8,15 @@ module Stripe # # Related guides: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids), [Account tax IDs](https://stripe.com/docs/invoicing/connect#account-tax-ids) class TaxId < APIResource - class Owner < Stripe::StripeObject + class Owner < ::Stripe::StripeObject # The account being referenced when `type` is `account`. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def account; end # The Connect Application being referenced when `type` is `application`. - sig { returns(T.nilable(T.any(String, Stripe::Application))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Application))) } def application; end # The customer being referenced when `type` is `customer`. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # The account being referenced when `type` is `customer`. sig { returns(T.nilable(String)) } @@ -31,7 +31,7 @@ module Stripe @field_remappings = {} end end - class Verification < Stripe::StripeObject + class Verification < ::Stripe::StripeObject # Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`. sig { returns(String) } def status; end @@ -55,7 +55,7 @@ module Stripe sig { returns(Integer) } def created; end # ID of the customer. - sig { returns(T.nilable(T.any(String, Stripe::Customer))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end # ID of the account. sig { returns(T.nilable(String)) } @@ -86,25 +86,25 @@ module Stripe def deleted; end # Creates a new account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def self.create(params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def self.delete(id, params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(params = {}, opts = {}); end # Returns a list of tax IDs. sig { - params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/tax_rate.rbi b/rbi/stripe/resources/tax_rate.rbi index b1df42531..c618b6721 100644 --- a/rbi/stripe/resources/tax_rate.rbi +++ b/rbi/stripe/resources/tax_rate.rbi @@ -7,7 +7,7 @@ module Stripe # # Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates) class TaxRate < APIResource - class FlatAmount < Stripe::StripeObject + class FlatAmount < ::Stripe::StripeObject # Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). sig { returns(Integer) } def amount; end @@ -79,19 +79,19 @@ module Stripe def tax_type; end # Creates a new tax rate. sig { - params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def self.create(params = {}, opts = {}); end # Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first. sig { - params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates an existing tax rate. sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def self.update(tax_rate, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/configuration.rbi b/rbi/stripe/resources/terminal/configuration.rbi index b44d6aef2..94175c253 100644 --- a/rbi/stripe/resources/terminal/configuration.rbi +++ b/rbi/stripe/resources/terminal/configuration.rbi @@ -7,9 +7,9 @@ module Stripe # A Configurations object represents how features should be configured for terminal readers. # For information about how to use it, see the [Terminal configurations documentation](https://docs.stripe.com/terminal/fleet/configurations-overview). class Configuration < APIResource - class BbposWisepad3 < Stripe::StripeObject + class BbposWisepad3 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -18,9 +18,9 @@ module Stripe @field_remappings = {} end end - class BbposWiseposE < Stripe::StripeObject + class BbposWiseposE < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class Offline < Stripe::StripeObject + class Offline < ::Stripe::StripeObject # Determines whether to allow transactions to be collected while reader is offline. Defaults to false. sig { returns(T.nilable(T::Boolean)) } def enabled; end @@ -40,7 +40,7 @@ module Stripe @field_remappings = {} end end - class ReaderSecurity < Stripe::StripeObject + class ReaderSecurity < ::Stripe::StripeObject # Passcode used to access a reader's admin menu. sig { returns(String) } def admin_menu_passcode; end @@ -51,7 +51,7 @@ module Stripe @field_remappings = {} end end - class RebootWindow < Stripe::StripeObject + class RebootWindow < ::Stripe::StripeObject # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. sig { returns(Integer) } def end_hour; end @@ -65,9 +65,9 @@ module Stripe @field_remappings = {} end end - class StripeS700 < Stripe::StripeObject + class StripeS700 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -76,8 +76,8 @@ module Stripe @field_remappings = {} end end - class Tipping < Stripe::StripeObject - class Aed < Stripe::StripeObject + class Tipping < ::Stripe::StripeObject + class Aed < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -94,7 +94,7 @@ module Stripe @field_remappings = {} end end - class Aud < Stripe::StripeObject + class Aud < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -111,7 +111,7 @@ module Stripe @field_remappings = {} end end - class Bgn < Stripe::StripeObject + class Bgn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -128,7 +128,7 @@ module Stripe @field_remappings = {} end end - class Cad < Stripe::StripeObject + class Cad < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -145,7 +145,7 @@ module Stripe @field_remappings = {} end end - class Chf < Stripe::StripeObject + class Chf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -162,7 +162,7 @@ module Stripe @field_remappings = {} end end - class Czk < Stripe::StripeObject + class Czk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -179,7 +179,7 @@ module Stripe @field_remappings = {} end end - class Dkk < Stripe::StripeObject + class Dkk < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -196,7 +196,7 @@ module Stripe @field_remappings = {} end end - class Eur < Stripe::StripeObject + class Eur < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -213,7 +213,7 @@ module Stripe @field_remappings = {} end end - class Gbp < Stripe::StripeObject + class Gbp < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -230,7 +230,7 @@ module Stripe @field_remappings = {} end end - class Hkd < Stripe::StripeObject + class Gip < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -247,7 +247,7 @@ module Stripe @field_remappings = {} end end - class Huf < Stripe::StripeObject + class Hkd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -264,7 +264,7 @@ module Stripe @field_remappings = {} end end - class Jpy < Stripe::StripeObject + class Huf < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -281,7 +281,7 @@ module Stripe @field_remappings = {} end end - class Mxn < Stripe::StripeObject + class Jpy < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -298,7 +298,7 @@ module Stripe @field_remappings = {} end end - class Myr < Stripe::StripeObject + class Mxn < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -315,7 +315,7 @@ module Stripe @field_remappings = {} end end - class Nok < Stripe::StripeObject + class Myr < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -332,7 +332,7 @@ module Stripe @field_remappings = {} end end - class Nzd < Stripe::StripeObject + class Nok < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -349,7 +349,7 @@ module Stripe @field_remappings = {} end end - class Pln < Stripe::StripeObject + class Nzd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -366,7 +366,7 @@ module Stripe @field_remappings = {} end end - class Ron < Stripe::StripeObject + class Pln < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -383,7 +383,7 @@ module Stripe @field_remappings = {} end end - class Sek < Stripe::StripeObject + class Ron < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -400,7 +400,7 @@ module Stripe @field_remappings = {} end end - class Sgd < Stripe::StripeObject + class Sek < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -417,7 +417,24 @@ module Stripe @field_remappings = {} end end - class Usd < Stripe::StripeObject + class Sgd < ::Stripe::StripeObject + # Fixed amounts displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def fixed_amounts; end + # Percentages displayed when collecting a tip + sig { returns(T.nilable(T::Array[Integer])) } + def percentages; end + # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + sig { returns(T.nilable(Integer)) } + def smart_tip_threshold; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + class Usd < ::Stripe::StripeObject # Fixed amounts displayed when collecting a tip sig { returns(T.nilable(T::Array[Integer])) } def fixed_amounts; end @@ -461,6 +478,9 @@ module Stripe # Attribute for field gbp sig { returns(T.nilable(Gbp)) } def gbp; end + # Attribute for field gip + sig { returns(T.nilable(Gip)) } + def gip; end # Attribute for field hkd sig { returns(T.nilable(Hkd)) } def hkd; end @@ -508,6 +528,7 @@ module Stripe dkk: Dkk, eur: Eur, gbp: Gbp, + gip: Gip, hkd: Hkd, huf: Huf, jpy: Jpy, @@ -526,9 +547,9 @@ module Stripe @field_remappings = {} end end - class VerifoneP400 < Stripe::StripeObject + class VerifoneP400 < ::Stripe::StripeObject # A File ID representing an image to display on the reader - sig { returns(T.nilable(T.any(String, Stripe::File))) } + sig { returns(T.nilable(T.any(String, ::Stripe::File))) } def splashscreen; end def self.inner_class_types @inner_class_types = {} @@ -537,8 +558,8 @@ module Stripe @field_remappings = {} end end - class Wifi < Stripe::StripeObject - class EnterpriseEapPeap < Stripe::StripeObject + class Wifi < ::Stripe::StripeObject + class EnterpriseEapPeap < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -558,7 +579,7 @@ module Stripe @field_remappings = {} end end - class EnterpriseEapTls < Stripe::StripeObject + class EnterpriseEapTls < ::Stripe::StripeObject # A File ID representing a PEM file containing the server certificate sig { returns(T.nilable(String)) } def ca_certificate_file; end @@ -581,7 +602,7 @@ module Stripe @field_remappings = {} end end - class PersonalPsk < Stripe::StripeObject + class PersonalPsk < ::Stripe::StripeObject # Password for connecting to the WiFi network sig { returns(String) } def password; end @@ -665,31 +686,31 @@ module Stripe def deleted; end # Creates a new Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.create(params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.delete(configuration, params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def delete(params = {}, opts = {}); end # Returns a list of Configuration objects. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a new Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def self.update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/connection_token.rbi b/rbi/stripe/resources/terminal/connection_token.rbi index ccf456c20..9ef2eca73 100644 --- a/rbi/stripe/resources/terminal/connection_token.rbi +++ b/rbi/stripe/resources/terminal/connection_token.rbi @@ -19,7 +19,7 @@ module Stripe def secret; end # To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token. sig { - params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ConnectionToken) + params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ConnectionToken) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/location.rbi b/rbi/stripe/resources/terminal/location.rbi index cf7b791c2..e08ddc796 100644 --- a/rbi/stripe/resources/terminal/location.rbi +++ b/rbi/stripe/resources/terminal/location.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) class Location < APIResource - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -34,7 +34,7 @@ module Stripe @field_remappings = {} end end - class AddressKana < Stripe::StripeObject + class AddressKana < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -63,7 +63,7 @@ module Stripe @field_remappings = {} end end - class AddressKanji < Stripe::StripeObject + class AddressKanji < ::Stripe::StripeObject # City/Ward. sig { returns(T.nilable(String)) } def city; end @@ -134,31 +134,31 @@ module Stripe # Creates a new Location object. # For further details, including which address fields are required in each country, see the [Manage locations](https://docs.stripe.com/docs/terminal/fleet/locations) guide. sig { - params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.create(params = {}, opts = {}); end # Deletes a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.delete(location, params = {}, opts = {}); end # Deletes a Location object. sig { - params(params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def delete(params = {}, opts = {}); end # Returns a list of Location objects. sig { - params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def self.update(location, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/onboarding_link.rbi b/rbi/stripe/resources/terminal/onboarding_link.rbi index 23c4c3a2f..90348bb6f 100644 --- a/rbi/stripe/resources/terminal/onboarding_link.rbi +++ b/rbi/stripe/resources/terminal/onboarding_link.rbi @@ -6,8 +6,8 @@ module Stripe module Terminal # Returns redirect links used for onboarding onto Tap to Pay on iPhone. class OnboardingLink < APIResource - class LinkOptions < Stripe::StripeObject - class AppleTermsAndConditions < Stripe::StripeObject + class LinkOptions < ::Stripe::StripeObject + class AppleTermsAndConditions < ::Stripe::StripeObject # Whether the link should also support users relinking their Apple account. sig { returns(T.nilable(T::Boolean)) } def allow_relinking; end @@ -48,7 +48,7 @@ module Stripe def redirect_url; end # Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone. sig { - params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::OnboardingLink) + params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::OnboardingLink) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/reader.rbi b/rbi/stripe/resources/terminal/reader.rbi index c46200ee6..f4f2b8aba 100644 --- a/rbi/stripe/resources/terminal/reader.rbi +++ b/rbi/stripe/resources/terminal/reader.rbi @@ -8,10 +8,10 @@ module Stripe # # Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader) class Reader < APIResource - class Action < Stripe::StripeObject - class CollectInputs < Stripe::StripeObject - class Input < Stripe::StripeObject - class CustomText < Stripe::StripeObject + class Action < ::Stripe::StripeObject + class CollectInputs < ::Stripe::StripeObject + class Input < ::Stripe::StripeObject + class CustomText < ::Stripe::StripeObject # Customize the default description for this input sig { returns(T.nilable(String)) } def description; end @@ -31,7 +31,7 @@ module Stripe @field_remappings = {} end end - class Email < Stripe::StripeObject + class Email < ::Stripe::StripeObject # The collected email address sig { returns(T.nilable(String)) } def value; end @@ -42,7 +42,7 @@ module Stripe @field_remappings = {} end end - class Numeric < Stripe::StripeObject + class Numeric < ::Stripe::StripeObject # The collected number sig { returns(T.nilable(String)) } def value; end @@ -53,7 +53,7 @@ module Stripe @field_remappings = {} end end - class Phone < Stripe::StripeObject + class Phone < ::Stripe::StripeObject # The collected phone number sig { returns(T.nilable(String)) } def value; end @@ -64,15 +64,15 @@ module Stripe @field_remappings = {} end end - class Selection < Stripe::StripeObject - class Choice < Stripe::StripeObject - # The id to be selected + class Selection < ::Stripe::StripeObject + class Choice < ::Stripe::StripeObject + # The identifier for the selected choice. Maximum 50 characters. sig { returns(T.nilable(String)) } def id; end - # The button style for the choice + # The button style for the choice. Can be `primary` or `secondary`. sig { returns(T.nilable(String)) } def style; end - # The text to be selected + # The text to be selected. Maximum 30 characters. sig { returns(String) } def text; end def self.inner_class_types @@ -98,7 +98,7 @@ module Stripe @field_remappings = {} end end - class Signature < Stripe::StripeObject + class Signature < ::Stripe::StripeObject # The File ID of a collected signature image sig { returns(T.nilable(String)) } def value; end @@ -109,7 +109,7 @@ module Stripe @field_remappings = {} end end - class Text < Stripe::StripeObject + class Text < ::Stripe::StripeObject # The collected text value sig { returns(T.nilable(String)) } def value; end @@ -120,17 +120,17 @@ module Stripe @field_remappings = {} end end - class Toggle < Stripe::StripeObject - # The toggle's default value + class Toggle < ::Stripe::StripeObject + # The toggle's default value. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def default_value; end - # The toggle's description text + # The toggle's description text. Maximum 50 characters. sig { returns(T.nilable(String)) } def description; end - # The toggle's title text + # The toggle's title text. Maximum 50 characters. sig { returns(T.nilable(String)) } def title; end - # The toggle's collected value + # The toggle's collected value. Can be `enabled` or `disabled`. sig { returns(T.nilable(String)) } def value; end def self.inner_class_types @@ -202,9 +202,9 @@ module Stripe @field_remappings = {} end end - class CollectPaymentMethod < Stripe::StripeObject - class CollectConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class CollectPaymentMethod < ::Stripe::StripeObject + class CollectConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -238,14 +238,14 @@ module Stripe sig { returns(T.nilable(CollectConfig)) } def collect_config; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end # PaymentMethod objects represent your customer's payment instruments. # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to # Customer objects to store instrument details for future payments. # # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - sig { returns(T.nilable(Stripe::PaymentMethod)) } + sig { returns(T.nilable(::Stripe::PaymentMethod)) } def payment_method; end def self.inner_class_types @inner_class_types = {collect_config: CollectConfig} @@ -254,8 +254,8 @@ module Stripe @field_remappings = {} end end - class ConfirmPaymentIntent < Stripe::StripeObject - class ConfirmConfig < Stripe::StripeObject + class ConfirmPaymentIntent < ::Stripe::StripeObject + class ConfirmConfig < ::Stripe::StripeObject # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(T.nilable(String)) } def return_url; end @@ -273,7 +273,7 @@ module Stripe sig { returns(T.nilable(ConfirmConfig)) } def confirm_config; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end def self.inner_class_types @inner_class_types = {confirm_config: ConfirmConfig} @@ -282,9 +282,9 @@ module Stripe @field_remappings = {} end end - class ProcessPaymentIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject - class Tipping < Stripe::StripeObject + class ProcessPaymentIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject + class Tipping < ::Stripe::StripeObject # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). sig { returns(T.nilable(Integer)) } def amount_eligible; end @@ -318,7 +318,7 @@ module Stripe sig { returns(T.nilable(String)) } def account; end # Most recent PaymentIntent processed by the reader. - sig { returns(T.any(String, Stripe::PaymentIntent)) } + sig { returns(T.any(String, ::Stripe::PaymentIntent)) } def payment_intent; end # Represents a per-transaction override of a reader configuration sig { returns(T.nilable(ProcessConfig)) } @@ -330,8 +330,8 @@ module Stripe @field_remappings = {} end end - class ProcessSetupIntent < Stripe::StripeObject - class ProcessConfig < Stripe::StripeObject + class ProcessSetupIntent < ::Stripe::StripeObject + class ProcessConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when processing this SetupIntent. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -349,7 +349,7 @@ module Stripe sig { returns(T.nilable(ProcessConfig)) } def process_config; end # Most recent SetupIntent processed by the reader. - sig { returns(T.any(String, Stripe::SetupIntent)) } + sig { returns(T.any(String, ::Stripe::SetupIntent)) } def setup_intent; end def self.inner_class_types @inner_class_types = {process_config: ProcessConfig} @@ -358,8 +358,8 @@ module Stripe @field_remappings = {} end end - class RefundPayment < Stripe::StripeObject - class RefundPaymentConfig < Stripe::StripeObject + class RefundPayment < ::Stripe::StripeObject + class RefundPaymentConfig < ::Stripe::StripeObject # Enable customer-initiated cancellation when refunding this payment. sig { returns(T.nilable(T::Boolean)) } def enable_customer_cancellation; end @@ -377,19 +377,19 @@ module Stripe sig { returns(T.nilable(Integer)) } def amount; end # Charge that is being refunded. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def charge; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T.nilable(T::Hash[String, String])) } def metadata; end # Payment intent that is being refunded. - sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) } + sig { returns(T.nilable(T.any(String, ::Stripe::PaymentIntent))) } def payment_intent; end # The reason for the refund. sig { returns(T.nilable(String)) } def reason; end # Unique identifier for the refund object. - sig { returns(T.nilable(T.any(String, Stripe::Refund))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Refund))) } def refund; end # Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. sig { returns(T.nilable(T::Boolean)) } @@ -407,9 +407,9 @@ module Stripe @field_remappings = {} end end - class SetReaderDisplay < Stripe::StripeObject - class Cart < Stripe::StripeObject - class LineItem < Stripe::StripeObject + class SetReaderDisplay < ::Stripe::StripeObject + class Cart < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject # The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). sig { returns(Integer) } def amount; end @@ -445,10 +445,10 @@ module Stripe @field_remappings = {} end end - # Cart object to be displayed by the reader. + # Cart object to be displayed by the reader, including line items, amounts, and currency. sig { returns(T.nilable(Cart)) } def cart; end - # Type of information to be displayed by the reader. + # Type of information to be displayed by the reader. Only `cart` is currently supported. sig { returns(String) } def type; end def self.inner_class_types @@ -524,11 +524,14 @@ module Stripe # Custom label given to the reader for easier identification. sig { returns(String) } def label; end + # The last time this reader reported to Stripe backend. + sig { returns(T.nilable(Integer)) } + def last_seen_at; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end # The location identifier of the reader. - sig { returns(T.nilable(T.any(String, Stripe::Terminal::Location))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Terminal::Location))) } def location; end # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. sig { returns(T::Hash[String, String]) } @@ -545,129 +548,129 @@ module Stripe # Always true for a deleted object sig { returns(T.nilable(T::Boolean)) } def deleted; end - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def cancel_action(params = {}, opts = {}); end - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.cancel_action(reader, params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_inputs(params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.collect_inputs(reader, params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_payment_method(params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.collect_payment_method(reader, params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def confirm_payment_intent(params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.confirm_payment_intent(reader, params = {}, opts = {}); end # Creates a new Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.create(params = {}, opts = {}); end # Deletes a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.delete(reader, params = {}, opts = {}); end # Deletes a Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def delete(params = {}, opts = {}); end # Returns a list of Reader objects. sig { - params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_payment_intent(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.process_payment_intent(reader, params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_setup_intent(params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.process_setup_intent(reader, params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def refund_payment(params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.refund_payment(reader, params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def set_reader_display(params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.set_reader_display(reader, params = {}, opts = {}); end # Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def self.update(reader, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/terminal/reader_collected_data.rbi b/rbi/stripe/resources/terminal/reader_collected_data.rbi index edf935528..5d03365c0 100644 --- a/rbi/stripe/resources/terminal/reader_collected_data.rbi +++ b/rbi/stripe/resources/terminal/reader_collected_data.rbi @@ -6,7 +6,7 @@ module Stripe module Terminal # Returns data collected by Terminal readers. This data is only stored for 24 hours. class ReaderCollectedData < APIResource - class Magstripe < Stripe::StripeObject + class Magstripe < ::Stripe::StripeObject # The raw magstripe data collected by the reader. sig { returns(T.nilable(String)) } def data; end diff --git a/rbi/stripe/resources/test_helpers/test_clock.rbi b/rbi/stripe/resources/test_helpers/test_clock.rbi index 275a1d5a2..ede7e6713 100644 --- a/rbi/stripe/resources/test_helpers/test_clock.rbi +++ b/rbi/stripe/resources/test_helpers/test_clock.rbi @@ -8,8 +8,8 @@ module Stripe # objects at a frozen time in the past or future, and advance to a specific future time to observe webhooks and state changes. After the clock advances, # you can either validate the current state of your scenario (and test your assumptions), change the current state of your scenario (and test more complex scenarios), or keep advancing forward in time. class TestClock < APIResource - class StatusDetails < Stripe::StripeObject - class Advancing < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Advancing < ::Stripe::StripeObject # The `frozen_time` that the Test Clock is advancing towards. sig { returns(Integer) } def target_frozen_time; end @@ -62,37 +62,37 @@ module Stripe def deleted; end # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def advance(params = {}, opts = {}); end # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.advance(test_clock, params = {}, opts = {}); end # Creates a new test clock that can be attached to new customers and quotes. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.create(params = {}, opts = {}); end # Deletes a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def self.delete(test_clock, params = {}, opts = {}); end # Deletes a test clock. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def delete(params = {}, opts = {}); end # Returns a list of your test clocks. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/token.rbi b/rbi/stripe/resources/token.rbi index e436cc087..529a77d6d 100644 --- a/rbi/stripe/resources/token.rbi +++ b/rbi/stripe/resources/token.rbi @@ -31,14 +31,14 @@ module Stripe # They can be bank accounts or debit cards as well, and are documented in the links above. # # Related guide: [Bank debits and transfers](/payments/bank-debits-transfers) - sig { returns(T.nilable(Stripe::BankAccount)) } + sig { returns(T.nilable(::Stripe::BankAccount)) } def bank_account; end # You can store multiple cards on a customer in order to charge the customer # later. You can also store multiple debit cards on a recipient in order to # transfer to those cards later. # # Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) - sig { returns(T.nilable(Stripe::Card)) } + sig { returns(T.nilable(::Stripe::Card)) } def card; end # IP address of the client that generates the token. sig { returns(T.nilable(String)) } @@ -64,7 +64,7 @@ module Stripe # Creates a single-use token that represents a bank account's details. # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://docs.stripe.com/api#accounts) where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. sig { - params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def self.create(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/topup.rbi b/rbi/stripe/resources/topup.rbi index b78cb798e..1014c7c68 100644 --- a/rbi/stripe/resources/topup.rbi +++ b/rbi/stripe/resources/topup.rbi @@ -13,7 +13,7 @@ module Stripe sig { returns(Integer) } def amount; end # ID of the balance transaction that describes the impact of this top-up on your account balance. May not be specified depending on status of top-up. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time at which the object was created. Measured in seconds since the Unix epoch. sig { returns(Integer) } @@ -46,7 +46,7 @@ module Stripe sig { returns(String) } def object; end # The source field is deprecated. It might not always be present in the API response. - sig { returns(T.nilable(Stripe::Source)) } + sig { returns(T.nilable(::Stripe::Source)) } def source; end # Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter. sig { returns(T.nilable(String)) } @@ -59,31 +59,31 @@ module Stripe def transfer_group; end # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def cancel(params = {}, opts = {}); end # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.cancel(topup, params = {}, opts = {}); end # Top up the balance of an account sig { - params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.create(params = {}, opts = {}); end # Returns a list of top-ups. sig { - params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the metadata of a top-up. Other top-up details are not editable by design. sig { - params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def self.update(topup, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/transfer.rbi b/rbi/stripe/resources/transfer.rbi index 8f5328025..8ca60b332 100644 --- a/rbi/stripe/resources/transfer.rbi +++ b/rbi/stripe/resources/transfer.rbi @@ -21,7 +21,7 @@ module Stripe sig { returns(Integer) } def amount_reversed; end # Balance transaction that describes the impact of this transfer on your account balance. - sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::BalanceTransaction))) } def balance_transaction; end # Time that this record of the transfer was first created. sig { returns(Integer) } @@ -33,10 +33,10 @@ module Stripe sig { returns(T.nilable(String)) } def description; end # ID of the Stripe account the transfer was sent to. - sig { returns(T.nilable(T.any(String, Stripe::Account))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Account))) } def destination; end # If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def destination_payment; end # The FX Quote used for the transfer. sig { returns(T.nilable(String)) } @@ -54,13 +54,13 @@ module Stripe sig { returns(String) } def object; end # A list of reversals that have been applied to the transfer. - sig { returns(Stripe::ListObject) } + sig { returns(::Stripe::ListObject) } def reversals; end # Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false. sig { returns(T::Boolean) } def reversed; end # ID of the charge that was used to fund the transfer. If null, the transfer was funded from the available balance. - sig { returns(T.nilable(T.any(String, Stripe::Charge))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Charge))) } def source_transaction; end # The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`. sig { returns(T.nilable(String)) } @@ -70,13 +70,13 @@ module Stripe def transfer_group; end # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. sig { - params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def self.create(params = {}, opts = {}); end # Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first. sig { - params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end @@ -84,7 +84,7 @@ module Stripe # # This request accepts only metadata as an argument. sig { - params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def self.update(transfer, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/credit_reversal.rbi b/rbi/stripe/resources/treasury/credit_reversal.rbi index 62693ed50..db3eabcab 100644 --- a/rbi/stripe/resources/treasury/credit_reversal.rbi +++ b/rbi/stripe/resources/treasury/credit_reversal.rbi @@ -6,7 +6,7 @@ module Stripe module Treasury # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. class CreditReversal < APIResource - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the CreditReversal changed status to `posted` sig { returns(T.nilable(Integer)) } def posted_at; end @@ -57,17 +57,17 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Reverses a ReceivedCredit and creates a CreditReversal object. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def self.create(params = {}, opts = {}); end # Returns a list of CreditReversals. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/debit_reversal.rbi b/rbi/stripe/resources/treasury/debit_reversal.rbi index a12305498..02a18f49b 100644 --- a/rbi/stripe/resources/treasury/debit_reversal.rbi +++ b/rbi/stripe/resources/treasury/debit_reversal.rbi @@ -6,7 +6,7 @@ module Stripe module Treasury # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. class DebitReversal < APIResource - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # Set if there is an Issuing dispute associated with the DebitReversal. sig { returns(T.nilable(String)) } def issuing_dispute; end @@ -17,7 +17,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the DebitReversal changed status to `completed`. sig { returns(T.nilable(Integer)) } def completed_at; end @@ -71,17 +71,17 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Reverses a ReceivedDebit and creates a DebitReversal object. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def self.create(params = {}, opts = {}); end # Returns a list of DebitReversals. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/financial_account.rbi b/rbi/stripe/resources/treasury/financial_account.rbi index 1138d880a..225e48973 100644 --- a/rbi/stripe/resources/treasury/financial_account.rbi +++ b/rbi/stripe/resources/treasury/financial_account.rbi @@ -7,7 +7,7 @@ module Stripe # Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance. # FinancialAccounts serve as the source and destination of Treasury's money movement APIs. class FinancialAccount < APIResource - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Funds the user can spend right now. sig { returns(T::Hash[String, Integer]) } def cash; end @@ -24,8 +24,8 @@ module Stripe @field_remappings = {} end end - class FinancialAddress < Stripe::StripeObject - class Aba < Stripe::StripeObject + class FinancialAddress < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject # The name of the person or business that owns the bank account. sig { returns(String) } def account_holder_name; end @@ -64,7 +64,7 @@ module Stripe @field_remappings = {} end end - class PlatformRestrictions < Stripe::StripeObject + class PlatformRestrictions < ::Stripe::StripeObject # Restricts all inbound money movement. sig { returns(T.nilable(String)) } def inbound_flows; end @@ -78,8 +78,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject # The array that contains reasons for a FinancialAccount closure. sig { returns(T::Array[String]) } def reasons; end @@ -117,7 +117,7 @@ module Stripe def display_name; end # Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`. # Stripe or the platform can control Features via the requested field. - sig { returns(T.nilable(Stripe::Treasury::FinancialAccountFeatures)) } + sig { returns(T.nilable(::Stripe::Treasury::FinancialAccountFeatures)) } def features; end # The set of credentials that resolve to a FinancialAccount. sig { returns(T::Array[FinancialAddress]) } @@ -160,55 +160,55 @@ module Stripe def supported_currencies; end # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def close(params = {}, opts = {}); end # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.close(financial_account, params = {}, opts = {}); end # Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.create(params = {}, opts = {}); end # Returns a list of FinancialAccounts. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Retrieves Features information associated with the FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def retrieve_features(params = {}, opts = {}); end # Retrieves Features information associated with the FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def self.retrieve_features(financial_account, params = {}, opts = {}); end # Updates the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def self.update(financial_account, params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def update_features(params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateFeaturesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def self.update_features(financial_account, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/financial_account_features.rbi b/rbi/stripe/resources/treasury/financial_account_features.rbi index b155583a7..4de6608bd 100644 --- a/rbi/stripe/resources/treasury/financial_account_features.rbi +++ b/rbi/stripe/resources/treasury/financial_account_features.rbi @@ -7,8 +7,8 @@ module Stripe # Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`. # Stripe or the platform can control Features via the requested field. class FinancialAccountFeatures < APIResource - class CardIssuing < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardIssuing < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -41,8 +41,8 @@ module Stripe @field_remappings = {} end end - class DepositInsurance < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class DepositInsurance < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -75,9 +75,9 @@ module Stripe @field_remappings = {} end end - class FinancialAddresses < Stripe::StripeObject - class Aba < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class Aba < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -123,9 +123,9 @@ module Stripe @field_remappings = {} end end - class InboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -168,8 +168,8 @@ module Stripe @field_remappings = {} end end - class IntraStripeFlows < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IntraStripeFlows < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -202,9 +202,9 @@ module Stripe @field_remappings = {} end end - class OutboundPayments < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -237,8 +237,8 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -284,9 +284,9 @@ module Stripe @field_remappings = {} end end - class OutboundTransfers < Stripe::StripeObject - class Ach < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end @@ -319,8 +319,8 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Represents the reason why the status is `pending` or `restricted`. sig { returns(String) } def code; end diff --git a/rbi/stripe/resources/treasury/inbound_transfer.rbi b/rbi/stripe/resources/treasury/inbound_transfer.rbi index c0da9789f..f257eaa34 100644 --- a/rbi/stripe/resources/treasury/inbound_transfer.rbi +++ b/rbi/stripe/resources/treasury/inbound_transfer.rbi @@ -8,7 +8,7 @@ module Stripe # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) class InboundTransfer < APIResource - class FailureDetails < Stripe::StripeObject + class FailureDetails < ::Stripe::StripeObject # Reason for the failure. sig { returns(String) } def code; end @@ -19,7 +19,7 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return. sig { returns(T.nilable(String)) } def received_debit; end @@ -30,9 +30,9 @@ module Stripe @field_remappings = {} end end - class OriginPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class OriginPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -74,7 +74,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -91,7 +91,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -122,7 +122,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an InboundTransfer changed status to `canceled`. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -197,29 +197,29 @@ module Stripe sig { returns(StatusTransitions) } def status_transitions; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Cancels an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def cancel(params = {}, opts = {}); end # Cancels an InboundTransfer. sig { - params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def self.cancel(inbound_transfer, params = {}, opts = {}); end # Creates an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def self.create(params = {}, opts = {}); end # Returns a list of InboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/outbound_payment.rbi b/rbi/stripe/resources/treasury/outbound_payment.rbi index 941768570..df6ffd72f 100644 --- a/rbi/stripe/resources/treasury/outbound_payment.rbi +++ b/rbi/stripe/resources/treasury/outbound_payment.rbi @@ -10,9 +10,9 @@ module Stripe # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) class OutboundPayment < APIResource - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -54,7 +54,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. sig { returns(String) } def id; end @@ -68,7 +68,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -85,7 +85,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -123,7 +123,7 @@ module Stripe @field_remappings = {} end end - class EndUserDetails < Stripe::StripeObject + class EndUserDetails < ::Stripe::StripeObject # IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked. sig { returns(T.nilable(String)) } def ip_address; end @@ -137,12 +137,12 @@ module Stripe @field_remappings = {} end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. sig { returns(String) } def code; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end def self.inner_class_types @inner_class_types = {} @@ -151,7 +151,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -171,8 +171,8 @@ module Stripe @field_remappings = {} end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundPayment for payments sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -183,7 +183,7 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -280,29 +280,29 @@ module Stripe sig { returns(T.nilable(TrackingDetails)) } def tracking_details; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # Cancel an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def cancel(params = {}, opts = {}); end # Cancel an OutboundPayment. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def self.cancel(id, params = {}, opts = {}); end # Creates an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def self.create(params = {}, opts = {}); end # Returns a list of OutboundPayments sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/outbound_transfer.rbi b/rbi/stripe/resources/treasury/outbound_transfer.rbi index b6964a156..336c0ac6c 100644 --- a/rbi/stripe/resources/treasury/outbound_transfer.rbi +++ b/rbi/stripe/resources/treasury/outbound_transfer.rbi @@ -10,9 +10,9 @@ module Stripe # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) class OutboundTransfer < APIResource - class DestinationPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class DestinationPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -54,7 +54,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # Token of the FinancialAccount. sig { returns(String) } def id; end @@ -68,7 +68,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Account holder type: individual or company. sig { returns(T.nilable(String)) } def account_holder_type; end @@ -85,7 +85,7 @@ module Stripe sig { returns(T.nilable(String)) } def last4; end # ID of the mandate used to make this payment. - sig { returns(T.nilable(T.any(String, Stripe::Mandate))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Mandate))) } def mandate; end # The network rails used. See the [docs](https://stripe.com/docs/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. sig { returns(String) } @@ -123,8 +123,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -148,12 +148,12 @@ module Stripe @field_remappings = {} end end - class ReturnedDetails < Stripe::StripeObject + class ReturnedDetails < ::Stripe::StripeObject # Reason for the return. sig { returns(String) } def code; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end def self.inner_class_types @inner_class_types = {} @@ -162,7 +162,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled` sig { returns(T.nilable(Integer)) } def canceled_at; end @@ -182,8 +182,8 @@ module Stripe @field_remappings = {} end end - class TrackingDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class TrackingDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. sig { returns(String) } def trace_id; end @@ -194,7 +194,7 @@ module Stripe @field_remappings = {} end end - class UsDomesticWire < Stripe::StripeObject + class UsDomesticWire < ::Stripe::StripeObject # CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. sig { returns(T.nilable(String)) } def chips; end @@ -288,29 +288,29 @@ module Stripe sig { returns(T.nilable(TrackingDetails)) } def tracking_details; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def cancel(params = {}, opts = {}); end # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def self.cancel(outbound_transfer, params = {}, opts = {}); end # Creates an OutboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def self.create(params = {}, opts = {}); end # Returns a list of OutboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/received_credit.rbi b/rbi/stripe/resources/treasury/received_credit.rbi index 9640c3b2d..7a0129d57 100644 --- a/rbi/stripe/resources/treasury/received_credit.rbi +++ b/rbi/stripe/resources/treasury/received_credit.rbi @@ -6,9 +6,9 @@ module Stripe module Treasury # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. class ReceivedCredit < APIResource - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -50,7 +50,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. sig { returns(String) } def id; end @@ -64,7 +64,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. sig { returns(T.nilable(String)) } def bank_name; end @@ -110,24 +110,24 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject - class SourceFlowDetails < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject + class SourceFlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # A `Payout` object is created when you receive funds from Stripe, or when you # initiate a payout to either a bank account or debit card of a [connected @@ -137,7 +137,7 @@ module Stripe # industry. # # Related guide: [Receiving payouts](https://stripe.com/docs/payouts) - sig { returns(T.nilable(Stripe::Payout)) } + sig { returns(T.nilable(::Stripe::Payout)) } def payout; end # The type of the source flow that originated the ReceivedCredit. sig { returns(String) } @@ -174,8 +174,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -199,7 +199,7 @@ module Stripe @field_remappings = {} end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedCredit can be reversed. sig { returns(T.nilable(Integer)) } def deadline; end @@ -262,11 +262,11 @@ module Stripe sig { returns(String) } def status; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Returns a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/received_debit.rbi b/rbi/stripe/resources/treasury/received_debit.rbi index c17c24c20..d4dbb0291 100644 --- a/rbi/stripe/resources/treasury/received_debit.rbi +++ b/rbi/stripe/resources/treasury/received_debit.rbi @@ -6,9 +6,9 @@ module Stripe module Treasury # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. class ReceivedDebit < APIResource - class InitiatingPaymentMethodDetails < Stripe::StripeObject - class BillingDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class InitiatingPaymentMethodDetails < ::Stripe::StripeObject + class BillingDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -50,7 +50,7 @@ module Stripe @field_remappings = {} end end - class FinancialAccount < Stripe::StripeObject + class FinancialAccount < ::Stripe::StripeObject # The FinancialAccount ID. sig { returns(String) } def id; end @@ -64,7 +64,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # Bank name. sig { returns(T.nilable(String)) } def bank_name; end @@ -110,7 +110,7 @@ module Stripe @field_remappings = {} end end - class LinkedFlows < Stripe::StripeObject + class LinkedFlows < ::Stripe::StripeObject # The DebitReversal created as a result of this ReceivedDebit being reversed. sig { returns(T.nilable(String)) } def debit_reversal; end @@ -136,8 +136,8 @@ module Stripe @field_remappings = {} end end - class NetworkDetails < Stripe::StripeObject - class Ach < Stripe::StripeObject + class NetworkDetails < ::Stripe::StripeObject + class Ach < ::Stripe::StripeObject # ACH Addenda record sig { returns(T.nilable(String)) } def addenda; end @@ -161,7 +161,7 @@ module Stripe @field_remappings = {} end end - class ReversalDetails < Stripe::StripeObject + class ReversalDetails < ::Stripe::StripeObject # Time before which a ReceivedDebit can be reversed. sig { returns(T.nilable(Integer)) } def deadline; end @@ -224,11 +224,11 @@ module Stripe sig { returns(String) } def status; end # The Transaction associated with this object. - sig { returns(T.nilable(T.any(String, Stripe::Treasury::Transaction))) } + sig { returns(T.nilable(T.any(String, ::Stripe::Treasury::Transaction))) } def transaction; end # Returns a list of ReceivedDebits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/transaction.rbi b/rbi/stripe/resources/treasury/transaction.rbi index 82d1b697a..ec6b55151 100644 --- a/rbi/stripe/resources/treasury/transaction.rbi +++ b/rbi/stripe/resources/treasury/transaction.rbi @@ -6,7 +6,7 @@ module Stripe module Treasury # Transactions represent changes to a [FinancialAccount's](https://stripe.com/docs/api#financial_accounts) balance. class Transaction < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. sig { returns(Integer) } def cash; end @@ -23,44 +23,44 @@ module Stripe @field_remappings = {} end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - sig { returns(T.nilable(Stripe::Treasury::DebitReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::DebitReversal)) } def debit_reversal; end # Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::InboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::InboundTransfer)) } def inbound_transfer; end # When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization` # object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the # purchase to be completed successfully. # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) - sig { returns(T.nilable(Stripe::Issuing::Authorization)) } + sig { returns(T.nilable(::Stripe::Issuing::Authorization)) } def issuing_authorization; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedCredit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedCredit)) } def received_credit; end # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedDebit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedDebit)) } def received_debit; end # Type of the flow that created the Transaction. Set to the same value as `flow_type`. sig { returns(String) } @@ -72,7 +72,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the Transaction changed status to `posted`. sig { returns(T.nilable(Integer)) } def posted_at; end @@ -102,7 +102,7 @@ module Stripe sig { returns(String) } def description; end # A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints. - sig { returns(T.nilable(Stripe::ListObject)) } + sig { returns(T.nilable(::Stripe::ListObject)) } def entries; end # The FinancialAccount associated with this object. sig { returns(String) } @@ -133,7 +133,7 @@ module Stripe def status_transitions; end # Retrieves a list of Transaction objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/treasury/transaction_entry.rbi b/rbi/stripe/resources/treasury/transaction_entry.rbi index 77421e4d3..b4f09e9d6 100644 --- a/rbi/stripe/resources/treasury/transaction_entry.rbi +++ b/rbi/stripe/resources/treasury/transaction_entry.rbi @@ -6,7 +6,7 @@ module Stripe module Treasury # TransactionEntries represent individual units of money movements within a single [Transaction](https://stripe.com/docs/api#transactions). class TransactionEntry < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # The change made to funds the user can spend right now. sig { returns(Integer) } def cash; end @@ -23,44 +23,44 @@ module Stripe @field_remappings = {} end end - class FlowDetails < Stripe::StripeObject + class FlowDetails < ::Stripe::StripeObject # You can reverse some [ReceivedCredits](https://stripe.com/docs/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - sig { returns(T.nilable(Stripe::Treasury::CreditReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::CreditReversal)) } def credit_reversal; end # You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - sig { returns(T.nilable(Stripe::Treasury::DebitReversal)) } + sig { returns(T.nilable(::Stripe::Treasury::DebitReversal)) } def debit_reversal; end # Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. # # Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::InboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::InboundTransfer)) } def inbound_transfer; end # When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization` # object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the # purchase to be completed successfully. # # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) - sig { returns(T.nilable(Stripe::Issuing::Authorization)) } + sig { returns(T.nilable(::Stripe::Issuing::Authorization)) } def issuing_authorization; end # Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers). # # Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - sig { returns(T.nilable(Stripe::Treasury::OutboundPayment)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundPayment)) } def outbound_payment; end # Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. # # Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. # # Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - sig { returns(T.nilable(Stripe::Treasury::OutboundTransfer)) } + sig { returns(T.nilable(::Stripe::Treasury::OutboundTransfer)) } def outbound_transfer; end # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedCredit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedCredit)) } def received_credit; end # ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount. - sig { returns(T.nilable(Stripe::Treasury::ReceivedDebit)) } + sig { returns(T.nilable(::Stripe::Treasury::ReceivedDebit)) } def received_debit; end # Type of the flow that created the Transaction. Set to the same value as `flow_type`. sig { returns(String) } @@ -106,14 +106,14 @@ module Stripe sig { returns(String) } def object; end # The Transaction associated with this object. - sig { returns(T.any(String, Stripe::Treasury::Transaction)) } + sig { returns(T.any(String, ::Stripe::Treasury::Transaction)) } def transaction; end # The specific money movement that generated the TransactionEntry. sig { returns(String) } def type; end # Retrieves a list of TransactionEntry objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/v2/billing/bill_setting.rbi b/rbi/stripe/resources/v2/billing/bill_setting.rbi index 148dc295f..7455f8071 100644 --- a/rbi/stripe/resources/v2/billing/bill_setting.rbi +++ b/rbi/stripe/resources/v2/billing/bill_setting.rbi @@ -7,8 +7,8 @@ module Stripe module Billing # BillSetting is responsible for settings which dictate generating bills, which include settings for calculating totals on bills, tax on bill items, as well as how to generate and present invoices. class BillSetting < APIResource - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -29,8 +29,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end diff --git a/rbi/stripe/resources/v2/billing/bill_setting_version.rbi b/rbi/stripe/resources/v2/billing/bill_setting_version.rbi index 7e1e17f2d..134499682 100644 --- a/rbi/stripe/resources/v2/billing/bill_setting_version.rbi +++ b/rbi/stripe/resources/v2/billing/bill_setting_version.rbi @@ -6,8 +6,8 @@ module Stripe module V2 module Billing class BillSettingVersion < APIResource - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -28,8 +28,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end diff --git a/rbi/stripe/resources/v2/billing/cadence.rbi b/rbi/stripe/resources/v2/billing/cadence.rbi index b991aa159..3e8fd116b 100644 --- a/rbi/stripe/resources/v2/billing/cadence.rbi +++ b/rbi/stripe/resources/v2/billing/cadence.rbi @@ -6,9 +6,9 @@ module Stripe module V2 module Billing class Cadence < APIResource - class BillingCycle < Stripe::StripeObject - class Day < Stripe::StripeObject - class Time < Stripe::StripeObject + class BillingCycle < ::Stripe::StripeObject + class Day < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -39,8 +39,8 @@ module Stripe @field_remappings = {} end end - class Month < Stripe::StripeObject - class Time < Stripe::StripeObject + class Month < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -80,8 +80,8 @@ module Stripe @field_remappings = {} end end - class Week < Stripe::StripeObject - class Time < Stripe::StripeObject + class Week < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -116,8 +116,8 @@ module Stripe @field_remappings = {} end end - class Year < Stripe::StripeObject - class Time < Stripe::StripeObject + class Year < ::Stripe::StripeObject + class Time < ::Stripe::StripeObject # The hour at which the billing cycle ends. # This must be an integer between 0 and 23, inclusive. # 0 represents midnight, and 23 represents 11 PM. @@ -181,7 +181,7 @@ module Stripe @field_remappings = {} end end - class Payer < Stripe::StripeObject + class Payer < ::Stripe::StripeObject # The ID of the Billing Profile object which determines how a bill will be paid. sig { returns(String) } def billing_profile; end @@ -198,8 +198,8 @@ module Stripe @field_remappings = {} end end - class Settings < Stripe::StripeObject - class Bill < Stripe::StripeObject + class Settings < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -213,7 +213,7 @@ module Stripe @field_remappings = {} end end - class Collection < Stripe::StripeObject + class Collection < ::Stripe::StripeObject # The ID of the referenced settings object. sig { returns(String) } def id; end @@ -240,10 +240,10 @@ module Stripe @field_remappings = {} end end - class SettingsData < Stripe::StripeObject - class Bill < Stripe::StripeObject - class Calculation < Stripe::StripeObject - class Tax < Stripe::StripeObject + class SettingsData < ::Stripe::StripeObject + class Bill < ::Stripe::StripeObject + class Calculation < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Determines if tax will be calculated automatically based on a PTC or manually based on rules defined by the merchant. Defaults to "manual". sig { returns(String) } def type; end @@ -264,8 +264,8 @@ module Stripe @field_remappings = {} end end - class Invoice < Stripe::StripeObject - class TimeUntilDue < Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class TimeUntilDue < ::Stripe::StripeObject # The interval unit for the time until due. sig { returns(String) } def interval; end @@ -306,9 +306,9 @@ module Stripe @field_remappings = {} end end - class Collection < Stripe::StripeObject - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class Collection < ::Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -332,9 +332,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -358,7 +358,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -369,8 +369,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -406,9 +406,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -445,9 +445,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end diff --git a/rbi/stripe/resources/v2/billing/collection_setting.rbi b/rbi/stripe/resources/v2/billing/collection_setting.rbi index d4586acb1..71fd61add 100644 --- a/rbi/stripe/resources/v2/billing/collection_setting.rbi +++ b/rbi/stripe/resources/v2/billing/collection_setting.rbi @@ -7,8 +7,8 @@ module Stripe module Billing # Settings that configure and manage the behavior of collecting payments. class CollectionSetting < APIResource - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -32,9 +32,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -58,7 +58,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -69,8 +69,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -106,9 +106,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -145,9 +145,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end diff --git a/rbi/stripe/resources/v2/billing/collection_setting_version.rbi b/rbi/stripe/resources/v2/billing/collection_setting_version.rbi index 60f924ce4..19dd7fead 100644 --- a/rbi/stripe/resources/v2/billing/collection_setting_version.rbi +++ b/rbi/stripe/resources/v2/billing/collection_setting_version.rbi @@ -6,8 +6,8 @@ module Stripe module V2 module Billing class CollectionSettingVersion < APIResource - class EmailDelivery < Stripe::StripeObject - class PaymentDue < Stripe::StripeObject + class EmailDelivery < ::Stripe::StripeObject + class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end @@ -31,9 +31,9 @@ module Stripe @field_remappings = {} end end - class PaymentMethodOptions < Stripe::StripeObject - class AcssDebit < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class PaymentMethodOptions < ::Stripe::StripeObject + class AcssDebit < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Transaction type of the mandate. sig { returns(T.nilable(String)) } def transaction_type; end @@ -57,7 +57,7 @@ module Stripe @field_remappings = {} end end - class Bancontact < Stripe::StripeObject + class Bancontact < ::Stripe::StripeObject # Preferred language of the Bancontact authorization page that the customer is redirected to. sig { returns(T.nilable(String)) } def preferred_language; end @@ -68,8 +68,8 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject - class MandateOptions < Stripe::StripeObject + class Card < ::Stripe::StripeObject + class MandateOptions < ::Stripe::StripeObject # Amount to be charged for future payments. sig { returns(T.nilable(Integer)) } def amount; end @@ -105,9 +105,9 @@ module Stripe @field_remappings = {} end end - class CustomerBalance < Stripe::StripeObject - class BankTransfer < Stripe::StripeObject - class EuBankTransfer < Stripe::StripeObject + class CustomerBalance < ::Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class EuBankTransfer < ::Stripe::StripeObject # The desired country code of the bank account information. sig { returns(String) } def country; end @@ -144,9 +144,9 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject - class FinancialConnections < Stripe::StripeObject - class Filters < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject + class FinancialConnections < ::Stripe::StripeObject + class Filters < ::Stripe::StripeObject # The account subcategories to use to filter for selectable accounts. sig { returns(T::Array[String]) } def account_subcategories; end diff --git a/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi b/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi index dfb6785c8..adf288ea1 100644 --- a/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +++ b/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi @@ -6,7 +6,7 @@ module Stripe module V2 module Billing class MeterEventAdjustment < APIResource - class Cancel < Stripe::StripeObject + class Cancel < ::Stripe::StripeObject # Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. sig { returns(String) } def identifier; end diff --git a/rbi/stripe/resources/v2/core/account.rbi b/rbi/stripe/resources/v2/core/account.rbi index 777c66762..e871f898f 100644 --- a/rbi/stripe/resources/v2/core/account.rbi +++ b/rbi/stripe/resources/v2/core/account.rbi @@ -7,10 +7,10 @@ module Stripe module Core # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products. class Account < APIResource - class Configuration < Stripe::StripeObject - class Customer < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class Location < Stripe::StripeObject + class Configuration < ::Stripe::StripeObject + class Customer < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class Location < ::Stripe::StripeObject # The identified tax country of the customer. sig { returns(T.nilable(String)) } def country; end @@ -43,9 +43,9 @@ module Stripe @field_remappings = {} end end - class Billing < Stripe::StripeObject - class Invoice < Stripe::StripeObject - class CustomField < Stripe::StripeObject + class Billing < ::Stripe::StripeObject + class Invoice < ::Stripe::StripeObject + class CustomField < ::Stripe::StripeObject # The name of the custom field. This may be up to 40 characters. sig { returns(String) } def name; end @@ -59,7 +59,7 @@ module Stripe @field_remappings = {} end end - class Rendering < Stripe::StripeObject + class Rendering < ::Stripe::StripeObject # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. sig { returns(T.nilable(String)) } def amount_tax_display; end @@ -108,9 +108,9 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject - class AutomaticIndirectTax < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AutomaticIndirectTax < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -150,8 +150,8 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject - class Address < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -223,8 +223,8 @@ module Stripe @field_remappings = {} end end - class Merchant < Stripe::StripeObject - class BacsDebitPayments < Stripe::StripeObject + class Merchant < ::Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject # Display name for Bacs debit payments. sig { returns(T.nilable(String)) } def display_name; end @@ -238,7 +238,7 @@ module Stripe @field_remappings = {} end end - class Branding < Stripe::StripeObject + class Branding < ::Stripe::StripeObject # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. sig { returns(T.nilable(String)) } def icon; end @@ -258,9 +258,9 @@ module Stripe @field_remappings = {} end end - class Capabilities < Stripe::StripeObject - class AchDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class AchDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -290,8 +290,8 @@ module Stripe @field_remappings = {} end end - class AcssDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AcssDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -321,8 +321,8 @@ module Stripe @field_remappings = {} end end - class AffirmPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AffirmPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -352,8 +352,8 @@ module Stripe @field_remappings = {} end end - class AfterpayClearpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AfterpayClearpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -383,8 +383,8 @@ module Stripe @field_remappings = {} end end - class AlmaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AlmaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -414,8 +414,8 @@ module Stripe @field_remappings = {} end end - class AmazonPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AmazonPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -445,8 +445,8 @@ module Stripe @field_remappings = {} end end - class AuBecsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class AuBecsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -476,8 +476,8 @@ module Stripe @field_remappings = {} end end - class BacsDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BacsDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -507,8 +507,8 @@ module Stripe @field_remappings = {} end end - class BancontactPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BancontactPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -538,8 +538,8 @@ module Stripe @field_remappings = {} end end - class BlikPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BlikPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -569,8 +569,8 @@ module Stripe @field_remappings = {} end end - class BoletoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class BoletoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -600,8 +600,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -631,8 +631,8 @@ module Stripe @field_remappings = {} end end - class CartesBancairesPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CartesBancairesPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -662,8 +662,8 @@ module Stripe @field_remappings = {} end end - class CashappPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class CashappPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -693,8 +693,8 @@ module Stripe @field_remappings = {} end end - class EpsPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class EpsPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -724,8 +724,8 @@ module Stripe @field_remappings = {} end end - class FpxPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FpxPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -755,8 +755,8 @@ module Stripe @field_remappings = {} end end - class GbBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GbBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -786,8 +786,8 @@ module Stripe @field_remappings = {} end end - class GrabpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class GrabpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -817,8 +817,8 @@ module Stripe @field_remappings = {} end end - class IdealPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class IdealPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -848,8 +848,8 @@ module Stripe @field_remappings = {} end end - class JcbPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JcbPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -879,8 +879,8 @@ module Stripe @field_remappings = {} end end - class JpBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class JpBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -910,8 +910,8 @@ module Stripe @field_remappings = {} end end - class KakaoPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KakaoPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -941,8 +941,8 @@ module Stripe @field_remappings = {} end end - class KlarnaPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KlarnaPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -972,8 +972,8 @@ module Stripe @field_remappings = {} end end - class KonbiniPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KonbiniPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1003,8 +1003,8 @@ module Stripe @field_remappings = {} end end - class KrCardPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class KrCardPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1034,8 +1034,8 @@ module Stripe @field_remappings = {} end end - class LinkPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class LinkPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1065,8 +1065,8 @@ module Stripe @field_remappings = {} end end - class MobilepayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MobilepayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1096,8 +1096,8 @@ module Stripe @field_remappings = {} end end - class MultibancoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MultibancoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1127,8 +1127,8 @@ module Stripe @field_remappings = {} end end - class MxBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class MxBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1158,8 +1158,8 @@ module Stripe @field_remappings = {} end end - class NaverPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class NaverPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1189,8 +1189,8 @@ module Stripe @field_remappings = {} end end - class OxxoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OxxoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1220,8 +1220,8 @@ module Stripe @field_remappings = {} end end - class P24Payments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class P24Payments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1251,8 +1251,8 @@ module Stripe @field_remappings = {} end end - class PayByBankPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PayByBankPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1282,8 +1282,8 @@ module Stripe @field_remappings = {} end end - class PaycoPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaycoPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1313,8 +1313,8 @@ module Stripe @field_remappings = {} end end - class PaynowPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PaynowPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1344,8 +1344,8 @@ module Stripe @field_remappings = {} end end - class PromptpayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class PromptpayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1375,8 +1375,8 @@ module Stripe @field_remappings = {} end end - class RevolutPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class RevolutPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1406,8 +1406,8 @@ module Stripe @field_remappings = {} end end - class SamsungPayPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SamsungPayPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1437,8 +1437,8 @@ module Stripe @field_remappings = {} end end - class SepaBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1468,8 +1468,8 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1499,9 +1499,9 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1541,8 +1541,8 @@ module Stripe @field_remappings = {} end end - class SwishPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class SwishPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1572,8 +1572,8 @@ module Stripe @field_remappings = {} end end - class TwintPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class TwintPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1603,8 +1603,8 @@ module Stripe @field_remappings = {} end end - class UsBankTransferPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class UsBankTransferPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1634,8 +1634,8 @@ module Stripe @field_remappings = {} end end - class ZipPayments < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class ZipPayments < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -1853,8 +1853,8 @@ module Stripe @field_remappings = {} end end - class CardPayments < Stripe::StripeObject - class DeclineOn < Stripe::StripeObject + class CardPayments < ::Stripe::StripeObject + class DeclineOn < ::Stripe::StripeObject # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. sig { returns(T.nilable(T::Boolean)) } def avs_failure; end @@ -1878,7 +1878,7 @@ module Stripe @field_remappings = {} end end - class SepaDebitPayments < Stripe::StripeObject + class SepaDebitPayments < ::Stripe::StripeObject # Creditor ID for SEPA debit payments. sig { returns(T.nilable(String)) } def creditor_id; end @@ -1889,7 +1889,7 @@ module Stripe @field_remappings = {} end end - class StatementDescriptor < Stripe::StripeObject + class StatementDescriptor < ::Stripe::StripeObject # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. sig { returns(T.nilable(String)) } def descriptor; end @@ -1903,8 +1903,8 @@ module Stripe @field_remappings = {} end end - class Support < Stripe::StripeObject - class Address < Stripe::StripeObject + class Support < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -1994,11 +1994,11 @@ module Stripe @field_remappings = {} end end - class Recipient < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class Local < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Recipient < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class Local < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2028,8 +2028,8 @@ module Stripe @field_remappings = {} end end - class Wire < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Wire < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2072,8 +2072,8 @@ module Stripe @field_remappings = {} end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2103,9 +2103,9 @@ module Stripe @field_remappings = {} end end - class StripeBalance < Stripe::StripeObject - class Payouts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeBalance < ::Stripe::StripeObject + class Payouts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2135,8 +2135,8 @@ module Stripe @field_remappings = {} end end - class StripeTransfers < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class StripeTransfers < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2199,7 +2199,7 @@ module Stripe @field_remappings = {} end end - class DefaultOutboundDestination < Stripe::StripeObject + class DefaultOutboundDestination < ::Stripe::StripeObject # The payout method ID of the default outbound destination. sig { returns(String) } def id; end @@ -2232,11 +2232,11 @@ module Stripe @field_remappings = {} end end - class Storer < Stripe::StripeObject - class Capabilities < Stripe::StripeObject - class FinancialAddresses < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Storer < ::Stripe::StripeObject + class Capabilities < ::Stripe::StripeObject + class FinancialAddresses < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2276,9 +2276,9 @@ module Stripe @field_remappings = {} end end - class HoldsCurrencies < Stripe::StripeObject - class Gbp < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class HoldsCurrencies < ::Stripe::StripeObject + class Gbp < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2318,9 +2318,9 @@ module Stripe @field_remappings = {} end end - class InboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class InboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2360,9 +2360,9 @@ module Stripe @field_remappings = {} end end - class OutboundPayments < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundPayments < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2392,8 +2392,8 @@ module Stripe @field_remappings = {} end end - class Cards < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class Cards < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2423,8 +2423,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2474,9 +2474,9 @@ module Stripe @field_remappings = {} end end - class OutboundTransfers < Stripe::StripeObject - class BankAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class OutboundTransfers < ::Stripe::StripeObject + class BankAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2506,8 +2506,8 @@ module Stripe @field_remappings = {} end end - class FinancialAccounts < Stripe::StripeObject - class StatusDetail < Stripe::StripeObject + class FinancialAccounts < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. sig { returns(String) } def code; end @@ -2618,8 +2618,8 @@ module Stripe @field_remappings = {} end end - class Defaults < Stripe::StripeObject - class Profile < Stripe::StripeObject + class Defaults < ::Stripe::StripeObject + class Profile < ::Stripe::StripeObject # The business's publicly-available website. sig { returns(T.nilable(String)) } def business_url; end @@ -2636,7 +2636,7 @@ module Stripe @field_remappings = {} end end - class Responsibilities < Stripe::StripeObject + class Responsibilities < ::Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account. sig { returns(String) } def fees_collector; end @@ -2669,9 +2669,9 @@ module Stripe @field_remappings = {} end end - class Identity < Stripe::StripeObject - class Attestations < Stripe::StripeObject - class DirectorshipDeclaration < Stripe::StripeObject + class Identity < ::Stripe::StripeObject + class Attestations < ::Stripe::StripeObject + class DirectorshipDeclaration < ::Stripe::StripeObject # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -2688,7 +2688,7 @@ module Stripe @field_remappings = {} end end - class OwnershipDeclaration < Stripe::StripeObject + class OwnershipDeclaration < ::Stripe::StripeObject # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -2705,7 +2705,7 @@ module Stripe @field_remappings = {} end end - class PersonsProvided < Stripe::StripeObject + class PersonsProvided < ::Stripe::StripeObject # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). sig { returns(T.nilable(T::Boolean)) } def directors; end @@ -2725,8 +2725,8 @@ module Stripe @field_remappings = {} end end - class TermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class TermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -2743,7 +2743,7 @@ module Stripe @field_remappings = {} end end - class Storer < Stripe::StripeObject + class Storer < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -2797,8 +2797,8 @@ module Stripe @field_remappings = {} end end - class BusinessDetails < Stripe::StripeObject - class Address < Stripe::StripeObject + class BusinessDetails < ::Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -2827,9 +2827,9 @@ module Stripe @field_remappings = {} end end - class AnnualRevenue < Stripe::StripeObject + class AnnualRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. sig { returns(T.nilable(String)) } @@ -2841,8 +2841,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class BankAccountOwnershipVerification < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class BankAccountOwnershipVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2856,7 +2856,7 @@ module Stripe @field_remappings = {} end end - class CompanyLicense < Stripe::StripeObject + class CompanyLicense < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2870,7 +2870,7 @@ module Stripe @field_remappings = {} end end - class CompanyMemorandumOfAssociation < Stripe::StripeObject + class CompanyMemorandumOfAssociation < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2884,7 +2884,7 @@ module Stripe @field_remappings = {} end end - class CompanyMinisterialDecree < Stripe::StripeObject + class CompanyMinisterialDecree < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2898,7 +2898,7 @@ module Stripe @field_remappings = {} end end - class CompanyRegistrationVerification < Stripe::StripeObject + class CompanyRegistrationVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2912,7 +2912,7 @@ module Stripe @field_remappings = {} end end - class CompanyTaxIdVerification < Stripe::StripeObject + class CompanyTaxIdVerification < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2926,8 +2926,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -2954,7 +2954,7 @@ module Stripe @field_remappings = {} end end - class ProofOfAddress < Stripe::StripeObject + class ProofOfAddress < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2968,7 +2968,7 @@ module Stripe @field_remappings = {} end end - class ProofOfRegistration < Stripe::StripeObject + class ProofOfRegistration < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -2982,7 +2982,7 @@ module Stripe @field_remappings = {} end end - class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject + class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -3044,7 +3044,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The registrar of the ID number (Only valid for DE ID number types). sig { returns(T.nilable(String)) } def registrar; end @@ -3058,9 +3058,9 @@ module Stripe @field_remappings = {} end end - class MonthlyEstimatedRevenue < Stripe::StripeObject + class MonthlyEstimatedRevenue < ::Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount; end def self.inner_class_types @inner_class_types = {} @@ -3069,8 +3069,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3099,7 +3099,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3141,8 +3141,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -3153,7 +3153,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # Registered name of the business. sig { returns(T.nilable(String)) } def registered_name; end @@ -3225,8 +3225,8 @@ module Stripe @field_remappings = {} end end - class Individual < Stripe::StripeObject - class AdditionalAddress < Stripe::StripeObject + class Individual < ::Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3258,7 +3258,7 @@ module Stripe @field_remappings = {} end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -3278,8 +3278,8 @@ module Stripe @field_remappings = {} end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -3306,7 +3306,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3335,7 +3335,7 @@ module Stripe @field_remappings = {} end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -3352,8 +3352,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -3367,7 +3367,7 @@ module Stripe @field_remappings = {} end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -3381,8 +3381,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -3409,8 +3409,8 @@ module Stripe @field_remappings = {} end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -3437,7 +3437,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -3479,7 +3479,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. sig { returns(String) } def type; end @@ -3490,7 +3490,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -3522,8 +3522,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3552,7 +3552,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -3594,8 +3594,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -3609,7 +3609,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -3749,9 +3749,9 @@ module Stripe @field_remappings = {} end end - class Requirements < Stripe::StripeObject - class Entry < Stripe::StripeObject - class Error < Stripe::StripeObject + class Requirements < ::Stripe::StripeObject + class Entry < ::Stripe::StripeObject + class Error < ::Stripe::StripeObject # Machine-readable code describing the error. sig { returns(String) } def code; end @@ -3765,9 +3765,9 @@ module Stripe @field_remappings = {} end end - class Impact < Stripe::StripeObject - class RestrictsCapability < Stripe::StripeObject - class Deadline < Stripe::StripeObject + class Impact < ::Stripe::StripeObject + class RestrictsCapability < ::Stripe::StripeObject + class Deadline < ::Stripe::StripeObject # The current status of the requirement's impact. sig { returns(String) } def status; end @@ -3804,7 +3804,7 @@ module Stripe @field_remappings = {} end end - class MinimumDeadline < Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current status of the requirement's impact. sig { returns(String) } def status; end @@ -3815,7 +3815,7 @@ module Stripe @field_remappings = {} end end - class Reference < Stripe::StripeObject + class Reference < ::Stripe::StripeObject # If `inquiry` is the type, the inquiry token. sig { returns(T.nilable(String)) } def inquiry; end @@ -3832,7 +3832,7 @@ module Stripe @field_remappings = {} end end - class RequestedReason < Stripe::StripeObject + class RequestedReason < ::Stripe::StripeObject # Machine-readable description of Stripe's reason for collecting the requirement. sig { returns(String) } def code; end @@ -3877,8 +3877,8 @@ module Stripe @field_remappings = {} end end - class Summary < Stripe::StripeObject - class MinimumDeadline < Stripe::StripeObject + class Summary < ::Stripe::StripeObject + class MinimumDeadline < ::Stripe::StripeObject # The current strictest status of all requirements on the Account. sig { returns(String) } def status; end diff --git a/rbi/stripe/resources/v2/core/account_link.rbi b/rbi/stripe/resources/v2/core/account_link.rbi index 3870b4ecc..a69805ea8 100644 --- a/rbi/stripe/resources/v2/core/account_link.rbi +++ b/rbi/stripe/resources/v2/core/account_link.rbi @@ -7,9 +7,9 @@ module Stripe module Core # 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. class AccountLink < APIResource - class UseCase < Stripe::StripeObject - class AccountOnboarding < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class UseCase < ::Stripe::StripeObject + class AccountOnboarding < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end @@ -42,8 +42,8 @@ module Stripe @field_remappings = {} end end - class AccountUpdate < Stripe::StripeObject - class CollectionOptions < Stripe::StripeObject + class AccountUpdate < ::Stripe::StripeObject + class CollectionOptions < ::Stripe::StripeObject # Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don’t specify collection_options, the default value is currently_due. sig { returns(T.nilable(String)) } def fields; end diff --git a/rbi/stripe/resources/v2/core/account_person.rbi b/rbi/stripe/resources/v2/core/account_person.rbi index ac613a9c3..c838bb8cf 100644 --- a/rbi/stripe/resources/v2/core/account_person.rbi +++ b/rbi/stripe/resources/v2/core/account_person.rbi @@ -7,7 +7,7 @@ module Stripe module Core # Person retrieval response schema. class AccountPerson < APIResource - class AdditionalAddress < Stripe::StripeObject + class AdditionalAddress < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -39,7 +39,7 @@ module Stripe @field_remappings = {} end end - class AdditionalName < Stripe::StripeObject + class AdditionalName < ::Stripe::StripeObject # The individual's full name. sig { returns(T.nilable(String)) } def full_name; end @@ -59,8 +59,8 @@ module Stripe @field_remappings = {} end end - class AdditionalTermsOfService < Stripe::StripeObject - class Account < Stripe::StripeObject + class AdditionalTermsOfService < ::Stripe::StripeObject + class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } def date; end @@ -87,7 +87,7 @@ module Stripe @field_remappings = {} end end - class Address < Stripe::StripeObject + class Address < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -116,7 +116,7 @@ module Stripe @field_remappings = {} end end - class DateOfBirth < Stripe::StripeObject + class DateOfBirth < ::Stripe::StripeObject # The day of birth, between 1 and 31. sig { returns(Integer) } def day; end @@ -133,8 +133,8 @@ module Stripe @field_remappings = {} end end - class Documents < Stripe::StripeObject - class CompanyAuthorization < Stripe::StripeObject + class Documents < ::Stripe::StripeObject + class CompanyAuthorization < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -148,7 +148,7 @@ module Stripe @field_remappings = {} end end - class Passport < Stripe::StripeObject + class Passport < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -162,8 +162,8 @@ module Stripe @field_remappings = {} end end - class PrimaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class PrimaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -190,8 +190,8 @@ module Stripe @field_remappings = {} end end - class SecondaryVerification < Stripe::StripeObject - class FrontBack < Stripe::StripeObject + class SecondaryVerification < ::Stripe::StripeObject + class FrontBack < ::Stripe::StripeObject # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. sig { returns(T.nilable(String)) } def back; end @@ -218,7 +218,7 @@ module Stripe @field_remappings = {} end end - class Visa < Stripe::StripeObject + class Visa < ::Stripe::StripeObject # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. sig { returns(T::Array[String]) } def files; end @@ -260,7 +260,7 @@ module Stripe @field_remappings = {} end end - class IdNumber < Stripe::StripeObject + class IdNumber < ::Stripe::StripeObject # The ID number type of an individual. sig { returns(String) } def type; end @@ -271,7 +271,7 @@ module Stripe @field_remappings = {} end end - class Relationship < Stripe::StripeObject + class Relationship < ::Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. sig { returns(T.nilable(T::Boolean)) } def authorizer; end @@ -303,8 +303,8 @@ module Stripe @field_remappings = {} end end - class ScriptAddresses < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptAddresses < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -333,7 +333,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # City, district, suburb, town, or village. sig { returns(T.nilable(String)) } def city; end @@ -375,8 +375,8 @@ module Stripe @field_remappings = {} end end - class ScriptNames < Stripe::StripeObject - class Kana < Stripe::StripeObject + class ScriptNames < ::Stripe::StripeObject + class Kana < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end @@ -390,7 +390,7 @@ module Stripe @field_remappings = {} end end - class Kanji < Stripe::StripeObject + class Kanji < ::Stripe::StripeObject # The person's first or given name. sig { returns(T.nilable(String)) } def given_name; end diff --git a/rbi/stripe/resources/v2/core/event.rbi b/rbi/stripe/resources/v2/core/event.rbi index 53dbfaa51..327465bcb 100644 --- a/rbi/stripe/resources/v2/core/event.rbi +++ b/rbi/stripe/resources/v2/core/event.rbi @@ -7,8 +7,8 @@ module Stripe module Core # Events are generated to keep you informed of activity in your business account. APIs in the /v2 namespace generate [thin events](https://docs.stripe.com/event-destinations#benefits-of-thin-events) which have small, unversioned payloads that include a reference to the ID of the object that has changed. The Events v2 API returns these new thin events. [Retrieve the event object](https://docs.stripe.com/event-destinations#fetch-data) for additional data about the event. Use the related object ID in the event payload to [fetch the API resource](https://docs.stripe.com/event-destinations#retrieve-the-object-associated-with-thin-events) of the object associated with the event. Comparatively, events generated by most API v1 include a versioned snapshot of an API object in their payload. class Event < APIResource - class Reason < Stripe::StripeObject - class Request < Stripe::StripeObject + class Reason < ::Stripe::StripeObject + class Request < ::Stripe::StripeObject # ID of the API request that caused the event. sig { returns(String) } def id; end diff --git a/rbi/stripe/resources/v2/core/event_destination.rbi b/rbi/stripe/resources/v2/core/event_destination.rbi index 6d4b0ff81..2d6d5a594 100644 --- a/rbi/stripe/resources/v2/core/event_destination.rbi +++ b/rbi/stripe/resources/v2/core/event_destination.rbi @@ -7,8 +7,8 @@ module Stripe module Core # Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events). class EventDestination < APIResource - class StatusDetails < Stripe::StripeObject - class Disabled < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Disabled < ::Stripe::StripeObject # Reason event destination has been disabled. sig { returns(String) } def reason; end @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class AmazonEventbridge < Stripe::StripeObject + class AmazonEventbridge < ::Stripe::StripeObject # The AWS account ID. sig { returns(String) } def aws_account_id; end @@ -46,7 +46,7 @@ module Stripe @field_remappings = {} end end - class WebhookEndpoint < Stripe::StripeObject + class WebhookEndpoint < ::Stripe::StripeObject # The signing secret of the webhook endpoint, only includable on creation. sig { returns(T.nilable(String)) } def signing_secret; end diff --git a/rbi/stripe/resources/v2/core/vault/gb_bank_account.rbi b/rbi/stripe/resources/v2/core/vault/gb_bank_account.rbi index 86a7496fa..d8438f08a 100644 --- a/rbi/stripe/resources/v2/core/vault/gb_bank_account.rbi +++ b/rbi/stripe/resources/v2/core/vault/gb_bank_account.rbi @@ -8,9 +8,9 @@ module Stripe module Vault # Use the GBBankAccounts API to create and manage GB bank account objects class GbBankAccount < APIResource - class ConfirmationOfPayee < Stripe::StripeObject - class Result < Stripe::StripeObject - class Matched < Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject + class Result < ::Stripe::StripeObject + class Matched < ::Stripe::StripeObject # The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. # Closed enum. sig { returns(T.nilable(String)) } @@ -25,7 +25,7 @@ module Stripe @field_remappings = {} end end - class Provided < Stripe::StripeObject + class Provided < ::Stripe::StripeObject # The provided or Legal Entity business type to match against the CoP service. Closed enum. sig { returns(String) } def business_type; end diff --git a/rbi/stripe/resources/v2/financial_address_generated_microdeposits.rbi b/rbi/stripe/resources/v2/financial_address_generated_microdeposits.rbi index 11e1416e9..aa7d6e498 100644 --- a/rbi/stripe/resources/v2/financial_address_generated_microdeposits.rbi +++ b/rbi/stripe/resources/v2/financial_address_generated_microdeposits.rbi @@ -6,7 +6,7 @@ module Stripe module V2 class FinancialAddressGeneratedMicrodeposits < APIResource # The amounts of the microdeposits that were generated. - sig { returns(T::Array[Stripe::V2::Amount]) } + sig { returns(T::Array[::Stripe::V2::Amount]) } def amounts; end # String representing the object's type. Objects of the same type share the same value of the object field. sig { returns(String) } diff --git a/rbi/stripe/resources/v2/money_management/adjustment.rbi b/rbi/stripe/resources/v2/money_management/adjustment.rbi index 151f18cf9..bcc2847a2 100644 --- a/rbi/stripe/resources/v2/money_management/adjustment.rbi +++ b/rbi/stripe/resources/v2/money_management/adjustment.rbi @@ -7,7 +7,7 @@ module Stripe module MoneyManagement # Adjustments represent Stripe-initiated credits or debits to a user balance. They might be used to amend balances due to technical or operational error. class Adjustment < APIResource - class AdjustedFlow < Stripe::StripeObject + class AdjustedFlow < ::Stripe::StripeObject # Closed Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end @@ -40,7 +40,7 @@ module Stripe sig { returns(T.nilable(AdjustedFlow)) } def adjusted_flow; end # The amount of the Adjustment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } diff --git a/rbi/stripe/resources/v2/money_management/financial_account.rbi b/rbi/stripe/resources/v2/money_management/financial_account.rbi index dd8220205..199bc21fc 100644 --- a/rbi/stripe/resources/v2/money_management/financial_account.rbi +++ b/rbi/stripe/resources/v2/money_management/financial_account.rbi @@ -7,15 +7,15 @@ module Stripe module MoneyManagement # A FinancialAccount represents a balance and can be used as the source or destination for the money management (`/v2/money_management`) APIs. class FinancialAccount < APIResource - class Balance < Stripe::StripeObject + class Balance < ::Stripe::StripeObject # Balance that can be used for money movement. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def available; end # Balance of inbound funds that will later transition to the `available` balance. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def inbound_pending; end # Balance of funds that are being used for a pending outbound money movement. - sig { returns(T::Hash[String, Stripe::V2::Amount]) } + sig { returns(T::Hash[String, ::Stripe::V2::Amount]) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -24,7 +24,7 @@ module Stripe @field_remappings = {} end end - class Other < Stripe::StripeObject + class Other < ::Stripe::StripeObject # The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`. sig { returns(String) } def type; end @@ -35,9 +35,9 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Closed < Stripe::StripeObject - class ForwardingSettings < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Closed < ::Stripe::StripeObject + class ForwardingSettings < ::Stripe::StripeObject # The address to send forwarded payments to. sig { returns(T.nilable(String)) } def payment_method; end @@ -74,7 +74,7 @@ module Stripe @field_remappings = {} end end - class Storage < Stripe::StripeObject + class Storage < ::Stripe::StripeObject # The currencies that this FinancialAccount can hold. sig { returns(T::Array[String]) } def holds_currencies; end diff --git a/rbi/stripe/resources/v2/money_management/financial_address.rbi b/rbi/stripe/resources/v2/money_management/financial_address.rbi index 37421307a..9a0888be2 100644 --- a/rbi/stripe/resources/v2/money_management/financial_address.rbi +++ b/rbi/stripe/resources/v2/money_management/financial_address.rbi @@ -7,8 +7,8 @@ module Stripe module MoneyManagement # A FinancialAddress contains information needed to transfer money to a Financial Account. A Financial Account can have more than one Financial Address. class FinancialAddress < APIResource - class Credentials < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class Credentials < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transference. sig { returns(String) } def account_holder_name; end @@ -29,7 +29,7 @@ module Stripe @field_remappings = {} end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name to be used during bank transfers. sig { returns(String) } def account_holder_name; end @@ -56,7 +56,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The account number of the US Bank Account. sig { returns(T.nilable(String)) } def account_number; end diff --git a/rbi/stripe/resources/v2/money_management/inbound_transfer.rbi b/rbi/stripe/resources/v2/money_management/inbound_transfer.rbi index bb42a0513..576cc9546 100644 --- a/rbi/stripe/resources/v2/money_management/inbound_transfer.rbi +++ b/rbi/stripe/resources/v2/money_management/inbound_transfer.rbi @@ -8,8 +8,8 @@ module Stripe # An InboundTransfer object, representing a money movement from a # user owned PaymentMethod to a FinancialAccount belonging to the same user. class InboundTransfer < APIResource - class From < Stripe::StripeObject - class PaymentMethod < Stripe::StripeObject + class From < ::Stripe::StripeObject + class PaymentMethod < ::Stripe::StripeObject # The type of object this destination represents. For a us bank account, we expect us_bank_account. sig { returns(String) } def type; end @@ -24,7 +24,7 @@ module Stripe end end # The amount in specified currency that was debited from the Payment Method. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The Payment Method object used to create the InboundTransfer. sig { returns(PaymentMethod) } @@ -36,9 +36,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The amount by which the FinancialAccount balance is credited. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The FinancialAccount that funds will land in. sig { returns(String) } @@ -50,8 +50,8 @@ module Stripe @field_remappings = {} end end - class TransferHistory < Stripe::StripeObject - class BankDebitFailed < Stripe::StripeObject + class TransferHistory < ::Stripe::StripeObject + class BankDebitFailed < ::Stripe::StripeObject # Open Enum. The return reason for the failed InboundTransfer. sig { returns(String) } def failure_reason; end @@ -62,7 +62,7 @@ module Stripe @field_remappings = {} end end - class BankDebitReturned < Stripe::StripeObject + class BankDebitReturned < ::Stripe::StripeObject # Open Enum. The return reason for the returned InboundTransfer. sig { returns(String) } def return_reason; end @@ -114,7 +114,7 @@ module Stripe end end # The amount in specified currency that will land in the FinancialAccount balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Creation time of the InboundTransfer. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(String) } diff --git a/rbi/stripe/resources/v2/money_management/outbound_payment.rbi b/rbi/stripe/resources/v2/money_management/outbound_payment.rbi index b1f584bbf..2790b0fe9 100644 --- a/rbi/stripe/resources/v2/money_management/outbound_payment.rbi +++ b/rbi/stripe/resources/v2/money_management/outbound_payment.rbi @@ -7,7 +7,7 @@ module Stripe module MoneyManagement # OutboundPayment represents a single money movement from one FinancialAccount you own to a payout method someone else owns. class OutboundPayment < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -18,9 +18,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -32,7 +32,7 @@ module Stripe @field_remappings = {} end end - class RecipientNotification < Stripe::StripeObject + class RecipientNotification < ::Stripe::StripeObject # Closed Enum. Configuration option to enable or disable notifications to recipients. # Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. sig { returns(String) } @@ -44,8 +44,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -56,7 +56,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -80,7 +80,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundPayment changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -104,9 +104,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundPayment uses to send payout. sig { returns(String) } @@ -121,7 +121,7 @@ module Stripe @field_remappings = {} end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` @@ -139,7 +139,7 @@ module Stripe end end # The "presentment amount" for the OutboundPayment. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Returns true if the OutboundPayment can be canceled, and false otherwise. sig { returns(T::Boolean) } diff --git a/rbi/stripe/resources/v2/money_management/outbound_payment_quote.rbi b/rbi/stripe/resources/v2/money_management/outbound_payment_quote.rbi index 2adc475ea..184d2e82a 100644 --- a/rbi/stripe/resources/v2/money_management/outbound_payment_quote.rbi +++ b/rbi/stripe/resources/v2/money_management/outbound_payment_quote.rbi @@ -7,7 +7,7 @@ module Stripe module MoneyManagement # OutboundPaymentQuote represents a quote that provides fee and amount estimates for OutboundPayment. class OutboundPaymentQuote < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -18,9 +18,9 @@ module Stripe @field_remappings = {} end end - class EstimatedFee < Stripe::StripeObject + class EstimatedFee < ::Stripe::StripeObject # The fee amount for corresponding fee type. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The fee type. sig { returns(String) } @@ -32,9 +32,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -46,8 +46,8 @@ module Stripe @field_remappings = {} end end - class FxQuote < Stripe::StripeObject - class Rates < Stripe::StripeObject + class FxQuote < ::Stripe::StripeObject + class Rates < ::Stripe::StripeObject # The exchange rate going from_currency -> to_currency. sig { returns(String) } def exchange_rate; end @@ -80,9 +80,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundPayment uses to send payout. sig { returns(String) } @@ -98,7 +98,7 @@ module Stripe end end # The "presentment amount" for the OutboundPaymentQuote. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the OutboundPaymentQuote was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. diff --git a/rbi/stripe/resources/v2/money_management/outbound_setup_intent.rbi b/rbi/stripe/resources/v2/money_management/outbound_setup_intent.rbi index e4da75eb0..109d98e66 100644 --- a/rbi/stripe/resources/v2/money_management/outbound_setup_intent.rbi +++ b/rbi/stripe/resources/v2/money_management/outbound_setup_intent.rbi @@ -7,8 +7,8 @@ module Stripe module MoneyManagement # Use the OutboundSetupIntent API to create and setup usable payout methods. class OutboundSetupIntent < APIResource - class NextAction < Stripe::StripeObject - class ConfirmationOfPayee < Stripe::StripeObject + class NextAction < ::Stripe::StripeObject + class ConfirmationOfPayee < ::Stripe::StripeObject # The type of the credential. sig { returns(String) } def object; end @@ -48,7 +48,7 @@ module Stripe sig { returns(String) } def object; end # Use the PayoutMethods API to list and interact with PayoutMethod objects. - sig { returns(Stripe::V2::MoneyManagement::PayoutMethod) } + sig { returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def payout_method; end # Closed Enum. Status of the outbound setup intent. sig { returns(String) } diff --git a/rbi/stripe/resources/v2/money_management/outbound_transfer.rbi b/rbi/stripe/resources/v2/money_management/outbound_transfer.rbi index 32424fde0..04761add1 100644 --- a/rbi/stripe/resources/v2/money_management/outbound_transfer.rbi +++ b/rbi/stripe/resources/v2/money_management/outbound_transfer.rbi @@ -7,7 +7,7 @@ module Stripe module MoneyManagement # OutboundTransfer represents a single money movement from one FinancialAccount you own to a payout method you also own. class OutboundTransfer < APIResource - class DeliveryOptions < Stripe::StripeObject + class DeliveryOptions < ::Stripe::StripeObject # Open Enum. Method for bank account. sig { returns(T.nilable(String)) } def bank_account; end @@ -18,9 +18,9 @@ module Stripe @field_remappings = {} end end - class From < Stripe::StripeObject + class From < ::Stripe::StripeObject # The monetary amount debited from the sender, only set on responses. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def debited; end # The FinancialAccount that funds were pulled from. sig { returns(String) } @@ -32,8 +32,8 @@ module Stripe @field_remappings = {} end end - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -44,7 +44,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -68,7 +68,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when an OutboundTransfer changed status to `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -92,9 +92,9 @@ module Stripe @field_remappings = {} end end - class To < Stripe::StripeObject + class To < ::Stripe::StripeObject # The monetary amount being credited to the destination. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def credited; end # The payout method which the OutboundTransfer uses to send payout. sig { returns(String) } @@ -106,7 +106,7 @@ module Stripe @field_remappings = {} end end - class TraceId < Stripe::StripeObject + class TraceId < ::Stripe::StripeObject # Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to # `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. # Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` @@ -124,7 +124,7 @@ module Stripe end end # The "presentment amount" for the OutboundTransfer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Returns true if the OutboundTransfer can be canceled, and false otherwise. sig { returns(T::Boolean) } diff --git a/rbi/stripe/resources/v2/money_management/payout_method.rbi b/rbi/stripe/resources/v2/money_management/payout_method.rbi index a75b177db..6dd65d50b 100644 --- a/rbi/stripe/resources/v2/money_management/payout_method.rbi +++ b/rbi/stripe/resources/v2/money_management/payout_method.rbi @@ -7,7 +7,7 @@ module Stripe module MoneyManagement # Use the PayoutMethods API to list and interact with PayoutMethod objects. class PayoutMethod < APIResource - class UsageStatus < Stripe::StripeObject + class UsageStatus < ::Stripe::StripeObject # Payments status - used when sending OutboundPayments (sending funds to recipients). sig { returns(String) } def payments; end @@ -21,7 +21,7 @@ module Stripe @field_remappings = {} end end - class BankAccount < Stripe::StripeObject + class BankAccount < ::Stripe::StripeObject # Whether this PayoutMethodBankAccount object was archived. PayoutMethodBankAccount objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodBankAccount objects # cannot be used as payout methods and will not appear in the payout method list. @@ -55,7 +55,7 @@ module Stripe @field_remappings = {} end end - class Card < Stripe::StripeObject + class Card < ::Stripe::StripeObject # Whether the PayoutMethodCard object was archived. PayoutMethodCard objects can be archived through # the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodCard objects # cannot be used as payout methods and will not appear in the payout method list. diff --git a/rbi/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rbi b/rbi/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rbi index a968b7136..8d4dd1cd6 100644 --- a/rbi/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rbi +++ b/rbi/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rbi @@ -7,9 +7,9 @@ module Stripe module MoneyManagement # The PayoutMethodsBankAccountSpec object. class PayoutMethodsBankAccountSpec < SingletonAPIResource - class Countries < Stripe::StripeObject - class Field < Stripe::StripeObject - class LocalNameHuman < Stripe::StripeObject + class Countries < ::Stripe::StripeObject + class Field < ::Stripe::StripeObject + class LocalNameHuman < ::Stripe::StripeObject # The default content of the localizable string. sig { returns(String) } def content; end diff --git a/rbi/stripe/resources/v2/money_management/received_credit.rbi b/rbi/stripe/resources/v2/money_management/received_credit.rbi index 234021989..6b2d18297 100644 --- a/rbi/stripe/resources/v2/money_management/received_credit.rbi +++ b/rbi/stripe/resources/v2/money_management/received_credit.rbi @@ -7,8 +7,8 @@ module Stripe module MoneyManagement # Use ReceivedCredits API to retrieve information on when, where, and how funds are sent into your FinancialAccount. class ReceivedCredit < APIResource - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The `failed` status reason. sig { returns(String) } def reason; end @@ -19,7 +19,7 @@ module Stripe @field_remappings = {} end end - class Returned < Stripe::StripeObject + class Returned < ::Stripe::StripeObject # Open Enum. The `returned` status reason. sig { returns(String) } def reason; end @@ -43,7 +43,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # Timestamp describing when the ReceivedCredit was marked as `failed`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. sig { returns(T.nilable(String)) } @@ -63,7 +63,7 @@ module Stripe @field_remappings = {} end end - class BalanceTransfer < Stripe::StripeObject + class BalanceTransfer < ::Stripe::StripeObject # The ID of the account that owns the source object originated the ReceivedCredit. sig { returns(T.nilable(String)) } def from_account; end @@ -86,8 +86,8 @@ module Stripe @field_remappings = {} end end - class BankTransfer < Stripe::StripeObject - class GbBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class GbBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -110,7 +110,7 @@ module Stripe @field_remappings = {} end end - class SepaBankAccount < Stripe::StripeObject + class SepaBankAccount < ::Stripe::StripeObject # The account holder name of the bank account the transfer was received from. sig { returns(T.nilable(String)) } def account_holder_name; end @@ -136,7 +136,7 @@ module Stripe @field_remappings = {} end end - class UsBankAccount < Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The bank name the transfer was received from. sig { returns(T.nilable(String)) } def bank_name; end @@ -186,7 +186,7 @@ module Stripe end end # The amount and currency of the ReceivedCredit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # Time at which the ReceivedCredit was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. diff --git a/rbi/stripe/resources/v2/money_management/received_debit.rbi b/rbi/stripe/resources/v2/money_management/received_debit.rbi index 5ff22642b..60fc1b963 100644 --- a/rbi/stripe/resources/v2/money_management/received_debit.rbi +++ b/rbi/stripe/resources/v2/money_management/received_debit.rbi @@ -7,8 +7,8 @@ module Stripe module MoneyManagement # ReceivedDebit resource class ReceivedDebit < APIResource - class StatusDetails < Stripe::StripeObject - class Failed < Stripe::StripeObject + class StatusDetails < ::Stripe::StripeObject + class Failed < ::Stripe::StripeObject # Open Enum. The reason for the failure of the ReceivedDebit. sig { returns(String) } def reason; end @@ -30,7 +30,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time when the ReceivedDebit was marked as `canceled`. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. sig { returns(T.nilable(String)) } @@ -50,8 +50,8 @@ module Stripe @field_remappings = {} end end - class BankTransfer < Stripe::StripeObject - class UsBankAccount < Stripe::StripeObject + class BankTransfer < ::Stripe::StripeObject + class UsBankAccount < ::Stripe::StripeObject # The name of the bank the debit originated from. sig { returns(T.nilable(String)) } def bank_name; end @@ -88,7 +88,7 @@ module Stripe end end # Amount and currency of the ReceivedDebit. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The time at which the ReceivedDebit was created. # Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. diff --git a/rbi/stripe/resources/v2/money_management/transaction.rbi b/rbi/stripe/resources/v2/money_management/transaction.rbi index f87259b5a..a7edb3c84 100644 --- a/rbi/stripe/resources/v2/money_management/transaction.rbi +++ b/rbi/stripe/resources/v2/money_management/transaction.rbi @@ -7,15 +7,15 @@ module Stripe module MoneyManagement # Use Transactions to view changes to your FinancialAccount balance over time. Every flow that moves money, such as OutboundPayments or ReceivedCredits, will have one or more Transactions that describes how the flow impacted your balance. Note that while the FinancialAccount balance will always be up to date, be aware that Transactions and TransactionEntries are created shortly after to reflect changes. class Transaction < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def available; end # Impact to the inbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def inbound_pending; end # Impact to the outbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -24,7 +24,7 @@ module Stripe @field_remappings = {} end end - class Flow < Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end @@ -59,7 +59,7 @@ module Stripe @field_remappings = {} end end - class StatusTransitions < Stripe::StripeObject + class StatusTransitions < ::Stripe::StripeObject # The time at which the Transaction became posted. Only present if status == posted. sig { returns(T.nilable(String)) } def posted_at; end @@ -74,7 +74,7 @@ module Stripe end end # The amount of the Transaction. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount; end # The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its # TransactionEntries that have `effective_at`s in the past. diff --git a/rbi/stripe/resources/v2/money_management/transaction_entry.rbi b/rbi/stripe/resources/v2/money_management/transaction_entry.rbi index db31e015f..99277f81b 100644 --- a/rbi/stripe/resources/v2/money_management/transaction_entry.rbi +++ b/rbi/stripe/resources/v2/money_management/transaction_entry.rbi @@ -7,15 +7,15 @@ module Stripe module MoneyManagement # TransactionEntries represent individual money movements across different states within a Transaction. class TransactionEntry < APIResource - class BalanceImpact < Stripe::StripeObject + class BalanceImpact < ::Stripe::StripeObject # Impact to the available balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def available; end # Impact to the inbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def inbound_pending; end # Impact to the outbound_pending balance. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def outbound_pending; end def self.inner_class_types @inner_class_types = {} @@ -24,8 +24,8 @@ module Stripe @field_remappings = {} end end - class TransactionDetails < Stripe::StripeObject - class Flow < Stripe::StripeObject + class TransactionDetails < ::Stripe::StripeObject + class Flow < ::Stripe::StripeObject # Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. sig { returns(String) } def type; end diff --git a/rbi/stripe/resources/v2/payments/off_session_payment.rbi b/rbi/stripe/resources/v2/payments/off_session_payment.rbi index d03e370f7..89617baa1 100644 --- a/rbi/stripe/resources/v2/payments/off_session_payment.rbi +++ b/rbi/stripe/resources/v2/payments/off_session_payment.rbi @@ -7,9 +7,9 @@ module Stripe module Payments # OffSessionPayment resource. class OffSessionPayment < APIResource - class AmountDetails < Stripe::StripeObject - class LineItem < Stripe::StripeObject - class Tax < Stripe::StripeObject + class AmountDetails < ::Stripe::StripeObject + class LineItem < ::Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -45,7 +45,7 @@ module Stripe @field_remappings = {} end end - class Shipping < Stripe::StripeObject + class Shipping < ::Stripe::StripeObject # Portion of the amount that is for shipping. sig { returns(T.nilable(Integer)) } def amount; end @@ -62,7 +62,7 @@ module Stripe @field_remappings = {} end end - class Tax < Stripe::StripeObject + class Tax < ::Stripe::StripeObject # Total portion of the amount that is for tax. sig { returns(T.nilable(Integer)) } def total_tax_amount; end @@ -92,7 +92,7 @@ module Stripe @field_remappings = {} end end - class Capture < Stripe::StripeObject + class Capture < ::Stripe::StripeObject # The timestamp when this payment is no longer eligible to be captured. sig { returns(T.nilable(String)) } def capture_before; end @@ -106,7 +106,7 @@ module Stripe @field_remappings = {} end end - class PaymentsOrchestration < Stripe::StripeObject + class PaymentsOrchestration < ::Stripe::StripeObject # True when you want to enable payments orchestration for this off-session payment. False otherwise. sig { returns(T::Boolean) } def enabled; end @@ -117,7 +117,7 @@ module Stripe @field_remappings = {} end end - class RetryDetails < Stripe::StripeObject + class RetryDetails < ::Stripe::StripeObject # Number of authorization attempts so far. sig { returns(Integer) } def attempts; end @@ -134,7 +134,7 @@ module Stripe @field_remappings = {} end end - class TransferData < Stripe::StripeObject + class TransferData < ::Stripe::StripeObject # The amount transferred to the destination account. This transfer will occur # automatically after the payment succeeds. If no amount is specified, by default # the entire payment amount is transferred to the destination account. The amount @@ -156,13 +156,13 @@ module Stripe end end # The amount available to be captured. - sig { returns(T.nilable(Stripe::V2::Amount)) } + sig { returns(T.nilable(::Stripe::V2::Amount)) } def amount_capturable; end # Provides industry-specific information about the amount. sig { returns(T.nilable(AmountDetails)) } def amount_details; end # The “presentment amount” to be collected from the customer. - sig { returns(Stripe::V2::Amount) } + sig { returns(::Stripe::V2::Amount) } def amount_requested; end # The frequency of the underlying payment. sig { returns(String) } diff --git a/rbi/stripe/resources/webhook_endpoint.rbi b/rbi/stripe/resources/webhook_endpoint.rbi index 803850ca8..363a7fb2d 100644 --- a/rbi/stripe/resources/webhook_endpoint.rbi +++ b/rbi/stripe/resources/webhook_endpoint.rbi @@ -52,31 +52,31 @@ module Stripe def deleted; end # A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the [webhooks settings](https://dashboard.stripe.com/account/webhooks) section of the Dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.create(params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.delete(webhook_endpoint, params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def delete(params = {}, opts = {}); end # Returns a list of your webhook endpoints. sig { - params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def self.list(params = {}, opts = {}); end # Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def self.update(webhook_endpoint, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_capability_service.rbi b/rbi/stripe/services/account_capability_service.rbi index 606201d14..6d3b9a96d 100644 --- a/rbi/stripe/services/account_capability_service.rbi +++ b/rbi/stripe/services/account_capability_service.rbi @@ -6,19 +6,19 @@ module Stripe class AccountCapabilityService < StripeService # Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountCapabilityListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountCapabilityListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieves information about the specified Account Capability. sig { - params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capability) + params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capability) } def retrieve(account, capability, params = {}, opts = {}); end # Updates an existing Account Capability. Request or remove a capability by updating its requested parameter. sig { - params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capability) + params(account: String, capability: String, params: T.any(::Stripe::AccountCapabilityUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capability) } def update(account, capability, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_external_account_service.rbi b/rbi/stripe/services/account_external_account_service.rbi index 87c5badbb..8b488728d 100644 --- a/rbi/stripe/services/account_external_account_service.rbi +++ b/rbi/stripe/services/account_external_account_service.rbi @@ -6,25 +6,25 @@ module Stripe class AccountExternalAccountService < StripeService # Create an external account for a given account. sig { - params(account: String, params: T.any(::Stripe::AccountExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, params: T.any(::Stripe::AccountExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def create(account, params = {}, opts = {}); end # Delete a specified external account for a given account. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def delete(account, id, params = {}, opts = {}); end # List external accounts for an account. sig { - params(account: String, params: T.any(::Stripe::AccountExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieve a specified external account for a given account. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def retrieve(account, id, params = {}, opts = {}); end @@ -37,7 +37,7 @@ module Stripe # You can re-enable a disabled bank account by performing an update call without providing any # arguments or changes. sig { - params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(account: String, id: String, params: T.any(::Stripe::AccountExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def update(account, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_link_service.rbi b/rbi/stripe/services/account_link_service.rbi index b862451b0..f6410b776 100644 --- a/rbi/stripe/services/account_link_service.rbi +++ b/rbi/stripe/services/account_link_service.rbi @@ -6,7 +6,7 @@ module Stripe class AccountLinkService < StripeService # Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. sig { - params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountLink) + params(params: T.any(::Stripe::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountLink) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_login_link_service.rbi b/rbi/stripe/services/account_login_link_service.rbi index 3833a118e..d52669045 100644 --- a/rbi/stripe/services/account_login_link_service.rbi +++ b/rbi/stripe/services/account_login_link_service.rbi @@ -8,7 +8,7 @@ module Stripe # # You can only create login links for accounts that use the [Express Dashboard](https://docs.stripe.com/connect/express-dashboard) and are connected to your platform. sig { - params(account: String, params: T.any(::Stripe::AccountLoginLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::LoginLink) + params(account: String, params: T.any(::Stripe::AccountLoginLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::LoginLink) } def create(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_notice_service.rbi b/rbi/stripe/services/account_notice_service.rbi index e635c4d33..b6624e14f 100644 --- a/rbi/stripe/services/account_notice_service.rbi +++ b/rbi/stripe/services/account_notice_service.rbi @@ -6,19 +6,19 @@ module Stripe class AccountNoticeService < StripeService # Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountNoticeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def retrieve(account_notice, params = {}, opts = {}); end # Updates an AccountNotice object. sig { - params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountNotice) + params(account_notice: String, params: T.any(::Stripe::AccountNoticeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountNotice) } def update(account_notice, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_person_service.rbi b/rbi/stripe/services/account_person_service.rbi index a7f9ac43a..26fb36254 100644 --- a/rbi/stripe/services/account_person_service.rbi +++ b/rbi/stripe/services/account_person_service.rbi @@ -6,31 +6,31 @@ module Stripe class AccountPersonService < StripeService # Creates a new person. sig { - params(account: String, params: T.any(::Stripe::AccountPersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, params: T.any(::Stripe::AccountPersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def create(account, params = {}, opts = {}); end # Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def delete(account, person, params = {}, opts = {}); end # Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. sig { - params(account: String, params: T.any(::Stripe::AccountPersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::AccountPersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end # Retrieves an existing person. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def retrieve(account, person, params = {}, opts = {}); end # Updates an existing person. sig { - params(account: String, person: String, params: T.any(::Stripe::AccountPersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Person) + params(account: String, person: String, params: T.any(::Stripe::AccountPersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Person) } def update(account, person, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_service.rbi b/rbi/stripe/services/account_service.rbi index fadcd5c1f..7a4289814 100644 --- a/rbi/stripe/services/account_service.rbi +++ b/rbi/stripe/services/account_service.rbi @@ -15,7 +15,7 @@ module Stripe # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding. # You can prefill any information on the account. sig { - params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def create(params = {}, opts = {}); end @@ -27,13 +27,13 @@ module Stripe # # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead. sig { - params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def delete(account, params = {}, opts = {}); end # Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty. sig { - params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -41,19 +41,19 @@ module Stripe # # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero. sig { - params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def reject(account, params = {}, opts = {}); end # Retrieves the details of an account. sig { - params(account: String, params: T.any(::Stripe::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def retrieve(account, params = {}, opts = {}); end # Retrieves the details of an account. sig { - params(params: T.any(::Stripe::AccountRetrieveCurrentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(params: T.any(::Stripe::AccountRetrieveCurrentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def retrieve_current(params = {}, opts = {}); end @@ -71,7 +71,7 @@ module Stripe # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our # [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts. sig { - params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account) + params(account: String, params: T.any(::Stripe::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Account) } def update(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/account_session_service.rbi b/rbi/stripe/services/account_session_service.rbi index 648190b3b..22c6c1e56 100644 --- a/rbi/stripe/services/account_session_service.rbi +++ b/rbi/stripe/services/account_session_service.rbi @@ -6,7 +6,7 @@ module Stripe class AccountSessionService < StripeService # Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. sig { - params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::AccountSession) + params(params: T.any(::Stripe::AccountSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::AccountSession) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/apple_pay_domain_service.rbi b/rbi/stripe/services/apple_pay_domain_service.rbi index df86dff22..94d96cad1 100644 --- a/rbi/stripe/services/apple_pay_domain_service.rbi +++ b/rbi/stripe/services/apple_pay_domain_service.rbi @@ -6,25 +6,25 @@ module Stripe class ApplePayDomainService < StripeService # Create an apple pay domain. sig { - params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(params: T.any(::Stripe::ApplePayDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def create(params = {}, opts = {}); end # Delete an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def delete(domain, params = {}, opts = {}); end # List apple pay domains. sig { - params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplePayDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an apple pay domain. sig { - params(domain: String, params: T.any(::Stripe::ApplePayDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplePayDomain) + params(domain: String, params: T.any(::Stripe::ApplePayDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplePayDomain) } def retrieve(domain, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/application_fee_refund_service.rbi b/rbi/stripe/services/application_fee_refund_service.rbi index 86e7ce8e1..6c071cb85 100644 --- a/rbi/stripe/services/application_fee_refund_service.rbi +++ b/rbi/stripe/services/application_fee_refund_service.rbi @@ -14,19 +14,19 @@ module Stripe # This method will raise an error when called on an already-refunded application fee, # or when trying to refund more money than is left on an application fee. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(id: String, params: T.any(::Stripe::ApplicationFeeRefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def create(id, params = {}, opts = {}); end # You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::ApplicationFeeRefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end # By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee. sig { - params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def retrieve(fee, id, params = {}, opts = {}); end @@ -34,7 +34,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFeeRefund) + params(fee: String, id: String, params: T.any(::Stripe::ApplicationFeeRefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFeeRefund) } def update(fee, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/application_fee_service.rbi b/rbi/stripe/services/application_fee_service.rbi index 6499f80ff..0ce577a7f 100644 --- a/rbi/stripe/services/application_fee_service.rbi +++ b/rbi/stripe/services/application_fee_service.rbi @@ -7,13 +7,13 @@ module Stripe attr_reader :refunds # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first. sig { - params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ApplicationFeeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee. sig { - params(id: String, params: T.any(::Stripe::ApplicationFeeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ApplicationFee) + params(id: String, params: T.any(::Stripe::ApplicationFeeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ApplicationFee) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/apps/secret_service.rbi b/rbi/stripe/services/apps/secret_service.rbi index 0c59bf509..084e16f25 100644 --- a/rbi/stripe/services/apps/secret_service.rbi +++ b/rbi/stripe/services/apps/secret_service.rbi @@ -7,25 +7,25 @@ module Stripe class SecretService < StripeService # Create or replace a secret in the secret store. sig { - params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def create(params = {}, opts = {}); end # Deletes a secret from the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretDeleteWhereParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def delete_where(params = {}, opts = {}); end # Finds a secret in the secret store by name and scope. sig { - params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Apps::Secret) + params(params: T.any(::Stripe::Apps::SecretFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Apps::Secret) } def find(params = {}, opts = {}); end # List all secrets stored on the given scope. sig { - params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Apps::SecretListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/balance_service.rbi b/rbi/stripe/services/balance_service.rbi index 5f4f3cdc2..b40c6173d 100644 --- a/rbi/stripe/services/balance_service.rbi +++ b/rbi/stripe/services/balance_service.rbi @@ -7,7 +7,7 @@ module Stripe # Retrieves the current account balance, based on the authentication that was used to make the request. # For a sample request, see [Accounting for negative balances](https://docs.stripe.com/docs/connect/account-balances#accounting-for-negative-balances). sig { - params(params: T.any(::Stripe::BalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Balance) + params(params: T.any(::Stripe::BalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Balance) } def retrieve(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/balance_settings_service.rbi b/rbi/stripe/services/balance_settings_service.rbi index 967bb0a0b..ae48de24b 100644 --- a/rbi/stripe/services/balance_settings_service.rbi +++ b/rbi/stripe/services/balance_settings_service.rbi @@ -7,14 +7,14 @@ module Stripe # Retrieves balance settings for a given connected account. # Related guide: [Making API calls for connected accounts](https://docs.stripe.com/connect/authentication) sig { - params(params: T.any(::Stripe::BalanceSettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceSettings) + params(params: T.any(::Stripe::BalanceSettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceSettings) } def retrieve(params = {}, opts = {}); end # Updates balance settings for a given connected account. # Related guide: [Making API calls for connected accounts](https://docs.stripe.com/connect/authentication) sig { - params(params: T.any(::Stripe::BalanceSettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceSettings) + params(params: T.any(::Stripe::BalanceSettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceSettings) } def update(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/balance_transaction_service.rbi b/rbi/stripe/services/balance_transaction_service.rbi index 72ef6b960..681bc77ee 100644 --- a/rbi/stripe/services/balance_transaction_service.rbi +++ b/rbi/stripe/services/balance_transaction_service.rbi @@ -8,7 +8,7 @@ module Stripe # # Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. sig { - params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -16,7 +16,7 @@ module Stripe # # Note that this endpoint previously used the path /v1/balance/history/:id. sig { - params(id: String, params: T.any(::Stripe::BalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BalanceTransaction) + params(id: String, params: T.any(::Stripe::BalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BalanceTransaction) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/alert_service.rbi b/rbi/stripe/services/billing/alert_service.rbi index b0bab0af4..2d10a9362 100644 --- a/rbi/stripe/services/billing/alert_service.rbi +++ b/rbi/stripe/services/billing/alert_service.rbi @@ -7,37 +7,37 @@ module Stripe class AlertService < StripeService # Reactivates this alert, allowing it to trigger again. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def activate(id, params = {}, opts = {}); end # Archives this alert, removing it from the list view and APIs. This is non-reversible. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def archive(id, params = {}, opts = {}); end # Creates a billing alert sig { - params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(params: T.any(::Stripe::Billing::AlertCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def create(params = {}, opts = {}); end # Deactivates this alert, preventing it from triggering. sig { - params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def deactivate(id, params = {}, opts = {}); end # Lists billing active and inactive alerts sig { - params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::AlertListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a billing alert given an ID sig { - params(id: String, params: T.any(::Stripe::Billing::AlertRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Alert) + params(id: String, params: T.any(::Stripe::Billing::AlertRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Alert) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/analytics/meter_usage_service.rbi b/rbi/stripe/services/billing/analytics/meter_usage_service.rbi index 1f1013db4..05daa8c7e 100644 --- a/rbi/stripe/services/billing/analytics/meter_usage_service.rbi +++ b/rbi/stripe/services/billing/analytics/meter_usage_service.rbi @@ -8,7 +8,7 @@ module Stripe class MeterUsageService < StripeService # 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. sig { - params(params: T.any(::Stripe::Billing::Analytics::MeterUsageRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Analytics::MeterUsage) + params(params: T.any(::Stripe::Billing::Analytics::MeterUsageRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Analytics::MeterUsage) } def retrieve(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/credit_balance_summary_service.rbi b/rbi/stripe/services/billing/credit_balance_summary_service.rbi index d70d80178..22df3a709 100644 --- a/rbi/stripe/services/billing/credit_balance_summary_service.rbi +++ b/rbi/stripe/services/billing/credit_balance_summary_service.rbi @@ -7,7 +7,7 @@ module Stripe class CreditBalanceSummaryService < StripeService # Retrieves the credit balance summary for a customer. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditBalanceSummary) + params(params: T.any(::Stripe::Billing::CreditBalanceSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditBalanceSummary) } def retrieve(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/credit_balance_transaction_service.rbi b/rbi/stripe/services/billing/credit_balance_transaction_service.rbi index cb351d1c7..cc441b123 100644 --- a/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +++ b/rbi/stripe/services/billing/credit_balance_transaction_service.rbi @@ -7,13 +7,13 @@ module Stripe class CreditBalanceTransactionService < StripeService # Retrieve a list of credit balance transactions. sig { - params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a credit balance transaction. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditBalanceTransaction) + params(id: String, params: T.any(::Stripe::Billing::CreditBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditBalanceTransaction) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/credit_grant_service.rbi b/rbi/stripe/services/billing/credit_grant_service.rbi index 2107c18c2..8bd20f523 100644 --- a/rbi/stripe/services/billing/credit_grant_service.rbi +++ b/rbi/stripe/services/billing/credit_grant_service.rbi @@ -7,37 +7,37 @@ module Stripe class CreditGrantService < StripeService # Creates a credit grant. sig { - params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(params: T.any(::Stripe::Billing::CreditGrantCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def create(params = {}, opts = {}); end # Expires a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def expire(id, params = {}, opts = {}); end # Retrieve a list of credit grants. sig { - params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::CreditGrantListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def retrieve(id, params = {}, opts = {}); end # Updates a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def update(id, params = {}, opts = {}); end # Voids a credit grant. sig { - params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::CreditGrant) + params(id: String, params: T.any(::Stripe::Billing::CreditGrantVoidGrantParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::CreditGrant) } def void_grant(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/meter_event_adjustment_service.rbi b/rbi/stripe/services/billing/meter_event_adjustment_service.rbi index db878b1ad..9a4fac97d 100644 --- a/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +++ b/rbi/stripe/services/billing/meter_event_adjustment_service.rbi @@ -7,7 +7,7 @@ module Stripe class MeterEventAdjustmentService < StripeService # Creates a billing meter event adjustment. sig { - params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEventAdjustment) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/meter_event_service.rbi b/rbi/stripe/services/billing/meter_event_service.rbi index 83992ee62..ed0215ee3 100644 --- a/rbi/stripe/services/billing/meter_event_service.rbi +++ b/rbi/stripe/services/billing/meter_event_service.rbi @@ -7,7 +7,7 @@ module Stripe class MeterEventService < StripeService # Creates a billing meter event. sig { - params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::MeterEvent) + params(params: T.any(::Stripe::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::MeterEvent) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/meter_event_summary_service.rbi b/rbi/stripe/services/billing/meter_event_summary_service.rbi index 44533db83..d3f118e69 100644 --- a/rbi/stripe/services/billing/meter_event_summary_service.rbi +++ b/rbi/stripe/services/billing/meter_event_summary_service.rbi @@ -7,7 +7,7 @@ module Stripe class MeterEventSummaryService < StripeService # Retrieve a list of billing meter event summaries. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterEventSummaryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::Billing::MeterEventSummaryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing/meter_service.rbi b/rbi/stripe/services/billing/meter_service.rbi index dea5d0fbf..31c79d651 100644 --- a/rbi/stripe/services/billing/meter_service.rbi +++ b/rbi/stripe/services/billing/meter_service.rbi @@ -8,37 +8,37 @@ module Stripe attr_reader :event_summaries # Creates a billing meter. sig { - params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def create(params = {}, opts = {}); end # When a meter is deactivated, no more meter events will be accepted for this meter. You can't attach a deactivated meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def deactivate(id, params = {}, opts = {}); end # Retrieve a list of billing meters. sig { - params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Billing::MeterListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterReactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def reactivate(id, params = {}, opts = {}); end # Retrieves a billing meter given an ID. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def retrieve(id, params = {}, opts = {}); end # Updates a billing meter. sig { - params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Billing::Meter) + params(id: String, params: T.any(::Stripe::Billing::MeterUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing_portal/configuration_service.rbi b/rbi/stripe/services/billing_portal/configuration_service.rbi index 350a5fb05..0fa32832f 100644 --- a/rbi/stripe/services/billing_portal/configuration_service.rbi +++ b/rbi/stripe/services/billing_portal/configuration_service.rbi @@ -7,25 +7,25 @@ module Stripe class ConfigurationService < StripeService # Creates a configuration that describes the functionality and behavior of a PortalSession sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(params: T.any(::Stripe::BillingPortal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def create(params = {}, opts = {}); end # Returns a list of configurations that describe the functionality of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::BillingPortal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def retrieve(configuration, params = {}, opts = {}); end # Updates a configuration that describes the functionality of the customer portal. sig { - params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Configuration) + params(configuration: String, params: T.any(::Stripe::BillingPortal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Configuration) } def update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/billing_portal/session_service.rbi b/rbi/stripe/services/billing_portal/session_service.rbi index aef2368f6..7496f1007 100644 --- a/rbi/stripe/services/billing_portal/session_service.rbi +++ b/rbi/stripe/services/billing_portal/session_service.rbi @@ -7,7 +7,7 @@ module Stripe class SessionService < StripeService # Creates a session of the customer portal. sig { - params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BillingPortal::Session) + params(params: T.any(::Stripe::BillingPortal::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BillingPortal::Session) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/capital/financing_offer_service.rbi b/rbi/stripe/services/capital/financing_offer_service.rbi index 21ae195eb..b13f3b61f 100644 --- a/rbi/stripe/services/capital/financing_offer_service.rbi +++ b/rbi/stripe/services/capital/financing_offer_service.rbi @@ -7,20 +7,20 @@ module Stripe class FinancingOfferService < StripeService # Retrieves the financing offers available for Connected accounts that belong to your platform. sig { - params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingOfferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Acknowledges that platform has received and delivered the financing_offer to # the intended merchant recipient. sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferMarkDeliveredParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def mark_delivered(financing_offer, params = {}, opts = {}); end # Get the details of the financing offer sig { - params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingOffer) + params(financing_offer: String, params: T.any(::Stripe::Capital::FinancingOfferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingOffer) } def retrieve(financing_offer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/capital/financing_summary_service.rbi b/rbi/stripe/services/capital/financing_summary_service.rbi index 54140c99b..b2a55cede 100644 --- a/rbi/stripe/services/capital/financing_summary_service.rbi +++ b/rbi/stripe/services/capital/financing_summary_service.rbi @@ -7,7 +7,7 @@ module Stripe class FinancingSummaryService < StripeService # Retrieve the financing state for the account that was authenticated in the request. sig { - params(params: T.any(::Stripe::Capital::FinancingSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingSummary) + params(params: T.any(::Stripe::Capital::FinancingSummaryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingSummary) } def retrieve(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/capital/financing_transaction_service.rbi b/rbi/stripe/services/capital/financing_transaction_service.rbi index 3ad938601..1ca390343 100644 --- a/rbi/stripe/services/capital/financing_transaction_service.rbi +++ b/rbi/stripe/services/capital/financing_transaction_service.rbi @@ -8,13 +8,13 @@ module Stripe # Returns a list of financing transactions. The transactions are returned in sorted order, # with the most recent transactions appearing first. sig { - params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Capital::FinancingTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a financing transaction for a financing offer. sig { - params(financing_transaction: String, params: T.any(::Stripe::Capital::FinancingTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Capital::FinancingTransaction) + params(financing_transaction: String, params: T.any(::Stripe::Capital::FinancingTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Capital::FinancingTransaction) } def retrieve(financing_transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/charge_service.rbi b/rbi/stripe/services/charge_service.rbi index 1855220ea..f02c9d4dc 100644 --- a/rbi/stripe/services/charge_service.rbi +++ b/rbi/stripe/services/charge_service.rbi @@ -10,7 +10,7 @@ module Stripe # # Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture). sig { - params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def capture(charge, params = {}, opts = {}); end @@ -18,19 +18,19 @@ module Stripe # to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge # object used to request payment. sig { - params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(params: T.any(::Stripe::ChargeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def create(params = {}, opts = {}); end # Returns a list of charges you've previously created. The charges are returned in sorted order, with the most recent charges appearing first. sig { - params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ChargeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge. sig { - params(charge: String, params: T.any(::Stripe::ChargeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def retrieve(charge, params = {}, opts = {}); end @@ -39,13 +39,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ChargeSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Charge) + params(charge: String, params: T.any(::Stripe::ChargeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Charge) } def update(charge, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/checkout/session_line_item_service.rbi b/rbi/stripe/services/checkout/session_line_item_service.rbi index 9353d7d9c..edbd4de1c 100644 --- a/rbi/stripe/services/checkout/session_line_item_service.rbi +++ b/rbi/stripe/services/checkout/session_line_item_service.rbi @@ -7,7 +7,7 @@ module Stripe class SessionLineItemService < StripeService # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(session: String, params: T.any(::Stripe::Checkout::SessionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/checkout/session_service.rbi b/rbi/stripe/services/checkout/session_service.rbi index 6a6ef8a97..a83ed3b74 100644 --- a/rbi/stripe/services/checkout/session_service.rbi +++ b/rbi/stripe/services/checkout/session_service.rbi @@ -8,7 +8,7 @@ module Stripe attr_reader :line_items # Creates a Checkout Session object. sig { - params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def create(params = {}, opts = {}); end @@ -16,19 +16,19 @@ module Stripe # # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def expire(session, params = {}, opts = {}); end # Returns a list of Checkout Sessions. sig { - params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Checkout::SessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Checkout Session object. sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def retrieve(session, params = {}, opts = {}); end @@ -36,7 +36,7 @@ module Stripe # # Related guide: [Dynamically update Checkout](https://docs.stripe.com/payments/checkout/dynamic-updates) sig { - params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Checkout::Session) + params(session: String, params: T.any(::Stripe::Checkout::SessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session) } def update(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/climate/order_service.rbi b/rbi/stripe/services/climate/order_service.rbi index 491aa0649..22de0ba65 100644 --- a/rbi/stripe/services/climate/order_service.rbi +++ b/rbi/stripe/services/climate/order_service.rbi @@ -10,33 +10,33 @@ module Stripe # might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe # provides 90 days advance notice and refunds the amount_total. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def cancel(order, params = {}, opts = {}); end # Creates a Climate order object for a given Climate product. The order will be processed immediately # after creation and payment will be deducted your Stripe balance. sig { - params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(params: T.any(::Stripe::Climate::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def create(params = {}, opts = {}); end # Lists all Climate order objects. The orders are returned sorted by creation date, with the # most recently created orders appearing first. sig { - params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Climate order object with the given ID. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def retrieve(order, params = {}, opts = {}); end # Updates the specified order by setting the values of the parameters passed. sig { - params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Order) + params(order: String, params: T.any(::Stripe::Climate::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Order) } def update(order, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/climate/product_service.rbi b/rbi/stripe/services/climate/product_service.rbi index 88056dbe2..069d06b15 100644 --- a/rbi/stripe/services/climate/product_service.rbi +++ b/rbi/stripe/services/climate/product_service.rbi @@ -7,13 +7,13 @@ module Stripe class ProductService < StripeService # Lists all available Climate product objects. sig { - params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Climate product with the given ID. sig { - params(product: String, params: T.any(::Stripe::Climate::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Product) + params(product: String, params: T.any(::Stripe::Climate::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Product) } def retrieve(product, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/climate/supplier_service.rbi b/rbi/stripe/services/climate/supplier_service.rbi index abe8887a3..536db3d66 100644 --- a/rbi/stripe/services/climate/supplier_service.rbi +++ b/rbi/stripe/services/climate/supplier_service.rbi @@ -7,13 +7,13 @@ module Stripe class SupplierService < StripeService # Lists all available Climate supplier objects. sig { - params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Climate::SupplierListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Climate supplier object. sig { - params(supplier: String, params: T.any(::Stripe::Climate::SupplierRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Climate::Supplier) + params(supplier: String, params: T.any(::Stripe::Climate::SupplierRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Climate::Supplier) } def retrieve(supplier, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/confirmation_token_service.rbi b/rbi/stripe/services/confirmation_token_service.rbi index ccb06dfb3..cb5273707 100644 --- a/rbi/stripe/services/confirmation_token_service.rbi +++ b/rbi/stripe/services/confirmation_token_service.rbi @@ -6,7 +6,7 @@ module Stripe class ConfirmationTokenService < StripeService # Retrieves an existing ConfirmationToken object sig { - params(confirmation_token: String, params: T.any(::Stripe::ConfirmationTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ConfirmationToken) + params(confirmation_token: String, params: T.any(::Stripe::ConfirmationTokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ConfirmationToken) } def retrieve(confirmation_token, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/country_spec_service.rbi b/rbi/stripe/services/country_spec_service.rbi index 5df71ba3e..1b54f9be3 100644 --- a/rbi/stripe/services/country_spec_service.rbi +++ b/rbi/stripe/services/country_spec_service.rbi @@ -6,13 +6,13 @@ module Stripe class CountrySpecService < StripeService # Lists all Country Spec objects available in the API. sig { - params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CountrySpecListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns a Country Spec for a given Country code. sig { - params(country: String, params: T.any(::Stripe::CountrySpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CountrySpec) + params(country: String, params: T.any(::Stripe::CountrySpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CountrySpec) } def retrieve(country, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/coupon_service.rbi b/rbi/stripe/services/coupon_service.rbi index 8c450b561..0a135451d 100644 --- a/rbi/stripe/services/coupon_service.rbi +++ b/rbi/stripe/services/coupon_service.rbi @@ -8,31 +8,31 @@ module Stripe # # A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it. sig { - params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(params: T.any(::Stripe::CouponCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def create(params = {}, opts = {}); end # You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. sig { - params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def delete(coupon, params = {}, opts = {}); end # Returns a list of your coupons. sig { - params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CouponListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the coupon with the given ID. sig { - params(coupon: String, params: T.any(::Stripe::CouponRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def retrieve(coupon, params = {}, opts = {}); end # Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. sig { - params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Coupon) + params(coupon: String, params: T.any(::Stripe::CouponUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Coupon) } def update(coupon, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/credit_note_line_item_service.rbi b/rbi/stripe/services/credit_note_line_item_service.rbi index b6d01f709..d97637136 100644 --- a/rbi/stripe/services/credit_note_line_item_service.rbi +++ b/rbi/stripe/services/credit_note_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class CreditNoteLineItemService < StripeService # When retrieving a credit note, you'll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(credit_note: String, params: T.any(::Stripe::CreditNoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(credit_note: String, params: T.any(::Stripe::CreditNoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(credit_note, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/credit_note_preview_lines_service.rbi b/rbi/stripe/services/credit_note_preview_lines_service.rbi index f10969567..e36000165 100644 --- a/rbi/stripe/services/credit_note_preview_lines_service.rbi +++ b/rbi/stripe/services/credit_note_preview_lines_service.rbi @@ -6,7 +6,7 @@ module Stripe class CreditNotePreviewLinesService < StripeService # When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items. sig { - params(params: T.any(::Stripe::CreditNotePreviewLinesListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNotePreviewLinesListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/credit_note_service.rbi b/rbi/stripe/services/credit_note_service.rbi index d2f870285..5cfbcef01 100644 --- a/rbi/stripe/services/credit_note_service.rbi +++ b/rbi/stripe/services/credit_note_service.rbi @@ -20,37 +20,37 @@ module Stripe # You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount, # post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation. sig { - params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def create(params = {}, opts = {}); end # Returns a list of credit notes. sig { - params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CreditNoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Get a preview of a credit note without creating it. sig { - params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(params: T.any(::Stripe::CreditNotePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def preview(params = {}, opts = {}); end # Retrieves the credit note object with the given identifier. sig { - params(id: String, params: T.any(::Stripe::CreditNoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def retrieve(id, params = {}, opts = {}); end # Updates an existing credit note. sig { - params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def update(id, params = {}, opts = {}); end # Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding). sig { - params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CreditNote) + params(id: String, params: T.any(::Stripe::CreditNoteVoidCreditNoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CreditNote) } def void_credit_note(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_balance_transaction_service.rbi b/rbi/stripe/services/customer_balance_transaction_service.rbi index c754d0e8c..8ac359339 100644 --- a/rbi/stripe/services/customer_balance_transaction_service.rbi +++ b/rbi/stripe/services/customer_balance_transaction_service.rbi @@ -6,25 +6,25 @@ module Stripe class CustomerBalanceTransactionService < StripeService # Creates an immutable transaction that updates the customer's credit [balance](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def create(customer, params = {}, opts = {}); end # Returns a list of transactions that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a specific customer balance transaction that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance). sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def retrieve(customer, transaction, params = {}, opts = {}); end # Most credit balance transaction fields are immutable, but you may update its description and metadata. sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerBalanceTransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerBalanceTransaction) } def update(customer, transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_cash_balance_service.rbi b/rbi/stripe/services/customer_cash_balance_service.rbi index b28b445cc..26e208ca3 100644 --- a/rbi/stripe/services/customer_cash_balance_service.rbi +++ b/rbi/stripe/services/customer_cash_balance_service.rbi @@ -6,13 +6,13 @@ module Stripe class CustomerCashBalanceService < StripeService # Retrieves a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CashBalance) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CashBalance) } def retrieve(customer, params = {}, opts = {}); end # Changes the settings on a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CashBalance) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CashBalance) } def update(customer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_cash_balance_transaction_service.rbi b/rbi/stripe/services/customer_cash_balance_transaction_service.rbi index 2753a889e..b485aa0fd 100644 --- a/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +++ b/rbi/stripe/services/customer_cash_balance_transaction_service.rbi @@ -6,13 +6,13 @@ module Stripe class CustomerCashBalanceTransactionService < StripeService # Returns a list of transactions that modified the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance). sig { - params(customer: String, params: T.any(::Stripe::CustomerCashBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerCashBalanceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance). sig { - params(customer: String, transaction: String, params: T.any(::Stripe::CustomerCashBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerCashBalanceTransaction) + params(customer: String, transaction: String, params: T.any(::Stripe::CustomerCashBalanceTransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerCashBalanceTransaction) } def retrieve(customer, transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_funding_instructions_service.rbi b/rbi/stripe/services/customer_funding_instructions_service.rbi index 649ed6885..8dc2fb164 100644 --- a/rbi/stripe/services/customer_funding_instructions_service.rbi +++ b/rbi/stripe/services/customer_funding_instructions_service.rbi @@ -8,7 +8,7 @@ module Stripe # funding instructions will be created. If funding instructions have already been created for a given customer, the same # funding instructions will be retrieved. In other words, we will return the same funding instructions each time. sig { - params(customer: String, params: T.any(::Stripe::CustomerFundingInstructionsCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FundingInstructions) + params(customer: String, params: T.any(::Stripe::CustomerFundingInstructionsCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FundingInstructions) } def create(customer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_payment_method_service.rbi b/rbi/stripe/services/customer_payment_method_service.rbi index 3dba5a835..a3fe5ae5c 100644 --- a/rbi/stripe/services/customer_payment_method_service.rbi +++ b/rbi/stripe/services/customer_payment_method_service.rbi @@ -6,13 +6,13 @@ module Stripe class CustomerPaymentMethodService < StripeService # Returns a list of PaymentMethods for a given Customer sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerPaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves a PaymentMethod object for a given Customer. sig { - params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerPaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(customer: String, payment_method: String, params: T.any(::Stripe::CustomerPaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve(customer, payment_method, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_payment_source_service.rbi b/rbi/stripe/services/customer_payment_source_service.rbi index a1bef7a45..712c5a792 100644 --- a/rbi/stripe/services/customer_payment_source_service.rbi +++ b/rbi/stripe/services/customer_payment_source_service.rbi @@ -10,37 +10,37 @@ module Stripe # However, if the owner already has a default, then it will not change. # To change the default, you should [update the customer](https://docs.stripe.com/docs/api#update_customer) to have a new default_source. sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def create(customer, params = {}, opts = {}); end # Delete a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def delete(customer, id, params = {}, opts = {}); end # List sources for a specified customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerPaymentSourceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieve a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def retrieve(customer, id, params = {}, opts = {}); end # Update a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def update(customer, id, params = {}, opts = {}); end # Verify a specified bank account for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::BankAccount) + params(customer: String, id: String, params: T.any(::Stripe::CustomerPaymentSourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::BankAccount) } def verify(customer, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_service.rbi b/rbi/stripe/services/customer_service.rbi index f71547d87..cdb1abc5d 100644 --- a/rbi/stripe/services/customer_service.rbi +++ b/rbi/stripe/services/customer_service.rbi @@ -13,31 +13,31 @@ module Stripe attr_reader :tax_ids # Creates a new customer object. sig { - params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(params: T.any(::Stripe::CustomerCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def create(params = {}, opts = {}); end # Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def delete(customer, params = {}, opts = {}); end # Removes the currently applied discount on a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(customer: String, params: T.any(::Stripe::CustomerDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(customer, params = {}, opts = {}); end # Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. sig { - params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::CustomerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Customer object. sig { - params(customer: String, params: T.any(::Stripe::CustomerRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def retrieve(customer, params = {}, opts = {}); end @@ -46,7 +46,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::CustomerSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -54,7 +54,7 @@ module Stripe # # This request accepts mostly the same arguments as the customer creation call. sig { - params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Customer) + params(customer: String, params: T.any(::Stripe::CustomerUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Customer) } def update(customer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_session_service.rbi b/rbi/stripe/services/customer_session_service.rbi index 6c743d507..7dc28e277 100644 --- a/rbi/stripe/services/customer_session_service.rbi +++ b/rbi/stripe/services/customer_session_service.rbi @@ -6,7 +6,7 @@ module Stripe class CustomerSessionService < StripeService # Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources. sig { - params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerSession) + params(params: T.any(::Stripe::CustomerSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerSession) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/customer_tax_id_service.rbi b/rbi/stripe/services/customer_tax_id_service.rbi index 29e870915..5aba01359 100644 --- a/rbi/stripe/services/customer_tax_id_service.rbi +++ b/rbi/stripe/services/customer_tax_id_service.rbi @@ -6,25 +6,25 @@ module Stripe class CustomerTaxIdService < StripeService # Creates a new tax_id object for a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerTaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, params: T.any(::Stripe::CustomerTaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def create(customer, params = {}, opts = {}); end # Deletes an existing tax_id object. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(customer, id, params = {}, opts = {}); end # Returns a list of tax IDs for a customer. sig { - params(customer: String, params: T.any(::Stripe::CustomerTaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(customer: String, params: T.any(::Stripe::CustomerTaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(customer, params = {}, opts = {}); end # Retrieves the tax_id object with the given identifier. sig { - params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(customer: String, id: String, params: T.any(::Stripe::CustomerTaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def retrieve(customer, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/dispute_service.rbi b/rbi/stripe/services/dispute_service.rbi index 60d4c8c6a..2d350503b 100644 --- a/rbi/stripe/services/dispute_service.rbi +++ b/rbi/stripe/services/dispute_service.rbi @@ -8,19 +8,19 @@ module Stripe # # The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. sig { - params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def close(dispute, params = {}, opts = {}); end # Returns a list of your disputes. sig { - params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the dispute with the given ID. sig { - params(dispute: String, params: T.any(::Stripe::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def retrieve(dispute, params = {}, opts = {}); end @@ -28,7 +28,7 @@ module Stripe # # Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://docs.stripe.com/docs/disputes/categories). sig { - params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Dispute) + params(dispute: String, params: T.any(::Stripe::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Dispute) } def update(dispute, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/entitlements/active_entitlement_service.rbi b/rbi/stripe/services/entitlements/active_entitlement_service.rbi index 2f203d8cf..908813045 100644 --- a/rbi/stripe/services/entitlements/active_entitlement_service.rbi +++ b/rbi/stripe/services/entitlements/active_entitlement_service.rbi @@ -7,13 +7,13 @@ module Stripe class ActiveEntitlementService < StripeService # Retrieve a list of active entitlements for a customer sig { - params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::ActiveEntitlementListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an active entitlement sig { - params(id: String, params: T.any(::Stripe::Entitlements::ActiveEntitlementRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::ActiveEntitlement) + params(id: String, params: T.any(::Stripe::Entitlements::ActiveEntitlementRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::ActiveEntitlement) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/entitlements/feature_service.rbi b/rbi/stripe/services/entitlements/feature_service.rbi index f87628caa..a84c8a4f4 100644 --- a/rbi/stripe/services/entitlements/feature_service.rbi +++ b/rbi/stripe/services/entitlements/feature_service.rbi @@ -7,25 +7,25 @@ module Stripe class FeatureService < StripeService # Creates a feature sig { - params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(params: T.any(::Stripe::Entitlements::FeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def create(params = {}, opts = {}); end # Retrieve a list of features sig { - params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Entitlements::FeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a feature sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def retrieve(id, params = {}, opts = {}); end # Update a feature's metadata or permanently deactivate it. sig { - params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Entitlements::Feature) + params(id: String, params: T.any(::Stripe::Entitlements::FeatureUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Entitlements::Feature) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/ephemeral_key_service.rbi b/rbi/stripe/services/ephemeral_key_service.rbi index 0035af51d..fb46c8c48 100644 --- a/rbi/stripe/services/ephemeral_key_service.rbi +++ b/rbi/stripe/services/ephemeral_key_service.rbi @@ -6,13 +6,13 @@ module Stripe class EphemeralKeyService < StripeService # Creates a short-lived API key for a given resource. sig { - params(params: T.any(::Stripe::EphemeralKeyCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(params: T.any(::Stripe::EphemeralKeyCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def create(params = {}, opts = {}); end # Invalidates a short-lived API key for a given resource. sig { - params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::EphemeralKey) + params(key: String, params: T.any(::Stripe::EphemeralKeyDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::EphemeralKey) } def delete(key, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/event_service.rbi b/rbi/stripe/services/event_service.rbi index 32ddb9287..fbd783c00 100644 --- a/rbi/stripe/services/event_service.rbi +++ b/rbi/stripe/services/event_service.rbi @@ -6,13 +6,13 @@ module Stripe class EventService < StripeService # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). sig { - params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook. sig { - params(id: String, params: T.any(::Stripe::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Event) + params(id: String, params: T.any(::Stripe::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Event) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/exchange_rate_service.rbi b/rbi/stripe/services/exchange_rate_service.rbi index 233ca7d40..6c77cd788 100644 --- a/rbi/stripe/services/exchange_rate_service.rbi +++ b/rbi/stripe/services/exchange_rate_service.rbi @@ -8,7 +8,7 @@ module Stripe # # 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. sig { - params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExchangeRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -16,7 +16,7 @@ module Stripe # # Retrieves the exchange rates from the given currency to every supported currency. sig { - params(rate_id: String, params: T.any(::Stripe::ExchangeRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ExchangeRate) + params(rate_id: String, params: T.any(::Stripe::ExchangeRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ExchangeRate) } def retrieve(rate_id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/external_account_service.rbi b/rbi/stripe/services/external_account_service.rbi index ea438e0f0..48973c45f 100644 --- a/rbi/stripe/services/external_account_service.rbi +++ b/rbi/stripe/services/external_account_service.rbi @@ -6,25 +6,25 @@ module Stripe class ExternalAccountService < StripeService # Create an external account for a given connected account. sig { - params(params: T.any(::Stripe::ExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(params: T.any(::Stripe::ExternalAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def create(params = {}, opts = {}); end # Delete a specified external account for a given account. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def delete(id, params = {}, opts = {}); end # List external accounts for an account. sig { - params(params: T.any(::Stripe::ExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ExternalAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a specified external account for a given account. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def retrieve(id, params = {}, opts = {}); end @@ -37,7 +37,7 @@ module Stripe # You can re-enable a disabled bank account by performing an update call without providing any # arguments or changes. sig { - params(id: String, params: T.any(::Stripe::ExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::BankAccount, Stripe::Card)) + params(id: String, params: T.any(::Stripe::ExternalAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::BankAccount, ::Stripe::Card)) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/file_link_service.rbi b/rbi/stripe/services/file_link_service.rbi index 7bf19755e..70d551194 100644 --- a/rbi/stripe/services/file_link_service.rbi +++ b/rbi/stripe/services/file_link_service.rbi @@ -6,25 +6,25 @@ module Stripe class FileLinkService < StripeService # Creates a new file link object. sig { - params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(params: T.any(::Stripe::FileLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def create(params = {}, opts = {}); end # Returns a list of file links. sig { - params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the file link with the given ID. sig { - params(link: String, params: T.any(::Stripe::FileLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def retrieve(link, params = {}, opts = {}); end # Updates an existing file link object. Expired links can no longer be updated. sig { - params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FileLink) + params(link: String, params: T.any(::Stripe::FileLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FileLink) } def update(link, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/file_service.rbi b/rbi/stripe/services/file_service.rbi index e523ecb74..0d4dbe43f 100644 --- a/rbi/stripe/services/file_service.rbi +++ b/rbi/stripe/services/file_service.rbi @@ -8,19 +8,19 @@ module Stripe # # All of Stripe's officially supported Client libraries support sending multipart/form-data. sig { - params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(params: T.any(::Stripe::FileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def create(params = {}, opts = {}); end # Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top. sig { - params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to [access file contents](https://docs.stripe.com/docs/file-upload#download-file-contents). sig { - params(file: String, params: T.any(::Stripe::FileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::File) + params(file: String, params: T.any(::Stripe::FileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::File) } def retrieve(file, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi b/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi index df7ed50ee..8b821b67d 100644 --- a/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +++ b/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi @@ -7,7 +7,7 @@ module Stripe class AccountInferredBalanceService < StripeService # Lists the recorded inferred balances for a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountInferredBalanceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountInferredBalanceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/account_owner_service.rbi b/rbi/stripe/services/financial_connections/account_owner_service.rbi index cf15557df..2a3eefaa9 100644 --- a/rbi/stripe/services/financial_connections/account_owner_service.rbi +++ b/rbi/stripe/services/financial_connections/account_owner_service.rbi @@ -7,7 +7,7 @@ module Stripe class AccountOwnerService < StripeService # Lists all owners for a given Account sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountOwnerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountOwnerListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/account_service.rbi b/rbi/stripe/services/financial_connections/account_service.rbi index c3c60b6cb..975463d70 100644 --- a/rbi/stripe/services/financial_connections/account_service.rbi +++ b/rbi/stripe/services/financial_connections/account_service.rbi @@ -9,37 +9,37 @@ module Stripe attr_reader :owners # Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions). sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountDisconnectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def disconnect(account, params = {}, opts = {}); end # Returns a list of Financial Connections Account objects. sig { - params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Refreshes the data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRefreshParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def refresh(account, params = {}, opts = {}); end # Retrieves the details of an Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def retrieve(account, params = {}, opts = {}); end # Subscribes to periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(account, params = {}, opts = {}); end # Unsubscribes from periodic refreshes of data associated with a Financial Connections Account. sig { - params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Account) + params(account: String, params: T.any(::Stripe::FinancialConnections::AccountUnsubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def unsubscribe(account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/institution_service.rbi b/rbi/stripe/services/financial_connections/institution_service.rbi index 4ada53a11..7cd9a3c2a 100644 --- a/rbi/stripe/services/financial_connections/institution_service.rbi +++ b/rbi/stripe/services/financial_connections/institution_service.rbi @@ -7,13 +7,13 @@ module Stripe class InstitutionService < StripeService # Returns a list of Financial Connections Institution objects. sig { - params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::InstitutionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Institution. sig { - params(institution: String, params: T.any(::Stripe::FinancialConnections::InstitutionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Institution) + params(institution: String, params: T.any(::Stripe::FinancialConnections::InstitutionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Institution) } def retrieve(institution, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/session_service.rbi b/rbi/stripe/services/financial_connections/session_service.rbi index 0d6d9f41e..7324c7737 100644 --- a/rbi/stripe/services/financial_connections/session_service.rbi +++ b/rbi/stripe/services/financial_connections/session_service.rbi @@ -7,13 +7,13 @@ module Stripe class SessionService < StripeService # To launch the Financial Connections authorization flow, create a Session. The session's client_secret can be used to launch the flow using Stripe.js. sig { - params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(params: T.any(::Stripe::FinancialConnections::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def create(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Session sig { - params(session: String, params: T.any(::Stripe::FinancialConnections::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Session) + params(session: String, params: T.any(::Stripe::FinancialConnections::SessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Session) } def retrieve(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/financial_connections/transaction_service.rbi b/rbi/stripe/services/financial_connections/transaction_service.rbi index a2afb153a..5f269d8a9 100644 --- a/rbi/stripe/services/financial_connections/transaction_service.rbi +++ b/rbi/stripe/services/financial_connections/transaction_service.rbi @@ -7,13 +7,13 @@ module Stripe class TransactionService < StripeService # Returns a list of Financial Connections Transaction objects. sig { - params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FinancialConnections::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Financial Connections Transaction sig { - params(transaction: String, params: T.any(::Stripe::FinancialConnections::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FinancialConnections::Transaction) + params(transaction: String, params: T.any(::Stripe::FinancialConnections::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Transaction) } def retrieve(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/forwarding/request_service.rbi b/rbi/stripe/services/forwarding/request_service.rbi index f42acff7e..5d5546d61 100644 --- a/rbi/stripe/services/forwarding/request_service.rbi +++ b/rbi/stripe/services/forwarding/request_service.rbi @@ -7,19 +7,19 @@ module Stripe class RequestService < StripeService # Creates a ForwardingRequest object. sig { - params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(params: T.any(::Stripe::Forwarding::RequestCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def create(params = {}, opts = {}); end # Lists all ForwardingRequest objects. sig { - params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Forwarding::RequestListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ForwardingRequest object. sig { - params(id: String, params: T.any(::Stripe::Forwarding::RequestRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Forwarding::Request) + params(id: String, params: T.any(::Stripe::Forwarding::RequestRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Forwarding::Request) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/fx_quote_service.rbi b/rbi/stripe/services/fx_quote_service.rbi index 2735a94cd..dd78e9cb4 100644 --- a/rbi/stripe/services/fx_quote_service.rbi +++ b/rbi/stripe/services/fx_quote_service.rbi @@ -6,19 +6,19 @@ module Stripe class FxQuoteService < StripeService # Creates an FX Quote object sig { - params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(params: T.any(::Stripe::FxQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def create(params = {}, opts = {}); end # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first. sig { - params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::FxQuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve an FX Quote object sig { - params(id: String, params: T.any(::Stripe::FxQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote) + params(id: String, params: T.any(::Stripe::FxQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FxQuote) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/identity/verification_report_service.rbi b/rbi/stripe/services/identity/verification_report_service.rbi index cc1fb2ab0..2704ab934 100644 --- a/rbi/stripe/services/identity/verification_report_service.rbi +++ b/rbi/stripe/services/identity/verification_report_service.rbi @@ -7,13 +7,13 @@ module Stripe class VerificationReportService < StripeService # List all verification reports. sig { - params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationReportListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an existing VerificationReport sig { - params(report: String, params: T.any(::Stripe::Identity::VerificationReportRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationReport) + params(report: String, params: T.any(::Stripe::Identity::VerificationReportRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationReport) } def retrieve(report, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/identity/verification_session_service.rbi b/rbi/stripe/services/identity/verification_session_service.rbi index 89662896f..7b83bed98 100644 --- a/rbi/stripe/services/identity/verification_session_service.rbi +++ b/rbi/stripe/services/identity/verification_session_service.rbi @@ -9,7 +9,7 @@ module Stripe # # Once canceled, future submission attempts are disabled. This cannot be undone. [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#cancel). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def cancel(session, params = {}, opts = {}); end @@ -21,13 +21,13 @@ module Stripe # # Related guide: [Verify your users' identity documents](https://docs.stripe.com/docs/identity/verify-identity-documents) sig { - params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(params: T.any(::Stripe::Identity::VerificationSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def create(params = {}, opts = {}); end # Returns a list of VerificationSessions sig { - params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Identity::VerificationSessionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -51,7 +51,7 @@ module Stripe # # [Learn more](https://docs.stripe.com/docs/identity/verification-sessions#redact). sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRedactParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def redact(session, params = {}, opts = {}); end @@ -60,7 +60,7 @@ module Stripe # When the session status is requires_input, you can use this method to retrieve a valid # client_secret or url to allow re-submission. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def retrieve(session, params = {}, opts = {}); end @@ -69,7 +69,7 @@ module Stripe # When the session status is requires_input, you can use this method to update the # verification check and options. sig { - params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Identity::VerificationSession) + params(session: String, params: T.any(::Stripe::Identity::VerificationSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::VerificationSession) } def update(session, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/invoice_item_service.rbi b/rbi/stripe/services/invoice_item_service.rbi index 8d57e8f6e..cf4366ad3 100644 --- a/rbi/stripe/services/invoice_item_service.rbi +++ b/rbi/stripe/services/invoice_item_service.rbi @@ -6,31 +6,31 @@ module Stripe class InvoiceItemService < StripeService # Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified. sig { - params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(params: T.any(::Stripe::InvoiceItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def create(params = {}, opts = {}); end # Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def delete(invoiceitem, params = {}, opts = {}); end # Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first. sig { - params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the invoice item with the given ID. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def retrieve(invoiceitem, params = {}, opts = {}); end # Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed. sig { - params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceItem) + params(invoiceitem: String, params: T.any(::Stripe::InvoiceItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceItem) } def update(invoiceitem, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/invoice_line_item_service.rbi b/rbi/stripe/services/invoice_line_item_service.rbi index d43f4bd3c..c462b389f 100644 --- a/rbi/stripe/services/invoice_line_item_service.rbi +++ b/rbi/stripe/services/invoice_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class InvoiceLineItemService < StripeService # When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(invoice: String, params: T.any(::Stripe::InvoiceLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(invoice, params = {}, opts = {}); end @@ -15,7 +15,7 @@ module Stripe # item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. # Updating an invoice's line item is only possible before the invoice is finalized. sig { - params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceLineItem) + params(invoice: String, line_item_id: String, params: T.any(::Stripe::InvoiceLineItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceLineItem) } def update(invoice, line_item_id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/invoice_payment_service.rbi b/rbi/stripe/services/invoice_payment_service.rbi index ef82823bb..57867b886 100644 --- a/rbi/stripe/services/invoice_payment_service.rbi +++ b/rbi/stripe/services/invoice_payment_service.rbi @@ -6,13 +6,13 @@ module Stripe class InvoicePaymentService < StripeService # When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments. sig { - params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoicePaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the invoice payment with the given ID. sig { - params(invoice_payment: String, params: T.any(::Stripe::InvoicePaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoicePayment) + params(invoice_payment: String, params: T.any(::Stripe::InvoicePaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoicePayment) } def retrieve(invoice_payment, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/invoice_rendering_template_service.rbi b/rbi/stripe/services/invoice_rendering_template_service.rbi index 28cd67e6b..ea3b7bfb9 100644 --- a/rbi/stripe/services/invoice_rendering_template_service.rbi +++ b/rbi/stripe/services/invoice_rendering_template_service.rbi @@ -6,25 +6,25 @@ module Stripe class InvoiceRenderingTemplateService < StripeService # Updates the status of an invoice rendering template to ‘archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def archive(template, params = {}, opts = {}); end # List all templates, ordered by creation date, with the most recently created template appearing first. sig { - params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceRenderingTemplateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def retrieve(template, params = {}, opts = {}); end # Unarchive an invoice rendering template so it can be used on new Stripe objects again. sig { - params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoiceRenderingTemplate) + params(template: String, params: T.any(::Stripe::InvoiceRenderingTemplateUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::InvoiceRenderingTemplate) } def unarchive(template, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/invoice_service.rbi b/rbi/stripe/services/invoice_service.rbi index 60b1d0fc9..7d62c4ae6 100644 --- a/rbi/stripe/services/invoice_service.rbi +++ b/rbi/stripe/services/invoice_service.rbi @@ -7,7 +7,7 @@ module Stripe attr_reader :line_items # Adds multiple line items to an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAddLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def add_lines(invoice, params = {}, opts = {}); end @@ -22,13 +22,13 @@ module Stripe # # See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceAttachPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def attach_payment(invoice, params = {}, opts = {}); end # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers. sig { - params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def create(params = {}, opts = {}); end @@ -42,49 +42,49 @@ module Stripe # # Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions) sig { - params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(params: T.any(::Stripe::InvoiceCreatePreviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def create_preview(params = {}, opts = {}); end # Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice). sig { - params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def delete(invoice, params = {}, opts = {}); end # Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceFinalizeInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def finalize_invoice(invoice, params = {}, opts = {}); end # You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first. sig { - params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::InvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceMarkUncollectibleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def mark_uncollectible(invoice, params = {}, opts = {}); end # Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. sig { - params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoicePayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def pay(invoice, params = {}, opts = {}); end # Removes multiple line items from an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRemoveLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def remove_lines(invoice, params = {}, opts = {}); end # Retrieves the invoice with the given ID. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def retrieve(invoice, params = {}, opts = {}); end @@ -93,7 +93,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::InvoiceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -101,7 +101,7 @@ module Stripe # # Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceSendInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def send_invoice(invoice, params = {}, opts = {}); end @@ -112,13 +112,13 @@ module Stripe # sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass # auto_advance=false. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update(invoice, params = {}, opts = {}); end # Updates multiple line items on an invoice. This is only possible when an invoice is still a draft. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceUpdateLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def update_lines(invoice, params = {}, opts = {}); end @@ -126,7 +126,7 @@ module Stripe # # Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business. sig { - params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice) + params(invoice: String, params: T.any(::Stripe::InvoiceVoidInvoiceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Invoice) } def void_invoice(invoice, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/authorization_service.rbi b/rbi/stripe/services/issuing/authorization_service.rbi index ddfd337bd..779347f90 100644 --- a/rbi/stripe/services/issuing/authorization_service.rbi +++ b/rbi/stripe/services/issuing/authorization_service.rbi @@ -8,32 +8,32 @@ module Stripe # [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def approve(authorization, params = {}, opts = {}); end # [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow. # This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationDeclineParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def decline(authorization, params = {}, opts = {}); end # Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::AuthorizationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Authorization object. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def retrieve(authorization, params = {}, opts = {}); end # Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::Issuing::AuthorizationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def update(authorization, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/card_service.rbi b/rbi/stripe/services/issuing/card_service.rbi index 9a236941e..8ae72e3f7 100644 --- a/rbi/stripe/services/issuing/card_service.rbi +++ b/rbi/stripe/services/issuing/card_service.rbi @@ -7,25 +7,25 @@ module Stripe class CardService < StripeService # Creates an Issuing Card object. sig { - params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(params: T.any(::Stripe::Issuing::CardCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def create(params = {}, opts = {}); end # Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Card object. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def retrieve(card, params = {}, opts = {}); end # Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::Issuing::CardUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def update(card, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/cardholder_service.rbi b/rbi/stripe/services/issuing/cardholder_service.rbi index cde48cfbd..ae2ffcff8 100644 --- a/rbi/stripe/services/issuing/cardholder_service.rbi +++ b/rbi/stripe/services/issuing/cardholder_service.rbi @@ -7,25 +7,25 @@ module Stripe class CardholderService < StripeService # Creates a new Issuing Cardholder object that can be issued cards. sig { - params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(params: T.any(::Stripe::Issuing::CardholderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def create(params = {}, opts = {}); end # Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CardholderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Cardholder object. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def retrieve(cardholder, params = {}, opts = {}); end # Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Cardholder) + params(cardholder: String, params: T.any(::Stripe::Issuing::CardholderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Cardholder) } def update(cardholder, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi b/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi index 7459d1781..276c73d85 100644 --- a/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +++ b/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi @@ -7,37 +7,37 @@ module Stripe class CreditUnderwritingRecordService < StripeService # Update a CreditUnderwritingRecord object to correct mistakes. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCorrectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def correct(credit_underwriting_record, params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object with information about a credit application submission. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromApplicationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def create_from_application(params = {}, opts = {}); end # Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordCreateFromProactiveReviewParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def create_from_proactive_review(params = {}, opts = {}); end # Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::CreditUnderwritingRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Update a CreditUnderwritingRecord object from a decision made on a credit application. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordReportDecisionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def report_decision(credit_underwriting_record, params = {}, opts = {}); end # Retrieves a CreditUnderwritingRecord object. sig { - params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::CreditUnderwritingRecord) + params(credit_underwriting_record: String, params: T.any(::Stripe::Issuing::CreditUnderwritingRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::CreditUnderwritingRecord) } def retrieve(credit_underwriting_record, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/dispute_service.rbi b/rbi/stripe/services/issuing/dispute_service.rbi index f034b4b4a..2eeabd058 100644 --- a/rbi/stripe/services/issuing/dispute_service.rbi +++ b/rbi/stripe/services/issuing/dispute_service.rbi @@ -7,31 +7,31 @@ module Stripe class DisputeService < StripeService # Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements. sig { - params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(params: T.any(::Stripe::Issuing::DisputeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def create(params = {}, opts = {}); end # Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Dispute object. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def retrieve(dispute, params = {}, opts = {}); end # Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def submit(dispute, params = {}, opts = {}); end # Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string. sig { - params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Dispute) + params(dispute: String, params: T.any(::Stripe::Issuing::DisputeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Dispute) } def update(dispute, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi b/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi index 2fffd7cb3..5390e8e4b 100644 --- a/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +++ b/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi @@ -7,13 +7,13 @@ module Stripe class DisputeSettlementDetailService < StripeService # Returns a list of Issuing DisputeSettlementDetail objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::DisputeSettlementDetailListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing DisputeSettlementDetail object. sig { - params(dispute_settlement_detail: String, params: T.any(::Stripe::Issuing::DisputeSettlementDetailRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::DisputeSettlementDetail) + params(dispute_settlement_detail: String, params: T.any(::Stripe::Issuing::DisputeSettlementDetailRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::DisputeSettlementDetail) } def retrieve(dispute_settlement_detail, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi b/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi index 57eaacf47..702aac2ef 100644 --- a/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +++ b/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi @@ -7,13 +7,13 @@ module Stripe class FraudLiabilityDebitService < StripeService # Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::FraudLiabilityDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing FraudLiabilityDebit object. sig { - params(fraud_liability_debit: String, params: T.any(::Stripe::Issuing::FraudLiabilityDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::FraudLiabilityDebit) + params(fraud_liability_debit: String, params: T.any(::Stripe::Issuing::FraudLiabilityDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::FraudLiabilityDebit) } def retrieve(fraud_liability_debit, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/personalization_design_service.rbi b/rbi/stripe/services/issuing/personalization_design_service.rbi index 047188a7b..f19489d8f 100644 --- a/rbi/stripe/services/issuing/personalization_design_service.rbi +++ b/rbi/stripe/services/issuing/personalization_design_service.rbi @@ -7,25 +7,25 @@ module Stripe class PersonalizationDesignService < StripeService # Creates a personalization design object. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def create(params = {}, opts = {}); end # Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PersonalizationDesignListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a personalization design object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def retrieve(personalization_design, params = {}, opts = {}); end # Updates a card personalization object. sig { - params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::Issuing::PersonalizationDesignUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def update(personalization_design, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/physical_bundle_service.rbi b/rbi/stripe/services/issuing/physical_bundle_service.rbi index 8f35701a3..3751cbb05 100644 --- a/rbi/stripe/services/issuing/physical_bundle_service.rbi +++ b/rbi/stripe/services/issuing/physical_bundle_service.rbi @@ -7,13 +7,13 @@ module Stripe class PhysicalBundleService < StripeService # Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::PhysicalBundleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a physical bundle object. sig { - params(physical_bundle: String, params: T.any(::Stripe::Issuing::PhysicalBundleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PhysicalBundle) + params(physical_bundle: String, params: T.any(::Stripe::Issuing::PhysicalBundleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PhysicalBundle) } def retrieve(physical_bundle, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/token_service.rbi b/rbi/stripe/services/issuing/token_service.rbi index 9fcb6e8fa..90250550f 100644 --- a/rbi/stripe/services/issuing/token_service.rbi +++ b/rbi/stripe/services/issuing/token_service.rbi @@ -7,19 +7,19 @@ module Stripe class TokenService < StripeService # Lists all Issuing Token objects for a given card. sig { - params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TokenListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Token object. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def retrieve(token, params = {}, opts = {}); end # Attempts to update the specified Issuing Token object to the status specified. sig { - params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Token) + params(token: String, params: T.any(::Stripe::Issuing::TokenUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Token) } def update(token, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/issuing/transaction_service.rbi b/rbi/stripe/services/issuing/transaction_service.rbi index 40559480e..d2b7759d0 100644 --- a/rbi/stripe/services/issuing/transaction_service.rbi +++ b/rbi/stripe/services/issuing/transaction_service.rbi @@ -7,19 +7,19 @@ module Stripe class TransactionService < StripeService # Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Issuing::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an Issuing Transaction object. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def retrieve(transaction, params = {}, opts = {}); end # Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::Issuing::TransactionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def update(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/mandate_service.rbi b/rbi/stripe/services/mandate_service.rbi index 6fc4f8f14..cb4869c97 100644 --- a/rbi/stripe/services/mandate_service.rbi +++ b/rbi/stripe/services/mandate_service.rbi @@ -6,13 +6,13 @@ module Stripe class MandateService < StripeService # Retrieves a list of Mandates for a given PaymentMethod. sig { - params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Mandate object. sig { - params(mandate: String, params: T.any(::Stripe::MandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Mandate) + params(mandate: String, params: T.any(::Stripe::MandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Mandate) } def retrieve(mandate, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/margin_service.rbi b/rbi/stripe/services/margin_service.rbi index c3ad5650d..1824d046a 100644 --- a/rbi/stripe/services/margin_service.rbi +++ b/rbi/stripe/services/margin_service.rbi @@ -6,25 +6,25 @@ module Stripe class MarginService < StripeService # Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item. sig { - params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(params: T.any(::Stripe::MarginCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def create(params = {}, opts = {}); end # Retrieve a list of your margins. sig { - params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::MarginListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a margin object with the given ID. sig { - params(margin: String, params: T.any(::Stripe::MarginRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def retrieve(margin, params = {}, opts = {}); end # Update the specified margin object. Certain fields of the margin object are not editable. sig { - params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Margin) + params(margin: String, params: T.any(::Stripe::MarginUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Margin) } def update(margin, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/order_line_item_service.rbi b/rbi/stripe/services/order_line_item_service.rbi index b24470698..209ebef7a 100644 --- a/rbi/stripe/services/order_line_item_service.rbi +++ b/rbi/stripe/services/order_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class OrderLineItemService < StripeService # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(id: String, params: T.any(::Stripe::OrderLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::OrderLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/order_service.rbi b/rbi/stripe/services/order_service.rbi index 8ef5597c7..6d0c0a169 100644 --- a/rbi/stripe/services/order_service.rbi +++ b/rbi/stripe/services/order_service.rbi @@ -7,43 +7,43 @@ module Stripe attr_reader :line_items # Cancels the order as well as the payment intent if one is attached. sig { - params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def cancel(id, params = {}, opts = {}); end # Creates a new open order object. sig { - params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(params: T.any(::Stripe::OrderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def create(params = {}, opts = {}); end # Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first. sig { - params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::OrderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Reopens a submitted order. sig { - params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderReopenParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def reopen(id, params = {}, opts = {}); end # Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information. sig { - params(id: String, params: T.any(::Stripe::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def retrieve(id, params = {}, opts = {}); end # Submitting an Order transitions the status to processing and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the [reopen](https://docs.stripe.com/api#reopen_order) method is called. sig { - params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderSubmitParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def submit(id, params = {}, opts = {}); end # Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Order) + params(id: String, params: T.any(::Stripe::OrderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Order) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_attempt_record_service.rbi b/rbi/stripe/services/payment_attempt_record_service.rbi index ec3f0d1ca..e6e4ef9cf 100644 --- a/rbi/stripe/services/payment_attempt_record_service.rbi +++ b/rbi/stripe/services/payment_attempt_record_service.rbi @@ -6,13 +6,13 @@ module Stripe class PaymentAttemptRecordService < StripeService # List all the Payment Attempt Records attached to the specified Payment Record. sig { - params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentAttemptRecordListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Payment Attempt Record with the given ID sig { - params(id: String, params: T.any(::Stripe::PaymentAttemptRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentAttemptRecord) + params(id: String, params: T.any(::Stripe::PaymentAttemptRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentAttemptRecord) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_intent_amount_details_line_item_service.rbi b/rbi/stripe/services/payment_intent_amount_details_line_item_service.rbi index 5f6cbba8e..65f82e1ff 100644 --- a/rbi/stripe/services/payment_intent_amount_details_line_item_service.rbi +++ b/rbi/stripe/services/payment_intent_amount_details_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class PaymentIntentAmountDetailsLineItemService < StripeService # Lists all LineItems of a given PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentAmountDetailsLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(intent: String, params: T.any(::Stripe::PaymentIntentAmountDetailsLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(intent, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_intent_service.rbi b/rbi/stripe/services/payment_intent_service.rbi index bbffcc43f..db0606ab0 100644 --- a/rbi/stripe/services/payment_intent_service.rbi +++ b/rbi/stripe/services/payment_intent_service.rbi @@ -7,7 +7,7 @@ module Stripe attr_reader :amount_details_line_items # Manually reconcile the remaining amount for a customer_balance PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentApplyCustomerBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def apply_customer_balance(intent, params = {}, opts = {}); end @@ -17,7 +17,7 @@ module Stripe # # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def cancel(intent, params = {}, opts = {}); end @@ -27,7 +27,7 @@ module Stripe # # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def capture(intent, params = {}, opts = {}); end @@ -62,7 +62,7 @@ module Stripe # After this limit is reached, any further calls to this endpoint will # transition the PaymentIntent to the canceled state. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def confirm(intent, params = {}, opts = {}); end @@ -77,7 +77,7 @@ module Stripe # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply # confirm=true. sig { - params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(params: T.any(::Stripe::PaymentIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def create(params = {}, opts = {}); end @@ -98,7 +98,7 @@ module Stripe # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. # After it's fully captured, a PaymentIntent can no longer be decremented. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentDecrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def decrement_authorization(intent, params = {}, opts = {}); end @@ -127,13 +127,13 @@ module Stripe # # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations). sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentIncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def increment_authorization(intent, params = {}, opts = {}); end # Returns a list of PaymentIntents. sig { - params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -143,7 +143,7 @@ module Stripe # # If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def retrieve(intent, params = {}, opts = {}); end @@ -152,13 +152,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntentSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Trigger an external action on a PaymentIntent. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentTriggerActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def trigger_action(intent, params = {}, opts = {}); end @@ -170,13 +170,13 @@ module Stripe # update and confirm at the same time, we recommend updating properties through # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def update(intent, params = {}, opts = {}); end # Verifies microdeposits on a PaymentIntent object. sig { - params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent) + params(intent: String, params: T.any(::Stripe::PaymentIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentIntent) } def verify_microdeposits(intent, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_link_line_item_service.rbi b/rbi/stripe/services/payment_link_line_item_service.rbi index 8bf65cc13..90eced053 100644 --- a/rbi/stripe/services/payment_link_line_item_service.rbi +++ b/rbi/stripe/services/payment_link_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class PaymentLinkLineItemService < StripeService # When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(payment_link, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_link_service.rbi b/rbi/stripe/services/payment_link_service.rbi index 97c46c7be..7ef4e5a62 100644 --- a/rbi/stripe/services/payment_link_service.rbi +++ b/rbi/stripe/services/payment_link_service.rbi @@ -7,25 +7,25 @@ module Stripe attr_reader :line_items # Creates a payment link. sig { - params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(params: T.any(::Stripe::PaymentLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def create(params = {}, opts = {}); end # Returns a list of your payment links. sig { - params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentLinkListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def retrieve(payment_link, params = {}, opts = {}); end # Updates a payment link. sig { - params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentLink) + params(payment_link: String, params: T.any(::Stripe::PaymentLinkUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentLink) } def update(payment_link, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_method_configuration_service.rbi b/rbi/stripe/services/payment_method_configuration_service.rbi index 6f2106729..891bedb93 100644 --- a/rbi/stripe/services/payment_method_configuration_service.rbi +++ b/rbi/stripe/services/payment_method_configuration_service.rbi @@ -6,25 +6,25 @@ module Stripe class PaymentMethodConfigurationService < StripeService # Creates a payment method configuration sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(params: T.any(::Stripe::PaymentMethodConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def create(params = {}, opts = {}); end # List payment method configurations sig { - params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieve payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def retrieve(configuration, params = {}, opts = {}); end # Update payment method configuration sig { - params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration) + params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodConfiguration) } def update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_method_domain_service.rbi b/rbi/stripe/services/payment_method_domain_service.rbi index ea9edb765..798e8d2d2 100644 --- a/rbi/stripe/services/payment_method_domain_service.rbi +++ b/rbi/stripe/services/payment_method_domain_service.rbi @@ -6,25 +6,25 @@ module Stripe class PaymentMethodDomainService < StripeService # Creates a payment method domain. sig { - params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(params: T.any(::Stripe::PaymentMethodDomainCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def create(params = {}, opts = {}); end # Lists the details of existing payment method domains. sig { - params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodDomainListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def retrieve(payment_method_domain, params = {}, opts = {}); end # Updates an existing payment method domain. sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def update(payment_method_domain, params = {}, opts = {}); end @@ -35,7 +35,7 @@ module Stripe # # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration). sig { - params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain) + params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethodDomain) } def validate(payment_method_domain, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_method_service.rbi b/rbi/stripe/services/payment_method_service.rbi index 1a5cd2025..ff9c7e586 100644 --- a/rbi/stripe/services/payment_method_service.rbi +++ b/rbi/stripe/services/payment_method_service.rbi @@ -18,7 +18,7 @@ module Stripe # set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), # on the Customer to the PaymentMethod's ID. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodAttachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def attach(payment_method, params = {}, opts = {}); end @@ -26,31 +26,31 @@ module Stripe # # Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment. sig { - params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(params: T.any(::Stripe::PaymentMethodCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def create(params = {}, opts = {}); end # Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def detach(payment_method, params = {}, opts = {}); end # Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer_list) API instead. sig { - params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PaymentMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use [Retrieve a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer) sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def retrieve(payment_method, params = {}, opts = {}); end # Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated. sig { - params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethod) + params(payment_method: String, params: T.any(::Stripe::PaymentMethodUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentMethod) } def update(payment_method, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payment_record_service.rbi b/rbi/stripe/services/payment_record_service.rbi index bb9ed97e0..d1df017de 100644 --- a/rbi/stripe/services/payment_record_service.rbi +++ b/rbi/stripe/services/payment_record_service.rbi @@ -8,47 +8,54 @@ module Stripe # initialized and later report updates through the other report_* methods, or report Payment # Records in a terminal state directly, through this method. sig { - params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(params: T.any(::Stripe::PaymentRecordReportPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment(params = {}, opts = {}); end # Report a new payment attempt on the specified Payment Record. A new payment # attempt can only be specified if all other payment attempts are canceled or failed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was canceled. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptCanceledParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_canceled(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # failed or errored. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptFailedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_failed(id, params = {}, opts = {}); end # Report that the most recent payment attempt on the specified Payment Record # was guaranteed. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_guaranteed(id, params = {}, opts = {}); end # Report informational updates on the specified Payment Record. sig { - params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordReportPaymentAttemptInformationalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def report_payment_attempt_informational(id, params = {}, opts = {}); end + # Report that the most recent payment attempt on the specified Payment Record + # was refunded. + sig { + params(id: String, params: T.any(::Stripe::PaymentRecordReportRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) + } + def report_refund(id, params = {}, opts = {}); end + # Retrieves a Payment Record with the given ID sig { - params(id: String, params: T.any(::Stripe::PaymentRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentRecord) + params(id: String, params: T.any(::Stripe::PaymentRecordRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PaymentRecord) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/payout_service.rbi b/rbi/stripe/services/payout_service.rbi index 61d99c7dd..dab412740 100644 --- a/rbi/stripe/services/payout_service.rbi +++ b/rbi/stripe/services/payout_service.rbi @@ -6,7 +6,7 @@ module Stripe class PayoutService < StripeService # You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can't cancel automatic Stripe payouts. sig { - params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def cancel(payout, params = {}, opts = {}); end @@ -16,33 +16,33 @@ module Stripe # # If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://docs.stripe.com/api#balance_object) details available and pending amounts by source type. sig { - params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(params: T.any(::Stripe::PayoutCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def create(params = {}, opts = {}); end # Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first. sig { - params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PayoutListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information. sig { - params(payout: String, params: T.any(::Stripe::PayoutRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def retrieve(payout, params = {}, opts = {}); end - # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. + # Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead. # # By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required. sig { - params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def reverse(payout, params = {}, opts = {}); end # Updates the specified payout by setting the values of the parameters you pass. We don't change parameters that you don't provide. This request only accepts the metadata as arguments. sig { - params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Payout) + params(payout: String, params: T.any(::Stripe::PayoutUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Payout) } def update(payout, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/plan_service.rbi b/rbi/stripe/services/plan_service.rbi index cc3de0d39..a58d7745c 100644 --- a/rbi/stripe/services/plan_service.rbi +++ b/rbi/stripe/services/plan_service.rbi @@ -6,31 +6,31 @@ module Stripe class PlanService < StripeService # You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. sig { - params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(params: T.any(::Stripe::PlanCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def create(params = {}, opts = {}); end # Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. sig { - params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def delete(plan, params = {}, opts = {}); end # Returns a list of your plans. sig { - params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the plan with the given ID. sig { - params(plan: String, params: T.any(::Stripe::PlanRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def retrieve(plan, params = {}, opts = {}); end # Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle. sig { - params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Plan) + params(plan: String, params: T.any(::Stripe::PlanUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Plan) } def update(plan, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/price_service.rbi b/rbi/stripe/services/price_service.rbi index 5a36d385a..aa55fb6e0 100644 --- a/rbi/stripe/services/price_service.rbi +++ b/rbi/stripe/services/price_service.rbi @@ -6,19 +6,19 @@ module Stripe class PriceService < StripeService # Creates a new [Price for an existing Product](https://docs.stripe.com/api/prices). The Price can be recurring or one-time. sig { - params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(params: T.any(::Stripe::PriceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def create(params = {}, opts = {}); end # Returns a list of your active prices, excluding [inline prices](https://docs.stripe.com/docs/products-prices/pricing-models#inline-pricing). For the list of inactive prices, set active to false. sig { - params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PriceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the price with the given ID. sig { - params(price: String, params: T.any(::Stripe::PriceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def retrieve(price, params = {}, opts = {}); end @@ -27,13 +27,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PriceSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged. sig { - params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Price) + params(price: String, params: T.any(::Stripe::PriceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Price) } def update(price, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/privacy/redaction_job_service.rbi b/rbi/stripe/services/privacy/redaction_job_service.rbi index 1acc8d95c..7462b7fb7 100644 --- a/rbi/stripe/services/privacy/redaction_job_service.rbi +++ b/rbi/stripe/services/privacy/redaction_job_service.rbi @@ -10,25 +10,25 @@ module Stripe # # Canceling the redaction job will abandon its attempt to redact the configured objects. A canceled job cannot be used again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def cancel(job, params = {}, opts = {}); end # Creates a redaction job. When a job is created, it will start to validate. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(params: T.any(::Stripe::Privacy::RedactionJobCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def create(params = {}, opts = {}); end # Returns a list of redaction jobs. sig { - params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Privacy::RedactionJobListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a previously created redaction job. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def retrieve(job, params = {}, opts = {}); end @@ -38,7 +38,7 @@ module Stripe # # The status of the job will move to redacting. Once all of the objects are redacted, the status will become succeeded. If the job's validation_behavior is set to fix, the automatic fixes will be applied to objects at this step. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobRunParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def run(job, params = {}, opts = {}); end @@ -46,7 +46,7 @@ module Stripe # # If the job to update is in a failed status, it will not automatically start to validate. Once you applied all of the changes, use the validate API to start validation again. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def update(job, params = {}, opts = {}); end @@ -56,7 +56,7 @@ module Stripe # # The status of the job will move to validating. Once all of the objects are validated, the status of the job will become ready. If there are any validation errors preventing the job from running, the status will become failed. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJob) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Privacy::RedactionJob) } def validate(job, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/privacy/redaction_job_validation_error_service.rbi b/rbi/stripe/services/privacy/redaction_job_validation_error_service.rbi index 0d39d64ae..292ea2de8 100644 --- a/rbi/stripe/services/privacy/redaction_job_validation_error_service.rbi +++ b/rbi/stripe/services/privacy/redaction_job_validation_error_service.rbi @@ -7,7 +7,7 @@ module Stripe class RedactionJobValidationErrorService < StripeService # Returns a list of validation errors for the specified redaction job. sig { - params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(job, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/product_feature_service.rbi b/rbi/stripe/services/product_feature_service.rbi index 59c66609f..f8f3a28ee 100644 --- a/rbi/stripe/services/product_feature_service.rbi +++ b/rbi/stripe/services/product_feature_service.rbi @@ -6,25 +6,25 @@ module Stripe class ProductFeatureService < StripeService # Creates a product_feature, which represents a feature attachment to a product sig { - params(product: String, params: T.any(::Stripe::ProductFeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, params: T.any(::Stripe::ProductFeatureCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def create(product, params = {}, opts = {}); end # Deletes the feature attachment to a product sig { - params(product: String, id: String, params: T.any(::Stripe::ProductFeatureDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, id: String, params: T.any(::Stripe::ProductFeatureDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def delete(product, id, params = {}, opts = {}); end # Retrieve a list of features for a product sig { - params(product: String, params: T.any(::Stripe::ProductFeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(product: String, params: T.any(::Stripe::ProductFeatureListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(product, params = {}, opts = {}); end # Retrieves a product_feature, which represents a feature attachment to a product sig { - params(product: String, id: String, params: T.any(::Stripe::ProductFeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ProductFeature) + params(product: String, id: String, params: T.any(::Stripe::ProductFeatureRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ProductFeature) } def retrieve(product, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/product_service.rbi b/rbi/stripe/services/product_service.rbi index 6f9d22037..70cd96632 100644 --- a/rbi/stripe/services/product_service.rbi +++ b/rbi/stripe/services/product_service.rbi @@ -7,25 +7,25 @@ module Stripe attr_reader :features # Creates a new product object. sig { - params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(params: T.any(::Stripe::ProductCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def create(params = {}, opts = {}); end # Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. sig { - params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def delete(id, params = {}, opts = {}); end # Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first. sig { - params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ProductListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information. sig { - params(id: String, params: T.any(::Stripe::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def retrieve(id, params = {}, opts = {}); end @@ -34,13 +34,13 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::ProductSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end # Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Product) + params(id: String, params: T.any(::Stripe::ProductUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Product) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/promotion_code_service.rbi b/rbi/stripe/services/promotion_code_service.rbi index 99ea07f38..d5f3f1888 100644 --- a/rbi/stripe/services/promotion_code_service.rbi +++ b/rbi/stripe/services/promotion_code_service.rbi @@ -6,25 +6,25 @@ module Stripe class PromotionCodeService < StripeService # A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer, redemption limit, and expiration date. sig { - params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(params: T.any(::Stripe::PromotionCodeCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def create(params = {}, opts = {}); end # Returns a list of your promotion codes. sig { - params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::PromotionCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use [list](https://docs.stripe.com/docs/api/promotion_codes/list) with the desired code. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def retrieve(promotion_code, params = {}, opts = {}); end # Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable. sig { - params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PromotionCode) + params(promotion_code: String, params: T.any(::Stripe::PromotionCodeUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::PromotionCode) } def update(promotion_code, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi b/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi index 3bd2ea04b..17896c88f 100644 --- a/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +++ b/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi @@ -6,7 +6,7 @@ module Stripe class QuoteComputedUpfrontLineItemsService < StripeService # When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteComputedUpfrontLineItemsListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteComputedUpfrontLineItemsListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_line_item_service.rbi b/rbi/stripe/services/quote_line_item_service.rbi index d7ef2afe4..52488764a 100644 --- a/rbi/stripe/services/quote_line_item_service.rbi +++ b/rbi/stripe/services/quote_line_item_service.rbi @@ -6,7 +6,7 @@ module Stripe class QuoteLineItemService < StripeService # When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. sig { - params(quote: String, params: T.any(::Stripe::QuoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_line_service.rbi b/rbi/stripe/services/quote_line_service.rbi index eb0c22277..1ddf429df 100644 --- a/rbi/stripe/services/quote_line_service.rbi +++ b/rbi/stripe/services/quote_line_service.rbi @@ -6,7 +6,7 @@ module Stripe class QuoteLineService < StripeService # Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. sig { - params(quote: String, params: T.any(::Stripe::QuoteLineListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuoteLineListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_preview_invoice_service.rbi b/rbi/stripe/services/quote_preview_invoice_service.rbi index b5d96daf0..7061a352b 100644 --- a/rbi/stripe/services/quote_preview_invoice_service.rbi +++ b/rbi/stripe/services/quote_preview_invoice_service.rbi @@ -6,7 +6,7 @@ module Stripe class QuotePreviewInvoiceService < StripeService # Preview the invoices that would be generated by accepting the quote. sig { - params(quote: String, params: T.any(::Stripe::QuotePreviewInvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuotePreviewInvoiceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi b/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi index 0ec3f696c..335aa483b 100644 --- a/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +++ b/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi @@ -6,7 +6,7 @@ module Stripe class QuotePreviewSubscriptionScheduleService < StripeService # Preview the schedules that would be generated by accepting the quote sig { - params(quote: String, params: T.any(::Stripe::QuotePreviewSubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, params: T.any(::Stripe::QuotePreviewSubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/quote_service.rbi b/rbi/stripe/services/quote_service.rbi index a30247faa..ccd700c3f 100644 --- a/rbi/stripe/services/quote_service.rbi +++ b/rbi/stripe/services/quote_service.rbi @@ -11,49 +11,49 @@ module Stripe attr_reader :preview_subscription_schedules # Accepts the specified quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteAcceptParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def accept(quote, params = {}, opts = {}); end # Cancels the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def cancel(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote). sig { - params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(params: T.any(::Stripe::QuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def create(params = {}, opts = {}); end # Finalizes the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteFinalizeQuoteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def finalize_quote(quote, params = {}, opts = {}); end # Returns a list of your quotes. sig { - params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::QuoteListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Preview the invoice line items that would be generated by accepting the quote. sig { - params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(quote: String, preview_invoice: String, params: T.any(::Stripe::QuoteListPreviewInvoiceLinesParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {}); end # Converts a stale quote to draft. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkDraftParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_draft(quote, params = {}, opts = {}); end # Converts a draft or open quote to stale. sig { - params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteMarkStaleParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def mark_stale(quote, params = {}, opts = {}); end @@ -65,19 +65,19 @@ module Stripe # Recompute the upcoming invoice estimate for the quote. sig { - params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteReestimateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def reestimate(quote, params = {}, opts = {}); end # Retrieves the quote with the given ID. sig { - params(quote: String, params: T.any(::Stripe::QuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def retrieve(quote, params = {}, opts = {}); end # A quote models prices and services for a customer. sig { - params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Quote) + params(quote: String, params: T.any(::Stripe::QuoteUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Quote) } def update(quote, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/radar/early_fraud_warning_service.rbi b/rbi/stripe/services/radar/early_fraud_warning_service.rbi index af488c801..3a10de3ce 100644 --- a/rbi/stripe/services/radar/early_fraud_warning_service.rbi +++ b/rbi/stripe/services/radar/early_fraud_warning_service.rbi @@ -7,7 +7,7 @@ module Stripe class EarlyFraudWarningService < StripeService # Returns a list of early fraud warnings. sig { - params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::EarlyFraudWarningListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -15,7 +15,7 @@ module Stripe # # Please refer to the [early fraud warning](https://docs.stripe.com/api#early_fraud_warning_object) object reference for more details. sig { - params(early_fraud_warning: String, params: T.any(::Stripe::Radar::EarlyFraudWarningRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::EarlyFraudWarning) + params(early_fraud_warning: String, params: T.any(::Stripe::Radar::EarlyFraudWarningRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::EarlyFraudWarning) } def retrieve(early_fraud_warning, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/radar/value_list_item_service.rbi b/rbi/stripe/services/radar/value_list_item_service.rbi index d465d876c..72f9babb6 100644 --- a/rbi/stripe/services/radar/value_list_item_service.rbi +++ b/rbi/stripe/services/radar/value_list_item_service.rbi @@ -7,25 +7,25 @@ module Stripe class ValueListItemService < StripeService # Creates a new ValueListItem object, which is added to the specified parent value list. sig { - params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(params: T.any(::Stripe::Radar::ValueListItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def create(params = {}, opts = {}); end # Deletes a ValueListItem object, removing it from its parent value list. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def delete(item, params = {}, opts = {}); end # Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ValueListItem object. sig { - params(item: String, params: T.any(::Stripe::Radar::ValueListItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueListItem) + params(item: String, params: T.any(::Stripe::Radar::ValueListItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueListItem) } def retrieve(item, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/radar/value_list_service.rbi b/rbi/stripe/services/radar/value_list_service.rbi index 3fe60f625..be971ead7 100644 --- a/rbi/stripe/services/radar/value_list_service.rbi +++ b/rbi/stripe/services/radar/value_list_service.rbi @@ -7,31 +7,31 @@ module Stripe class ValueListService < StripeService # Creates a new ValueList object, which can then be referenced in rules. sig { - params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(params: T.any(::Stripe::Radar::ValueListCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def create(params = {}, opts = {}); end # Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def delete(value_list, params = {}, opts = {}); end # Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Radar::ValueListListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a ValueList object. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def retrieve(value_list, params = {}, opts = {}); end # Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable. sig { - params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Radar::ValueList) + params(value_list: String, params: T.any(::Stripe::Radar::ValueListUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Radar::ValueList) } def update(value_list, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/refund_service.rbi b/rbi/stripe/services/refund_service.rbi index ab7fc450a..ebd1c3065 100644 --- a/rbi/stripe/services/refund_service.rbi +++ b/rbi/stripe/services/refund_service.rbi @@ -8,7 +8,7 @@ module Stripe # # You can't cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state. sig { - params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def cancel(refund, params = {}, opts = {}); end @@ -24,19 +24,19 @@ module Stripe # This method will raise an error when called on an already-refunded charge, # or when trying to refund more money than is left on a charge. sig { - params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(params: T.any(::Stripe::RefundCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def create(params = {}, opts = {}); end # Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object. sig { - params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::RefundListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing refund. sig { - params(refund: String, params: T.any(::Stripe::RefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def retrieve(refund, params = {}, opts = {}); end @@ -44,7 +44,7 @@ module Stripe # # This request only accepts metadata as an argument. sig { - params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::RefundUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def update(refund, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/reporting/report_run_service.rbi b/rbi/stripe/services/reporting/report_run_service.rbi index ae8d1dd2e..352207a31 100644 --- a/rbi/stripe/services/reporting/report_run_service.rbi +++ b/rbi/stripe/services/reporting/report_run_service.rbi @@ -7,19 +7,19 @@ module Stripe class ReportRunService < StripeService # Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(params: T.any(::Stripe::Reporting::ReportRunCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def create(params = {}, opts = {}); end # Returns a list of Report Runs, with the most recent appearing first. sig { - params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing Report Run. sig { - params(report_run: String, params: T.any(::Stripe::Reporting::ReportRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportRun) + params(report_run: String, params: T.any(::Stripe::Reporting::ReportRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportRun) } def retrieve(report_run, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/reporting/report_type_service.rbi b/rbi/stripe/services/reporting/report_type_service.rbi index 3b242b9cb..ae9fefe2d 100644 --- a/rbi/stripe/services/reporting/report_type_service.rbi +++ b/rbi/stripe/services/reporting/report_type_service.rbi @@ -7,13 +7,13 @@ module Stripe class ReportTypeService < StripeService # Returns a full list of Report Types. sig { - params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Reporting::ReportTypeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Report Type. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) sig { - params(report_type: String, params: T.any(::Stripe::Reporting::ReportTypeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reporting::ReportType) + params(report_type: String, params: T.any(::Stripe::Reporting::ReportTypeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reporting::ReportType) } def retrieve(report_type, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/review_service.rbi b/rbi/stripe/services/review_service.rbi index abf9d6713..d59c68b32 100644 --- a/rbi/stripe/services/review_service.rbi +++ b/rbi/stripe/services/review_service.rbi @@ -6,19 +6,19 @@ module Stripe class ReviewService < StripeService # Approves a Review object, closing it and removing it from the list of reviews. sig { - params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewApproveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def approve(review, params = {}, opts = {}); end # Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first. sig { - params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ReviewListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Review object. sig { - params(review: String, params: T.any(::Stripe::ReviewRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Review) + params(review: String, params: T.any(::Stripe::ReviewRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Review) } def retrieve(review, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/setup_attempt_service.rbi b/rbi/stripe/services/setup_attempt_service.rbi index e9c75a71c..c97933bd3 100644 --- a/rbi/stripe/services/setup_attempt_service.rbi +++ b/rbi/stripe/services/setup_attempt_service.rbi @@ -6,7 +6,7 @@ module Stripe class SetupAttemptService < StripeService # Returns a list of SetupAttempts that associate with a provided SetupIntent. sig { - params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupAttemptListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/setup_intent_service.rbi b/rbi/stripe/services/setup_intent_service.rbi index 60f6ddaa4..1d5c0bb41 100644 --- a/rbi/stripe/services/setup_intent_service.rbi +++ b/rbi/stripe/services/setup_intent_service.rbi @@ -8,7 +8,7 @@ module Stripe # # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def cancel(intent, params = {}, opts = {}); end @@ -27,7 +27,7 @@ module Stripe # requires_payment_method status or the canceled status if the # confirmation limit is reached. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def confirm(intent, params = {}, opts = {}); end @@ -36,13 +36,13 @@ module Stripe # After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm) # it to collect any required permissions to charge the payment method later. sig { - params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(params: T.any(::Stripe::SetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def create(params = {}, opts = {}); end # Returns a list of SetupIntents. sig { - params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -52,19 +52,19 @@ module Stripe # # When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://docs.stripe.com/api#setup_intent_object) object reference for more details. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def retrieve(intent, params = {}, opts = {}); end # Updates a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def update(intent, params = {}, opts = {}); end # Verifies microdeposits on a SetupIntent object. sig { - params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent) + params(intent: String, params: T.any(::Stripe::SetupIntentVerifyMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SetupIntent) } def verify_microdeposits(intent, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/shipping_rate_service.rbi b/rbi/stripe/services/shipping_rate_service.rbi index c611b53db..28fe5e66e 100644 --- a/rbi/stripe/services/shipping_rate_service.rbi +++ b/rbi/stripe/services/shipping_rate_service.rbi @@ -6,25 +6,25 @@ module Stripe class ShippingRateService < StripeService # Creates a new shipping rate object. sig { - params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(params: T.any(::Stripe::ShippingRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def create(params = {}, opts = {}); end # Returns a list of your shipping rates. sig { - params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::ShippingRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns the shipping rate object with the given ID. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def retrieve(shipping_rate_token, params = {}, opts = {}); end # Updates an existing shipping rate object. sig { - params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ShippingRate) + params(shipping_rate_token: String, params: T.any(::Stripe::ShippingRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ShippingRate) } def update(shipping_rate_token, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/sigma/scheduled_query_run_service.rbi b/rbi/stripe/services/sigma/scheduled_query_run_service.rbi index 93259889c..d0ffb1f1f 100644 --- a/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +++ b/rbi/stripe/services/sigma/scheduled_query_run_service.rbi @@ -7,13 +7,13 @@ module Stripe class ScheduledQueryRunService < StripeService # Returns a list of scheduled query runs. sig { - params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Sigma::ScheduledQueryRunListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an scheduled query run. sig { - params(scheduled_query_run: String, params: T.any(::Stripe::Sigma::ScheduledQueryRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Sigma::ScheduledQueryRun) + params(scheduled_query_run: String, params: T.any(::Stripe::Sigma::ScheduledQueryRunRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Sigma::ScheduledQueryRun) } def retrieve(scheduled_query_run, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/source_service.rbi b/rbi/stripe/services/source_service.rbi index eef826ee1..7a5c2c28d 100644 --- a/rbi/stripe/services/source_service.rbi +++ b/rbi/stripe/services/source_service.rbi @@ -7,19 +7,19 @@ module Stripe attr_reader :transactions # Creates a new source object. sig { - params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(params: T.any(::Stripe::SourceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def create(params = {}, opts = {}); end # Delete a specified source for a given customer. sig { - params(customer: String, id: String, params: T.any(::Stripe::SourceDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) + params(customer: String, id: String, params: T.any(::Stripe::SourceDetachParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.any(::Stripe::Account, ::Stripe::BankAccount, ::Stripe::Card, ::Stripe::Source)) } def detach(customer, id, params = {}, opts = {}); end # Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information. sig { - params(source: String, params: T.any(::Stripe::SourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def retrieve(source, params = {}, opts = {}); end @@ -27,13 +27,13 @@ module Stripe # # This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://docs.stripe.com/docs/sources) for more detail. sig { - params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def update(source, params = {}, opts = {}); end # Verify a given source. sig { - params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Source) + params(source: String, params: T.any(::Stripe::SourceVerifyParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Source) } def verify(source, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/source_transaction_service.rbi b/rbi/stripe/services/source_transaction_service.rbi index da5124aac..6b4208cb8 100644 --- a/rbi/stripe/services/source_transaction_service.rbi +++ b/rbi/stripe/services/source_transaction_service.rbi @@ -6,7 +6,7 @@ module Stripe class SourceTransactionService < StripeService # List source transactions for a given source. sig { - params(source: String, params: T.any(::Stripe::SourceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(source: String, params: T.any(::Stripe::SourceTransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(source, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/subscription_item_service.rbi b/rbi/stripe/services/subscription_item_service.rbi index e51293e33..cd9f02c06 100644 --- a/rbi/stripe/services/subscription_item_service.rbi +++ b/rbi/stripe/services/subscription_item_service.rbi @@ -6,31 +6,31 @@ module Stripe class SubscriptionItemService < StripeService # Adds a new item to an existing subscription. No existing items will be changed or replaced. sig { - params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(params: T.any(::Stripe::SubscriptionItemCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def create(params = {}, opts = {}); end # Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def delete(item, params = {}, opts = {}); end # Returns a list of your subscription items for a given subscription. sig { - params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the subscription item with the given ID. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def retrieve(item, params = {}, opts = {}); end # Updates the plan or quantity of an item on a current subscription. sig { - params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionItem) + params(item: String, params: T.any(::Stripe::SubscriptionItemUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionItem) } def update(item, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/subscription_schedule_service.rbi b/rbi/stripe/services/subscription_schedule_service.rbi index 5c432ecfc..3fdda1e85 100644 --- a/rbi/stripe/services/subscription_schedule_service.rbi +++ b/rbi/stripe/services/subscription_schedule_service.rbi @@ -6,43 +6,43 @@ module Stripe class SubscriptionScheduleService < StripeService # Amends an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleAmendParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def amend(schedule, params = {}, opts = {}); end # Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def cancel(schedule, params = {}, opts = {}); end # Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. sig { - params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(params: T.any(::Stripe::SubscriptionScheduleCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def create(params = {}, opts = {}); end # Retrieves the list of your subscription schedules. sig { - params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionScheduleListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleReleaseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def release(schedule, params = {}, opts = {}); end # Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def retrieve(schedule, params = {}, opts = {}); end # Updates an existing subscription schedule. sig { - params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SubscriptionSchedule) + params(schedule: String, params: T.any(::Stripe::SubscriptionScheduleUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SubscriptionSchedule) } def update(schedule, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/subscription_service.rbi b/rbi/stripe/services/subscription_service.rbi index a5b274b9a..fdc89ca02 100644 --- a/rbi/stripe/services/subscription_service.rbi +++ b/rbi/stripe/services/subscription_service.rbi @@ -6,7 +6,7 @@ module Stripe class SubscriptionService < StripeService # Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionAttachCadenceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def attach_cadence(subscription, params = {}, opts = {}); end @@ -16,7 +16,7 @@ module Stripe # # By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def cancel(subscription_exposed_id, params = {}, opts = {}); end @@ -28,37 +28,37 @@ module Stripe # To start subscriptions where the first invoice always begins in a draft status, use [subscription schedules](https://docs.stripe.com/docs/billing/subscriptions/subscription-schedules#managing) instead. # Schedules provide the flexibility to model more complex billing configurations that change over time. sig { - params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(params: T.any(::Stripe::SubscriptionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def create(params = {}, opts = {}); end # Removes the currently applied discount on a subscription. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Discount) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionDeleteDiscountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Discount) } def delete_discount(subscription_exposed_id, params = {}, opts = {}); end # By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. sig { - params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::SubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Upgrade the billing_mode of an existing subscription. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionMigrateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def migrate(subscription, params = {}, opts = {}); end # Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date. sig { - params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription: String, params: T.any(::Stripe::SubscriptionResumeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def resume(subscription, params = {}, opts = {}); end # Retrieves the subscription with the given ID. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def retrieve(subscription_exposed_id, params = {}, opts = {}); end @@ -67,7 +67,7 @@ module Stripe # conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up # to an hour behind during outages. Search functionality is not available to merchants in India. sig { - params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::SubscriptionSearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::SearchResultObject) } def search(params = {}, opts = {}); end @@ -93,7 +93,7 @@ module Stripe # # Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing](https://docs.stripe.com/docs/rate-limits) instead. sig { - params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Subscription) + params(subscription_exposed_id: String, params: T.any(::Stripe::SubscriptionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Subscription) } def update(subscription_exposed_id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/association_service.rbi b/rbi/stripe/services/tax/association_service.rbi index aafe0f750..f57356264 100644 --- a/rbi/stripe/services/tax/association_service.rbi +++ b/rbi/stripe/services/tax/association_service.rbi @@ -7,7 +7,7 @@ module Stripe class AssociationService < StripeService # Finds a tax association object by PaymentIntent id. sig { - params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Association) + params(params: T.any(::Stripe::Tax::AssociationFindParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Association) } def find(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/calculation_line_item_service.rbi b/rbi/stripe/services/tax/calculation_line_item_service.rbi index f8c553684..831a05947 100644 --- a/rbi/stripe/services/tax/calculation_line_item_service.rbi +++ b/rbi/stripe/services/tax/calculation_line_item_service.rbi @@ -7,7 +7,7 @@ module Stripe class CalculationLineItemService < StripeService # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(calculation, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/calculation_service.rbi b/rbi/stripe/services/tax/calculation_service.rbi index 0c2126056..87fb5b1e8 100644 --- a/rbi/stripe/services/tax/calculation_service.rbi +++ b/rbi/stripe/services/tax/calculation_service.rbi @@ -8,13 +8,13 @@ module Stripe attr_reader :line_items # Calculates tax based on the input and returns a Tax Calculation object. sig { - params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(params: T.any(::Stripe::Tax::CalculationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def create(params = {}, opts = {}); end # Retrieves a Tax Calculation object, if the calculation hasn't expired. sig { - params(calculation: String, params: T.any(::Stripe::Tax::CalculationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Calculation) + params(calculation: String, params: T.any(::Stripe::Tax::CalculationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Calculation) } def retrieve(calculation, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/form_service.rbi b/rbi/stripe/services/tax/form_service.rbi index 29dde6f77..7dc8882c0 100644 --- a/rbi/stripe/services/tax/form_service.rbi +++ b/rbi/stripe/services/tax/form_service.rbi @@ -7,7 +7,7 @@ module Stripe class FormService < StripeService # Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first. sig { - params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::FormListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end @@ -19,7 +19,7 @@ module Stripe # Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information. sig { - params(id: String, params: T.any(::Stripe::Tax::FormRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Form) + params(id: String, params: T.any(::Stripe::Tax::FormRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Form) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/registration_service.rbi b/rbi/stripe/services/tax/registration_service.rbi index d52620c71..78ad8a450 100644 --- a/rbi/stripe/services/tax/registration_service.rbi +++ b/rbi/stripe/services/tax/registration_service.rbi @@ -7,19 +7,19 @@ module Stripe class RegistrationService < StripeService # Creates a new Tax Registration object. sig { - params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(params: T.any(::Stripe::Tax::RegistrationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def create(params = {}, opts = {}); end # Returns a list of Tax Registration objects. sig { - params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Tax::RegistrationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Returns a Tax Registration object. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def retrieve(id, params = {}, opts = {}); end @@ -27,7 +27,7 @@ module Stripe # # A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at. sig { - params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Registration) + params(id: String, params: T.any(::Stripe::Tax::RegistrationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Registration) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/settings_service.rbi b/rbi/stripe/services/tax/settings_service.rbi index 8754c4191..7b41a0075 100644 --- a/rbi/stripe/services/tax/settings_service.rbi +++ b/rbi/stripe/services/tax/settings_service.rbi @@ -7,13 +7,13 @@ module Stripe class SettingsService < StripeService # Retrieves Tax Settings for a merchant. sig { - params(params: T.any(::Stripe::Tax::SettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Settings) + params(params: T.any(::Stripe::Tax::SettingsRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Settings) } def retrieve(params = {}, opts = {}); end # Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set. sig { - params(params: T.any(::Stripe::Tax::SettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Settings) + params(params: T.any(::Stripe::Tax::SettingsUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Settings) } def update(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/transaction_line_item_service.rbi b/rbi/stripe/services/tax/transaction_line_item_service.rbi index 8637ca851..67c4f8196 100644 --- a/rbi/stripe/services/tax/transaction_line_item_service.rbi +++ b/rbi/stripe/services/tax/transaction_line_item_service.rbi @@ -7,7 +7,7 @@ module Stripe class TransactionLineItemService < StripeService # Retrieves the line items of a committed standalone transaction as a collection. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionLineItemListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax/transaction_service.rbi b/rbi/stripe/services/tax/transaction_service.rbi index b1bc7e9de..d09f615d6 100644 --- a/rbi/stripe/services/tax/transaction_service.rbi +++ b/rbi/stripe/services/tax/transaction_service.rbi @@ -8,19 +8,19 @@ module Stripe attr_reader :line_items # Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateFromCalculationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def create_from_calculation(params = {}, opts = {}); end # Partially or fully reverses a previously created Transaction. sig { - params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(params: T.any(::Stripe::Tax::TransactionCreateReversalParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def create_reversal(params = {}, opts = {}); end # Retrieves a Tax Transaction object. sig { - params(transaction: String, params: T.any(::Stripe::Tax::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Tax::Transaction) + params(transaction: String, params: T.any(::Stripe::Tax::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Tax::Transaction) } def retrieve(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax_code_service.rbi b/rbi/stripe/services/tax_code_service.rbi index 0b9c09c2b..45bdc0145 100644 --- a/rbi/stripe/services/tax_code_service.rbi +++ b/rbi/stripe/services/tax_code_service.rbi @@ -6,13 +6,13 @@ module Stripe class TaxCodeService < StripeService # A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations. sig { - params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxCodeListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information. sig { - params(id: String, params: T.any(::Stripe::TaxCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxCode) + params(id: String, params: T.any(::Stripe::TaxCodeRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxCode) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax_id_service.rbi b/rbi/stripe/services/tax_id_service.rbi index 29c7a33b0..aa923ff5e 100644 --- a/rbi/stripe/services/tax_id_service.rbi +++ b/rbi/stripe/services/tax_id_service.rbi @@ -6,25 +6,25 @@ module Stripe class TaxIdService < StripeService # Creates a new account or customer tax_id object. sig { - params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(params: T.any(::Stripe::TaxIdCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def create(params = {}, opts = {}); end # Deletes an existing account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def delete(id, params = {}, opts = {}); end # Returns a list of tax IDs. sig { - params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxIdListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves an account or customer tax_id object. sig { - params(id: String, params: T.any(::Stripe::TaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxId) + params(id: String, params: T.any(::Stripe::TaxIdRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxId) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/tax_rate_service.rbi b/rbi/stripe/services/tax_rate_service.rbi index bab011c36..bd4cc0e93 100644 --- a/rbi/stripe/services/tax_rate_service.rbi +++ b/rbi/stripe/services/tax_rate_service.rbi @@ -6,25 +6,25 @@ module Stripe class TaxRateService < StripeService # Creates a new tax rate. sig { - params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(params: T.any(::Stripe::TaxRateCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def create(params = {}, opts = {}); end # Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first. sig { - params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TaxRateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a tax rate with the given ID sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def retrieve(tax_rate, params = {}, opts = {}); end # Updates an existing tax rate. sig { - params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TaxRate) + params(tax_rate: String, params: T.any(::Stripe::TaxRateUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TaxRate) } def update(tax_rate, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/configuration_service.rbi b/rbi/stripe/services/terminal/configuration_service.rbi index 585cea95a..6fc50f73d 100644 --- a/rbi/stripe/services/terminal/configuration_service.rbi +++ b/rbi/stripe/services/terminal/configuration_service.rbi @@ -7,31 +7,31 @@ module Stripe class ConfigurationService < StripeService # Creates a new Configuration object. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(params: T.any(::Stripe::Terminal::ConfigurationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def create(params = {}, opts = {}); end # Deletes a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def delete(configuration, params = {}, opts = {}); end # Returns a list of Configuration objects. sig { - params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ConfigurationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def retrieve(configuration, params = {}, opts = {}); end # Updates a new Configuration object. sig { - params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration) + params(configuration: String, params: T.any(::Stripe::Terminal::ConfigurationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Configuration) } def update(configuration, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/connection_token_service.rbi b/rbi/stripe/services/terminal/connection_token_service.rbi index b7ce13f7c..7923b14f2 100644 --- a/rbi/stripe/services/terminal/connection_token_service.rbi +++ b/rbi/stripe/services/terminal/connection_token_service.rbi @@ -7,7 +7,7 @@ module Stripe class ConnectionTokenService < StripeService # To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token. sig { - params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ConnectionToken) + params(params: T.any(::Stripe::Terminal::ConnectionTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ConnectionToken) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/location_service.rbi b/rbi/stripe/services/terminal/location_service.rbi index d3670ec0f..cff83eba0 100644 --- a/rbi/stripe/services/terminal/location_service.rbi +++ b/rbi/stripe/services/terminal/location_service.rbi @@ -8,31 +8,31 @@ module Stripe # Creates a new Location object. # For further details, including which address fields are required in each country, see the [Manage locations](https://docs.stripe.com/docs/terminal/fleet/locations) guide. sig { - params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(params: T.any(::Stripe::Terminal::LocationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def create(params = {}, opts = {}); end # Deletes a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def delete(location, params = {}, opts = {}); end # Returns a list of Location objects. sig { - params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::LocationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a Location object. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def retrieve(location, params = {}, opts = {}); end # Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Location) + params(location: String, params: T.any(::Stripe::Terminal::LocationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Location) } def update(location, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/onboarding_link_service.rbi b/rbi/stripe/services/terminal/onboarding_link_service.rbi index b66c4f196..257e577e6 100644 --- a/rbi/stripe/services/terminal/onboarding_link_service.rbi +++ b/rbi/stripe/services/terminal/onboarding_link_service.rbi @@ -7,7 +7,7 @@ module Stripe class OnboardingLinkService < StripeService # Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone. sig { - params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::OnboardingLink) + params(params: T.any(::Stripe::Terminal::OnboardingLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::OnboardingLink) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/reader_collected_data_service.rbi b/rbi/stripe/services/terminal/reader_collected_data_service.rbi index 696f4ec30..6d338b9d7 100644 --- a/rbi/stripe/services/terminal/reader_collected_data_service.rbi +++ b/rbi/stripe/services/terminal/reader_collected_data_service.rbi @@ -7,7 +7,7 @@ module Stripe class ReaderCollectedDataService < StripeService # Retrieve data collected using Reader hardware. sig { - params(reader_collected_data: String, params: T.any(::Stripe::Terminal::ReaderCollectedDataRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::ReaderCollectedData) + params(reader_collected_data: String, params: T.any(::Stripe::Terminal::ReaderCollectedDataRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::ReaderCollectedData) } def retrieve(reader_collected_data, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/terminal/reader_service.rbi b/rbi/stripe/services/terminal/reader_service.rbi index 37e762fd2..bb31bb7a6 100644 --- a/rbi/stripe/services/terminal/reader_service.rbi +++ b/rbi/stripe/services/terminal/reader_service.rbi @@ -5,81 +5,81 @@ module Stripe module Terminal class ReaderService < StripeService - # Cancels the current reader action. + # Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def cancel_action(reader, params = {}, opts = {}); end - # Initiates an input collection flow on a Reader. + # Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_inputs(reader, params = {}, opts = {}); end - # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. + # Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderCollectPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def collect_payment_method(reader, params = {}, opts = {}); end - # Finalizes a payment on a Reader. + # Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderConfirmPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def confirm_payment_intent(reader, params = {}, opts = {}); end # Creates a new Reader object. sig { - params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(params: T.any(::Stripe::Terminal::ReaderCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def create(params = {}, opts = {}); end # Deletes a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def delete(reader, params = {}, opts = {}); end # Returns a list of Reader objects. sig { - params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Terminal::ReaderListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end - # Initiates a payment flow on a Reader. + # Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_payment_intent(reader, params = {}, opts = {}); end - # Initiates a setup intent flow on a Reader. + # Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderProcessSetupIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def process_setup_intent(reader, params = {}, opts = {}); end - # Initiates a refund on a Reader + # Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRefundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def refund_payment(reader, params = {}, opts = {}); end # Retrieves a Reader object. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def retrieve(reader, params = {}, opts = {}); end - # Sets reader display to show cart details. + # Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display). sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderSetReaderDisplayParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def set_reader_display(reader, params = {}, opts = {}); end # Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. sig { - params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::Terminal::ReaderUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def update(reader, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/confirmation_token_service.rbi b/rbi/stripe/services/test_helpers/confirmation_token_service.rbi index be214606e..2615504ff 100644 --- a/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +++ b/rbi/stripe/services/test_helpers/confirmation_token_service.rbi @@ -7,7 +7,7 @@ module Stripe class ConfirmationTokenService < StripeService # Creates a test mode Confirmation Token server side for your integration tests. sig { - params(params: T.any(::Stripe::TestHelpers::ConfirmationTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ConfirmationToken) + params(params: T.any(::Stripe::TestHelpers::ConfirmationTokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ConfirmationToken) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/customer_service.rbi b/rbi/stripe/services/test_helpers/customer_service.rbi index c45638b1e..68438168f 100644 --- a/rbi/stripe/services/test_helpers/customer_service.rbi +++ b/rbi/stripe/services/test_helpers/customer_service.rbi @@ -7,7 +7,7 @@ module Stripe class CustomerService < StripeService # Create an incoming testmode bank transfer sig { - params(customer: String, params: T.any(::Stripe::TestHelpers::CustomerFundCashBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::CustomerCashBalanceTransaction) + params(customer: String, params: T.any(::Stripe::TestHelpers::CustomerFundCashBalanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::CustomerCashBalanceTransaction) } def fund_cash_balance(customer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi b/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi index eae9c4094..b9da26300 100644 --- a/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +++ b/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi @@ -8,43 +8,43 @@ module Stripe class AuthorizationService < StripeService # Capture a test-mode authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def capture(authorization, params = {}, opts = {}); end # Create a test-mode authorization. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def create(params = {}, opts = {}); end # Expire a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def expire(authorization, params = {}, opts = {}); end # Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationFinalizeAmountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationFinalizeAmountParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def finalize_amount(authorization, params = {}, opts = {}); end # Increment a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationIncrementParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationIncrementParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def increment(authorization, params = {}, opts = {}); end # Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationRespondParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationRespondParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def respond(authorization, params = {}, opts = {}); end # Reverse a test-mode Authorization. sig { - params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Authorization) + params(authorization: String, params: T.any(::Stripe::TestHelpers::Issuing::AuthorizationReverseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Authorization) } def reverse(authorization, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/issuing/card_service.rbi b/rbi/stripe/services/test_helpers/issuing/card_service.rbi index 28af48326..3fe5cf197 100644 --- a/rbi/stripe/services/test_helpers/issuing/card_service.rbi +++ b/rbi/stripe/services/test_helpers/issuing/card_service.rbi @@ -8,31 +8,31 @@ module Stripe class CardService < StripeService # Updates the shipping status of the specified Issuing Card object to delivered. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardDeliverCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardDeliverCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def deliver_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to failure. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardFailCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardFailCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def fail_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to returned. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardReturnCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardReturnCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def return_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to shipped. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardShipCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardShipCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def ship_card(card, params = {}, opts = {}); end # Updates the shipping status of the specified Issuing Card object to submitted. This method requires Stripe Version ‘2024-09-30.acacia' or later. sig { - params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardSubmitCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Card) + params(card: String, params: T.any(::Stripe::TestHelpers::Issuing::CardSubmitCardParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Card) } def submit_card(card, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi b/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi index 0c1a5fb1f..ea7f07398 100644 --- a/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +++ b/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi @@ -8,19 +8,19 @@ module Stripe class PersonalizationDesignService < StripeService # Updates the status of the specified testmode personalization design object to active. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignActivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def activate(personalization_design, params = {}, opts = {}); end # Updates the status of the specified testmode personalization design object to inactive. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignDeactivateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def deactivate(personalization_design, params = {}, opts = {}); end # Updates the status of the specified testmode personalization design object to rejected. sig { - params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::PersonalizationDesign) + params(personalization_design: String, params: T.any(::Stripe::TestHelpers::Issuing::PersonalizationDesignRejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::PersonalizationDesign) } def reject(personalization_design, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi b/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi index cbdb9b181..243d96a7c 100644 --- a/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +++ b/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi @@ -8,19 +8,19 @@ module Stripe class TransactionService < StripeService # Allows the user to capture an arbitrary amount, also known as a forced capture. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateForceCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateForceCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def create_force_capture(params = {}, opts = {}); end # Allows the user to refund an arbitrary amount, also known as a unlinked refund. sig { - params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(params: T.any(::Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def create_unlinked_refund(params = {}, opts = {}); end # Refund a test-mode Transaction. sig { - params(transaction: String, params: T.any(::Stripe::TestHelpers::Issuing::TransactionRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Issuing::Transaction) + params(transaction: String, params: T.any(::Stripe::TestHelpers::Issuing::TransactionRefundParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Transaction) } def refund(transaction, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/refund_service.rbi b/rbi/stripe/services/test_helpers/refund_service.rbi index 66afbfc61..2500d3436 100644 --- a/rbi/stripe/services/test_helpers/refund_service.rbi +++ b/rbi/stripe/services/test_helpers/refund_service.rbi @@ -7,7 +7,7 @@ module Stripe class RefundService < StripeService # Expire a refund with a status of requires_action. sig { - params(refund: String, params: T.any(::Stripe::TestHelpers::RefundExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Refund) + params(refund: String, params: T.any(::Stripe::TestHelpers::RefundExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Refund) } def expire(refund, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/terminal/reader_service.rbi b/rbi/stripe/services/test_helpers/terminal/reader_service.rbi index 470021074..81fffe5e5 100644 --- a/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +++ b/rbi/stripe/services/test_helpers/terminal/reader_service.rbi @@ -8,19 +8,19 @@ module Stripe class ReaderService < StripeService # Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderPresentPaymentMethodParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def present_payment_method(reader, params = {}, opts = {}); end # Use this endpoint to trigger a successful input collection on a simulated reader. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderSucceedInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderSucceedInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def succeed_input_collection(reader, params = {}, opts = {}); end # Use this endpoint to complete an input collection with a timeout error on a simulated reader. sig { - params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderTimeoutInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader) + params(reader: String, params: T.any(::Stripe::TestHelpers::Terminal::ReaderTimeoutInputCollectionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Terminal::Reader) } def timeout_input_collection(reader, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/test_clock_service.rbi b/rbi/stripe/services/test_helpers/test_clock_service.rbi index 8a054cd49..e684544d9 100644 --- a/rbi/stripe/services/test_helpers/test_clock_service.rbi +++ b/rbi/stripe/services/test_helpers/test_clock_service.rbi @@ -7,31 +7,31 @@ module Stripe class TestClockService < StripeService # Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockAdvanceParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def advance(test_clock, params = {}, opts = {}); end # Creates a new test clock that can be attached to new customers and quotes. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(params: T.any(::Stripe::TestHelpers::TestClockCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def create(params = {}, opts = {}); end # Deletes a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def delete(test_clock, params = {}, opts = {}); end # Returns a list of your test clocks. sig { - params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TestHelpers::TestClockListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a test clock. sig { - params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::TestHelpers::TestClock) + params(test_clock: String, params: T.any(::Stripe::TestHelpers::TestClockRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::TestHelpers::TestClock) } def retrieve(test_clock, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi b/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi index 9895994bd..11c1def70 100644 --- a/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +++ b/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi @@ -8,19 +8,19 @@ module Stripe class InboundTransferService < StripeService # Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def fail(id, params = {}, opts = {}); end # Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferReturnInboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferReturnInboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def return_inbound_transfer(id, params = {}, opts = {}); end # Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferSucceedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::InboundTransferSucceedParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def succeed(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi b/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi index 4c2470c1f..e256c5e80 100644 --- a/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +++ b/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi @@ -8,25 +8,25 @@ module Stripe class OutboundPaymentService < StripeService # Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def fail(id, params = {}, opts = {}); end # Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def post(id, params = {}, opts = {}); end # Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentReturnOutboundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentReturnOutboundPaymentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def return_outbound_payment(id, params = {}, opts = {}); end # Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states. sig { - params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundPaymentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi b/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi index 4ca769dc8..1e133ec30 100644 --- a/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +++ b/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi @@ -8,25 +8,25 @@ module Stripe class OutboundTransferService < StripeService # Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferFailParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def fail(outbound_transfer, params = {}, opts = {}); end # Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferPostParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def post(outbound_transfer, params = {}, opts = {}); end # Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferReturnOutboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferReturnOutboundTransferParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def return_outbound_transfer(outbound_transfer, params = {}, opts = {}); end # Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states. sig { - params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::TestHelpers::Treasury::OutboundTransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def update(outbound_transfer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi b/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi index 03c2e64cf..e245f0d0d 100644 --- a/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +++ b/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi @@ -8,7 +8,7 @@ module Stripe class ReceivedCreditService < StripeService # Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can't directly create ReceivedCredits initiated by third parties. sig { - params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedCreditCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedCredit) + params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedCreditCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedCredit) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi b/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi index 3a5ef937d..6645ad6a6 100644 --- a/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +++ b/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi @@ -8,7 +8,7 @@ module Stripe class ReceivedDebitService < StripeService # Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can't directly create ReceivedDebits initiated by third parties. sig { - params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedDebit) + params(params: T.any(::Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedDebit) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/token_service.rbi b/rbi/stripe/services/token_service.rbi index 071e8e58a..e5de21d19 100644 --- a/rbi/stripe/services/token_service.rbi +++ b/rbi/stripe/services/token_service.rbi @@ -7,13 +7,13 @@ module Stripe # Creates a single-use token that represents a bank account's details. # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://docs.stripe.com/api#accounts) where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. sig { - params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(params: T.any(::Stripe::TokenCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def create(params = {}, opts = {}); end # Retrieves the token with the given ID. sig { - params(token: String, params: T.any(::Stripe::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token) + params(token: String, params: T.any(::Stripe::TokenRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Token) } def retrieve(token, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/topup_service.rbi b/rbi/stripe/services/topup_service.rbi index 488a8b29e..e1b1a382c 100644 --- a/rbi/stripe/services/topup_service.rbi +++ b/rbi/stripe/services/topup_service.rbi @@ -6,31 +6,31 @@ module Stripe class TopupService < StripeService # Cancels a top-up. Only pending top-ups can be canceled. sig { - params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def cancel(topup, params = {}, opts = {}); end # Top up the balance of an account sig { - params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(params: T.any(::Stripe::TopupCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def create(params = {}, opts = {}); end # Returns a list of top-ups. sig { - params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TopupListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information. sig { - params(topup: String, params: T.any(::Stripe::TopupRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def retrieve(topup, params = {}, opts = {}); end # Updates the metadata of a top-up. Other top-up details are not editable by design. sig { - params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Topup) + params(topup: String, params: T.any(::Stripe::TopupUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Topup) } def update(topup, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/transfer_reversal_service.rbi b/rbi/stripe/services/transfer_reversal_service.rbi index c0046371d..86713f04c 100644 --- a/rbi/stripe/services/transfer_reversal_service.rbi +++ b/rbi/stripe/services/transfer_reversal_service.rbi @@ -10,19 +10,19 @@ module Stripe # # Once entirely reversed, a transfer can't be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer. sig { - params(id: String, params: T.any(::Stripe::TransferReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(id: String, params: T.any(::Stripe::TransferReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def create(id, params = {}, opts = {}); end # You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals. sig { - params(id: String, params: T.any(::Stripe::TransferReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(id: String, params: T.any(::Stripe::TransferReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(id, params = {}, opts = {}); end # By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer. sig { - params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def retrieve(transfer, id, params = {}, opts = {}); end @@ -30,7 +30,7 @@ module Stripe # # This request only accepts metadata and description as arguments. sig { - params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Reversal) + params(transfer: String, id: String, params: T.any(::Stripe::TransferReversalUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reversal) } def update(transfer, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/transfer_service.rbi b/rbi/stripe/services/transfer_service.rbi index ff29daa59..76508660b 100644 --- a/rbi/stripe/services/transfer_service.rbi +++ b/rbi/stripe/services/transfer_service.rbi @@ -7,19 +7,19 @@ module Stripe attr_reader :reversals # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. sig { - params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(params: T.any(::Stripe::TransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def create(params = {}, opts = {}); end # Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first. sig { - params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::TransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information. sig { - params(transfer: String, params: T.any(::Stripe::TransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def retrieve(transfer, params = {}, opts = {}); end @@ -27,7 +27,7 @@ module Stripe # # This request accepts only metadata as an argument. sig { - params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer) + params(transfer: String, params: T.any(::Stripe::TransferUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Transfer) } def update(transfer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/credit_reversal_service.rbi b/rbi/stripe/services/treasury/credit_reversal_service.rbi index cfcd5cb2f..01f5cb552 100644 --- a/rbi/stripe/services/treasury/credit_reversal_service.rbi +++ b/rbi/stripe/services/treasury/credit_reversal_service.rbi @@ -7,19 +7,19 @@ module Stripe class CreditReversalService < StripeService # Reverses a ReceivedCredit and creates a CreditReversal object. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(params: T.any(::Stripe::Treasury::CreditReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def create(params = {}, opts = {}); end # Returns a list of CreditReversals. sig { - params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::CreditReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list sig { - params(credit_reversal: String, params: T.any(::Stripe::Treasury::CreditReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::CreditReversal) + params(credit_reversal: String, params: T.any(::Stripe::Treasury::CreditReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::CreditReversal) } def retrieve(credit_reversal, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/debit_reversal_service.rbi b/rbi/stripe/services/treasury/debit_reversal_service.rbi index db5ce88b1..24759c086 100644 --- a/rbi/stripe/services/treasury/debit_reversal_service.rbi +++ b/rbi/stripe/services/treasury/debit_reversal_service.rbi @@ -7,19 +7,19 @@ module Stripe class DebitReversalService < StripeService # Reverses a ReceivedDebit and creates a DebitReversal object. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(params: T.any(::Stripe::Treasury::DebitReversalCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def create(params = {}, opts = {}); end # Returns a list of DebitReversals. sig { - params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::DebitReversalListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a DebitReversal object. sig { - params(debit_reversal: String, params: T.any(::Stripe::Treasury::DebitReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::DebitReversal) + params(debit_reversal: String, params: T.any(::Stripe::Treasury::DebitReversalRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::DebitReversal) } def retrieve(debit_reversal, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/financial_account_features_service.rbi b/rbi/stripe/services/treasury/financial_account_features_service.rbi index 27b588703..de9ade48b 100644 --- a/rbi/stripe/services/treasury/financial_account_features_service.rbi +++ b/rbi/stripe/services/treasury/financial_account_features_service.rbi @@ -7,13 +7,13 @@ module Stripe class FinancialAccountFeaturesService < StripeService # Retrieves Features information associated with the FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def retrieve(financial_account, params = {}, opts = {}); end # Updates the Features associated with a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccountFeatures) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountFeaturesUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccountFeatures) } def update(financial_account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/financial_account_service.rbi b/rbi/stripe/services/treasury/financial_account_service.rbi index 62e94b898..c12ccbb88 100644 --- a/rbi/stripe/services/treasury/financial_account_service.rbi +++ b/rbi/stripe/services/treasury/financial_account_service.rbi @@ -8,31 +8,31 @@ module Stripe attr_reader :features # Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def close(financial_account, params = {}, opts = {}); end # Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(params: T.any(::Stripe::Treasury::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def create(params = {}, opts = {}); end # Returns a list of FinancialAccounts. sig { - params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def retrieve(financial_account, params = {}, opts = {}); end # Updates the details of a FinancialAccount. sig { - params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::FinancialAccount) + params(financial_account: String, params: T.any(::Stripe::Treasury::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::FinancialAccount) } def update(financial_account, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/inbound_transfer_service.rbi b/rbi/stripe/services/treasury/inbound_transfer_service.rbi index 519af2ac0..adc781388 100644 --- a/rbi/stripe/services/treasury/inbound_transfer_service.rbi +++ b/rbi/stripe/services/treasury/inbound_transfer_service.rbi @@ -7,25 +7,25 @@ module Stripe class InboundTransferService < StripeService # Cancels an InboundTransfer. sig { - params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(inbound_transfer: String, params: T.any(::Stripe::Treasury::InboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def cancel(inbound_transfer, params = {}, opts = {}); end # Creates an InboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(params: T.any(::Stripe::Treasury::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of InboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing InboundTransfer. sig { - params(id: String, params: T.any(::Stripe::Treasury::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::InboundTransfer) + params(id: String, params: T.any(::Stripe::Treasury::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::InboundTransfer) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/outbound_payment_service.rbi b/rbi/stripe/services/treasury/outbound_payment_service.rbi index 111594c7d..921ee1917 100644 --- a/rbi/stripe/services/treasury/outbound_payment_service.rbi +++ b/rbi/stripe/services/treasury/outbound_payment_service.rbi @@ -7,25 +7,25 @@ module Stripe class OutboundPaymentService < StripeService # Cancel an OutboundPayment. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def cancel(id, params = {}, opts = {}); end # Creates an OutboundPayment. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(params: T.any(::Stripe::Treasury::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def create(params = {}, opts = {}); end # Returns a list of OutboundPayments sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list. sig { - params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundPayment) + params(id: String, params: T.any(::Stripe::Treasury::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundPayment) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/outbound_transfer_service.rbi b/rbi/stripe/services/treasury/outbound_transfer_service.rbi index 4b188ad98..3f31e3bb4 100644 --- a/rbi/stripe/services/treasury/outbound_transfer_service.rbi +++ b/rbi/stripe/services/treasury/outbound_transfer_service.rbi @@ -7,25 +7,25 @@ module Stripe class OutboundTransferService < StripeService # An OutboundTransfer can be canceled if the funds have not yet been paid out. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def cancel(outbound_transfer, params = {}, opts = {}); end # Creates an OutboundTransfer. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(params: T.any(::Stripe::Treasury::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of OutboundTransfers sent from the specified FinancialAccount. sig { - params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list. sig { - params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::OutboundTransfer) + params(outbound_transfer: String, params: T.any(::Stripe::Treasury::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::OutboundTransfer) } def retrieve(outbound_transfer, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/received_credit_service.rbi b/rbi/stripe/services/treasury/received_credit_service.rbi index 732bd7b14..c30749e80 100644 --- a/rbi/stripe/services/treasury/received_credit_service.rbi +++ b/rbi/stripe/services/treasury/received_credit_service.rbi @@ -7,13 +7,13 @@ module Stripe class ReceivedCreditService < StripeService # Returns a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list. sig { - params(id: String, params: T.any(::Stripe::Treasury::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedCredit) + params(id: String, params: T.any(::Stripe::Treasury::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedCredit) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/received_debit_service.rbi b/rbi/stripe/services/treasury/received_debit_service.rbi index 2fd40429e..8a03f1d3f 100644 --- a/rbi/stripe/services/treasury/received_debit_service.rbi +++ b/rbi/stripe/services/treasury/received_debit_service.rbi @@ -7,13 +7,13 @@ module Stripe class ReceivedDebitService < StripeService # Returns a list of ReceivedDebits. sig { - params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list sig { - params(id: String, params: T.any(::Stripe::Treasury::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::ReceivedDebit) + params(id: String, params: T.any(::Stripe::Treasury::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::ReceivedDebit) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/transaction_entry_service.rbi b/rbi/stripe/services/treasury/transaction_entry_service.rbi index c1c3e90ca..8c29acd4d 100644 --- a/rbi/stripe/services/treasury/transaction_entry_service.rbi +++ b/rbi/stripe/services/treasury/transaction_entry_service.rbi @@ -7,13 +7,13 @@ module Stripe class TransactionEntryService < StripeService # Retrieves a list of TransactionEntry objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves a TransactionEntry object. sig { - params(id: String, params: T.any(::Stripe::Treasury::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::TransactionEntry) + params(id: String, params: T.any(::Stripe::Treasury::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::TransactionEntry) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/treasury/transaction_service.rbi b/rbi/stripe/services/treasury/transaction_service.rbi index 3472786b0..0d9336381 100644 --- a/rbi/stripe/services/treasury/transaction_service.rbi +++ b/rbi/stripe/services/treasury/transaction_service.rbi @@ -7,13 +7,13 @@ module Stripe class TransactionService < StripeService # Retrieves a list of Transaction objects. sig { - params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::Treasury::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing Transaction. sig { - params(id: String, params: T.any(::Stripe::Treasury::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Treasury::Transaction) + params(id: String, params: T.any(::Stripe::Treasury::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Treasury::Transaction) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/bill_setting_service.rbi b/rbi/stripe/services/v2/billing/bill_setting_service.rbi index 4903b24b5..08b88e5bf 100644 --- a/rbi/stripe/services/v2/billing/bill_setting_service.rbi +++ b/rbi/stripe/services/v2/billing/bill_setting_service.rbi @@ -9,25 +9,25 @@ module Stripe attr_reader :versions # Create a BillSetting object. sig { - params(params: T.any(::Stripe::V2::Billing::BillSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(params: T.any(::Stripe::V2::Billing::BillSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def create(params = {}, opts = {}); end # List all BillSetting objects. sig { - params(params: T.any(::Stripe::V2::Billing::BillSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::BillSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a BillSetting object by ID. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def retrieve(id, params = {}, opts = {}); end # Update fields on an existing BillSetting object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::BillSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSetting) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/bill_settings/version_service.rbi b/rbi/stripe/services/v2/billing/bill_settings/version_service.rbi index 165556528..18e13632f 100644 --- a/rbi/stripe/services/v2/billing/bill_settings/version_service.rbi +++ b/rbi/stripe/services/v2/billing/bill_settings/version_service.rbi @@ -9,13 +9,13 @@ module Stripe class VersionService < StripeService # List all BillSettingVersions by BillSetting ID. sig { - params(bill_setting_id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(bill_setting_id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(bill_setting_id, params = {}, opts = {}); end # Retrieve a BillSettingVersion by ID. sig { - params(bill_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::BillSettingVersion) + params(bill_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::BillSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::BillSettingVersion) } def retrieve(bill_setting_id, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/cadence_service.rbi b/rbi/stripe/services/v2/billing/cadence_service.rbi index 6aeea91e7..f7f60bfd1 100644 --- a/rbi/stripe/services/v2/billing/cadence_service.rbi +++ b/rbi/stripe/services/v2/billing/cadence_service.rbi @@ -8,31 +8,31 @@ module Stripe class CadenceService < StripeService # Cancel the Billing Cadence. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def cancel(id, params = {}, opts = {}); end # Create a Billing Cadence object. sig { - params(params: T.any(::Stripe::V2::Billing::CadenceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(params: T.any(::Stripe::V2::Billing::CadenceCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def create(params = {}, opts = {}); end # List Billing Cadences. sig { - params(params: T.any(::Stripe::V2::Billing::CadenceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::CadenceListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a Billing Cadence object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def retrieve(id, params = {}, opts = {}); end # Update a Billing Cadence object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CadenceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Cadence) + params(id: String, params: T.any(::Stripe::V2::Billing::CadenceUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Cadence) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/collection_setting_service.rbi b/rbi/stripe/services/v2/billing/collection_setting_service.rbi index 59b667c8a..d5a567997 100644 --- a/rbi/stripe/services/v2/billing/collection_setting_service.rbi +++ b/rbi/stripe/services/v2/billing/collection_setting_service.rbi @@ -9,25 +9,25 @@ module Stripe attr_reader :versions # Create a CollectionSetting object. sig { - params(params: T.any(::Stripe::V2::Billing::CollectionSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(params: T.any(::Stripe::V2::Billing::CollectionSettingCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def create(params = {}, opts = {}); end # List all CollectionSetting objects. sig { - params(params: T.any(::Stripe::V2::Billing::CollectionSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::CollectionSettingListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a CollectionSetting by ID. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def retrieve(id, params = {}, opts = {}); end # Update fields on an existing CollectionSetting. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSetting) + params(id: String, params: T.any(::Stripe::V2::Billing::CollectionSettingUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSetting) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/collection_settings/version_service.rbi b/rbi/stripe/services/v2/billing/collection_settings/version_service.rbi index 3711cfcee..e6bdaad58 100644 --- a/rbi/stripe/services/v2/billing/collection_settings/version_service.rbi +++ b/rbi/stripe/services/v2/billing/collection_settings/version_service.rbi @@ -9,13 +9,13 @@ module Stripe class VersionService < StripeService # List all CollectionSettingVersions by CollectionSetting ID. sig { - params(collection_setting_id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(collection_setting_id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(collection_setting_id, params = {}, opts = {}); end # Retrieve a CollectionSetting Version by ID. sig { - params(collection_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::CollectionSettingVersion) + params(collection_setting_id: String, id: String, params: T.any(::Stripe::V2::Billing::CollectionSettings::VersionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::CollectionSettingVersion) } def retrieve(collection_setting_id, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi b/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi index 8cd4248c9..f9678aae4 100644 --- a/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +++ b/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi @@ -8,7 +8,7 @@ module Stripe class MeterEventAdjustmentService < StripeService # Creates a meter event adjustment to cancel a previously sent meter event. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEventAdjustment) + params(params: T.any(::Stripe::V2::Billing::MeterEventAdjustmentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEventAdjustment) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/meter_event_service.rbi b/rbi/stripe/services/v2/billing/meter_event_service.rbi index 35647afa4..1ba2c6038 100644 --- a/rbi/stripe/services/v2/billing/meter_event_service.rbi +++ b/rbi/stripe/services/v2/billing/meter_event_service.rbi @@ -8,7 +8,7 @@ module Stripe class MeterEventService < StripeService # Creates a meter event. Events are validated synchronously, but are processed asynchronously. Supports up to 1,000 events per second in livemode. For higher rate-limits, please use meter event streams instead. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEvent) + params(params: T.any(::Stripe::V2::Billing::MeterEventCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEvent) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/meter_event_session_service.rbi b/rbi/stripe/services/v2/billing/meter_event_session_service.rbi index aad2debd3..f7539a284 100644 --- a/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +++ b/rbi/stripe/services/v2/billing/meter_event_session_service.rbi @@ -8,7 +8,7 @@ module Stripe class MeterEventSessionService < StripeService # Creates a meter event session to send usage on the high-throughput meter event stream. Authentication tokens are only valid for 15 minutes, so you will need to create a new meter event session when your token expires. sig { - params(params: T.any(::Stripe::V2::Billing::MeterEventSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::MeterEventSession) + params(params: T.any(::Stripe::V2::Billing::MeterEventSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::MeterEventSession) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/billing/profile_service.rbi b/rbi/stripe/services/v2/billing/profile_service.rbi index c1153ed1d..61ca90aba 100644 --- a/rbi/stripe/services/v2/billing/profile_service.rbi +++ b/rbi/stripe/services/v2/billing/profile_service.rbi @@ -8,25 +8,25 @@ module Stripe class ProfileService < StripeService # Create a BillingProfile object. sig { - params(params: T.any(::Stripe::V2::Billing::ProfileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(params: T.any(::Stripe::V2::Billing::ProfileCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def create(params = {}, opts = {}); end # List Billing Profiles. sig { - params(params: T.any(::Stripe::V2::Billing::ProfileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Billing::ProfileListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a BillingProfile object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::ProfileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(id: String, params: T.any(::Stripe::V2::Billing::ProfileRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def retrieve(id, params = {}, opts = {}); end # Update a BillingProfile object. sig { - params(id: String, params: T.any(::Stripe::V2::Billing::ProfileUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Billing::Profile) + params(id: String, params: T.any(::Stripe::V2::Billing::ProfileUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::Profile) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/account_link_service.rbi b/rbi/stripe/services/v2/core/account_link_service.rbi index f7034b1ea..ed297ae6e 100644 --- a/rbi/stripe/services/v2/core/account_link_service.rbi +++ b/rbi/stripe/services/v2/core/account_link_service.rbi @@ -8,7 +8,7 @@ module Stripe class AccountLinkService < StripeService # Creates an AccountLink object that includes a single-use Stripe URL that the merchant can redirect their user to in order to take them to a Stripe-hosted application such as Recipient Onboarding. sig { - params(params: T.any(::Stripe::V2::Core::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountLink) + params(params: T.any(::Stripe::V2::Core::AccountLinkCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountLink) } def create(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/account_service.rbi b/rbi/stripe/services/v2/core/account_service.rbi index 64207611d..1e95f05e4 100644 --- a/rbi/stripe/services/v2/core/account_service.rbi +++ b/rbi/stripe/services/v2/core/account_service.rbi @@ -9,19 +9,19 @@ module Stripe attr_reader :persons # Removes access to the Account and its associated resources. sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def close(id, params = {}, opts = {}); end # An Account is a representation of a company, individual or other entity that a user interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient. sig { - params(params: T.any(::Stripe::V2::Core::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(params: T.any(::Stripe::V2::Core::AccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def create(params = {}, opts = {}); end # Returns a list of Accounts. sig { - params(params: T.any(::Stripe::V2::Core::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::AccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end @@ -29,7 +29,7 @@ module Stripe # # ** raises RateLimitError sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def retrieve(id, params = {}, opts = {}); end @@ -37,7 +37,7 @@ module Stripe # # ** raises RateLimitError sig { - params(id: String, params: T.any(::Stripe::V2::Core::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account) + params(id: String, params: T.any(::Stripe::V2::Core::AccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/accounts/person_service.rbi b/rbi/stripe/services/v2/core/accounts/person_service.rbi index 6cbd27e95..bcd81a510 100644 --- a/rbi/stripe/services/v2/core/accounts/person_service.rbi +++ b/rbi/stripe/services/v2/core/accounts/person_service.rbi @@ -9,31 +9,31 @@ module Stripe class PersonService < StripeService # Create a Person associated with an Account. sig { - params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def create(account_id, params = {}, opts = {}); end # Delete a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::DeletedObject) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::DeletedObject) } def delete(account_id, id, params = {}, opts = {}); end # Returns a list of Persons associated with an Account. sig { - params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(account_id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(account_id, params = {}, opts = {}); end # Retrieves a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def retrieve(account_id, id, params = {}, opts = {}); end # Updates a Person associated with an Account. sig { - params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::AccountPerson) + params(account_id: String, id: String, params: T.any(::Stripe::V2::Core::Accounts::PersonUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::AccountPerson) } def update(account_id, id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/event_destination_service.rbi b/rbi/stripe/services/v2/core/event_destination_service.rbi index eecb27c08..185391f5f 100644 --- a/rbi/stripe/services/v2/core/event_destination_service.rbi +++ b/rbi/stripe/services/v2/core/event_destination_service.rbi @@ -8,49 +8,49 @@ module Stripe class EventDestinationService < StripeService # Create a new event destination. sig { - params(params: T.any(::Stripe::V2::Core::EventDestinationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(params: T.any(::Stripe::V2::Core::EventDestinationCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def create(params = {}, opts = {}); end # Delete an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::DeletedObject) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::DeletedObject) } def delete(id, params = {}, opts = {}); end # Disable an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def disable(id, params = {}, opts = {}); end # Enable an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationEnableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationEnableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def enable(id, params = {}, opts = {}); end # Lists all event destinations. sig { - params(params: T.any(::Stripe::V2::Core::EventDestinationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::EventDestinationListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Send a `ping` event to an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationPingParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Event) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationPingParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Event) } def ping(id, params = {}, opts = {}); end # Retrieves the details of an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def retrieve(id, params = {}, opts = {}); end # Update the details of an event destination. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::EventDestination) + params(id: String, params: T.any(::Stripe::V2::Core::EventDestinationUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::EventDestination) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/event_service.rbi b/rbi/stripe/services/v2/core/event_service.rbi index 32a998350..dcc9c1907 100644 --- a/rbi/stripe/services/v2/core/event_service.rbi +++ b/rbi/stripe/services/v2/core/event_service.rbi @@ -8,13 +8,13 @@ module Stripe class EventService < StripeService # List events, going back up to 30 days. sig { - params(params: T.any(::Stripe::V2::Core::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Core::EventListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an event. sig { - params(id: String, params: T.any(::Stripe::V2::Core::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Event) + params(id: String, params: T.any(::Stripe::V2::Core::EventRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Event) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi b/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi index 34fb3f200..dc6ea67a3 100644 --- a/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi +++ b/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi @@ -12,20 +12,20 @@ module Stripe # being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to # funds being sent to the wrong account, which we might not be able to recover. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountAcknowledgeConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountAcknowledgeConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def acknowledge_confirmation_of_payee(id, params = {}, opts = {}); end # Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations # and will not appear in the outbound destination list. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def archive(id, params = {}, opts = {}); end # Create a GB bank account. sig { - params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def create(params = {}, opts = {}); end @@ -34,13 +34,13 @@ module Stripe # the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee # is required before sending funds. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountInitiateConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountInitiateConfirmationOfPayeeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def initiate_confirmation_of_payee(id, params = {}, opts = {}); end # Retrieve a GB bank account. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi b/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi index fc31b0440..cae93945d 100644 --- a/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi +++ b/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi @@ -13,7 +13,7 @@ module Stripe # # ** raises ControlledByDashboardError sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def archive(id, params = {}, opts = {}); end @@ -23,13 +23,13 @@ module Stripe # ** raises InvalidPaymentMethodError # ** raises QuotaExceededError sig { - params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def create(params = {}, opts = {}); end # Retrieve a USBankAccount object. sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def retrieve(id, params = {}, opts = {}); end @@ -39,7 +39,7 @@ module Stripe # ** raises InvalidPaymentMethodError # ** raises QuotaExceededError sig { - params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount) + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/adjustment_service.rbi b/rbi/stripe/services/v2/money_management/adjustment_service.rbi index efd9c50cc..28ab5420e 100644 --- a/rbi/stripe/services/v2/money_management/adjustment_service.rbi +++ b/rbi/stripe/services/v2/money_management/adjustment_service.rbi @@ -8,13 +8,13 @@ module Stripe class AdjustmentService < StripeService # Returns a list of Adjustments that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::AdjustmentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::AdjustmentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an Adjustment by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::AdjustmentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::Adjustment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::AdjustmentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::Adjustment) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/financial_account_service.rbi b/rbi/stripe/services/v2/money_management/financial_account_service.rbi index 92a8d9118..7356d0ee8 100644 --- a/rbi/stripe/services/v2/money_management/financial_account_service.rbi +++ b/rbi/stripe/services/v2/money_management/financial_account_service.rbi @@ -10,7 +10,7 @@ module Stripe # # ** raises NonZeroBalanceError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def close(id, params = {}, opts = {}); end @@ -19,19 +19,19 @@ module Stripe # ** raises AlreadyExistsError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def create(params = {}, opts = {}); end # Lists FinancialAccounts in this compartment. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing FinancialAccount. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAccount) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/financial_address_service.rbi b/rbi/stripe/services/v2/money_management/financial_address_service.rbi index 363e02900..c3a28ede1 100644 --- a/rbi/stripe/services/v2/money_management/financial_address_service.rbi +++ b/rbi/stripe/services/v2/money_management/financial_address_service.rbi @@ -11,19 +11,19 @@ module Stripe # ** raises FinancialAccountNotOpenError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAddress) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAddress) } def create(params = {}, opts = {}); end # List all FinancialAddresses for a FinancialAccount. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a FinancialAddress. By default, the FinancialAddress will be returned in its unexpanded state, revealing only the last 4 digits of the account number. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::FinancialAddress) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAddressRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAddress) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/inbound_transfer_service.rbi b/rbi/stripe/services/v2/money_management/inbound_transfer_service.rbi index 2c458b3af..13443987b 100644 --- a/rbi/stripe/services/v2/money_management/inbound_transfer_service.rbi +++ b/rbi/stripe/services/v2/money_management/inbound_transfer_service.rbi @@ -10,19 +10,19 @@ module Stripe # # ** raises BlockedByStripeError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::InboundTransfer) + params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::InboundTransfer) } def create(params = {}, opts = {}); end # Retrieves a list of InboundTransfers. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::InboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve an InboundTransfer by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::InboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::InboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::InboundTransfer) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/outbound_payment_quote_service.rbi b/rbi/stripe/services/v2/money_management/outbound_payment_quote_service.rbi index a1ca8dd72..ed1a36797 100644 --- a/rbi/stripe/services/v2/money_management/outbound_payment_quote_service.rbi +++ b/rbi/stripe/services/v2/money_management/outbound_payment_quote_service.rbi @@ -10,13 +10,13 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPaymentQuote) } def create(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPaymentQuote) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi b/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi index f77430f68..d540fa9ab 100644 --- a/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi +++ b/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi @@ -11,7 +11,7 @@ module Stripe # ** raises AlreadyCanceledError # ** raises NotCancelableError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def cancel(id, params = {}, opts = {}); end @@ -22,19 +22,19 @@ module Stripe # ** raises RecipientNotNotifiableError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def create(params = {}, opts = {}); end # Returns a list of OutboundPayments that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment create or list response. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPayment) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/outbound_setup_intent_service.rbi b/rbi/stripe/services/v2/money_management/outbound_setup_intent_service.rbi index f8b12d835..d00e59228 100644 --- a/rbi/stripe/services/v2/money_management/outbound_setup_intent_service.rbi +++ b/rbi/stripe/services/v2/money_management/outbound_setup_intent_service.rbi @@ -8,7 +8,7 @@ module Stripe class OutboundSetupIntentService < StripeService # Cancel an OutboundSetupIntent object. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def cancel(id, params = {}, opts = {}); end @@ -18,19 +18,19 @@ module Stripe # ** raises InvalidPayoutMethodError # ** raises QuotaExceededError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def create(params = {}, opts = {}); end # List the OutboundSetupIntent objects. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve an OutboundSetupIntent object. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def retrieve(id, params = {}, opts = {}); end @@ -40,7 +40,7 @@ module Stripe # ** raises BlockedByStripeError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntent) } def update(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/outbound_transfer_service.rbi b/rbi/stripe/services/v2/money_management/outbound_transfer_service.rbi index 5f683f170..9c554ff6b 100644 --- a/rbi/stripe/services/v2/money_management/outbound_transfer_service.rbi +++ b/rbi/stripe/services/v2/money_management/outbound_transfer_service.rbi @@ -11,7 +11,7 @@ module Stripe # ** raises AlreadyCanceledError # ** raises NotCancelableError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def cancel(id, params = {}, opts = {}); end @@ -20,19 +20,19 @@ module Stripe # ** raises InsufficientFundsError # ** raises FeatureNotEnabledError sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def create(params = {}, opts = {}); end # Returns a list of OutboundTransfers that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundPayment create or list response. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundTransfer) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundTransferRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundTransfer) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/payout_method_service.rbi b/rbi/stripe/services/v2/money_management/payout_method_service.rbi index 4351a567d..bf247b9f2 100644 --- a/rbi/stripe/services/v2/money_management/payout_method_service.rbi +++ b/rbi/stripe/services/v2/money_management/payout_method_service.rbi @@ -12,13 +12,13 @@ module Stripe # ** raises ControlledByDashboardError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def archive(id, params = {}, opts = {}); end # List objects that adhere to the PayoutMethod interface. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end @@ -26,7 +26,7 @@ module Stripe # # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def retrieve(id, params = {}, opts = {}); end @@ -35,7 +35,7 @@ module Stripe # ** raises ControlledByDashboardError # ** raises InvalidPayoutMethodError sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethod) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodUnarchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethod) } def unarchive(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rbi b/rbi/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rbi index 08744cb20..81f662165 100644 --- a/rbi/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rbi +++ b/rbi/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rbi @@ -10,7 +10,7 @@ module Stripe # credential fields are required, the validations for each fields, and how to translate these # country-specific fields to the generic fields in the PayoutMethodBankAccount type. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpec) + params(params: T.any(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpec) } def retrieve(params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/received_credit_service.rbi b/rbi/stripe/services/v2/money_management/received_credit_service.rbi index 1270c4ddb..369041b13 100644 --- a/rbi/stripe/services/v2/money_management/received_credit_service.rbi +++ b/rbi/stripe/services/v2/money_management/received_credit_service.rbi @@ -8,13 +8,13 @@ module Stripe class ReceivedCreditService < StripeService # Retrieves a list of ReceivedCredits. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieve a ReceivedCredit by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::ReceivedCredit) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedCreditRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedCredit) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/received_debit_service.rbi b/rbi/stripe/services/v2/money_management/received_debit_service.rbi index f50e310f0..9485a1579 100644 --- a/rbi/stripe/services/v2/money_management/received_debit_service.rbi +++ b/rbi/stripe/services/v2/money_management/received_debit_service.rbi @@ -8,13 +8,13 @@ module Stripe class ReceivedDebitService < StripeService # Retrieves a list of ReceivedDebits, given the selected filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves a single ReceivedDebit by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::ReceivedDebit) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedDebit) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/transaction_entry_service.rbi b/rbi/stripe/services/v2/money_management/transaction_entry_service.rbi index 0f1487185..0279743e3 100644 --- a/rbi/stripe/services/v2/money_management/transaction_entry_service.rbi +++ b/rbi/stripe/services/v2/money_management/transaction_entry_service.rbi @@ -8,13 +8,13 @@ module Stripe class TransactionEntryService < StripeService # Returns a list of TransactionEntries that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a TransactionEntry by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::TransactionEntry) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::TransactionEntry) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/money_management/transaction_service.rbi b/rbi/stripe/services/v2/money_management/transaction_service.rbi index 221e16cb5..9f04aaae7 100644 --- a/rbi/stripe/services/v2/money_management/transaction_service.rbi +++ b/rbi/stripe/services/v2/money_management/transaction_service.rbi @@ -8,13 +8,13 @@ module Stripe class TransactionService < StripeService # Returns a list of Transactions that match the provided filters. sig { - params(params: T.any(::Stripe::V2::MoneyManagement::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::MoneyManagement::TransactionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of a Transaction by ID. sig { - params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::Transaction) + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::TransactionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::Transaction) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/payments/off_session_payment_service.rbi b/rbi/stripe/services/v2/payments/off_session_payment_service.rbi index 9320e36ed..711cc6140 100644 --- a/rbi/stripe/services/v2/payments/off_session_payment_service.rbi +++ b/rbi/stripe/services/v2/payments/off_session_payment_service.rbi @@ -8,31 +8,31 @@ module Stripe class OffSessionPaymentService < StripeService # Cancel an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def cancel(id, params = {}, opts = {}); end # Captures an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentCaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def capture(id, params = {}, opts = {}); end # Creates an OffSessionPayment object. sig { - params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def create(params = {}, opts = {}); end # Returns a list of OffSessionPayments matching a filter. sig { - params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::ListObject) + params(params: T.any(::Stripe::V2::Payments::OffSessionPaymentListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) } def list(params = {}, opts = {}); end # Retrieves the details of an OffSessionPayment that has previously been created. sig { - params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment) + params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Payments::OffSessionPayment) } def retrieve(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/v2/test_helpers/financial_address_service.rbi b/rbi/stripe/services/v2/test_helpers/financial_address_service.rbi index e5d6234e4..daa4a251d 100644 --- a/rbi/stripe/services/v2/test_helpers/financial_address_service.rbi +++ b/rbi/stripe/services/v2/test_helpers/financial_address_service.rbi @@ -10,7 +10,7 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressCreditParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::FinancialAddressCreditSimulation) + params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressCreditParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::FinancialAddressCreditSimulation) } def credit(id, params = {}, opts = {}); end @@ -18,7 +18,7 @@ module Stripe # # ** raises FeatureNotEnabledError sig { - params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressGenerateMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::FinancialAddressGeneratedMicrodeposits) + params(id: String, params: T.any(::Stripe::V2::TestHelpers::FinancialAddressGenerateMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::FinancialAddressGeneratedMicrodeposits) } def generate_microdeposits(id, params = {}, opts = {}); end end diff --git a/rbi/stripe/services/webhook_endpoint_service.rbi b/rbi/stripe/services/webhook_endpoint_service.rbi index c30e58073..a3b36c657 100644 --- a/rbi/stripe/services/webhook_endpoint_service.rbi +++ b/rbi/stripe/services/webhook_endpoint_service.rbi @@ -6,31 +6,31 @@ module Stripe class WebhookEndpointService < StripeService # A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the [webhooks settings](https://dashboard.stripe.com/account/webhooks) section of the Dashboard. sig { - params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(params: T.any(::Stripe::WebhookEndpointCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def create(params = {}, opts = {}); end # You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointDeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def delete(webhook_endpoint, params = {}, opts = {}); end # Returns a list of your webhook endpoints. sig { - params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject) + params(params: T.any(::Stripe::WebhookEndpointListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject) } def list(params = {}, opts = {}); end # Retrieves the webhook endpoint with the given ID. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def retrieve(webhook_endpoint, params = {}, opts = {}); end # Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint. sig { - params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::WebhookEndpoint) + params(webhook_endpoint: String, params: T.any(::Stripe::WebhookEndpointUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::WebhookEndpoint) } def update(webhook_endpoint, params = {}, opts = {}); end end From 420b72f2fcc8bad49c83d88d14dd22d0c7c9ac7d Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 21:19:47 +0000 Subject: [PATCH 02/17] Update generated code for v2066 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/resources/billing_portal/configuration.rb | 2 +- rbi/stripe.rbi | 2 +- rbi/stripe/resources/billing_portal/configuration.rbi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/API_VERSION b/API_VERSION index 5dfc08cca..4e99d7d2e 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -ba149b24c66b147d536610f6a5d0b1baf0d4070a \ No newline at end of file +89f9904e4dbe4a079cd831844b87276150f6f174 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 9c91a64a2..25c340836 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2063 \ No newline at end of file +v2066 \ No newline at end of file diff --git a/lib/stripe/resources/billing_portal/configuration.rb b/lib/stripe/resources/billing_portal/configuration.rb index 6d4c90ccb..1b41a728e 100644 --- a/lib/stripe/resources/billing_portal/configuration.rb +++ b/lib/stripe/resources/billing_portal/configuration.rb @@ -3,7 +3,7 @@ module Stripe module BillingPortal - # A portal configuration describes the functionality and behavior of a portal session. + # A portal configuration describes the functionality and behavior you embed in a portal session. Related guide: [Configure the customer portal](https://docs.stripe.com/customer-management/configure-portal). class Configuration < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 426e93145..4ea452af4 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -7192,7 +7192,7 @@ end # typed: true module Stripe module BillingPortal - # A portal configuration describes the functionality and behavior of a portal session. + # A portal configuration describes the functionality and behavior you embed in a portal session. Related guide: [Configure the customer portal](https://docs.stripe.com/customer-management/configure-portal). class Configuration < APIResource class BusinessProfile < ::Stripe::StripeObject # The messaging shown to customers in the portal. diff --git a/rbi/stripe/resources/billing_portal/configuration.rbi b/rbi/stripe/resources/billing_portal/configuration.rbi index a9079b2ad..b0f0d552a 100644 --- a/rbi/stripe/resources/billing_portal/configuration.rbi +++ b/rbi/stripe/resources/billing_portal/configuration.rbi @@ -4,7 +4,7 @@ # typed: true module Stripe module BillingPortal - # A portal configuration describes the functionality and behavior of a portal session. + # A portal configuration describes the functionality and behavior you embed in a portal session. Related guide: [Configure the customer portal](https://docs.stripe.com/customer-management/configure-portal). class Configuration < APIResource class BusinessProfile < ::Stripe::StripeObject # The messaging shown to customers in the portal. From 7ab31832cc7927361b70af428c403dc655d34143 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 22:46:27 +0000 Subject: [PATCH 03/17] Update generated code for v2074 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/params/checkout/session_create_params.rb | 6 +++--- rbi/stripe.rbi | 6 +++--- rbi/stripe/params/checkout/session_create_params.rbi | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/API_VERSION b/API_VERSION index 4e99d7d2e..81abeda79 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -89f9904e4dbe4a079cd831844b87276150f6f174 \ No newline at end of file +356cad7cf96c8e0a59d4ce55f01a89c9a1a85aec \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 25c340836..65ab8a05b 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2066 \ No newline at end of file +v2074 \ No newline at end of file diff --git a/lib/stripe/params/checkout/session_create_params.rb b/lib/stripe/params/checkout/session_create_params.rb index a2f2bee8c..db0de87b3 100644 --- a/lib/stripe/params/checkout/session_create_params.rb +++ b/lib/stripe/params/checkout/session_create_params.rb @@ -96,13 +96,13 @@ def initialize(file: nil, type: nil, url: nil) attr_accessor :border_style # A hex color value starting with `#` representing the button color for the Checkout Session. attr_accessor :button_color - # A string to override the business name shown on the Checkout Session. + # A string to override the business name shown on the Checkout Session. This only shows at the top of the Checkout page, and your business name still appears in terms, receipts, and other places. attr_accessor :display_name # The font family for the Checkout Session corresponding to one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility). attr_accessor :font_family - # The icon for the Checkout Session. You cannot set both `logo` and `icon`. + # The icon for the Checkout Session. For best results, use a square image. attr_accessor :icon - # The logo for the Checkout Session. You cannot set both `logo` and `icon`. + # The logo for the Checkout Session. attr_accessor :logo def initialize( diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 4ea452af4..8966b67f3 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -85309,7 +85309,7 @@ module Stripe def button_color; end sig { params(_button_color: T.nilable(String)).returns(T.nilable(String)) } def button_color=(_button_color); end - # A string to override the business name shown on the Checkout Session. + # A string to override the business name shown on the Checkout Session. This only shows at the top of the Checkout page, and your business name still appears in terms, receipts, and other places. sig { returns(T.nilable(String)) } def display_name; end sig { params(_display_name: T.nilable(String)).returns(T.nilable(String)) } @@ -85321,14 +85321,14 @@ module Stripe params(_font_family: T.nilable(T.any(String, String))).returns(T.nilable(T.any(String, String))) } def font_family=(_font_family); end - # The icon for the Checkout Session. You cannot set both `logo` and `icon`. + # The icon for the Checkout Session. For best results, use a square image. sig { returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)) } def icon; end sig { params(_icon: T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)).returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)) } def icon=(_icon); end - # The logo for the Checkout Session. You cannot set both `logo` and `icon`. + # The logo for the Checkout Session. sig { returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Logo)) } def logo; end sig { diff --git a/rbi/stripe/params/checkout/session_create_params.rbi b/rbi/stripe/params/checkout/session_create_params.rbi index 8d72f479d..df6da2d38 100644 --- a/rbi/stripe/params/checkout/session_create_params.rbi +++ b/rbi/stripe/params/checkout/session_create_params.rbi @@ -135,7 +135,7 @@ module Stripe def button_color; end sig { params(_button_color: T.nilable(String)).returns(T.nilable(String)) } def button_color=(_button_color); end - # A string to override the business name shown on the Checkout Session. + # A string to override the business name shown on the Checkout Session. This only shows at the top of the Checkout page, and your business name still appears in terms, receipts, and other places. sig { returns(T.nilable(String)) } def display_name; end sig { params(_display_name: T.nilable(String)).returns(T.nilable(String)) } @@ -147,14 +147,14 @@ module Stripe params(_font_family: T.nilable(T.any(String, String))).returns(T.nilable(T.any(String, String))) } def font_family=(_font_family); end - # The icon for the Checkout Session. You cannot set both `logo` and `icon`. + # The icon for the Checkout Session. For best results, use a square image. sig { returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)) } def icon; end sig { params(_icon: T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)).returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Icon)) } def icon=(_icon); end - # The logo for the Checkout Session. You cannot set both `logo` and `icon`. + # The logo for the Checkout Session. sig { returns(T.nilable(Checkout::SessionCreateParams::BrandingSettings::Logo)) } def logo; end sig { From 53e57d29937a2981a672508439f7ba8c7af9f6fa Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 09:37:44 +0000 Subject: [PATCH 04/17] Update generated code for v2076 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../params/payment_intent_capture_params.rb | 10 ++- .../params/payment_intent_confirm_params.rb | 10 ++- .../params/payment_intent_create_params.rb | 10 ++- ...t_intent_increment_authorization_params.rb | 10 ++- .../params/payment_intent_update_params.rb | 10 ++- ...payment_intent_amount_details_line_item.rb | 2 + rbi/stripe.rbi | 73 ++++++++++++++++--- .../params/payment_intent_capture_params.rbi | 14 +++- .../params/payment_intent_confirm_params.rbi | 14 +++- .../params/payment_intent_create_params.rbi | 14 +++- ..._intent_increment_authorization_params.rbi | 14 +++- .../params/payment_intent_update_params.rbi | 14 +++- ...ayment_intent_amount_details_line_item.rbi | 3 + 15 files changed, 175 insertions(+), 27 deletions(-) diff --git a/API_VERSION b/API_VERSION index 81abeda79..652341448 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -356cad7cf96c8e0a59d4ce55f01a89c9a1a85aec \ No newline at end of file +b3c36f1e05eaa7339c3d0d5e862e76cfff6c6bed \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 65ab8a05b..1ecb3b7b7 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2074 \ No newline at end of file +v2076 \ No newline at end of file diff --git a/lib/stripe/params/payment_intent_capture_params.rb b/lib/stripe/params/payment_intent_capture_params.rb index 557259956..4044cfa40 100644 --- a/lib/stripe/params/payment_intent_capture_params.rb +++ b/lib/stripe/params/payment_intent_capture_params.rb @@ -29,12 +29,20 @@ class Klarna < ::Stripe::RequestParams attr_accessor :image_url # URL to the product page. Max length, 4096 characters. attr_accessor :product_url + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + attr_accessor :reference # Reference for the subscription this line item is for. attr_accessor :subscription_reference - def initialize(image_url: nil, product_url: nil, subscription_reference: nil) + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ) @image_url = image_url @product_url = product_url + @reference = reference @subscription_reference = subscription_reference end end diff --git a/lib/stripe/params/payment_intent_confirm_params.rb b/lib/stripe/params/payment_intent_confirm_params.rb index 859c8fb26..260a27cad 100644 --- a/lib/stripe/params/payment_intent_confirm_params.rb +++ b/lib/stripe/params/payment_intent_confirm_params.rb @@ -29,12 +29,20 @@ class Klarna < ::Stripe::RequestParams attr_accessor :image_url # URL to the product page. Max length, 4096 characters. attr_accessor :product_url + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + attr_accessor :reference # Reference for the subscription this line item is for. attr_accessor :subscription_reference - def initialize(image_url: nil, product_url: nil, subscription_reference: nil) + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ) @image_url = image_url @product_url = product_url + @reference = reference @subscription_reference = subscription_reference end end diff --git a/lib/stripe/params/payment_intent_create_params.rb b/lib/stripe/params/payment_intent_create_params.rb index 977db0c46..de934efb9 100644 --- a/lib/stripe/params/payment_intent_create_params.rb +++ b/lib/stripe/params/payment_intent_create_params.rb @@ -29,12 +29,20 @@ class Klarna < ::Stripe::RequestParams attr_accessor :image_url # URL to the product page. Max length, 4096 characters. attr_accessor :product_url + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + attr_accessor :reference # Reference for the subscription this line item is for. attr_accessor :subscription_reference - def initialize(image_url: nil, product_url: nil, subscription_reference: nil) + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ) @image_url = image_url @product_url = product_url + @reference = reference @subscription_reference = subscription_reference end end diff --git a/lib/stripe/params/payment_intent_increment_authorization_params.rb b/lib/stripe/params/payment_intent_increment_authorization_params.rb index a8062d608..27fb6d2fc 100644 --- a/lib/stripe/params/payment_intent_increment_authorization_params.rb +++ b/lib/stripe/params/payment_intent_increment_authorization_params.rb @@ -29,12 +29,20 @@ class Klarna < ::Stripe::RequestParams attr_accessor :image_url # URL to the product page. Max length, 4096 characters. attr_accessor :product_url + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + attr_accessor :reference # Reference for the subscription this line item is for. attr_accessor :subscription_reference - def initialize(image_url: nil, product_url: nil, subscription_reference: nil) + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ) @image_url = image_url @product_url = product_url + @reference = reference @subscription_reference = subscription_reference end end diff --git a/lib/stripe/params/payment_intent_update_params.rb b/lib/stripe/params/payment_intent_update_params.rb index 1708f2aaa..0b9023eca 100644 --- a/lib/stripe/params/payment_intent_update_params.rb +++ b/lib/stripe/params/payment_intent_update_params.rb @@ -29,12 +29,20 @@ class Klarna < ::Stripe::RequestParams attr_accessor :image_url # URL to the product page. Max length, 4096 characters. attr_accessor :product_url + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + attr_accessor :reference # Reference for the subscription this line item is for. attr_accessor :subscription_reference - def initialize(image_url: nil, product_url: nil, subscription_reference: nil) + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ) @image_url = image_url @product_url = product_url + @reference = reference @subscription_reference = subscription_reference end end diff --git a/lib/stripe/resources/payment_intent_amount_details_line_item.rb b/lib/stripe/resources/payment_intent_amount_details_line_item.rb index c313937bd..b93d7e6cc 100644 --- a/lib/stripe/resources/payment_intent_amount_details_line_item.rb +++ b/lib/stripe/resources/payment_intent_amount_details_line_item.rb @@ -40,6 +40,8 @@ class Klarna < ::Stripe::StripeObject attr_reader :image_url # Attribute for field product_url attr_reader :product_url + # Attribute for field reference + attr_reader :reference def self.inner_class_types @inner_class_types = {} diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 8966b67f3..433a9ffa2 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -31904,6 +31904,9 @@ module Stripe # Attribute for field product_url sig { returns(T.nilable(String)) } def product_url; end + # Attribute for field reference + sig { returns(T.nilable(String)) } + def reference; end def self.inner_class_types @inner_class_types = {} end @@ -113259,15 +113262,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. @@ -118999,15 +119012,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. @@ -124678,15 +124701,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. @@ -126120,15 +126153,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. @@ -131818,15 +131861,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/params/payment_intent_capture_params.rbi b/rbi/stripe/params/payment_intent_capture_params.rbi index 2a2bbcf26..2acb07e9d 100644 --- a/rbi/stripe/params/payment_intent_capture_params.rbi +++ b/rbi/stripe/params/payment_intent_capture_params.rbi @@ -36,15 +36,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/params/payment_intent_confirm_params.rbi b/rbi/stripe/params/payment_intent_confirm_params.rbi index 0fe97e27b..9e6cff054 100644 --- a/rbi/stripe/params/payment_intent_confirm_params.rbi +++ b/rbi/stripe/params/payment_intent_confirm_params.rbi @@ -36,15 +36,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/params/payment_intent_create_params.rbi b/rbi/stripe/params/payment_intent_create_params.rbi index 7f6a4d70d..854a1842f 100644 --- a/rbi/stripe/params/payment_intent_create_params.rbi +++ b/rbi/stripe/params/payment_intent_create_params.rbi @@ -36,15 +36,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/params/payment_intent_increment_authorization_params.rbi b/rbi/stripe/params/payment_intent_increment_authorization_params.rbi index 175a41ad9..87d68bc17 100644 --- a/rbi/stripe/params/payment_intent_increment_authorization_params.rbi +++ b/rbi/stripe/params/payment_intent_increment_authorization_params.rbi @@ -36,15 +36,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/params/payment_intent_update_params.rbi b/rbi/stripe/params/payment_intent_update_params.rbi index bf4873023..b12b89dc7 100644 --- a/rbi/stripe/params/payment_intent_update_params.rbi +++ b/rbi/stripe/params/payment_intent_update_params.rbi @@ -36,15 +36,25 @@ module Stripe def product_url; end sig { params(_product_url: T.nilable(String)).returns(T.nilable(String)) } def product_url=(_product_url); end + # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. + sig { returns(T.nilable(String)) } + def reference; end + sig { params(_reference: T.nilable(String)).returns(T.nilable(String)) } + def reference=(_reference); end # Reference for the subscription this line item is for. sig { returns(T.nilable(String)) } def subscription_reference; end sig { params(_subscription_reference: T.nilable(String)).returns(T.nilable(String)) } def subscription_reference=(_subscription_reference); end sig { - params(image_url: T.nilable(String), product_url: T.nilable(String), subscription_reference: T.nilable(String)).void + params(image_url: T.nilable(String), product_url: T.nilable(String), reference: T.nilable(String), subscription_reference: T.nilable(String)).void } - def initialize(image_url: nil, product_url: nil, subscription_reference: nil); end + def initialize( + image_url: nil, + product_url: nil, + reference: nil, + subscription_reference: nil + ); end end class Paypal < ::Stripe::RequestParams # Type of the line item. diff --git a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi index 1233250b5..95c83bc0c 100644 --- a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi +++ b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi @@ -34,6 +34,9 @@ module Stripe # Attribute for field product_url sig { returns(T.nilable(String)) } def product_url; end + # Attribute for field reference + sig { returns(T.nilable(String)) } + def reference; end def self.inner_class_types @inner_class_types = {} end From 5e2b56253cb9a1304926b9067e9b14575937953a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 15:24:00 +0000 Subject: [PATCH 05/17] Update generated code for v2077 and --- OPENAPI_VERSION | 2 +- lib/stripe/resources/refund.rb | 16 ++++++++++++++++ rbi/stripe.rbi | 15 +++++++++++++++ rbi/stripe/resources/refund.rbi | 15 +++++++++++++++ 4 files changed, 47 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1ecb3b7b7..b1e8b7853 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2076 \ No newline at end of file +v2077 \ No newline at end of file diff --git a/lib/stripe/resources/refund.rb b/lib/stripe/resources/refund.rb index 99ccf672c..3c8f461ea 100644 --- a/lib/stripe/resources/refund.rb +++ b/lib/stripe/resources/refund.rb @@ -139,6 +139,19 @@ def self.field_remappings end end + class Crypto < ::Stripe::StripeObject + # The transaction hash of the refund. + attr_reader :reference + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -443,6 +456,8 @@ def self.field_remappings attr_reader :card # Attribute for field cashapp attr_reader :cashapp + # Attribute for field crypto + attr_reader :crypto # Attribute for field customer_cash_balance attr_reader :customer_cash_balance # Attribute for field eps @@ -504,6 +519,7 @@ def self.inner_class_types br_bank_transfer: BrBankTransfer, card: Card, cashapp: Cashapp, + crypto: Crypto, customer_cash_balance: CustomerCashBalance, eps: Eps, eu_bank_transfer: EuBankTransfer, diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 433a9ffa2..d647ae098 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -43607,6 +43607,17 @@ module Stripe @field_remappings = {} end end + class Crypto < ::Stripe::StripeObject + # The transaction hash of the refund. + sig { returns(T.nilable(String)) } + def reference; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -43887,6 +43898,9 @@ module Stripe # Attribute for field cashapp sig { returns(T.nilable(Cashapp)) } def cashapp; end + # Attribute for field crypto + sig { returns(T.nilable(Crypto)) } + def crypto; end # Attribute for field customer_cash_balance sig { returns(T.nilable(CustomerCashBalance)) } def customer_cash_balance; end @@ -43971,6 +43985,7 @@ module Stripe br_bank_transfer: BrBankTransfer, card: Card, cashapp: Cashapp, + crypto: Crypto, customer_cash_balance: CustomerCashBalance, eps: Eps, eu_bank_transfer: EuBankTransfer, diff --git a/rbi/stripe/resources/refund.rbi b/rbi/stripe/resources/refund.rbi index 38ab068f8..b0aadd30e 100644 --- a/rbi/stripe/resources/refund.rbi +++ b/rbi/stripe/resources/refund.rbi @@ -117,6 +117,17 @@ module Stripe @field_remappings = {} end end + class Crypto < ::Stripe::StripeObject + # The transaction hash of the refund. + sig { returns(T.nilable(String)) } + def reference; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end class CustomerCashBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -397,6 +408,9 @@ module Stripe # Attribute for field cashapp sig { returns(T.nilable(Cashapp)) } def cashapp; end + # Attribute for field crypto + sig { returns(T.nilable(Crypto)) } + def crypto; end # Attribute for field customer_cash_balance sig { returns(T.nilable(CustomerCashBalance)) } def customer_cash_balance; end @@ -481,6 +495,7 @@ module Stripe br_bank_transfer: BrBankTransfer, card: Card, cashapp: Cashapp, + crypto: Crypto, customer_cash_balance: CustomerCashBalance, eps: Eps, eu_bank_transfer: EuBankTransfer, From 5f10299496b1ef47067d9c18ce6c215a09f9200a Mon Sep 17 00:00:00 2001 From: Helen Ye Date: Thu, 16 Oct 2025 14:35:18 -0700 Subject: [PATCH 06/17] Bump version to 17.0.1 --- CHANGELOG.md | 3 +++ VERSION | 2 +- lib/stripe/version.rb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c452024a..1bf3e521e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## 17.0.1 - 2025-10-16 +* [#1705](https://github.com/stripe/stripe-ruby/pull/1705) Require `V2::Amount` and `V2::DeletedObject` in gem + ## 17.0.0 - 2025-10-09 * [#1698](https://github.com/stripe/stripe-ruby/pull/1698) Remove expanded instance variables after a resource has been updated - ⚠️ Removes dynamically added instance variables on subsequent non-expanded updates to a resource that had previously been expanded. For example, diff --git a/VERSION b/VERSION index aac58983e..3e17df028 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -17.0.0 +17.0.1 diff --git a/lib/stripe/version.rb b/lib/stripe/version.rb index 8a34f2960..463833faa 100644 --- a/lib/stripe/version.rb +++ b/lib/stripe/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Stripe - VERSION = "17.0.0" + VERSION = "17.0.1" end From 5f04e1566b5c1bae6c25970b0582ca1c88750c62 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:52:11 +0000 Subject: [PATCH 07/17] Update generated code for v2082 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/resources/customer.rb | 2 ++ rbi/stripe.rbi | 3 +++ rbi/stripe/resources/customer.rbi | 3 +++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/API_VERSION b/API_VERSION index 79148401a..97ea281c3 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -23fb5589c3b9c027a742408f7ac2cff1be45a926 \ No newline at end of file +63bcf86a3b614d8862e559c9b56d720a268814ad \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d1d1d3621..081f689d6 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2080 \ No newline at end of file +v2082 \ No newline at end of file diff --git a/lib/stripe/resources/customer.rb b/lib/stripe/resources/customer.rb index b1342641c..71a19041c 100644 --- a/lib/stripe/resources/customer.rb +++ b/lib/stripe/resources/customer.rb @@ -159,6 +159,8 @@ def self.field_remappings attr_reader :ip_address # The identified tax location of the customer. attr_reader :location + # The tax calculation provider used for location resolution. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). + attr_reader :provider def self.inner_class_types @inner_class_types = { location: Location } diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index d647ae098..8e131eb66 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -16372,6 +16372,9 @@ module Stripe # The identified tax location of the customer. sig { returns(T.nilable(Location)) } def location; end + # The tax calculation provider used for location resolution. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). + sig { returns(String) } + def provider; end def self.inner_class_types @inner_class_types = {location: Location} end diff --git a/rbi/stripe/resources/customer.rbi b/rbi/stripe/resources/customer.rbi index 2f7b4d05c..31be733fc 100644 --- a/rbi/stripe/resources/customer.rbi +++ b/rbi/stripe/resources/customer.rbi @@ -156,6 +156,9 @@ module Stripe # The identified tax location of the customer. sig { returns(T.nilable(Location)) } def location; end + # The tax calculation provider used for location resolution. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps). + sig { returns(String) } + def provider; end def self.inner_class_types @inner_class_types = {location: Location} end From 118875ba31d5a9a936f985ffdff7295d50915a82 Mon Sep 17 00:00:00 2001 From: Prathmesh Ranaut <165320323+prathmesh-stripe@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:02:24 -0400 Subject: [PATCH 08/17] Updated Sorbet wiki link in README.md (#1709) This PR fixes the broken sorbet wiki link in the README.md. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99cadaf7b..0b8f6d9f8 100644 --- a/README.md +++ b/README.md @@ -292,7 +292,7 @@ Stripe.enable_telemetry = false ### Types In [v14.0.0](https://github.com/stripe/stripe-python/releases/tag/v7.1.0) and newer, the library provides RBI -static type annotations. See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations) +static type annotations. See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations-(with-Sorbet)) for an detailed guide. Please note that these types are available only for static analysis and we only support RBIs at the moment. From c2d554b1fb874bd4a8183a3bfc75f10aa4910a4c Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 20:35:26 +0000 Subject: [PATCH 09/17] Update generated code for v2086 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../params/customer_session_create_params.rb | 87 ++++++- lib/stripe/resources/customer_session.rb | 82 +++++++ rbi/stripe.rbi | 223 +++++++++++++++++- .../params/customer_session_create_params.rbi | 138 ++++++++++- rbi/stripe/resources/customer_session.rbi | 85 +++++++ 7 files changed, 612 insertions(+), 7 deletions(-) diff --git a/API_VERSION b/API_VERSION index 48e18d3b3..92059f40a 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -ac068455633f71bd46af44a2029f3a7353bc474e \ No newline at end of file +f30919dd1bfc2697b9583b942ed6f89c31be0a18 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index a5571f29c..313927989 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2083 \ No newline at end of file +v2086 \ No newline at end of file diff --git a/lib/stripe/params/customer_session_create_params.rb b/lib/stripe/params/customer_session_create_params.rb index 157dceea8..e3bb6805f 100644 --- a/lib/stripe/params/customer_session_create_params.rb +++ b/lib/stripe/params/customer_session_create_params.rb @@ -13,6 +13,79 @@ def initialize(enabled: nil) end end + class CustomerSheet < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + attr_accessor :payment_method_allow_redisplay_filters + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + attr_accessor :payment_method_remove + + def initialize(payment_method_allow_redisplay_filters: nil, payment_method_remove: nil) + @payment_method_allow_redisplay_filters = payment_method_allow_redisplay_filters + @payment_method_remove = payment_method_remove + end + end + # Whether the customer sheet is enabled. + attr_accessor :enabled + # This hash defines whether the customer sheet supports certain features. + attr_accessor :features + + def initialize(enabled: nil, features: nil) + @enabled = enabled + @features = features + end + end + + class MobilePaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + attr_accessor :payment_method_allow_redisplay_filters + # Controls whether or not the mobile payment element shows saved payment methods. + attr_accessor :payment_method_redisplay + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + attr_accessor :payment_method_remove + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + attr_accessor :payment_method_save + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + attr_accessor :payment_method_save_allow_redisplay_override + + def initialize( + payment_method_allow_redisplay_filters: nil, + payment_method_redisplay: nil, + payment_method_remove: nil, + payment_method_save: nil, + payment_method_save_allow_redisplay_override: nil + ) + @payment_method_allow_redisplay_filters = payment_method_allow_redisplay_filters + @payment_method_redisplay = payment_method_redisplay + @payment_method_remove = payment_method_remove + @payment_method_save = payment_method_save + @payment_method_save_allow_redisplay_override = payment_method_save_allow_redisplay_override + end + end + # Whether the mobile payment element is enabled. + attr_accessor :enabled + # This hash defines whether the mobile payment element supports certain features. + attr_accessor :features + + def initialize(enabled: nil, features: nil) + @enabled = enabled + @features = features + end + end + class PaymentElement < ::Stripe::RequestParams class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -73,13 +146,25 @@ def initialize(enabled: nil) end # Configuration for buy button. attr_accessor :buy_button + # Configuration for the customer sheet. + attr_accessor :customer_sheet + # Configuration for the mobile payment element. + attr_accessor :mobile_payment_element # Configuration for the Payment Element. attr_accessor :payment_element # Configuration for the pricing table. attr_accessor :pricing_table - def initialize(buy_button: nil, payment_element: nil, pricing_table: nil) + def initialize( + buy_button: nil, + customer_sheet: nil, + mobile_payment_element: nil, + payment_element: nil, + pricing_table: nil + ) @buy_button = buy_button + @customer_sheet = customer_sheet + @mobile_payment_element = mobile_payment_element @payment_element = payment_element @pricing_table = pricing_table end diff --git a/lib/stripe/resources/customer_session.rb b/lib/stripe/resources/customer_session.rb index d500e2a2a..fed9d47f6 100644 --- a/lib/stripe/resources/customer_session.rb +++ b/lib/stripe/resources/customer_session.rb @@ -30,6 +30,82 @@ def self.field_remappings end end + class CustomerSheet < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + attr_reader :payment_method_allow_redisplay_filters + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + attr_reader :payment_method_remove + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether the customer sheet is enabled. + attr_reader :enabled + # This hash defines whether the customer sheet supports certain features. + attr_reader :features + + def self.inner_class_types + @inner_class_types = { features: Features } + end + + def self.field_remappings + @field_remappings = {} + end + end + + class MobilePaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + attr_reader :payment_method_allow_redisplay_filters + # Controls whether or not the mobile payment element shows saved payment methods. + attr_reader :payment_method_redisplay + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + attr_reader :payment_method_remove + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + attr_reader :payment_method_save + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + attr_reader :payment_method_save_allow_redisplay_override + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether the mobile payment element is enabled. + attr_reader :enabled + # This hash defines whether the mobile payment element supports certain features. + attr_reader :features + + def self.inner_class_types + @inner_class_types = { features: Features } + end + + def self.field_remappings + @field_remappings = {} + end + end + class PaymentElement < ::Stripe::StripeObject class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -89,6 +165,10 @@ def self.field_remappings end # This hash contains whether the buy button is enabled. attr_reader :buy_button + # This hash contains whether the customer sheet is enabled and the features it supports. + attr_reader :customer_sheet + # This hash contains whether the mobile payment element is enabled and the features it supports. + attr_reader :mobile_payment_element # This hash contains whether the Payment Element is enabled and the features it supports. attr_reader :payment_element # This hash contains whether the pricing table is enabled. @@ -97,6 +177,8 @@ def self.field_remappings def self.inner_class_types @inner_class_types = { buy_button: BuyButton, + customer_sheet: CustomerSheet, + mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, } diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index ff521b646..895ef7e9a 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -16105,6 +16105,83 @@ module Stripe @field_remappings = {} end end + class CustomerSheet < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the customer sheet is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the customer sheet supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end + class MobilePaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + # Controls whether or not the mobile payment element shows saved payment methods. + sig { returns(T.nilable(String)) } + def payment_method_redisplay; end + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + sig { returns(T.nilable(String)) } + def payment_method_save; end + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + sig { returns(T.nilable(String)) } + def payment_method_save_allow_redisplay_override; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the mobile payment element is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the mobile payment element supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end class PaymentElement < ::Stripe::StripeObject class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -16167,6 +16244,12 @@ module Stripe # This hash contains whether the buy button is enabled. sig { returns(BuyButton) } def buy_button; end + # This hash contains whether the customer sheet is enabled and the features it supports. + sig { returns(CustomerSheet) } + def customer_sheet; end + # This hash contains whether the mobile payment element is enabled and the features it supports. + sig { returns(MobilePaymentElement) } + def mobile_payment_element; end # This hash contains whether the Payment Element is enabled and the features it supports. sig { returns(PaymentElement) } def payment_element; end @@ -16176,6 +16259,8 @@ module Stripe def self.inner_class_types @inner_class_types = { buy_button: BuyButton, + customer_sheet: CustomerSheet, + mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, } @@ -92294,6 +92379,120 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end + class CustomerSheet < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + sig { + params(_payment_method_allow_redisplay_filters: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def payment_method_allow_redisplay_filters=(_payment_method_allow_redisplay_filters); end + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + sig { params(_payment_method_remove: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_remove=(_payment_method_remove); end + sig { + params(payment_method_allow_redisplay_filters: T.nilable(T::Array[String]), payment_method_remove: T.nilable(String)).void + } + def initialize( + payment_method_allow_redisplay_filters: nil, + payment_method_remove: nil + ); end + end + # Whether the customer sheet is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the customer sheet supports certain features. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)) } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)).void + } + def initialize(enabled: nil, features: nil); end + end + class MobilePaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + sig { + params(_payment_method_allow_redisplay_filters: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def payment_method_allow_redisplay_filters=(_payment_method_allow_redisplay_filters); end + # Controls whether or not the mobile payment element shows saved payment methods. + sig { returns(T.nilable(String)) } + def payment_method_redisplay; end + sig { params(_payment_method_redisplay: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_redisplay=(_payment_method_redisplay); end + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + sig { params(_payment_method_remove: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_remove=(_payment_method_remove); end + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + sig { returns(T.nilable(String)) } + def payment_method_save; end + sig { params(_payment_method_save: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_save=(_payment_method_save); end + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + sig { returns(T.nilable(String)) } + def payment_method_save_allow_redisplay_override; end + sig { + params(_payment_method_save_allow_redisplay_override: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_save_allow_redisplay_override=( + _payment_method_save_allow_redisplay_override + ); end + sig { + params(payment_method_allow_redisplay_filters: T.nilable(T::Array[String]), payment_method_redisplay: T.nilable(String), payment_method_remove: T.nilable(String), payment_method_save: T.nilable(String), payment_method_save_allow_redisplay_override: T.nilable(String)).void + } + def initialize( + payment_method_allow_redisplay_filters: nil, + payment_method_redisplay: nil, + payment_method_remove: nil, + payment_method_save: nil, + payment_method_save_allow_redisplay_override: nil + ); end + end + # Whether the mobile payment element is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the mobile payment element supports certain features. + sig { + returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)) + } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)).void + } + def initialize(enabled: nil, features: nil); end + end class PaymentElement < ::Stripe::RequestParams class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -92385,6 +92584,20 @@ module Stripe params(_buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton)).returns(T.nilable(CustomerSessionCreateParams::Components::BuyButton)) } def buy_button=(_buy_button); end + # Configuration for the customer sheet. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)) } + def customer_sheet; end + sig { + params(_customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)).returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)) + } + def customer_sheet=(_customer_sheet); end + # Configuration for the mobile payment element. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)) } + def mobile_payment_element; end + sig { + params(_mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)).returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)) + } + def mobile_payment_element=(_mobile_payment_element); end # Configuration for the Payment Element. sig { returns(T.nilable(CustomerSessionCreateParams::Components::PaymentElement)) } def payment_element; end @@ -92400,9 +92613,15 @@ module Stripe } def pricing_table=(_pricing_table); end sig { - params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void + params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void } - def initialize(buy_button: nil, payment_element: nil, pricing_table: nil); end + def initialize( + buy_button: nil, + customer_sheet: nil, + mobile_payment_element: nil, + payment_element: nil, + pricing_table: nil + ); end end # Configuration for each component. Exactly 1 component must be enabled. sig { returns(CustomerSessionCreateParams::Components) } diff --git a/rbi/stripe/params/customer_session_create_params.rbi b/rbi/stripe/params/customer_session_create_params.rbi index 485279a7e..765ca8144 100644 --- a/rbi/stripe/params/customer_session_create_params.rbi +++ b/rbi/stripe/params/customer_session_create_params.rbi @@ -14,6 +14,120 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end + class CustomerSheet < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + sig { + params(_payment_method_allow_redisplay_filters: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def payment_method_allow_redisplay_filters=(_payment_method_allow_redisplay_filters); end + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + sig { params(_payment_method_remove: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_remove=(_payment_method_remove); end + sig { + params(payment_method_allow_redisplay_filters: T.nilable(T::Array[String]), payment_method_remove: T.nilable(String)).void + } + def initialize( + payment_method_allow_redisplay_filters: nil, + payment_method_remove: nil + ); end + end + # Whether the customer sheet is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the customer sheet supports certain features. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)) } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet::Features)).void + } + def initialize(enabled: nil, features: nil); end + end + class MobilePaymentElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + sig { + params(_payment_method_allow_redisplay_filters: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) + } + def payment_method_allow_redisplay_filters=(_payment_method_allow_redisplay_filters); end + # Controls whether or not the mobile payment element shows saved payment methods. + sig { returns(T.nilable(String)) } + def payment_method_redisplay; end + sig { params(_payment_method_redisplay: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_redisplay=(_payment_method_redisplay); end + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + sig { params(_payment_method_remove: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_remove=(_payment_method_remove); end + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + sig { returns(T.nilable(String)) } + def payment_method_save; end + sig { params(_payment_method_save: T.nilable(String)).returns(T.nilable(String)) } + def payment_method_save=(_payment_method_save); end + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + sig { returns(T.nilable(String)) } + def payment_method_save_allow_redisplay_override; end + sig { + params(_payment_method_save_allow_redisplay_override: T.nilable(String)).returns(T.nilable(String)) + } + def payment_method_save_allow_redisplay_override=( + _payment_method_save_allow_redisplay_override + ); end + sig { + params(payment_method_allow_redisplay_filters: T.nilable(T::Array[String]), payment_method_redisplay: T.nilable(String), payment_method_remove: T.nilable(String), payment_method_save: T.nilable(String), payment_method_save_allow_redisplay_override: T.nilable(String)).void + } + def initialize( + payment_method_allow_redisplay_filters: nil, + payment_method_redisplay: nil, + payment_method_remove: nil, + payment_method_save: nil, + payment_method_save_allow_redisplay_override: nil + ); end + end + # Whether the mobile payment element is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the mobile payment element supports certain features. + sig { + returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)) + } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement::Features)).void + } + def initialize(enabled: nil, features: nil); end + end class PaymentElement < ::Stripe::RequestParams class Features < ::Stripe::RequestParams # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -105,6 +219,20 @@ module Stripe params(_buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton)).returns(T.nilable(CustomerSessionCreateParams::Components::BuyButton)) } def buy_button=(_buy_button); end + # Configuration for the customer sheet. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)) } + def customer_sheet; end + sig { + params(_customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)).returns(T.nilable(CustomerSessionCreateParams::Components::CustomerSheet)) + } + def customer_sheet=(_customer_sheet); end + # Configuration for the mobile payment element. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)) } + def mobile_payment_element; end + sig { + params(_mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)).returns(T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement)) + } + def mobile_payment_element=(_mobile_payment_element); end # Configuration for the Payment Element. sig { returns(T.nilable(CustomerSessionCreateParams::Components::PaymentElement)) } def payment_element; end @@ -120,9 +248,15 @@ module Stripe } def pricing_table=(_pricing_table); end sig { - params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void + params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void } - def initialize(buy_button: nil, payment_element: nil, pricing_table: nil); end + def initialize( + buy_button: nil, + customer_sheet: nil, + mobile_payment_element: nil, + payment_element: nil, + pricing_table: nil + ); end end # Configuration for each component. Exactly 1 component must be enabled. sig { returns(CustomerSessionCreateParams::Components) } diff --git a/rbi/stripe/resources/customer_session.rbi b/rbi/stripe/resources/customer_session.rbi index 4a9fafa37..bf6ccb032 100644 --- a/rbi/stripe/resources/customer_session.rbi +++ b/rbi/stripe/resources/customer_session.rbi @@ -22,6 +22,83 @@ module Stripe @field_remappings = {} end end + class CustomerSheet < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the customer sheet displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + # Controls whether the customer sheet displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the customer sheet is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the customer sheet supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end + class MobilePaymentElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the mobile payment element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. + # + # If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"]. + sig { returns(T.nilable(T::Array[String])) } + def payment_method_allow_redisplay_filters; end + # Controls whether or not the mobile payment element shows saved payment methods. + sig { returns(T.nilable(String)) } + def payment_method_redisplay; end + # Controls whether the mobile payment element displays the option to remove a saved payment method." + # + # Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods). + sig { returns(T.nilable(String)) } + def payment_method_remove; end + # Controls whether the mobile payment element displays a checkbox offering to save a new payment method. + # + # If a customer checks the box, the [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) value on the PaymentMethod is set to `'always'` at confirmation time. For PaymentIntents, the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value is also set to the value defined in `payment_method_save_usage`. + sig { returns(T.nilable(String)) } + def payment_method_save; end + # Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: "always", "limited", or "unspecified". + # + # If not specified, defaults to `nil` (no override value). + sig { returns(T.nilable(String)) } + def payment_method_save_allow_redisplay_override; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the mobile payment element is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the mobile payment element supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end class PaymentElement < ::Stripe::StripeObject class Features < ::Stripe::StripeObject # A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list. @@ -84,6 +161,12 @@ module Stripe # This hash contains whether the buy button is enabled. sig { returns(BuyButton) } def buy_button; end + # This hash contains whether the customer sheet is enabled and the features it supports. + sig { returns(CustomerSheet) } + def customer_sheet; end + # This hash contains whether the mobile payment element is enabled and the features it supports. + sig { returns(MobilePaymentElement) } + def mobile_payment_element; end # This hash contains whether the Payment Element is enabled and the features it supports. sig { returns(PaymentElement) } def payment_element; end @@ -93,6 +176,8 @@ module Stripe def self.inner_class_types @inner_class_types = { buy_button: BuyButton, + customer_sheet: CustomerSheet, + mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, } From 0d2a7f41157a9573dbeda459baeeb3bdc7163586 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Sat, 18 Oct 2025 10:25:23 +0000 Subject: [PATCH 10/17] Update generated code for v2088 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../params/payment_method_create_params.rb | 14 +++++ lib/stripe/resources/payment_method.rb | 34 ++++++++++++ rbi/stripe.rbi | 53 ++++++++++++++++++- .../params/payment_method_create_params.rbi | 19 ++++++- rbi/stripe/resources/payment_method.rbi | 34 ++++++++++++ 7 files changed, 154 insertions(+), 4 deletions(-) diff --git a/API_VERSION b/API_VERSION index 92059f40a..00deb26d4 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -f30919dd1bfc2697b9583b942ed6f89c31be0a18 \ No newline at end of file +40a4d445aa7accb28ac6d53a4377878028f571e1 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 313927989..174dfa5a1 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2086 \ No newline at end of file +v2088 \ No newline at end of file diff --git a/lib/stripe/params/payment_method_create_params.rb b/lib/stripe/params/payment_method_create_params.rb index 83f86bddb..a308c3e1b 100644 --- a/lib/stripe/params/payment_method_create_params.rb +++ b/lib/stripe/params/payment_method_create_params.rb @@ -154,6 +154,16 @@ def initialize( class Cashapp < ::Stripe::RequestParams; end class Crypto < ::Stripe::RequestParams; end + + class Custom < ::Stripe::RequestParams + # ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs. + attr_accessor :type + + def initialize(type: nil) + @type = type + end + end + class CustomerBalance < ::Stripe::RequestParams; end class Eps < ::Stripe::RequestParams @@ -442,6 +452,8 @@ class Zip < ::Stripe::RequestParams; end attr_accessor :cashapp # If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. attr_accessor :crypto + # If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method. + attr_accessor :custom # The `Customer` to whom the original PaymentMethod is attached. attr_accessor :customer # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. @@ -559,6 +571,7 @@ def initialize( card: nil, cashapp: nil, crypto: nil, + custom: nil, customer: nil, customer_balance: nil, eps: nil, @@ -626,6 +639,7 @@ def initialize( @card = card @cashapp = cashapp @crypto = crypto + @custom = custom @customer = customer @customer_balance = customer_balance @eps = eps diff --git a/lib/stripe/resources/payment_method.rb b/lib/stripe/resources/payment_method.rb index 4011f3d72..b0fc8ae43 100644 --- a/lib/stripe/resources/payment_method.rb +++ b/lib/stripe/resources/payment_method.rb @@ -790,6 +790,37 @@ def self.field_remappings end end + class Custom < ::Stripe::StripeObject + class Logo < ::Stripe::StripeObject + # Content type of the Dashboard-only CustomPaymentMethodType logo. + attr_reader :content_type + # URL of the Dashboard-only CustomPaymentMethodType logo. + attr_reader :url + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Display name of the Dashboard-only CustomPaymentMethodType. + attr_reader :display_name + # Contains information about the Dashboard-only CustomPaymentMethodType logo. + attr_reader :logo + # ID of the Dashboard-only CustomPaymentMethodType. Not expandable. + attr_reader :type + + def self.inner_class_types + @inner_class_types = { logo: Logo } + end + + def self.field_remappings + @field_remappings = {} + end + end + class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -1523,6 +1554,8 @@ def self.field_remappings attr_reader :created # Attribute for field crypto attr_reader :crypto + # Attribute for field custom + attr_reader :custom # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. attr_reader :customer # Attribute for field customer_account @@ -1733,6 +1766,7 @@ def self.inner_class_types card_present: CardPresent, cashapp: Cashapp, crypto: Crypto, + custom: Custom, customer_balance: CustomerBalance, eps: Eps, fpx: Fpx, diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 895ef7e9a..d00131046 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -35981,6 +35981,37 @@ module Stripe @field_remappings = {} end end + class Custom < ::Stripe::StripeObject + class Logo < ::Stripe::StripeObject + # Content type of the Dashboard-only CustomPaymentMethodType logo. + sig { returns(T.nilable(String)) } + def content_type; end + # URL of the Dashboard-only CustomPaymentMethodType logo. + sig { returns(String) } + def url; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Display name of the Dashboard-only CustomPaymentMethodType. + sig { returns(T.nilable(String)) } + def display_name; end + # Contains information about the Dashboard-only CustomPaymentMethodType logo. + sig { returns(T.nilable(Logo)) } + def logo; end + # ID of the Dashboard-only CustomPaymentMethodType. Not expandable. + sig { returns(String) } + def type; end + def self.inner_class_types + @inner_class_types = {logo: Logo} + end + def self.field_remappings + @field_remappings = {} + end + end class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -36693,6 +36724,9 @@ module Stripe # Attribute for field crypto sig { returns(T.nilable(Crypto)) } def crypto; end + # Attribute for field custom + sig { returns(T.nilable(Custom)) } + def custom; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end @@ -138934,6 +138968,15 @@ module Stripe end class Cashapp < ::Stripe::RequestParams; end class Crypto < ::Stripe::RequestParams; end + class Custom < ::Stripe::RequestParams + # ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs. + sig { returns(String) } + def type; end + sig { params(_type: String).returns(String) } + def type=(_type); end + sig { params(type: String).void } + def initialize(type: nil); end + end class CustomerBalance < ::Stripe::RequestParams; end class Eps < ::Stripe::RequestParams # The customer's bank. @@ -139341,6 +139384,13 @@ module Stripe params(_crypto: T.nilable(PaymentMethodCreateParams::Crypto)).returns(T.nilable(PaymentMethodCreateParams::Crypto)) } def crypto=(_crypto); end + # If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method. + sig { returns(T.nilable(PaymentMethodCreateParams::Custom)) } + def custom; end + sig { + params(_custom: T.nilable(PaymentMethodCreateParams::Custom)).returns(T.nilable(PaymentMethodCreateParams::Custom)) + } + def custom=(_custom); end # The `Customer` to whom the original PaymentMethod is attached. sig { returns(T.nilable(String)) } def customer; end @@ -139677,7 +139727,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodCreateParams::Alipay), allow_redisplay: T.nilable(String), alma: T.nilable(PaymentMethodCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodCreateParams::AmazonPay), au_becs_debit: T.nilable(PaymentMethodCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodCreateParams::Bancontact), billie: T.nilable(PaymentMethodCreateParams::Billie), billing_details: T.nilable(PaymentMethodCreateParams::BillingDetails), blik: T.nilable(PaymentMethodCreateParams::Blik), boleto: T.nilable(PaymentMethodCreateParams::Boleto), card: T.nilable(PaymentMethodCreateParams::Card), cashapp: T.nilable(PaymentMethodCreateParams::Cashapp), crypto: T.nilable(PaymentMethodCreateParams::Crypto), customer: T.nilable(String), customer_balance: T.nilable(PaymentMethodCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodCreateParams::Fpx), giropay: T.nilable(PaymentMethodCreateParams::Giropay), gopay: T.nilable(PaymentMethodCreateParams::Gopay), grabpay: T.nilable(PaymentMethodCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodCreateParams::Ideal), interac_present: T.nilable(PaymentMethodCreateParams::InteracPresent), kakao_pay: T.nilable(PaymentMethodCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodCreateParams::Klarna), konbini: T.nilable(PaymentMethodCreateParams::Konbini), kr_card: T.nilable(PaymentMethodCreateParams::KrCard), link: T.nilable(PaymentMethodCreateParams::Link), mb_way: T.nilable(PaymentMethodCreateParams::MbWay), metadata: T.nilable(T::Hash[String, String]), mobilepay: T.nilable(PaymentMethodCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodCreateParams::Multibanco), naver_pay: T.nilable(PaymentMethodCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodCreateParams::Oxxo), p24: T.nilable(PaymentMethodCreateParams::P24), pay_by_bank: T.nilable(PaymentMethodCreateParams::PayByBank), payco: T.nilable(PaymentMethodCreateParams::Payco), payment_method: T.nilable(String), paynow: T.nilable(PaymentMethodCreateParams::Paynow), paypal: T.nilable(PaymentMethodCreateParams::Paypal), paypay: T.nilable(PaymentMethodCreateParams::Paypay), payto: T.nilable(PaymentMethodCreateParams::Payto), pix: T.nilable(PaymentMethodCreateParams::Pix), promptpay: T.nilable(PaymentMethodCreateParams::Promptpay), qris: T.nilable(PaymentMethodCreateParams::Qris), radar_options: T.nilable(PaymentMethodCreateParams::RadarOptions), rechnung: T.nilable(PaymentMethodCreateParams::Rechnung), revolut_pay: T.nilable(PaymentMethodCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodCreateParams::Sofort), stripe_balance: T.nilable(PaymentMethodCreateParams::StripeBalance), swish: T.nilable(PaymentMethodCreateParams::Swish), twint: T.nilable(PaymentMethodCreateParams::Twint), type: T.nilable(String), us_bank_account: T.nilable(PaymentMethodCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodCreateParams::WechatPay), zip: T.nilable(PaymentMethodCreateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodCreateParams::Alipay), allow_redisplay: T.nilable(String), alma: T.nilable(PaymentMethodCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodCreateParams::AmazonPay), au_becs_debit: T.nilable(PaymentMethodCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodCreateParams::Bancontact), billie: T.nilable(PaymentMethodCreateParams::Billie), billing_details: T.nilable(PaymentMethodCreateParams::BillingDetails), blik: T.nilable(PaymentMethodCreateParams::Blik), boleto: T.nilable(PaymentMethodCreateParams::Boleto), card: T.nilable(PaymentMethodCreateParams::Card), cashapp: T.nilable(PaymentMethodCreateParams::Cashapp), crypto: T.nilable(PaymentMethodCreateParams::Crypto), custom: T.nilable(PaymentMethodCreateParams::Custom), customer: T.nilable(String), customer_balance: T.nilable(PaymentMethodCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodCreateParams::Fpx), giropay: T.nilable(PaymentMethodCreateParams::Giropay), gopay: T.nilable(PaymentMethodCreateParams::Gopay), grabpay: T.nilable(PaymentMethodCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodCreateParams::Ideal), interac_present: T.nilable(PaymentMethodCreateParams::InteracPresent), kakao_pay: T.nilable(PaymentMethodCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodCreateParams::Klarna), konbini: T.nilable(PaymentMethodCreateParams::Konbini), kr_card: T.nilable(PaymentMethodCreateParams::KrCard), link: T.nilable(PaymentMethodCreateParams::Link), mb_way: T.nilable(PaymentMethodCreateParams::MbWay), metadata: T.nilable(T::Hash[String, String]), mobilepay: T.nilable(PaymentMethodCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodCreateParams::Multibanco), naver_pay: T.nilable(PaymentMethodCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodCreateParams::Oxxo), p24: T.nilable(PaymentMethodCreateParams::P24), pay_by_bank: T.nilable(PaymentMethodCreateParams::PayByBank), payco: T.nilable(PaymentMethodCreateParams::Payco), payment_method: T.nilable(String), paynow: T.nilable(PaymentMethodCreateParams::Paynow), paypal: T.nilable(PaymentMethodCreateParams::Paypal), paypay: T.nilable(PaymentMethodCreateParams::Paypay), payto: T.nilable(PaymentMethodCreateParams::Payto), pix: T.nilable(PaymentMethodCreateParams::Pix), promptpay: T.nilable(PaymentMethodCreateParams::Promptpay), qris: T.nilable(PaymentMethodCreateParams::Qris), radar_options: T.nilable(PaymentMethodCreateParams::RadarOptions), rechnung: T.nilable(PaymentMethodCreateParams::Rechnung), revolut_pay: T.nilable(PaymentMethodCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodCreateParams::Sofort), stripe_balance: T.nilable(PaymentMethodCreateParams::StripeBalance), swish: T.nilable(PaymentMethodCreateParams::Swish), twint: T.nilable(PaymentMethodCreateParams::Twint), type: T.nilable(String), us_bank_account: T.nilable(PaymentMethodCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodCreateParams::WechatPay), zip: T.nilable(PaymentMethodCreateParams::Zip)).void } def initialize( acss_debit: nil, @@ -139697,6 +139747,7 @@ module Stripe card: nil, cashapp: nil, crypto: nil, + custom: nil, customer: nil, customer_balance: nil, eps: nil, diff --git a/rbi/stripe/params/payment_method_create_params.rbi b/rbi/stripe/params/payment_method_create_params.rbi index bce54ec5b..edb4121c0 100644 --- a/rbi/stripe/params/payment_method_create_params.rbi +++ b/rbi/stripe/params/payment_method_create_params.rbi @@ -202,6 +202,15 @@ module Stripe end class Cashapp < ::Stripe::RequestParams; end class Crypto < ::Stripe::RequestParams; end + class Custom < ::Stripe::RequestParams + # ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs. + sig { returns(String) } + def type; end + sig { params(_type: String).returns(String) } + def type=(_type); end + sig { params(type: String).void } + def initialize(type: nil); end + end class CustomerBalance < ::Stripe::RequestParams; end class Eps < ::Stripe::RequestParams # The customer's bank. @@ -609,6 +618,13 @@ module Stripe params(_crypto: T.nilable(PaymentMethodCreateParams::Crypto)).returns(T.nilable(PaymentMethodCreateParams::Crypto)) } def crypto=(_crypto); end + # If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method. + sig { returns(T.nilable(PaymentMethodCreateParams::Custom)) } + def custom; end + sig { + params(_custom: T.nilable(PaymentMethodCreateParams::Custom)).returns(T.nilable(PaymentMethodCreateParams::Custom)) + } + def custom=(_custom); end # The `Customer` to whom the original PaymentMethod is attached. sig { returns(T.nilable(String)) } def customer; end @@ -945,7 +961,7 @@ module Stripe } def zip=(_zip); end sig { - params(acss_debit: T.nilable(PaymentMethodCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodCreateParams::Alipay), allow_redisplay: T.nilable(String), alma: T.nilable(PaymentMethodCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodCreateParams::AmazonPay), au_becs_debit: T.nilable(PaymentMethodCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodCreateParams::Bancontact), billie: T.nilable(PaymentMethodCreateParams::Billie), billing_details: T.nilable(PaymentMethodCreateParams::BillingDetails), blik: T.nilable(PaymentMethodCreateParams::Blik), boleto: T.nilable(PaymentMethodCreateParams::Boleto), card: T.nilable(PaymentMethodCreateParams::Card), cashapp: T.nilable(PaymentMethodCreateParams::Cashapp), crypto: T.nilable(PaymentMethodCreateParams::Crypto), customer: T.nilable(String), customer_balance: T.nilable(PaymentMethodCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodCreateParams::Fpx), giropay: T.nilable(PaymentMethodCreateParams::Giropay), gopay: T.nilable(PaymentMethodCreateParams::Gopay), grabpay: T.nilable(PaymentMethodCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodCreateParams::Ideal), interac_present: T.nilable(PaymentMethodCreateParams::InteracPresent), kakao_pay: T.nilable(PaymentMethodCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodCreateParams::Klarna), konbini: T.nilable(PaymentMethodCreateParams::Konbini), kr_card: T.nilable(PaymentMethodCreateParams::KrCard), link: T.nilable(PaymentMethodCreateParams::Link), mb_way: T.nilable(PaymentMethodCreateParams::MbWay), metadata: T.nilable(T::Hash[String, String]), mobilepay: T.nilable(PaymentMethodCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodCreateParams::Multibanco), naver_pay: T.nilable(PaymentMethodCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodCreateParams::Oxxo), p24: T.nilable(PaymentMethodCreateParams::P24), pay_by_bank: T.nilable(PaymentMethodCreateParams::PayByBank), payco: T.nilable(PaymentMethodCreateParams::Payco), payment_method: T.nilable(String), paynow: T.nilable(PaymentMethodCreateParams::Paynow), paypal: T.nilable(PaymentMethodCreateParams::Paypal), paypay: T.nilable(PaymentMethodCreateParams::Paypay), payto: T.nilable(PaymentMethodCreateParams::Payto), pix: T.nilable(PaymentMethodCreateParams::Pix), promptpay: T.nilable(PaymentMethodCreateParams::Promptpay), qris: T.nilable(PaymentMethodCreateParams::Qris), radar_options: T.nilable(PaymentMethodCreateParams::RadarOptions), rechnung: T.nilable(PaymentMethodCreateParams::Rechnung), revolut_pay: T.nilable(PaymentMethodCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodCreateParams::Sofort), stripe_balance: T.nilable(PaymentMethodCreateParams::StripeBalance), swish: T.nilable(PaymentMethodCreateParams::Swish), twint: T.nilable(PaymentMethodCreateParams::Twint), type: T.nilable(String), us_bank_account: T.nilable(PaymentMethodCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodCreateParams::WechatPay), zip: T.nilable(PaymentMethodCreateParams::Zip)).void + params(acss_debit: T.nilable(PaymentMethodCreateParams::AcssDebit), affirm: T.nilable(PaymentMethodCreateParams::Affirm), afterpay_clearpay: T.nilable(PaymentMethodCreateParams::AfterpayClearpay), alipay: T.nilable(PaymentMethodCreateParams::Alipay), allow_redisplay: T.nilable(String), alma: T.nilable(PaymentMethodCreateParams::Alma), amazon_pay: T.nilable(PaymentMethodCreateParams::AmazonPay), au_becs_debit: T.nilable(PaymentMethodCreateParams::AuBecsDebit), bacs_debit: T.nilable(PaymentMethodCreateParams::BacsDebit), bancontact: T.nilable(PaymentMethodCreateParams::Bancontact), billie: T.nilable(PaymentMethodCreateParams::Billie), billing_details: T.nilable(PaymentMethodCreateParams::BillingDetails), blik: T.nilable(PaymentMethodCreateParams::Blik), boleto: T.nilable(PaymentMethodCreateParams::Boleto), card: T.nilable(PaymentMethodCreateParams::Card), cashapp: T.nilable(PaymentMethodCreateParams::Cashapp), crypto: T.nilable(PaymentMethodCreateParams::Crypto), custom: T.nilable(PaymentMethodCreateParams::Custom), customer: T.nilable(String), customer_balance: T.nilable(PaymentMethodCreateParams::CustomerBalance), eps: T.nilable(PaymentMethodCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(PaymentMethodCreateParams::Fpx), giropay: T.nilable(PaymentMethodCreateParams::Giropay), gopay: T.nilable(PaymentMethodCreateParams::Gopay), grabpay: T.nilable(PaymentMethodCreateParams::Grabpay), id_bank_transfer: T.nilable(PaymentMethodCreateParams::IdBankTransfer), ideal: T.nilable(PaymentMethodCreateParams::Ideal), interac_present: T.nilable(PaymentMethodCreateParams::InteracPresent), kakao_pay: T.nilable(PaymentMethodCreateParams::KakaoPay), klarna: T.nilable(PaymentMethodCreateParams::Klarna), konbini: T.nilable(PaymentMethodCreateParams::Konbini), kr_card: T.nilable(PaymentMethodCreateParams::KrCard), link: T.nilable(PaymentMethodCreateParams::Link), mb_way: T.nilable(PaymentMethodCreateParams::MbWay), metadata: T.nilable(T::Hash[String, String]), mobilepay: T.nilable(PaymentMethodCreateParams::Mobilepay), multibanco: T.nilable(PaymentMethodCreateParams::Multibanco), naver_pay: T.nilable(PaymentMethodCreateParams::NaverPay), nz_bank_account: T.nilable(PaymentMethodCreateParams::NzBankAccount), oxxo: T.nilable(PaymentMethodCreateParams::Oxxo), p24: T.nilable(PaymentMethodCreateParams::P24), pay_by_bank: T.nilable(PaymentMethodCreateParams::PayByBank), payco: T.nilable(PaymentMethodCreateParams::Payco), payment_method: T.nilable(String), paynow: T.nilable(PaymentMethodCreateParams::Paynow), paypal: T.nilable(PaymentMethodCreateParams::Paypal), paypay: T.nilable(PaymentMethodCreateParams::Paypay), payto: T.nilable(PaymentMethodCreateParams::Payto), pix: T.nilable(PaymentMethodCreateParams::Pix), promptpay: T.nilable(PaymentMethodCreateParams::Promptpay), qris: T.nilable(PaymentMethodCreateParams::Qris), radar_options: T.nilable(PaymentMethodCreateParams::RadarOptions), rechnung: T.nilable(PaymentMethodCreateParams::Rechnung), revolut_pay: T.nilable(PaymentMethodCreateParams::RevolutPay), samsung_pay: T.nilable(PaymentMethodCreateParams::SamsungPay), satispay: T.nilable(PaymentMethodCreateParams::Satispay), sepa_debit: T.nilable(PaymentMethodCreateParams::SepaDebit), shopeepay: T.nilable(PaymentMethodCreateParams::Shopeepay), sofort: T.nilable(PaymentMethodCreateParams::Sofort), stripe_balance: T.nilable(PaymentMethodCreateParams::StripeBalance), swish: T.nilable(PaymentMethodCreateParams::Swish), twint: T.nilable(PaymentMethodCreateParams::Twint), type: T.nilable(String), us_bank_account: T.nilable(PaymentMethodCreateParams::UsBankAccount), wechat_pay: T.nilable(PaymentMethodCreateParams::WechatPay), zip: T.nilable(PaymentMethodCreateParams::Zip)).void } def initialize( acss_debit: nil, @@ -965,6 +981,7 @@ module Stripe card: nil, cashapp: nil, crypto: nil, + custom: nil, customer: nil, customer_balance: nil, eps: nil, diff --git a/rbi/stripe/resources/payment_method.rbi b/rbi/stripe/resources/payment_method.rbi index e9d29b311..2e0ff3cba 100644 --- a/rbi/stripe/resources/payment_method.rbi +++ b/rbi/stripe/resources/payment_method.rbi @@ -833,6 +833,37 @@ module Stripe @field_remappings = {} end end + class Custom < ::Stripe::StripeObject + class Logo < ::Stripe::StripeObject + # Content type of the Dashboard-only CustomPaymentMethodType logo. + sig { returns(T.nilable(String)) } + def content_type; end + # URL of the Dashboard-only CustomPaymentMethodType logo. + sig { returns(String) } + def url; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Display name of the Dashboard-only CustomPaymentMethodType. + sig { returns(T.nilable(String)) } + def display_name; end + # Contains information about the Dashboard-only CustomPaymentMethodType logo. + sig { returns(T.nilable(Logo)) } + def logo; end + # ID of the Dashboard-only CustomPaymentMethodType. Not expandable. + sig { returns(String) } + def type; end + def self.inner_class_types + @inner_class_types = {logo: Logo} + end + def self.field_remappings + @field_remappings = {} + end + end class CustomerBalance < ::Stripe::StripeObject def self.inner_class_types @inner_class_types = {} @@ -1545,6 +1576,9 @@ module Stripe # Attribute for field crypto sig { returns(T.nilable(Crypto)) } def crypto; end + # Attribute for field custom + sig { returns(T.nilable(Custom)) } + def custom; end # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. sig { returns(T.nilable(T.any(String, ::Stripe::Customer))) } def customer; end From 5322bc6a3f267d83bc44a96ba0bf03228c73826f Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 22:39:33 +0000 Subject: [PATCH 11/17] Update generated code for v2091 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/resources/financial_connections/account.rb | 4 ++-- .../services/financial_connections/account_service.rb | 2 +- rbi/stripe.rbi | 6 +++--- rbi/stripe/resources/financial_connections/account.rbi | 4 ++-- .../services/financial_connections/account_service.rbi | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/API_VERSION b/API_VERSION index 00deb26d4..5864f9439 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -40a4d445aa7accb28ac6d53a4377878028f571e1 \ No newline at end of file +563ac1cd28e814b537e2f46a58f9d90cf654aa2c \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 174dfa5a1..c632a9508 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2088 \ No newline at end of file +v2091 \ No newline at end of file diff --git a/lib/stripe/resources/financial_connections/account.rb b/lib/stripe/resources/financial_connections/account.rb index 71d29e896..784144d81 100644 --- a/lib/stripe/resources/financial_connections/account.rb +++ b/lib/stripe/resources/financial_connections/account.rb @@ -287,7 +287,7 @@ def self.refresh_account(account, params = {}, opts = {}) ) end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. def subscribe(params = {}, opts = {}) request_stripe_object( method: :post, @@ -297,7 +297,7 @@ def subscribe(params = {}, opts = {}) ) end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. def self.subscribe(account, params = {}, opts = {}) request_stripe_object( method: :post, diff --git a/lib/stripe/services/financial_connections/account_service.rb b/lib/stripe/services/financial_connections/account_service.rb index eb8431f00..8728d8f6f 100644 --- a/lib/stripe/services/financial_connections/account_service.rb +++ b/lib/stripe/services/financial_connections/account_service.rb @@ -57,7 +57,7 @@ def retrieve(account, params = {}, opts = {}) ) end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. def subscribe(account, params = {}, opts = {}) request( method: :post, diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index d00131046..3a9dd8d26 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -18198,13 +18198,13 @@ module Stripe } def self.refresh_account(account, params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } @@ -66912,7 +66912,7 @@ module Stripe } def retrieve(account, params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } diff --git a/rbi/stripe/resources/financial_connections/account.rbi b/rbi/stripe/resources/financial_connections/account.rbi index c0d90b3ab..7f95d5a9e 100644 --- a/rbi/stripe/resources/financial_connections/account.rbi +++ b/rbi/stripe/resources/financial_connections/account.rbi @@ -272,13 +272,13 @@ module Stripe } def self.refresh_account(account, params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } def subscribe(params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } diff --git a/rbi/stripe/services/financial_connections/account_service.rbi b/rbi/stripe/services/financial_connections/account_service.rbi index 975463d70..d4aa54b6f 100644 --- a/rbi/stripe/services/financial_connections/account_service.rbi +++ b/rbi/stripe/services/financial_connections/account_service.rbi @@ -31,7 +31,7 @@ module Stripe } def retrieve(account, params = {}, opts = {}); end - # Subscribes to periodic refreshes of data associated with a Financial Connections Account. + # Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day. sig { params(account: String, params: T.any(::Stripe::FinancialConnections::AccountSubscribeParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::FinancialConnections::Account) } From 645a7f294668e3500464aaa6118a0be0ebd22eda Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 18:43:25 +0000 Subject: [PATCH 12/17] Update generated code for v2092 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../params/customer_session_create_params.rb | 33 +++++++- lib/stripe/resources/customer_session.rb | 36 ++++++++ rbi/stripe.rbi | 84 ++++++++++++++++++- .../params/customer_session_create_params.rbi | 48 ++++++++++- rbi/stripe/resources/customer_session.rbi | 36 ++++++++ 7 files changed, 234 insertions(+), 7 deletions(-) diff --git a/API_VERSION b/API_VERSION index 5864f9439..4c4415600 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -563ac1cd28e814b537e2f46a58f9d90cf654aa2c \ No newline at end of file +b0b87f37925899834c13fa96578f7162cf49166e \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index c632a9508..b1da06ccc 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2091 \ No newline at end of file +v2092 \ No newline at end of file diff --git a/lib/stripe/params/customer_session_create_params.rb b/lib/stripe/params/customer_session_create_params.rb index e3bb6805f..3d921a5a9 100644 --- a/lib/stripe/params/customer_session_create_params.rb +++ b/lib/stripe/params/customer_session_create_params.rb @@ -144,6 +144,33 @@ def initialize(enabled: nil) @enabled = enabled end end + + class TaxIdElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + attr_accessor :tax_id_redisplay + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + attr_accessor :tax_id_save + + def initialize(tax_id_redisplay: nil, tax_id_save: nil) + @tax_id_redisplay = tax_id_redisplay + @tax_id_save = tax_id_save + end + end + # Whether the Tax ID Element is enabled. + attr_accessor :enabled + # This hash defines whether the Tax ID Element supports certain features. + attr_accessor :features + + def initialize(enabled: nil, features: nil) + @enabled = enabled + @features = features + end + end # Configuration for buy button. attr_accessor :buy_button # Configuration for the customer sheet. @@ -154,19 +181,23 @@ def initialize(enabled: nil) attr_accessor :payment_element # Configuration for the pricing table. attr_accessor :pricing_table + # Configuration for the Tax ID Element. + attr_accessor :tax_id_element def initialize( buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, - pricing_table: nil + pricing_table: nil, + tax_id_element: nil ) @buy_button = buy_button @customer_sheet = customer_sheet @mobile_payment_element = mobile_payment_element @payment_element = payment_element @pricing_table = pricing_table + @tax_id_element = tax_id_element end end # Configuration for each component. Exactly 1 component must be enabled. diff --git a/lib/stripe/resources/customer_session.rb b/lib/stripe/resources/customer_session.rb index fed9d47f6..a7d7fafc7 100644 --- a/lib/stripe/resources/customer_session.rb +++ b/lib/stripe/resources/customer_session.rb @@ -163,6 +163,39 @@ def self.field_remappings @field_remappings = {} end end + + class TaxIdElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + attr_reader :tax_id_redisplay + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + attr_reader :tax_id_save + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Tax ID Element is enabled. + attr_reader :enabled + # This hash defines whether the Tax ID Element supports certain features. + attr_reader :features + + def self.inner_class_types + @inner_class_types = { features: Features } + end + + def self.field_remappings + @field_remappings = {} + end + end # This hash contains whether the buy button is enabled. attr_reader :buy_button # This hash contains whether the customer sheet is enabled and the features it supports. @@ -173,6 +206,8 @@ def self.field_remappings attr_reader :payment_element # This hash contains whether the pricing table is enabled. attr_reader :pricing_table + # This hash contains whether the Tax ID Element is enabled and the features it supports. + attr_reader :tax_id_element def self.inner_class_types @inner_class_types = { @@ -181,6 +216,7 @@ def self.inner_class_types mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, + tax_id_element: TaxIdElement, } end diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 3a9dd8d26..86e6b5623 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -16241,6 +16241,38 @@ module Stripe @field_remappings = {} end end + class TaxIdElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + sig { returns(String) } + def tax_id_redisplay; end + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + sig { returns(String) } + def tax_id_save; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Tax ID Element is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the Tax ID Element supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end # This hash contains whether the buy button is enabled. sig { returns(BuyButton) } def buy_button; end @@ -16256,6 +16288,9 @@ module Stripe # This hash contains whether the pricing table is enabled. sig { returns(PricingTable) } def pricing_table; end + # This hash contains whether the Tax ID Element is enabled and the features it supports. + sig { returns(T.nilable(TaxIdElement)) } + def tax_id_element; end def self.inner_class_types @inner_class_types = { buy_button: BuyButton, @@ -16263,6 +16298,7 @@ module Stripe mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, + tax_id_element: TaxIdElement, } end def self.field_remappings @@ -92611,6 +92647,42 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end + class TaxIdElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + sig { returns(T.nilable(String)) } + def tax_id_redisplay; end + sig { params(_tax_id_redisplay: T.nilable(String)).returns(T.nilable(String)) } + def tax_id_redisplay=(_tax_id_redisplay); end + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + sig { returns(T.nilable(String)) } + def tax_id_save; end + sig { params(_tax_id_save: T.nilable(String)).returns(T.nilable(String)) } + def tax_id_save=(_tax_id_save); end + sig { params(tax_id_redisplay: T.nilable(String), tax_id_save: T.nilable(String)).void } + def initialize(tax_id_redisplay: nil, tax_id_save: nil); end + end + # Whether the Tax ID Element is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the Tax ID Element supports certain features. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)) } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)).void + } + def initialize(enabled: nil, features: nil); end + end # Configuration for buy button. sig { returns(T.nilable(CustomerSessionCreateParams::Components::BuyButton)) } def buy_button; end @@ -92646,15 +92718,23 @@ module Stripe params(_pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).returns(T.nilable(CustomerSessionCreateParams::Components::PricingTable)) } def pricing_table=(_pricing_table); end + # Configuration for the Tax ID Element. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)) } + def tax_id_element; end + sig { + params(_tax_id_element: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)).returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)) + } + def tax_id_element=(_tax_id_element); end sig { - params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void + params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable), tax_id_element: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)).void } def initialize( buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, - pricing_table: nil + pricing_table: nil, + tax_id_element: nil ); end end # Configuration for each component. Exactly 1 component must be enabled. diff --git a/rbi/stripe/params/customer_session_create_params.rbi b/rbi/stripe/params/customer_session_create_params.rbi index 765ca8144..d39d2789f 100644 --- a/rbi/stripe/params/customer_session_create_params.rbi +++ b/rbi/stripe/params/customer_session_create_params.rbi @@ -212,6 +212,42 @@ module Stripe sig { params(enabled: T::Boolean).void } def initialize(enabled: nil); end end + class TaxIdElement < ::Stripe::RequestParams + class Features < ::Stripe::RequestParams + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + sig { returns(T.nilable(String)) } + def tax_id_redisplay; end + sig { params(_tax_id_redisplay: T.nilable(String)).returns(T.nilable(String)) } + def tax_id_redisplay=(_tax_id_redisplay); end + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + sig { returns(T.nilable(String)) } + def tax_id_save; end + sig { params(_tax_id_save: T.nilable(String)).returns(T.nilable(String)) } + def tax_id_save=(_tax_id_save); end + sig { params(tax_id_redisplay: T.nilable(String), tax_id_save: T.nilable(String)).void } + def initialize(tax_id_redisplay: nil, tax_id_save: nil); end + end + # Whether the Tax ID Element is enabled. + sig { returns(T::Boolean) } + def enabled; end + sig { params(_enabled: T::Boolean).returns(T::Boolean) } + def enabled=(_enabled); end + # This hash defines whether the Tax ID Element supports certain features. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)) } + def features; end + sig { + params(_features: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)).returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)) + } + def features=(_features); end + sig { + params(enabled: T::Boolean, features: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement::Features)).void + } + def initialize(enabled: nil, features: nil); end + end # Configuration for buy button. sig { returns(T.nilable(CustomerSessionCreateParams::Components::BuyButton)) } def buy_button; end @@ -247,15 +283,23 @@ module Stripe params(_pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).returns(T.nilable(CustomerSessionCreateParams::Components::PricingTable)) } def pricing_table=(_pricing_table); end + # Configuration for the Tax ID Element. + sig { returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)) } + def tax_id_element; end + sig { + params(_tax_id_element: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)).returns(T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)) + } + def tax_id_element=(_tax_id_element); end sig { - params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable)).void + params(buy_button: T.nilable(CustomerSessionCreateParams::Components::BuyButton), customer_sheet: T.nilable(CustomerSessionCreateParams::Components::CustomerSheet), mobile_payment_element: T.nilable(CustomerSessionCreateParams::Components::MobilePaymentElement), payment_element: T.nilable(CustomerSessionCreateParams::Components::PaymentElement), pricing_table: T.nilable(CustomerSessionCreateParams::Components::PricingTable), tax_id_element: T.nilable(CustomerSessionCreateParams::Components::TaxIdElement)).void } def initialize( buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, - pricing_table: nil + pricing_table: nil, + tax_id_element: nil ); end end # Configuration for each component. Exactly 1 component must be enabled. diff --git a/rbi/stripe/resources/customer_session.rbi b/rbi/stripe/resources/customer_session.rbi index bf6ccb032..a14e15676 100644 --- a/rbi/stripe/resources/customer_session.rbi +++ b/rbi/stripe/resources/customer_session.rbi @@ -158,6 +158,38 @@ module Stripe @field_remappings = {} end end + class TaxIdElement < ::Stripe::StripeObject + class Features < ::Stripe::StripeObject + # Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`. + # + # When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers. + sig { returns(String) } + def tax_id_redisplay; end + # Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`. + # + # When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use. + sig { returns(String) } + def tax_id_save; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Tax ID Element is enabled. + sig { returns(T::Boolean) } + def enabled; end + # This hash defines whether the Tax ID Element supports certain features. + sig { returns(T.nilable(Features)) } + def features; end + def self.inner_class_types + @inner_class_types = {features: Features} + end + def self.field_remappings + @field_remappings = {} + end + end # This hash contains whether the buy button is enabled. sig { returns(BuyButton) } def buy_button; end @@ -173,6 +205,9 @@ module Stripe # This hash contains whether the pricing table is enabled. sig { returns(PricingTable) } def pricing_table; end + # This hash contains whether the Tax ID Element is enabled and the features it supports. + sig { returns(T.nilable(TaxIdElement)) } + def tax_id_element; end def self.inner_class_types @inner_class_types = { buy_button: BuyButton, @@ -180,6 +215,7 @@ module Stripe mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, + tax_id_element: TaxIdElement, } end def self.field_remappings From 36a5db6e355c33cbff419a7cf7530b38af5afd6a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 03:15:32 +0000 Subject: [PATCH 13/17] Update generated code for v2094 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../resources/payment_intent_amount_details_line_item.rb | 2 ++ rbi/stripe.rbi | 3 +++ .../resources/payment_intent_amount_details_line_item.rbi | 3 +++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/API_VERSION b/API_VERSION index 4c4415600..16986e088 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -b0b87f37925899834c13fa96578f7162cf49166e \ No newline at end of file +084d5648d24639f68098b38cf9e96314b6440d03 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b1da06ccc..dd52a3380 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2092 \ No newline at end of file +v2094 \ No newline at end of file diff --git a/lib/stripe/resources/payment_intent_amount_details_line_item.rb b/lib/stripe/resources/payment_intent_amount_details_line_item.rb index b93d7e6cc..659606c4b 100644 --- a/lib/stripe/resources/payment_intent_amount_details_line_item.rb +++ b/lib/stripe/resources/payment_intent_amount_details_line_item.rb @@ -42,6 +42,8 @@ class Klarna < ::Stripe::StripeObject attr_reader :product_url # Attribute for field reference attr_reader :reference + # Attribute for field subscription_reference + attr_reader :subscription_reference def self.inner_class_types @inner_class_types = {} diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 86e6b5623..bc9e73634 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -32031,6 +32031,9 @@ module Stripe # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end + # Attribute for field subscription_reference + sig { returns(T.nilable(String)) } + def subscription_reference; end def self.inner_class_types @inner_class_types = {} end diff --git a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi index 95c83bc0c..8ff3747d4 100644 --- a/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi +++ b/rbi/stripe/resources/payment_intent_amount_details_line_item.rbi @@ -37,6 +37,9 @@ module Stripe # Attribute for field reference sig { returns(T.nilable(String)) } def reference; end + # Attribute for field subscription_reference + sig { returns(T.nilable(String)) } + def subscription_reference; end def self.inner_class_types @inner_class_types = {} end From 966c47e662aca7b35143466434fa2242b37381b5 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 17:41:06 +0000 Subject: [PATCH 14/17] Update generated code for v2095 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- ...ey_management_transaction_created_event.rb | 19 +- lib/stripe/params.rb | 4 + .../collection_setting_create_params.rb | 4 +- .../collection_setting_update_params.rb | 4 +- .../params/v2/core/account_create_params.rb | 35 +- .../params/v2/core/account_update_params.rb | 35 +- .../core/vault/gb_bank_account_list_params.rb | 19 + ...nk_account_confirm_microdeposits_params.rb | 22 ++ .../core/vault/us_bank_account_list_params.rb | 22 ++ ..._bank_account_send_microdeposits_params.rb | 12 + lib/stripe/resources/v2/billing/cadence.rb | 4 +- .../v2/billing/collection_setting.rb | 4 +- .../v2/billing/collection_setting_version.rb | 4 +- lib/stripe/resources/v2/core/account.rb | 57 ++- .../v2/core/vault/us_bank_account.rb | 36 +- .../v2/core/vault/gb_bank_account_service.rb | 11 + .../v2/core/vault/us_bank_account_service.rb | 33 ++ rbi/stripe.rbi | 331 ++++++++++++++++-- .../collection_setting_create_params.rbi | 4 +- .../collection_setting_update_params.rbi | 4 +- .../params/v2/core/account_create_params.rbi | 57 ++- .../params/v2/core/account_update_params.rbi | 57 ++- .../vault/gb_bank_account_list_params.rbi | 21 ++ ...k_account_confirm_microdeposits_params.rbi | 30 ++ .../vault/us_bank_account_list_params.rbi | 26 ++ ...bank_account_send_microdeposits_params.rbi | 13 + rbi/stripe/resources/v2/billing/cadence.rbi | 4 +- .../v2/billing/collection_setting.rbi | 4 +- .../v2/billing/collection_setting_version.rbi | 4 +- rbi/stripe/resources/v2/core/account.rbi | 59 +++- .../v2/core/vault/us_bank_account.rbi | 36 ++ .../v2/core/vault/gb_bank_account_service.rbi | 6 + .../v2/core/vault/us_bank_account_service.rbi | 18 + test/stripe/generated_examples_test.rb | 58 ++- 36 files changed, 995 insertions(+), 66 deletions(-) create mode 100644 lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb create mode 100644 lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb create mode 100644 lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb create mode 100644 lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb create mode 100644 rbi/stripe/params/v2/core/vault/gb_bank_account_list_params.rbi create mode 100644 rbi/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rbi create mode 100644 rbi/stripe/params/v2/core/vault/us_bank_account_list_params.rbi create mode 100644 rbi/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rbi diff --git a/API_VERSION b/API_VERSION index 16986e088..1783fb92b 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -084d5648d24639f68098b38cf9e96314b6440d03 \ No newline at end of file +bc799ba25fc2a0fd14237c49b08b8044abbf3e9c \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index dd52a3380..2de4eafc9 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2094 \ No newline at end of file +v2095 \ No newline at end of file diff --git a/lib/stripe/events/v2_money_management_transaction_created_event.rb b/lib/stripe/events/v2_money_management_transaction_created_event.rb index bd9b8804d..b8209089a 100644 --- a/lib/stripe/events/v2_money_management_transaction_created_event.rb +++ b/lib/stripe/events/v2_money_management_transaction_created_event.rb @@ -9,6 +9,24 @@ def self.lookup_type "v2.money_management.transaction.created" end + class V2MoneyManagementTransactionCreatedEventData < ::Stripe::StripeObject + # Id of the v1 Transaction corresponding to this Transaction. + attr_reader :v1_id + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + + def self.inner_class_types + @inner_class_types = { data: V2MoneyManagementTransactionCreatedEventData } + end + attr_reader :data, :related_object + # Retrieves the related object from the API. Makes an API request on every call. def fetch_related_object _request( @@ -18,7 +36,6 @@ def fetch_related_object opts: { stripe_context: context } ) end - attr_reader :related_object end # Occurs when a Transaction is created. diff --git a/lib/stripe/params.rb b/lib/stripe/params.rb index a4371de81..2669d9347 100644 --- a/lib/stripe/params.rb +++ b/lib/stripe/params.rb @@ -699,10 +699,14 @@ require "stripe/params/v2/core/vault/gb_bank_account_archive_params" require "stripe/params/v2/core/vault/gb_bank_account_create_params" require "stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params" +require "stripe/params/v2/core/vault/gb_bank_account_list_params" require "stripe/params/v2/core/vault/gb_bank_account_retrieve_params" require "stripe/params/v2/core/vault/us_bank_account_archive_params" +require "stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params" require "stripe/params/v2/core/vault/us_bank_account_create_params" +require "stripe/params/v2/core/vault/us_bank_account_list_params" require "stripe/params/v2/core/vault/us_bank_account_retrieve_params" +require "stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params" require "stripe/params/v2/core/vault/us_bank_account_update_params" require "stripe/params/v2/money_management/adjustment_list_params" require "stripe/params/v2/money_management/adjustment_retrieve_params" diff --git a/lib/stripe/params/v2/billing/collection_setting_create_params.rb b/lib/stripe/params/v2/billing/collection_setting_create_params.rb index 5c8912a63..04ab5017b 100644 --- a/lib/stripe/params/v2/billing/collection_setting_create_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_create_params.rb @@ -9,7 +9,7 @@ class EmailDelivery < ::Stripe::RequestParams class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. attr_accessor :enabled - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. attr_accessor :include_payment_link def initialize(enabled: nil, include_payment_link: nil) @@ -17,7 +17,7 @@ def initialize(enabled: nil, include_payment_link: nil) @include_payment_link = include_payment_link end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. attr_accessor :payment_due def initialize(payment_due: nil) diff --git a/lib/stripe/params/v2/billing/collection_setting_update_params.rb b/lib/stripe/params/v2/billing/collection_setting_update_params.rb index a3fed60c2..b86ee02b3 100644 --- a/lib/stripe/params/v2/billing/collection_setting_update_params.rb +++ b/lib/stripe/params/v2/billing/collection_setting_update_params.rb @@ -9,7 +9,7 @@ class EmailDelivery < ::Stripe::RequestParams class PaymentDue < ::Stripe::RequestParams # If true an email for the invoice would be generated and sent out. attr_accessor :enabled - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. attr_accessor :include_payment_link def initialize(enabled: nil, include_payment_link: nil) @@ -17,7 +17,7 @@ def initialize(enabled: nil, include_payment_link: nil) @include_payment_link = include_payment_link end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. attr_accessor :payment_due def initialize(payment_due: nil) diff --git a/lib/stripe/params/v2/core/account_create_params.rb b/lib/stripe/params/v2/core/account_create_params.rb index 88dba939b..dc4c14c48 100644 --- a/lib/stripe/params/v2/core/account_create_params.rb +++ b/lib/stripe/params/v2/core/account_create_params.rb @@ -995,11 +995,23 @@ def initialize(requested: nil) @requested = requested end end + + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + attr_accessor :requested + + def initialize(requested: nil) + @requested = requested + end + end # Can hold storage-type funds on Stripe in GBP. attr_accessor :gbp + # Can hold storage-type funds on Stripe in USD. + attr_accessor :usd - def initialize(gbp: nil) + def initialize(gbp: nil, usd: nil) @gbp = gbp + @usd = usd end end @@ -1237,6 +1249,21 @@ def initialize( end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + attr_accessor :date + # The IP address from which the representative attestation was made. + attr_accessor :ip + # The user agent of the browser from which the representative attestation was made. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -1283,6 +1310,8 @@ def initialize(account: nil, storer: nil) attr_accessor :ownership_declaration # Attestation that all Persons with a specific Relationship value have been provided. attr_accessor :persons_provided + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_accessor :representative_declaration # Attestations of accepted terms of service agreements. attr_accessor :terms_of_service @@ -1290,11 +1319,13 @@ def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ) @directorship_declaration = directorship_declaration @ownership_declaration = ownership_declaration @persons_provided = persons_provided + @representative_declaration = representative_declaration @terms_of_service = terms_of_service end end @@ -2150,7 +2181,7 @@ def initialize( @surname = surname end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. attr_accessor :attestations # Information about the company or business. attr_accessor :business_details diff --git a/lib/stripe/params/v2/core/account_update_params.rb b/lib/stripe/params/v2/core/account_update_params.rb index 88450b08a..74485e2db 100644 --- a/lib/stripe/params/v2/core/account_update_params.rb +++ b/lib/stripe/params/v2/core/account_update_params.rb @@ -1020,11 +1020,23 @@ def initialize(requested: nil) @requested = requested end end + + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + attr_accessor :requested + + def initialize(requested: nil) + @requested = requested + end + end # Can hold storage-type funds on Stripe in GBP. attr_accessor :gbp + # Can hold storage-type funds on Stripe in USD. + attr_accessor :usd - def initialize(gbp: nil) + def initialize(gbp: nil, usd: nil) @gbp = gbp + @usd = usd end end @@ -1265,6 +1277,21 @@ def initialize( end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + attr_accessor :date + # The IP address from which the representative attestation was made. + attr_accessor :ip + # The user agent of the browser from which the representative attestation was made. + attr_accessor :user_agent + + def initialize(date: nil, ip: nil, user_agent: nil) + @date = date + @ip = ip + @user_agent = user_agent + end + end + class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -1311,6 +1338,8 @@ def initialize(account: nil, storer: nil) attr_accessor :ownership_declaration # Attestation that all Persons with a specific Relationship value have been provided. attr_accessor :persons_provided + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_accessor :representative_declaration # Attestations of accepted terms of service agreements. attr_accessor :terms_of_service @@ -1318,11 +1347,13 @@ def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ) @directorship_declaration = directorship_declaration @ownership_declaration = ownership_declaration @persons_provided = persons_provided + @representative_declaration = representative_declaration @terms_of_service = terms_of_service end end @@ -2178,7 +2209,7 @@ def initialize( @surname = surname end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. attr_accessor :attestations # Information about the company or business. attr_accessor :business_details diff --git a/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb b/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb new file mode 100644 index 000000000..5cc0a20d8 --- /dev/null +++ b/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb @@ -0,0 +1,19 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + module V2 + module Core + module Vault + class GbBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + attr_accessor :limit + + def initialize(limit: nil) + @limit = limit + end + end + end + end + end +end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb new file mode 100644 index 000000000..ac3c8105e --- /dev/null +++ b/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb @@ -0,0 +1,22 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + module V2 + module Core + module Vault + class UsBankAccountConfirmMicrodepositsParams < ::Stripe::RequestParams + # Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + attr_accessor :amounts + # Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + attr_accessor :descriptor_code + + def initialize(amounts: nil, descriptor_code: nil) + @amounts = amounts + @descriptor_code = descriptor_code + end + end + end + end + end +end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb new file mode 100644 index 000000000..d7e38e86e --- /dev/null +++ b/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb @@ -0,0 +1,22 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + module V2 + module Core + module Vault + class UsBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + attr_accessor :limit + # Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`. + attr_accessor :verification_status + + def initialize(limit: nil, verification_status: nil) + @limit = limit + @verification_status = verification_status + end + end + end + end + end +end diff --git a/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb b/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb new file mode 100644 index 000000000..f36cb44b8 --- /dev/null +++ b/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb @@ -0,0 +1,12 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + module V2 + module Core + module Vault + class UsBankAccountSendMicrodepositsParams < ::Stripe::RequestParams; end + end + end + end +end diff --git a/lib/stripe/resources/v2/billing/cadence.rb b/lib/stripe/resources/v2/billing/cadence.rb index f7cf4780f..24ad8e601 100644 --- a/lib/stripe/resources/v2/billing/cadence.rb +++ b/lib/stripe/resources/v2/billing/cadence.rb @@ -316,7 +316,7 @@ class EmailDelivery < ::Stripe::StripeObject class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. attr_reader :include_payment_link def self.inner_class_types @@ -327,7 +327,7 @@ def self.field_remappings @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. attr_reader :payment_due def self.inner_class_types diff --git a/lib/stripe/resources/v2/billing/collection_setting.rb b/lib/stripe/resources/v2/billing/collection_setting.rb index e9b1280a4..6a7b57232 100644 --- a/lib/stripe/resources/v2/billing/collection_setting.rb +++ b/lib/stripe/resources/v2/billing/collection_setting.rb @@ -15,7 +15,7 @@ class EmailDelivery < ::Stripe::StripeObject class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. attr_reader :include_payment_link def self.inner_class_types @@ -26,7 +26,7 @@ def self.field_remappings @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. attr_reader :payment_due def self.inner_class_types diff --git a/lib/stripe/resources/v2/billing/collection_setting_version.rb b/lib/stripe/resources/v2/billing/collection_setting_version.rb index cee6dd8b7..0b69c08c2 100644 --- a/lib/stripe/resources/v2/billing/collection_setting_version.rb +++ b/lib/stripe/resources/v2/billing/collection_setting_version.rb @@ -14,7 +14,7 @@ class EmailDelivery < ::Stripe::StripeObject class PaymentDue < ::Stripe::StripeObject # If true an email for the invoice would be generated and sent out. attr_reader :enabled - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. attr_reader :include_payment_link def self.inner_class_types @@ -25,7 +25,7 @@ def self.field_remappings @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. attr_reader :payment_due def self.inner_class_types diff --git a/lib/stripe/resources/v2/core/account.rb b/lib/stripe/resources/v2/core/account.rb index ca56eb3b1..2a3fa4d63 100644 --- a/lib/stripe/resources/v2/core/account.rb +++ b/lib/stripe/resources/v2/core/account.rb @@ -2252,11 +2252,44 @@ def self.field_remappings @field_remappings = {} end end + + class Usd < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject + # Machine-readable code explaining the reason for the Capability to be in its current status. + attr_reader :code + # Machine-readable code explaining how to make the Capability active. + attr_reader :resolution + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Capability has been requested. + attr_reader :requested + # The status of the Capability. + attr_reader :status + # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. + attr_reader :status_details + + def self.inner_class_types + @inner_class_types = { status_details: StatusDetail } + end + + def self.field_remappings + @field_remappings = {} + end + end # Can hold storage-type funds on Stripe in GBP. attr_reader :gbp + # Can hold storage-type funds on Stripe in USD. + attr_reader :usd def self.inner_class_types - @inner_class_types = { gbp: Gbp } + @inner_class_types = { gbp: Gbp, usd: Usd } end def self.field_remappings @@ -2664,6 +2697,23 @@ def self.field_remappings end end + class RepresentativeDeclaration < ::Stripe::StripeObject + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + attr_reader :date + # The IP address from which the representative attestation was made. + attr_reader :ip + # The user agent of the browser from which the representative attestation was made. + attr_reader :user_agent + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + class TermsOfService < ::Stripe::StripeObject class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -2717,6 +2767,8 @@ def self.field_remappings attr_reader :ownership_declaration # Attestation that all Persons with a specific Relationship value have been provided. attr_reader :persons_provided + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + attr_reader :representative_declaration # Attestations of accepted terms of service agreements. attr_reader :terms_of_service @@ -2725,6 +2777,7 @@ def self.inner_class_types directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, persons_provided: PersonsProvided, + representative_declaration: RepresentativeDeclaration, terms_of_service: TermsOfService, } end @@ -3611,7 +3664,7 @@ def self.field_remappings @field_remappings = {} end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. attr_reader :attestations # Information about the company or business. attr_reader :business_details diff --git a/lib/stripe/resources/v2/core/vault/us_bank_account.rb b/lib/stripe/resources/v2/core/vault/us_bank_account.rb index 30cfa3851..b8e7f6d45 100644 --- a/lib/stripe/resources/v2/core/vault/us_bank_account.rb +++ b/lib/stripe/resources/v2/core/vault/us_bank_account.rb @@ -12,6 +12,38 @@ def self.object_name "v2.core.vault.us_bank_account" end + class Verification < ::Stripe::StripeObject + class MicrodepositVerificationDetails < ::Stripe::StripeObject + # Time when microdeposits will expire and have to be re-sent. + attr_reader :expires + # Microdeposit type can be amounts or descriptor_type. + attr_reader :microdeposit_type + # Time when microdeposits were sent. + attr_reader :sent + + def self.inner_class_types + @inner_class_types = {} + end + + def self.field_remappings + @field_remappings = {} + end + end + # The microdeposit verification details if the status is awaiting verification. + attr_reader :microdeposit_verification_details + # The bank account verification status. + attr_reader :status + + def self.inner_class_types + @inner_class_types = { + microdeposit_verification_details: MicrodepositVerificationDetails, + } + end + + def self.field_remappings + @field_remappings = {} + end + end # Whether this USBankAccount object was archived. attr_reader :archived # Closed Enum. The type of bank account (checking or savings). @@ -30,11 +62,13 @@ def self.object_name attr_reader :object # The ACH routing number of the bank account. attr_reader :routing_number + # The bank account verification details. + attr_reader :verification # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. attr_reader :livemode def self.inner_class_types - @inner_class_types = {} + @inner_class_types = { verification: Verification } end def self.field_remappings diff --git a/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb b/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb index bc8a6190e..1c3e9440a 100644 --- a/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +++ b/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb @@ -57,6 +57,17 @@ def initiate_confirmation_of_payee(id, params = {}, opts = {}) ) end + # List objects that can be used as destinations for outbound money movement via OutboundPayment. + def list(params = {}, opts = {}) + request( + method: :get, + path: "/v2/core/vault/gb_bank_accounts", + params: params, + opts: opts, + base_address: :api + ) + end + # Retrieve a GB bank account. def retrieve(id, params = {}, opts = {}) request( diff --git a/lib/stripe/services/v2/core/vault/us_bank_account_service.rb b/lib/stripe/services/v2/core/vault/us_bank_account_service.rb index e6ea28f28..e61216a01 100644 --- a/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +++ b/lib/stripe/services/v2/core/vault/us_bank_account_service.rb @@ -21,6 +21,17 @@ def archive(id, params = {}, opts = {}) ) end + # Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with. + def confirm_microdeposits(id, params = {}, opts = {}) + request( + method: :post, + path: format("/v2/core/vault/us_bank_accounts/%s/confirm_microdeposits", { id: CGI.escape(id) }), + params: params, + opts: opts, + base_address: :api + ) + end + # Create a USBankAccount object. # # ** raises BlockedByStripeError @@ -36,6 +47,17 @@ def create(params = {}, opts = {}) ) end + # List USBankAccount objects. Optionally filter by verification status. + def list(params = {}, opts = {}) + request( + method: :get, + path: "/v2/core/vault/us_bank_accounts", + params: params, + opts: opts, + base_address: :api + ) + end + # Retrieve a USBankAccount object. def retrieve(id, params = {}, opts = {}) request( @@ -47,6 +69,17 @@ def retrieve(id, params = {}, opts = {}) ) end + # Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account. + def send_microdeposits(id, params = {}, opts = {}) + request( + method: :post, + path: format("/v2/core/vault/us_bank_accounts/%s/send_microdeposits", { id: CGI.escape(id) }), + params: params, + opts: opts, + base_address: :api + ) + end + # Update a USBankAccount object. This is limited to supplying a previously empty routing_number field. # # ** raises BlockedByStripeError diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index bc9e73634..a595d698d 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -57388,7 +57388,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -57398,7 +57398,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types @@ -57689,7 +57689,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -57699,7 +57699,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types @@ -57954,7 +57954,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -57964,7 +57964,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types @@ -60767,11 +60767,45 @@ module Stripe @field_remappings = {} end end + class Usd < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject + # Machine-readable code explaining the reason for the Capability to be in its current status. + sig { returns(String) } + def code; end + # Machine-readable code explaining how to make the Capability active. + sig { returns(String) } + def resolution; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Capability has been requested. + sig { returns(T::Boolean) } + def requested; end + # The status of the Capability. + sig { returns(String) } + def status; end + # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. + sig { returns(T::Array[StatusDetail]) } + def status_details; end + def self.inner_class_types + @inner_class_types = {status_details: StatusDetail} + end + def self.field_remappings + @field_remappings = {} + end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(Gbp)) } def gbp; end + # Can hold storage-type funds on Stripe in USD. + sig { returns(T.nilable(Usd)) } + def usd; end def self.inner_class_types - @inner_class_types = {gbp: Gbp} + @inner_class_types = {gbp: Gbp, usd: Usd} end def self.field_remappings @field_remappings = {} @@ -61184,6 +61218,23 @@ module Stripe @field_remappings = {} end end + class RepresentativeDeclaration < ::Stripe::StripeObject + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end class TermsOfService < ::Stripe::StripeObject class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -61241,6 +61292,9 @@ module Stripe # Attestation that all Persons with a specific Relationship value have been provided. sig { returns(T.nilable(PersonsProvided)) } def persons_provided; end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(RepresentativeDeclaration)) } + def representative_declaration; end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(TermsOfService)) } def terms_of_service; end @@ -61249,6 +61303,7 @@ module Stripe directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, persons_provided: PersonsProvided, + representative_declaration: RepresentativeDeclaration, terms_of_service: TermsOfService, } end @@ -62182,7 +62237,7 @@ module Stripe @field_remappings = {} end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(Attestations)) } def attestations; end # Information about the company or business. @@ -63203,6 +63258,39 @@ module Stripe module Vault # 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. class UsBankAccount < APIResource + class Verification < ::Stripe::StripeObject + class MicrodepositVerificationDetails < ::Stripe::StripeObject + # Time when microdeposits will expire and have to be re-sent. + sig { returns(String) } + def expires; end + # Microdeposit type can be amounts or descriptor_type. + sig { returns(String) } + def microdeposit_type; end + # Time when microdeposits were sent. + sig { returns(String) } + def sent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # The microdeposit verification details if the status is awaiting verification. + sig { returns(T.nilable(MicrodepositVerificationDetails)) } + def microdeposit_verification_details; end + # The bank account verification status. + sig { returns(String) } + def status; end + def self.inner_class_types + @inner_class_types = { + microdeposit_verification_details: MicrodepositVerificationDetails, + } + end + def self.field_remappings + @field_remappings = {} + end + end # Whether this USBankAccount object was archived. sig { returns(T::Boolean) } def archived; end @@ -63230,6 +63318,9 @@ module Stripe # The ACH routing number of the bank account. sig { returns(T.nilable(String)) } def routing_number; end + # The bank account verification details. + sig { returns(Verification) } + def verification; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end @@ -71031,6 +71122,12 @@ module Stripe } def initiate_confirmation_of_payee(id, params = {}, opts = {}); end + # List objects that can be used as destinations for outbound money movement via OutboundPayment. + sig { + params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) + } + def list(params = {}, opts = {}); end + # Retrieve a GB bank account. sig { params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) @@ -71057,6 +71154,12 @@ module Stripe } def archive(id, params = {}, opts = {}); end + # Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with. + sig { + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountConfirmMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) + } + def confirm_microdeposits(id, params = {}, opts = {}); end + # Create a USBankAccount object. # # ** raises BlockedByStripeError @@ -71067,12 +71170,24 @@ module Stripe } def create(params = {}, opts = {}); end + # List USBankAccount objects. Optionally filter by verification status. + sig { + params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) + } + def list(params = {}, opts = {}); end + # Retrieve a USBankAccount object. sig { params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def retrieve(id, params = {}, opts = {}); end + # Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account. + sig { + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountSendMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) + } + def send_microdeposits(id, params = {}, opts = {}); end + # Update a USBankAccount object. This is limited to supplying a previously empty routing_number field. # # ** raises BlockedByStripeError @@ -186859,7 +186974,7 @@ module Stripe def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) } @@ -186867,7 +186982,7 @@ module Stripe sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void } def initialize(enabled: nil, include_payment_link: nil); end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(V2::Billing::CollectionSettingCreateParams::EmailDelivery::PaymentDue)) } @@ -187224,7 +187339,7 @@ module Stripe def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) } @@ -187232,7 +187347,7 @@ module Stripe sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void } def initialize(enabled: nil, include_payment_link: nil); end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(V2::Billing::CollectionSettingUpdateParams::EmailDelivery::PaymentDue)) } @@ -189413,6 +189528,15 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + sig { returns(T::Boolean) } + def requested; end + sig { params(_requested: T::Boolean).returns(T::Boolean) } + def requested=(_requested); end + sig { params(requested: T::Boolean).void } + def initialize(requested: nil); end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) @@ -189422,10 +189546,19 @@ module Stripe params(_gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) } def gbp=(_gbp); end + # Can hold storage-type funds on Stripe in USD. + sig { + returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) + } + def usd; end + sig { + params(_usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) + } + def usd=(_usd); end sig { - params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void + params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void } - def initialize(gbp: nil); end + def initialize(gbp: nil, usd: nil); end end class InboundTransfers < ::Stripe::RequestParams class BankAccounts < ::Stripe::RequestParams @@ -189798,6 +189931,27 @@ module Stripe ownership_exemption_reason: nil ); end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -189887,6 +190041,15 @@ module Stripe params(_persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)) } def persons_provided=(_persons_provided); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { + returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)) @@ -189897,12 +190060,13 @@ module Stripe } def terms_of_service=(_terms_of_service); end sig { - params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void + params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void } def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ); end end @@ -191225,7 +191389,7 @@ module Stripe surname: nil ); end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations)) } def attestations; end sig { @@ -192883,6 +193047,15 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + sig { returns(T.nilable(T::Boolean)) } + def requested; end + sig { params(_requested: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def requested=(_requested); end + sig { params(requested: T.nilable(T::Boolean)).void } + def initialize(requested: nil); end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) @@ -192892,10 +193065,19 @@ module Stripe params(_gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) } def gbp=(_gbp); end + # Can hold storage-type funds on Stripe in USD. + sig { + returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) + } + def usd; end sig { - params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void + params(_usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) } - def initialize(gbp: nil); end + def usd=(_usd); end + sig { + params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void + } + def initialize(gbp: nil, usd: nil); end end class InboundTransfers < ::Stripe::RequestParams class BankAccounts < ::Stripe::RequestParams @@ -193273,6 +193455,27 @@ module Stripe ownership_exemption_reason: nil ); end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -193366,6 +193569,15 @@ module Stripe params(_persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)) } def persons_provided=(_persons_provided); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { + returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)) @@ -193376,12 +193588,13 @@ module Stripe } def terms_of_service=(_terms_of_service); end sig { - params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void + params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void } def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ); end end @@ -194704,7 +194917,7 @@ module Stripe surname: nil ); end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations)) } def attestations; end sig { @@ -196770,6 +196983,24 @@ module Stripe end end # typed: true +module Stripe + module V2 + module Core + module Vault + class GbBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + sig { returns(T.nilable(Integer)) } + def limit; end + sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } + def limit=(_limit); end + sig { params(limit: T.nilable(Integer)).void } + def initialize(limit: nil); end + end + end + end + end +end +# typed: true module Stripe module V2 module Core @@ -196891,6 +197122,29 @@ module Stripe end end # typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + sig { returns(T.nilable(Integer)) } + def limit; end + sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } + def limit=(_limit); end + # Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`. + sig { returns(T.nilable(String)) } + def verification_status; end + sig { params(_verification_status: T.nilable(String)).returns(T.nilable(String)) } + def verification_status=(_verification_status); end + sig { params(limit: T.nilable(Integer), verification_status: T.nilable(String)).void } + def initialize(limit: nil, verification_status: nil); end + end + end + end + end +end +# typed: true module Stripe module V2 module Core @@ -196976,6 +197230,43 @@ module Stripe end end # typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountConfirmMicrodepositsParams < ::Stripe::RequestParams + # Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + sig { returns(T.nilable(T::Array[Integer])) } + def amounts; end + sig { + params(_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def amounts=(_amounts); end + # Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + sig { returns(T.nilable(String)) } + def descriptor_code; end + sig { params(_descriptor_code: T.nilable(String)).returns(T.nilable(String)) } + def descriptor_code=(_descriptor_code); end + sig { + params(amounts: T.nilable(T::Array[Integer]), descriptor_code: T.nilable(String)).void + } + def initialize(amounts: nil, descriptor_code: nil); end + end + end + end + end +end +# typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountSendMicrodepositsParams < ::Stripe::RequestParams; end + end + end + end +end +# typed: true module Stripe module V2 module MoneyManagement diff --git a/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi index ca2463420..437f239a8 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_create_params.rbi @@ -13,7 +13,7 @@ module Stripe def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) } @@ -21,7 +21,7 @@ module Stripe sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void } def initialize(enabled: nil, include_payment_link: nil); end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(V2::Billing::CollectionSettingCreateParams::EmailDelivery::PaymentDue)) } diff --git a/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi b/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi index 842e366a7..86c5c218c 100644 --- a/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi +++ b/rbi/stripe/params/v2/billing/collection_setting_update_params.rbi @@ -13,7 +13,7 @@ module Stripe def enabled; end sig { params(_enabled: T::Boolean).returns(T::Boolean) } def enabled=(_enabled); end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) } @@ -21,7 +21,7 @@ module Stripe sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void } def initialize(enabled: nil, include_payment_link: nil); end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(V2::Billing::CollectionSettingUpdateParams::EmailDelivery::PaymentDue)) } diff --git a/rbi/stripe/params/v2/core/account_create_params.rbi b/rbi/stripe/params/v2/core/account_create_params.rbi index f6fdd6297..5758f73a3 100644 --- a/rbi/stripe/params/v2/core/account_create_params.rbi +++ b/rbi/stripe/params/v2/core/account_create_params.rbi @@ -1497,6 +1497,15 @@ module Stripe sig { params(requested: T::Boolean).void } def initialize(requested: nil); end end + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + sig { returns(T::Boolean) } + def requested; end + sig { params(_requested: T::Boolean).returns(T::Boolean) } + def requested=(_requested); end + sig { params(requested: T::Boolean).void } + def initialize(requested: nil); end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) @@ -1506,10 +1515,19 @@ module Stripe params(_gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) } def gbp=(_gbp); end + # Can hold storage-type funds on Stripe in USD. sig { - params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void + returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) } - def initialize(gbp: nil); end + def usd; end + sig { + params(_usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) + } + def usd=(_usd); end + sig { + params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void + } + def initialize(gbp: nil, usd: nil); end end class InboundTransfers < ::Stripe::RequestParams class BankAccounts < ::Stripe::RequestParams @@ -1882,6 +1900,27 @@ module Stripe ownership_exemption_reason: nil ); end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -1971,6 +2010,15 @@ module Stripe params(_persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)) } def persons_provided=(_persons_provided); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { + returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)) @@ -1981,12 +2029,13 @@ module Stripe } def terms_of_service=(_terms_of_service); end sig { - params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void + params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void } def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ); end end @@ -3309,7 +3358,7 @@ module Stripe surname: nil ); end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations)) } def attestations; end sig { diff --git a/rbi/stripe/params/v2/core/account_update_params.rbi b/rbi/stripe/params/v2/core/account_update_params.rbi index e1850b4b0..3af09dba6 100644 --- a/rbi/stripe/params/v2/core/account_update_params.rbi +++ b/rbi/stripe/params/v2/core/account_update_params.rbi @@ -1536,6 +1536,15 @@ module Stripe sig { params(requested: T.nilable(T::Boolean)).void } def initialize(requested: nil); end end + class Usd < ::Stripe::RequestParams + # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + sig { returns(T.nilable(T::Boolean)) } + def requested; end + sig { params(_requested: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def requested=(_requested); end + sig { params(requested: T.nilable(T::Boolean)).void } + def initialize(requested: nil); end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) @@ -1545,10 +1554,19 @@ module Stripe params(_gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)) } def gbp=(_gbp); end + # Can hold storage-type funds on Stripe in USD. sig { - params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void + returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) } - def initialize(gbp: nil); end + def usd; end + sig { + params(_usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)) + } + def usd=(_usd); end + sig { + params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void + } + def initialize(gbp: nil, usd: nil); end end class InboundTransfers < ::Stripe::RequestParams class BankAccounts < ::Stripe::RequestParams @@ -1926,6 +1944,27 @@ module Stripe ownership_exemption_reason: nil ); end end + class RepresentativeDeclaration < ::Stripe::RequestParams + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + sig { params(_date: T.nilable(String)).returns(T.nilable(String)) } + def date=(_date); end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) } + def ip=(_ip); end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) } + def user_agent=(_user_agent); end + sig { + params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void + } + def initialize(date: nil, ip: nil, user_agent: nil); end + end class TermsOfService < ::Stripe::RequestParams class Account < ::Stripe::RequestParams # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -2019,6 +2058,15 @@ module Stripe params(_persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)) } def persons_provided=(_persons_provided); end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { + returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration; end + sig { + params(_representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)) + } + def representative_declaration=(_representative_declaration); end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)) @@ -2029,12 +2077,13 @@ module Stripe } def terms_of_service=(_terms_of_service); end sig { - params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void + params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void } def initialize( directorship_declaration: nil, ownership_declaration: nil, persons_provided: nil, + representative_declaration: nil, terms_of_service: nil ); end end @@ -3357,7 +3406,7 @@ module Stripe surname: nil ); end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations)) } def attestations; end sig { diff --git a/rbi/stripe/params/v2/core/vault/gb_bank_account_list_params.rbi b/rbi/stripe/params/v2/core/vault/gb_bank_account_list_params.rbi new file mode 100644 index 000000000..1de80646a --- /dev/null +++ b/rbi/stripe/params/v2/core/vault/gb_bank_account_list_params.rbi @@ -0,0 +1,21 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + module V2 + module Core + module Vault + class GbBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + sig { returns(T.nilable(Integer)) } + def limit; end + sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } + def limit=(_limit); end + sig { params(limit: T.nilable(Integer)).void } + def initialize(limit: nil); end + end + end + end + end +end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rbi new file mode 100644 index 000000000..1c7ee24a7 --- /dev/null +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rbi @@ -0,0 +1,30 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountConfirmMicrodepositsParams < ::Stripe::RequestParams + # Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + sig { returns(T.nilable(T::Array[Integer])) } + def amounts; end + sig { + params(_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer])) + } + def amounts=(_amounts); end + # Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account. + sig { returns(T.nilable(String)) } + def descriptor_code; end + sig { params(_descriptor_code: T.nilable(String)).returns(T.nilable(String)) } + def descriptor_code=(_descriptor_code); end + sig { + params(amounts: T.nilable(T::Array[Integer]), descriptor_code: T.nilable(String)).void + } + def initialize(amounts: nil, descriptor_code: nil); end + end + end + end + end +end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_list_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_list_params.rbi new file mode 100644 index 000000000..9ca9b14f7 --- /dev/null +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_list_params.rbi @@ -0,0 +1,26 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountListParams < ::Stripe::RequestParams + # Optionally set the maximum number of results per page. Defaults to 10. + sig { returns(T.nilable(Integer)) } + def limit; end + sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } + def limit=(_limit); end + # Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`. + sig { returns(T.nilable(String)) } + def verification_status; end + sig { params(_verification_status: T.nilable(String)).returns(T.nilable(String)) } + def verification_status=(_verification_status); end + sig { params(limit: T.nilable(Integer), verification_status: T.nilable(String)).void } + def initialize(limit: nil, verification_status: nil); end + end + end + end + end +end \ No newline at end of file diff --git a/rbi/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rbi b/rbi/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rbi new file mode 100644 index 000000000..ea20e1d75 --- /dev/null +++ b/rbi/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rbi @@ -0,0 +1,13 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + module V2 + module Core + module Vault + class UsBankAccountSendMicrodepositsParams < ::Stripe::RequestParams; end + end + end + end +end \ No newline at end of file diff --git a/rbi/stripe/resources/v2/billing/cadence.rbi b/rbi/stripe/resources/v2/billing/cadence.rbi index 3e8fd116b..c8904f2fb 100644 --- a/rbi/stripe/resources/v2/billing/cadence.rbi +++ b/rbi/stripe/resources/v2/billing/cadence.rbi @@ -312,7 +312,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -322,7 +322,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types diff --git a/rbi/stripe/resources/v2/billing/collection_setting.rbi b/rbi/stripe/resources/v2/billing/collection_setting.rbi index 71fd61add..286e1ede9 100644 --- a/rbi/stripe/resources/v2/billing/collection_setting.rbi +++ b/rbi/stripe/resources/v2/billing/collection_setting.rbi @@ -12,7 +12,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -22,7 +22,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types diff --git a/rbi/stripe/resources/v2/billing/collection_setting_version.rbi b/rbi/stripe/resources/v2/billing/collection_setting_version.rbi index 19dd7fead..125c6f256 100644 --- a/rbi/stripe/resources/v2/billing/collection_setting_version.rbi +++ b/rbi/stripe/resources/v2/billing/collection_setting_version.rbi @@ -11,7 +11,7 @@ module Stripe # If true an email for the invoice would be generated and sent out. sig { returns(T::Boolean) } def enabled; end - # If true the payment link to hosted invocie page would be included in email and PDF of the invoice. + # If true the payment link to hosted invoice page would be included in email and PDF of the invoice. sig { returns(T::Boolean) } def include_payment_link; end def self.inner_class_types @@ -21,7 +21,7 @@ module Stripe @field_remappings = {} end end - # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state. + # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. sig { returns(T.nilable(PaymentDue)) } def payment_due; end def self.inner_class_types diff --git a/rbi/stripe/resources/v2/core/account.rbi b/rbi/stripe/resources/v2/core/account.rbi index e871f898f..ffa53aea0 100644 --- a/rbi/stripe/resources/v2/core/account.rbi +++ b/rbi/stripe/resources/v2/core/account.rbi @@ -2308,11 +2308,45 @@ module Stripe @field_remappings = {} end end + class Usd < ::Stripe::StripeObject + class StatusDetail < ::Stripe::StripeObject + # Machine-readable code explaining the reason for the Capability to be in its current status. + sig { returns(String) } + def code; end + # Machine-readable code explaining how to make the Capability active. + sig { returns(String) } + def resolution; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # Whether the Capability has been requested. + sig { returns(T::Boolean) } + def requested; end + # The status of the Capability. + sig { returns(String) } + def status; end + # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. + sig { returns(T::Array[StatusDetail]) } + def status_details; end + def self.inner_class_types + @inner_class_types = {status_details: StatusDetail} + end + def self.field_remappings + @field_remappings = {} + end + end # Can hold storage-type funds on Stripe in GBP. sig { returns(T.nilable(Gbp)) } def gbp; end + # Can hold storage-type funds on Stripe in USD. + sig { returns(T.nilable(Usd)) } + def usd; end def self.inner_class_types - @inner_class_types = {gbp: Gbp} + @inner_class_types = {gbp: Gbp, usd: Usd} end def self.field_remappings @field_remappings = {} @@ -2725,6 +2759,23 @@ module Stripe @field_remappings = {} end end + class RepresentativeDeclaration < ::Stripe::StripeObject + # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + sig { returns(T.nilable(String)) } + def date; end + # The IP address from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def ip; end + # The user agent of the browser from which the representative attestation was made. + sig { returns(T.nilable(String)) } + def user_agent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end class TermsOfService < ::Stripe::StripeObject class Account < ::Stripe::StripeObject # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -2782,6 +2833,9 @@ module Stripe # Attestation that all Persons with a specific Relationship value have been provided. sig { returns(T.nilable(PersonsProvided)) } def persons_provided; end + # This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + sig { returns(T.nilable(RepresentativeDeclaration)) } + def representative_declaration; end # Attestations of accepted terms of service agreements. sig { returns(T.nilable(TermsOfService)) } def terms_of_service; end @@ -2790,6 +2844,7 @@ module Stripe directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, persons_provided: PersonsProvided, + representative_declaration: RepresentativeDeclaration, terms_of_service: TermsOfService, } end @@ -3723,7 +3778,7 @@ module Stripe @field_remappings = {} end end - # Attestations from the identity's key people, e.g. owners, executives, directors. + # Attestations from the identity's key people, e.g. owners, executives, directors, representatives. sig { returns(T.nilable(Attestations)) } def attestations; end # Information about the company or business. diff --git a/rbi/stripe/resources/v2/core/vault/us_bank_account.rbi b/rbi/stripe/resources/v2/core/vault/us_bank_account.rbi index f66d4c848..81593122b 100644 --- a/rbi/stripe/resources/v2/core/vault/us_bank_account.rbi +++ b/rbi/stripe/resources/v2/core/vault/us_bank_account.rbi @@ -8,6 +8,39 @@ module Stripe module Vault # 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. class UsBankAccount < APIResource + class Verification < ::Stripe::StripeObject + class MicrodepositVerificationDetails < ::Stripe::StripeObject + # Time when microdeposits will expire and have to be re-sent. + sig { returns(String) } + def expires; end + # Microdeposit type can be amounts or descriptor_type. + sig { returns(String) } + def microdeposit_type; end + # Time when microdeposits were sent. + sig { returns(String) } + def sent; end + def self.inner_class_types + @inner_class_types = {} + end + def self.field_remappings + @field_remappings = {} + end + end + # The microdeposit verification details if the status is awaiting verification. + sig { returns(T.nilable(MicrodepositVerificationDetails)) } + def microdeposit_verification_details; end + # The bank account verification status. + sig { returns(String) } + def status; end + def self.inner_class_types + @inner_class_types = { + microdeposit_verification_details: MicrodepositVerificationDetails, + } + end + def self.field_remappings + @field_remappings = {} + end + end # Whether this USBankAccount object was archived. sig { returns(T::Boolean) } def archived; end @@ -35,6 +68,9 @@ module Stripe # The ACH routing number of the bank account. sig { returns(T.nilable(String)) } def routing_number; end + # The bank account verification details. + sig { returns(Verification) } + def verification; end # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. sig { returns(T::Boolean) } def livemode; end diff --git a/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi b/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi index dc6ea67a3..1db06c18c 100644 --- a/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi +++ b/rbi/stripe/services/v2/core/vault/gb_bank_account_service.rbi @@ -38,6 +38,12 @@ module Stripe } def initiate_confirmation_of_payee(id, params = {}, opts = {}); end + # List objects that can be used as destinations for outbound money movement via OutboundPayment. + sig { + params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) + } + def list(params = {}, opts = {}); end + # Retrieve a GB bank account. sig { params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount) diff --git a/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi b/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi index cae93945d..69db839e4 100644 --- a/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi +++ b/rbi/stripe/services/v2/core/vault/us_bank_account_service.rbi @@ -17,6 +17,12 @@ module Stripe } def archive(id, params = {}, opts = {}); end + # Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with. + sig { + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountConfirmMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) + } + def confirm_microdeposits(id, params = {}, opts = {}); end + # Create a USBankAccount object. # # ** raises BlockedByStripeError @@ -27,12 +33,24 @@ module Stripe } def create(params = {}, opts = {}); end + # List USBankAccount objects. Optionally filter by verification status. + sig { + params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject) + } + def list(params = {}, opts = {}); end + # Retrieve a USBankAccount object. sig { params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) } def retrieve(id, params = {}, opts = {}); end + # Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account. + sig { + params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountSendMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount) + } + def send_microdeposits(id, params = {}, opts = {}); end + # Update a USBankAccount object. This is limited to supplying a previously empty routing_number field. # # ** raises BlockedByStripeError diff --git a/test/stripe/generated_examples_test.rb b/test/stripe/generated_examples_test.rb index 6b108b59a..762c61be0 100644 --- a/test/stripe/generated_examples_test.rb +++ b/test/stripe/generated_examples_test.rb @@ -8145,6 +8145,16 @@ class CodegennedExampleTest < Test::Unit::TestCase event = client.v2.core.event_destinations.ping("id_123") assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/event_destinations/id_123/ping" end + should "Test v2 core vault gb bank account get (service)" do + stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts").to_return( + body: '{"data":[{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","confirmation_of_payee":{"result":{"created":"1970-01-12T21:42:34.472Z","match_result":"unavailable","matched":{},"message":"message","provided":{"business_type":"personal","name":"name"}},"status":"awaiting_acknowledgement"},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.gb_bank_account","sort_code":"sort_code","livemode":true}],"next_page_url":null,"previous_page_url":null}', + status: 200 + ) + client = Stripe::StripeClient.new("sk_test_123") + + gb_bank_accounts = client.v2.core.vault.gb_bank_accounts.list + assert_requested :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts" + end should "Test v2 core vault gb bank account post (service)" do stub_request(:post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts").to_return( body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","confirmation_of_payee":{"result":{"created":"1970-01-12T21:42:34.472Z","match_result":"unavailable","matched":{},"message":"message","provided":{"business_type":"personal","name":"name"}},"status":"awaiting_acknowledgement"},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.gb_bank_account","sort_code":"sort_code","livemode":true}', @@ -8158,7 +8168,7 @@ class CodegennedExampleTest < Test::Unit::TestCase }) assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts" end - should "Test v2 core vault gb bank account get (service)" do + should "Test v2 core vault gb bank account get 2 (service)" do stub_request( :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts/id_123" @@ -8210,9 +8220,19 @@ class CodegennedExampleTest < Test::Unit::TestCase gb_bank_account = client.v2.core.vault.gb_bank_accounts.initiate_confirmation_of_payee("id_123") assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/gb_bank_accounts/id_123/initiate_confirmation_of_payee" end + should "Test v2 core vault us bank account get (service)" do + stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts").to_return( + body: '{"data":[{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}],"next_page_url":null,"previous_page_url":null}', + status: 200 + ) + client = Stripe::StripeClient.new("sk_test_123") + + us_bank_accounts = client.v2.core.vault.us_bank_accounts.list + assert_requested :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts" + end should "Test v2 core vault us bank account post (service)" do stub_request(:post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts").to_return( - body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","livemode":true}', + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', status: 200 ) client = Stripe::StripeClient.new("sk_test_123") @@ -8222,12 +8242,12 @@ class CodegennedExampleTest < Test::Unit::TestCase }) assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts" end - should "Test v2 core vault us bank account get (service)" do + should "Test v2 core vault us bank account get 2 (service)" do stub_request( :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123" ).to_return( - body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","livemode":true}', + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', status: 200 ) client = Stripe::StripeClient.new("sk_test_123") @@ -8240,7 +8260,7 @@ class CodegennedExampleTest < Test::Unit::TestCase :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123" ).to_return( - body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","livemode":true}', + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', status: 200 ) client = Stripe::StripeClient.new("sk_test_123") @@ -8253,7 +8273,7 @@ class CodegennedExampleTest < Test::Unit::TestCase :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/archive" ).to_return( - body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","livemode":true}', + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', status: 200 ) client = Stripe::StripeClient.new("sk_test_123") @@ -8261,6 +8281,32 @@ class CodegennedExampleTest < Test::Unit::TestCase us_bank_account = client.v2.core.vault.us_bank_accounts.archive("id_123") assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/archive" end + should "Test v2 core vault us bank account post 4 (service)" do + stub_request( + :post, + "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/confirm_microdeposits" + ).to_return( + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', + status: 200 + ) + client = Stripe::StripeClient.new("sk_test_123") + + us_bank_account = client.v2.core.vault.us_bank_accounts.confirm_microdeposits("id_123") + assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/confirm_microdeposits" + end + should "Test v2 core vault us bank account post 5 (service)" do + stub_request( + :post, + "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/send_microdeposits" + ).to_return( + body: '{"archived":true,"bank_account_type":"savings","bank_name":"bank_name","created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","object":"v2.core.vault.us_bank_account","verification":{"status":"verification_failed"},"livemode":true}', + status: 200 + ) + client = Stripe::StripeClient.new("sk_test_123") + + us_bank_account = client.v2.core.vault.us_bank_accounts.send_microdeposits("id_123") + assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/vault/us_bank_accounts/id_123/send_microdeposits" + end should "Test v2 money management adjustment get (service)" do stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/money_management/adjustments").to_return( body: '{"data":[{"amount":{"currency":"USD","value":96},"created":"1970-01-12T21:42:34.472Z","financial_account":"financial_account","id":"obj_123","object":"v2.money_management.adjustment","livemode":true}],"next_page_url":null,"previous_page_url":null}', From b55872bab1a22f8163a8d10b72073bffcee27879 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 18:37:06 +0000 Subject: [PATCH 15/17] Update generated code for v2096 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/params.rb | 1 + .../params/v2/core/account_list_params.rb | 5 +- .../params/v2/core/event_list_params.rb | 25 +++++- .../financial_account_update_params.rb | 20 +++++ lib/stripe/resources/v2/core/account.rb | 2 + .../services/v2/core/account_service.rb | 2 +- .../financial_account_service.rb | 11 +++ .../outbound_payment_service.rb | 2 +- rbi/stripe.rbi | 90 +++++++++++++++++-- .../params/v2/core/account_list_params.rbi | 9 +- .../params/v2/core/event_list_params.rbi | 43 ++++++++- .../financial_account_update_params.rbi | 28 ++++++ rbi/stripe/resources/v2/core/account.rbi | 3 + .../services/v2/core/account_service.rbi | 2 +- .../financial_account_service.rbi | 6 ++ .../outbound_payment_service.rbi | 2 +- test/stripe/generated_examples_test.rb | 24 +++-- 19 files changed, 250 insertions(+), 29 deletions(-) create mode 100644 lib/stripe/params/v2/money_management/financial_account_update_params.rb create mode 100644 rbi/stripe/params/v2/money_management/financial_account_update_params.rbi diff --git a/API_VERSION b/API_VERSION index 1783fb92b..ddb8009db 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -bc799ba25fc2a0fd14237c49b08b8044abbf3e9c \ No newline at end of file +173b24e412b55604d1775225f1560f5218fbaeca \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 2de4eafc9..1cd59cc55 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2095 \ No newline at end of file +v2096 \ No newline at end of file diff --git a/lib/stripe/params.rb b/lib/stripe/params.rb index 2669d9347..d221740a6 100644 --- a/lib/stripe/params.rb +++ b/lib/stripe/params.rb @@ -714,6 +714,7 @@ require "stripe/params/v2/money_management/financial_account_create_params" require "stripe/params/v2/money_management/financial_account_list_params" require "stripe/params/v2/money_management/financial_account_retrieve_params" +require "stripe/params/v2/money_management/financial_account_update_params" require "stripe/params/v2/money_management/financial_address_create_params" require "stripe/params/v2/money_management/financial_address_list_params" require "stripe/params/v2/money_management/financial_address_retrieve_params" diff --git a/lib/stripe/params/v2/core/account_list_params.rb b/lib/stripe/params/v2/core/account_list_params.rb index 035a8a318..569ad7674 100644 --- a/lib/stripe/params/v2/core/account_list_params.rb +++ b/lib/stripe/params/v2/core/account_list_params.rb @@ -7,11 +7,14 @@ module Core class AccountListParams < ::Stripe::RequestParams # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. attr_accessor :applied_configurations + # Filter by whether the account is closed. If omitted, returns only Accounts that are not closed. + attr_accessor :closed # The upper limit on the number of accounts returned by the List Account request. attr_accessor :limit - def initialize(applied_configurations: nil, limit: nil) + def initialize(applied_configurations: nil, closed: nil, limit: nil) @applied_configurations = applied_configurations + @closed = closed @limit = limit end end diff --git a/lib/stripe/params/v2/core/event_list_params.rb b/lib/stripe/params/v2/core/event_list_params.rb index 3181b3e44..51289b329 100644 --- a/lib/stripe/params/v2/core/event_list_params.rb +++ b/lib/stripe/params/v2/core/event_list_params.rb @@ -5,16 +5,39 @@ module Stripe module V2 module Core class EventListParams < ::Stripe::RequestParams + # Filter for events created after the specified timestamp. + attr_accessor :gt + # Filter for events created at or after the specified timestamp. + attr_accessor :gte # The page size. attr_accessor :limit + # Filter for events created before the specified timestamp. + attr_accessor :lt + # Filter for events created at or before the specified timestamp. + attr_accessor :lte # Primary object ID used to retrieve related events. # # To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key. attr_accessor :object_id_ + # An array of up to 20 strings containing specific event names. + attr_accessor :types - def initialize(limit: nil, object_id_: nil) + def initialize( + gt: nil, + gte: nil, + limit: nil, + lt: nil, + lte: nil, + object_id_: nil, + types: nil + ) + @gt = gt + @gte = gte @limit = limit + @lt = lt + @lte = lte @object_id_ = object_id_ + @types = types end end end diff --git a/lib/stripe/params/v2/money_management/financial_account_update_params.rb b/lib/stripe/params/v2/money_management/financial_account_update_params.rb new file mode 100644 index 000000000..b94043b76 --- /dev/null +++ b/lib/stripe/params/v2/money_management/financial_account_update_params.rb @@ -0,0 +1,20 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + module V2 + module MoneyManagement + class FinancialAccountUpdateParams < ::Stripe::RequestParams + # A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components. + attr_accessor :display_name + # Metadata associated with the FinancialAccount. + attr_accessor :metadata + + def initialize(display_name: nil, metadata: nil) + @display_name = display_name + @metadata = metadata + end + end + end + end +end diff --git a/lib/stripe/resources/v2/core/account.rb b/lib/stripe/resources/v2/core/account.rb index 2a3fa4d63..a4f9894f1 100644 --- a/lib/stripe/resources/v2/core/account.rb +++ b/lib/stripe/resources/v2/core/account.rb @@ -3861,6 +3861,8 @@ def self.field_remappings end # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. attr_reader :applied_configurations + # A value indicating if the Account has been closed. + attr_reader :closed # An Account Configuration which allows the Account to take on a key persona across Stripe products. attr_reader :configuration # The default contact email address for the Account. Required when configuring the account as a merchant or recipient. diff --git a/lib/stripe/services/v2/core/account_service.rb b/lib/stripe/services/v2/core/account_service.rb index 5805f1f2e..a2110bbbc 100644 --- a/lib/stripe/services/v2/core/account_service.rb +++ b/lib/stripe/services/v2/core/account_service.rb @@ -12,7 +12,7 @@ def initialize(requestor) @persons = Stripe::V2::Core::Accounts::PersonService.new(@requestor) end - # Removes access to the Account and its associated resources. + # Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history. def close(id, params = {}, opts = {}) request( method: :post, diff --git a/lib/stripe/services/v2/money_management/financial_account_service.rb b/lib/stripe/services/v2/money_management/financial_account_service.rb index 761561a87..0be3bc722 100644 --- a/lib/stripe/services/v2/money_management/financial_account_service.rb +++ b/lib/stripe/services/v2/money_management/financial_account_service.rb @@ -53,6 +53,17 @@ def retrieve(id, params = {}, opts = {}) base_address: :api ) end + + # Updates an existing FinancialAccount. + def update(id, params = {}, opts = {}) + request( + method: :post, + path: format("/v2/money_management/financial_accounts/%s", { id: CGI.escape(id) }), + params: params, + opts: opts, + base_address: :api + ) + end end end end diff --git a/lib/stripe/services/v2/money_management/outbound_payment_service.rb b/lib/stripe/services/v2/money_management/outbound_payment_service.rb index 07bc874c7..a841f1060 100644 --- a/lib/stripe/services/v2/money_management/outbound_payment_service.rb +++ b/lib/stripe/services/v2/money_management/outbound_payment_service.rb @@ -22,9 +22,9 @@ def cancel(id, params = {}, opts = {}) # Creates an OutboundPayment. # # ** raises InsufficientFundsError + # ** raises FeatureNotEnabledError # ** raises QuotaExceededError # ** raises RecipientNotNotifiableError - # ** raises FeatureNotEnabledError def create(params = {}, opts = {}) request( method: :post, diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index a595d698d..baf859bcb 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -62435,6 +62435,9 @@ module Stripe # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. sig { returns(T::Array[String]) } def applied_configurations; end + # A value indicating if the Account has been closed. + sig { returns(T.nilable(T::Boolean)) } + def closed; end # An Account Configuration which allows the Account to take on a key persona across Stripe products. sig { returns(T.nilable(Configuration)) } def configuration; end @@ -70907,7 +70910,7 @@ module Stripe module Core class AccountService < StripeService attr_reader :persons - # Removes access to the Account and its associated resources. + # Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history. sig { params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } @@ -71276,6 +71279,12 @@ module Stripe params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def retrieve(id, params = {}, opts = {}); end + + # Updates an existing FinancialAccount. + sig { + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) + } + def update(id, params = {}, opts = {}); end end end end @@ -71354,9 +71363,9 @@ module Stripe # Creates an OutboundPayment. # # ** raises InsufficientFundsError + # ** raises FeatureNotEnabledError # ** raises QuotaExceededError # ** raises RecipientNotNotifiableError - # ** raises FeatureNotEnabledError sig { params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } @@ -188019,15 +188028,20 @@ module Stripe params(_applied_configurations: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def applied_configurations=(_applied_configurations); end + # Filter by whether the account is closed. If omitted, returns only Accounts that are not closed. + sig { returns(T.nilable(T::Boolean)) } + def closed; end + sig { params(_closed: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def closed=(_closed); end # The upper limit on the number of accounts returned by the List Account request. sig { returns(T.nilable(Integer)) } def limit; end sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } def limit=(_limit); end sig { - params(applied_configurations: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void + params(applied_configurations: T.nilable(T::Array[String]), closed: T.nilable(T::Boolean), limit: T.nilable(Integer)).void } - def initialize(applied_configurations: nil, limit: nil); end + def initialize(applied_configurations: nil, closed: nil, limit: nil); end end end end @@ -196711,20 +196725,55 @@ module Stripe module V2 module Core class EventListParams < ::Stripe::RequestParams + # Filter for events created after the specified timestamp. + sig { returns(T.nilable(String)) } + def gt; end + sig { params(_gt: T.nilable(String)).returns(T.nilable(String)) } + def gt=(_gt); end + # Filter for events created at or after the specified timestamp. + sig { returns(T.nilable(String)) } + def gte; end + sig { params(_gte: T.nilable(String)).returns(T.nilable(String)) } + def gte=(_gte); end # The page size. sig { returns(T.nilable(Integer)) } def limit; end sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } def limit=(_limit); end + # Filter for events created before the specified timestamp. + sig { returns(T.nilable(String)) } + def lt; end + sig { params(_lt: T.nilable(String)).returns(T.nilable(String)) } + def lt=(_lt); end + # Filter for events created at or before the specified timestamp. + sig { returns(T.nilable(String)) } + def lte; end + sig { params(_lte: T.nilable(String)).returns(T.nilable(String)) } + def lte=(_lte); end # Primary object ID used to retrieve related events. # # To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key. - sig { returns(String) } + sig { returns(T.nilable(String)) } def object_id_; end - sig { params(_object_id_: String).returns(String) } + sig { params(_object_id_: T.nilable(String)).returns(T.nilable(String)) } def object_id_=(_object_id_); end - sig { params(limit: T.nilable(Integer), object_id_: String).void } - def initialize(limit: nil, object_id_: nil); end + # An array of up to 20 strings containing specific event names. + sig { returns(T.nilable(T::Array[String])) } + def types; end + sig { params(_types: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } + def types=(_types); end + sig { + params(gt: T.nilable(String), gte: T.nilable(String), limit: T.nilable(Integer), lt: T.nilable(String), lte: T.nilable(String), object_id_: T.nilable(String), types: T.nilable(T::Array[String])).void + } + def initialize( + gt: nil, + gte: nil, + limit: nil, + lt: nil, + lte: nil, + object_id_: nil, + types: nil + ); end end end end @@ -197411,6 +197460,31 @@ module Stripe end end # typed: true +module Stripe + module V2 + module MoneyManagement + class FinancialAccountUpdateParams < ::Stripe::RequestParams + # A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components. + sig { returns(T.nilable(String)) } + def display_name; end + sig { params(_display_name: T.nilable(String)).returns(T.nilable(String)) } + def display_name=(_display_name); end + # Metadata associated with the FinancialAccount. + sig { returns(T.nilable(T::Hash[String, T.nilable(String)])) } + def metadata; end + sig { + params(_metadata: T.nilable(T::Hash[String, T.nilable(String)])).returns(T.nilable(T::Hash[String, T.nilable(String)])) + } + def metadata=(_metadata); end + sig { + params(display_name: T.nilable(String), metadata: T.nilable(T::Hash[String, T.nilable(String)])).void + } + def initialize(display_name: nil, metadata: nil); end + end + end + end +end +# typed: true module Stripe module V2 module MoneyManagement diff --git a/rbi/stripe/params/v2/core/account_list_params.rbi b/rbi/stripe/params/v2/core/account_list_params.rbi index eed0bfa82..9216b00ad 100644 --- a/rbi/stripe/params/v2/core/account_list_params.rbi +++ b/rbi/stripe/params/v2/core/account_list_params.rbi @@ -13,15 +13,20 @@ module Stripe params(_applied_configurations: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } def applied_configurations=(_applied_configurations); end + # Filter by whether the account is closed. If omitted, returns only Accounts that are not closed. + sig { returns(T.nilable(T::Boolean)) } + def closed; end + sig { params(_closed: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def closed=(_closed); end # The upper limit on the number of accounts returned by the List Account request. sig { returns(T.nilable(Integer)) } def limit; end sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } def limit=(_limit); end sig { - params(applied_configurations: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void + params(applied_configurations: T.nilable(T::Array[String]), closed: T.nilable(T::Boolean), limit: T.nilable(Integer)).void } - def initialize(applied_configurations: nil, limit: nil); end + def initialize(applied_configurations: nil, closed: nil, limit: nil); end end end end diff --git a/rbi/stripe/params/v2/core/event_list_params.rbi b/rbi/stripe/params/v2/core/event_list_params.rbi index ad451e407..050cab4fa 100644 --- a/rbi/stripe/params/v2/core/event_list_params.rbi +++ b/rbi/stripe/params/v2/core/event_list_params.rbi @@ -6,20 +6,55 @@ module Stripe module V2 module Core class EventListParams < ::Stripe::RequestParams + # Filter for events created after the specified timestamp. + sig { returns(T.nilable(String)) } + def gt; end + sig { params(_gt: T.nilable(String)).returns(T.nilable(String)) } + def gt=(_gt); end + # Filter for events created at or after the specified timestamp. + sig { returns(T.nilable(String)) } + def gte; end + sig { params(_gte: T.nilable(String)).returns(T.nilable(String)) } + def gte=(_gte); end # The page size. sig { returns(T.nilable(Integer)) } def limit; end sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) } def limit=(_limit); end + # Filter for events created before the specified timestamp. + sig { returns(T.nilable(String)) } + def lt; end + sig { params(_lt: T.nilable(String)).returns(T.nilable(String)) } + def lt=(_lt); end + # Filter for events created at or before the specified timestamp. + sig { returns(T.nilable(String)) } + def lte; end + sig { params(_lte: T.nilable(String)).returns(T.nilable(String)) } + def lte=(_lte); end # Primary object ID used to retrieve related events. # # To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key. - sig { returns(String) } + sig { returns(T.nilable(String)) } def object_id_; end - sig { params(_object_id_: String).returns(String) } + sig { params(_object_id_: T.nilable(String)).returns(T.nilable(String)) } def object_id_=(_object_id_); end - sig { params(limit: T.nilable(Integer), object_id_: String).void } - def initialize(limit: nil, object_id_: nil); end + # An array of up to 20 strings containing specific event names. + sig { returns(T.nilable(T::Array[String])) } + def types; end + sig { params(_types: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) } + def types=(_types); end + sig { + params(gt: T.nilable(String), gte: T.nilable(String), limit: T.nilable(Integer), lt: T.nilable(String), lte: T.nilable(String), object_id_: T.nilable(String), types: T.nilable(T::Array[String])).void + } + def initialize( + gt: nil, + gte: nil, + limit: nil, + lt: nil, + lte: nil, + object_id_: nil, + types: nil + ); end end end end diff --git a/rbi/stripe/params/v2/money_management/financial_account_update_params.rbi b/rbi/stripe/params/v2/money_management/financial_account_update_params.rbi new file mode 100644 index 000000000..971fd3ba1 --- /dev/null +++ b/rbi/stripe/params/v2/money_management/financial_account_update_params.rbi @@ -0,0 +1,28 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +# typed: true +module Stripe + module V2 + module MoneyManagement + class FinancialAccountUpdateParams < ::Stripe::RequestParams + # A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components. + sig { returns(T.nilable(String)) } + def display_name; end + sig { params(_display_name: T.nilable(String)).returns(T.nilable(String)) } + def display_name=(_display_name); end + # Metadata associated with the FinancialAccount. + sig { returns(T.nilable(T::Hash[String, T.nilable(String)])) } + def metadata; end + sig { + params(_metadata: T.nilable(T::Hash[String, T.nilable(String)])).returns(T.nilable(T::Hash[String, T.nilable(String)])) + } + def metadata=(_metadata); end + sig { + params(display_name: T.nilable(String), metadata: T.nilable(T::Hash[String, T.nilable(String)])).void + } + def initialize(display_name: nil, metadata: nil); end + end + end + end +end \ No newline at end of file diff --git a/rbi/stripe/resources/v2/core/account.rbi b/rbi/stripe/resources/v2/core/account.rbi index ffa53aea0..ef74b9477 100644 --- a/rbi/stripe/resources/v2/core/account.rbi +++ b/rbi/stripe/resources/v2/core/account.rbi @@ -3976,6 +3976,9 @@ module Stripe # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. sig { returns(T::Array[String]) } def applied_configurations; end + # A value indicating if the Account has been closed. + sig { returns(T.nilable(T::Boolean)) } + def closed; end # An Account Configuration which allows the Account to take on a key persona across Stripe products. sig { returns(T.nilable(Configuration)) } def configuration; end diff --git a/rbi/stripe/services/v2/core/account_service.rbi b/rbi/stripe/services/v2/core/account_service.rbi index 1e95f05e4..24f9aee14 100644 --- a/rbi/stripe/services/v2/core/account_service.rbi +++ b/rbi/stripe/services/v2/core/account_service.rbi @@ -7,7 +7,7 @@ module Stripe module Core class AccountService < StripeService attr_reader :persons - # Removes access to the Account and its associated resources. + # Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history. sig { params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account) } diff --git a/rbi/stripe/services/v2/money_management/financial_account_service.rbi b/rbi/stripe/services/v2/money_management/financial_account_service.rbi index 7356d0ee8..5a993fb05 100644 --- a/rbi/stripe/services/v2/money_management/financial_account_service.rbi +++ b/rbi/stripe/services/v2/money_management/financial_account_service.rbi @@ -34,6 +34,12 @@ module Stripe params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) } def retrieve(id, params = {}, opts = {}); end + + # Updates an existing FinancialAccount. + sig { + params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount) + } + def update(id, params = {}, opts = {}); end end end end diff --git a/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi b/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi index d540fa9ab..2dcbbce2a 100644 --- a/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi +++ b/rbi/stripe/services/v2/money_management/outbound_payment_service.rbi @@ -18,9 +18,9 @@ module Stripe # Creates an OutboundPayment. # # ** raises InsufficientFundsError + # ** raises FeatureNotEnabledError # ** raises QuotaExceededError # ** raises RecipientNotNotifiableError - # ** raises FeatureNotEnabledError sig { params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment) } diff --git a/test/stripe/generated_examples_test.rb b/test/stripe/generated_examples_test.rb index 762c61be0..60d794c66 100644 --- a/test/stripe/generated_examples_test.rb +++ b/test/stripe/generated_examples_test.rb @@ -8026,17 +8026,14 @@ class CodegennedExampleTest < Test::Unit::TestCase assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/core/account_links" end should "Test v2 core event get (service)" do - stub_request( - :get, - "#{Stripe::DEFAULT_API_BASE}/v2/core/events?object_id=object_id" - ).to_return( + stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events").to_return( body: '{"data":[{"created":"1970-01-12T21:42:34.472Z","id":"obj_123","object":"v2.core.event","type":"type","livemode":true}],"next_page_url":null,"previous_page_url":null}', status: 200 ) client = Stripe::StripeClient.new("sk_test_123") - events = client.v2.core.events.list({ object_id: "object_id" }) - assert_requested :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events?object_id=object_id" + events = client.v2.core.events.list + assert_requested :get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events" end should "Test v2 core event get 2 (service)" do stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events/id_123").to_return( @@ -8370,6 +8367,19 @@ class CodegennedExampleTest < Test::Unit::TestCase assert_requested :get, "#{Stripe::DEFAULT_API_BASE}/v2/money_management/financial_accounts/id_123" end should "Test v2 money management financial account post 2 (service)" do + stub_request( + :post, + "#{Stripe::DEFAULT_API_BASE}/v2/money_management/financial_accounts/id_123" + ).to_return( + body: '{"balance":{"available":{"key":{"currency":"USD","value":35}},"inbound_pending":{"key":{"currency":"USD","value":11}},"outbound_pending":{"key":{"currency":"USD","value":60}}},"country":"country","created":"1970-01-12T21:42:34.472Z","id":"obj_123","object":"v2.money_management.financial_account","status":"closed","type":"other","livemode":true}', + status: 200 + ) + client = Stripe::StripeClient.new("sk_test_123") + + financial_account = client.v2.money_management.financial_accounts.update("id_123") + assert_requested :post, "#{Stripe::DEFAULT_API_BASE}/v2/money_management/financial_accounts/id_123" + end + should "Test v2 money management financial account post 3 (service)" do stub_request( :post, "#{Stripe::DEFAULT_API_BASE}/v2/money_management/financial_accounts/id_123/close" @@ -9048,7 +9058,7 @@ class CodegennedExampleTest < Test::Unit::TestCase :post, "#{Stripe::DEFAULT_API_BASE}/v2/money_management/financial_accounts" ).to_return( - body: '{"error":{"type":"feature_not_enabled","code":"recipient_feature_not_active"}}', + body: '{"error":{"type":"feature_not_enabled","code":"outbound_flow_from_closed_financial_account_unsupported"}}', status: 400 ) client = Stripe::StripeClient.new("sk_test_123") From 8639985cc0d221b6e367b2a4d0b7017f13ee6615 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 21:56:30 +0000 Subject: [PATCH 16/17] Update generated code for v2099 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- lib/stripe/params/payment_method_list_params.rb | 2 +- rbi/stripe.rbi | 2 +- rbi/stripe/params/payment_method_list_params.rbi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/API_VERSION b/API_VERSION index ddb8009db..7fa3a2d3c 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -173b24e412b55604d1775225f1560f5218fbaeca \ No newline at end of file +577fcb57736b925392ea563c0284df9002c75ac9 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1cd59cc55..edaae7f45 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2096 \ No newline at end of file +v2099 \ No newline at end of file diff --git a/lib/stripe/params/payment_method_list_params.rb b/lib/stripe/params/payment_method_list_params.rb index 9c08be13b..b81e5be37 100644 --- a/lib/stripe/params/payment_method_list_params.rb +++ b/lib/stripe/params/payment_method_list_params.rb @@ -13,7 +13,7 @@ class PaymentMethodListParams < ::Stripe::RequestParams attr_accessor :limit # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. attr_accessor :starting_after - # An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. + # Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload. attr_accessor :type def initialize( diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index baf859bcb..4d3422965 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -138956,7 +138956,7 @@ module Stripe def starting_after; end sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) } def starting_after=(_starting_after); end - # An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. + # Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload. sig { returns(T.nilable(String)) } def type; end sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } diff --git a/rbi/stripe/params/payment_method_list_params.rbi b/rbi/stripe/params/payment_method_list_params.rbi index faedfe25a..369d54315 100644 --- a/rbi/stripe/params/payment_method_list_params.rbi +++ b/rbi/stripe/params/payment_method_list_params.rbi @@ -29,7 +29,7 @@ module Stripe def starting_after; end sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) } def starting_after=(_starting_after); end - # An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. + # Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload. sig { returns(T.nilable(String)) } def type; end sig { params(_type: T.nilable(String)).returns(T.nilable(String)) } From 7f3f2289d8314f3564fe7f1e29af9df2de0ebb7c Mon Sep 17 00:00:00 2001 From: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com> Date: Thu, 23 Oct 2025 10:19:16 -0700 Subject: [PATCH 17/17] Turn off rubocop format on save (#1711) --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1553da290..b8b9e5f6f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,5 +8,5 @@ // Rubocop settings "ruby.rubocop.configFilePath": ".rubocop.yml", - "ruby.rubocop.onSave": true + "ruby.rubocop.onSave": false }